18 Feb 2019 |
Linda | I just said that wrong, but okay | 08:04:45 |
Linda | andrewsh: You should also know there's some lsb_release -is checks if it's Debian or Ubuntu, because that breaks the sources.list generation more than anything right now. | 08:07:24 |
Linda | Needed for the right value of lsb_release -cs . | 08:07:48 |
Linda | I'll still relax the requirements down to warnings. | 08:08:32 |
Linda | Explicitly opting into sources.list didn't make much sense anymore with contrib and seperating the package, so I toggled the default to true and lowered the priority to medium .
Non-Ubuntu and non-Debian users still get a high-priority input for that same question, because we don't know if it will work. | 09:06:54 |
Jörg Sommer | Why isn't the Debian package for all architectures? Aren't the pyc files build after install? Is there a package for armhf? | 21:30:02 |
Linda | I changed it back to all archs. | 21:31:17 |
Linda | among other changes in +debian0.13 | 21:31:40 |
Linda | such that matrix-archive-sourcelist binary package is actually named matrix-archive-config now. | 21:32:07 |
Jörg Sommer | And how about matrix-synapse-py3? | 21:33:22 |
Linda | That's not from Debian | 21:33:34 |
Linda | But at Matrix.org, its arch is set to "all" | 21:33:45 |
Jörg Sommer | Oh, then only the repository files for other architectures are missing. | 21:37:51 |
Maximus | Linda: I can't seem to find the command to build your sources in the scrollback - would you be so kind to give it again please? | 23:48:15 |
Linda | Maximus: Something like this? (I didn't test.)
sudo apt install devscripts
cd $HOME/.local/src/matrix-archive-keyring
tar -xfvJ matrix-archive-keyring_2015.12.09+debian0.13.tar.xz
cd matrix-archive-keyring
debuild -us -uc
sudo dpkg -i ../matrix-archive-keyring_2015.12.09+debian0.13_all.deb ../matrix-archive-config_2015.12.09+debian0.13_all.deb
| 23:58:30 |
Linda | Download matrix-archive-keyring_2015.12.09+debian0.13.tar.xz | 23:58:44 |
Linda | If you want to be sure there's no conflicts, apt purge matrix-archive-* first. | 23:59:49 |
19 Feb 2019 |
Linda | I also just filed a bug report against debian-policy source... | 00:01:18 |
Linda | https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922654 | 00:03:53 |
Maximus | $ debuild -us -uc
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package matrix-archive-keyring
dpkg-buildpackage: source version 2015.12.09+debian0.13
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by Linda Lapinlampi <linda@lindalap.fi>
dpkg-source --before-build matrix-archive-keyring-2015.12.09
dpkg-buildpackage: host architecture amd64
dpkg-source: warning: unknown information field 'Rules-Requires-Root' in input data in general section of control info file
dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper (>= 12) gnupg (>= 2.1.14)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc failed
| 00:24:26 |
Maximus | only debhelper 10.2.5 is available on stable | 00:24:41 |
Maximus | Do I need unstable? | 00:24:56 |
Linda | Ah, sorry then. It depends on debhelper (>=12) . | 00:25:00 |
Linda | Like yeah, you need to build on unstable but can use the binary on any arch with debconf (>=0.5) | debconf-2.0, ${misc:Depends} . | 00:26:28 |
Linda | stretch-backports has debhelper version 12~bpo9+1 available. | 00:28:49 |
Linda | Ditto for gpg . | 00:29:10 |
Maximus | I'll make a docker image to build, it's going to be easier I think | 00:29:19 |
Linda | I'm rewriting all the postinst and postrm scripts to not override config files in +debian0.14 ... | 00:30:02 |
Linda | Probably using dh_ucf(1) for that or something | 00:30:11 |
Linda | Maximus: You can also take a look at pbuild . | 00:31:14 |