!cApDlsILLZkmAyVoxe:matrix.org

Matrix on Debian

191 Members
https://wiki.debian.org/Matrix72 Servers

Load older messages


SenderMessageTime
18 Feb 2019
@joerg:alea.gnuu.deJörg SommerWhy 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
@lindalap:matrix.orgLinda

I changed it back to all archs.

21:31:17
@lindalap:matrix.orgLinda

among other changes in +debian0.13

21:31:40
@lindalap:matrix.orgLinda

such that matrix-archive-sourcelist binary package is actually named matrix-archive-config now.

21:32:07
@joerg:alea.gnuu.deJörg SommerAnd how about matrix-synapse-py3?21:33:22
@lindalap:matrix.orgLinda

That's not from Debian

21:33:34
@lindalap:matrix.orgLinda

But at Matrix.org, its arch is set to "all"

21:33:45
@joerg:alea.gnuu.deJörg SommerOh, then only the repository files for other architectures are missing.21:37:51
@max:kamax.ioMaximus 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
@lindalap:matrix.orgLinda

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
@lindalap:matrix.orgLindaDownload matrix-archive-keyring_2015.12.09+debian0.13.tar.xz23:58:44
@lindalap:matrix.orgLinda

If you want to be sure there's no conflicts, apt purge matrix-archive-* first.

23:59:49
19 Feb 2019
@lindalap:matrix.orgLinda

I also just filed a bug report against debian-policy source...

00:01:18
@lindalap:matrix.orgLinda

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922654

00:03:53
@max:kamax.ioMaximus
$ 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
@max:kamax.ioMaximusonly debhelper 10.2.5 is available on stable00:24:41
@max:kamax.ioMaximusDo I need unstable?00:24:56
@lindalap:matrix.orgLinda

Ah, sorry then. It depends on debhelper (>=12).

00:25:00
@lindalap:matrix.orgLinda

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
@lindalap:matrix.orgLinda

stretch-backports has debhelper version 12~bpo9+1 available.

00:28:49
@lindalap:matrix.orgLinda

Ditto for gpg.

00:29:10
@max:kamax.ioMaximusI'll make a docker image to build, it's going to be easier I think00:29:19
@lindalap:matrix.orgLinda

I'm rewriting all the postinst and postrm scripts to not override config files in +debian0.14...

00:30:02
@lindalap:matrix.orgLinda

Probably using dh_ucf(1) for that or something

00:30:11
@lindalap:matrix.orgLinda

Maximus: You can also take a look at pbuild.

00:31:14
@lindalap:matrix.orgLinda

pbuilder*

00:31:35
@max:kamax.ioMaximusThanks, I'll have a look00:32:33
@lindalap:matrix.orgLinda

I didn't know debian/compat is legacy, ha. Replaced it with a Build-Depends: debhelper-compat (= 12).

00:44:17
@shirish:matrix.orgshirish@Linda: https://bugs.debian.org/922654 also works :)01:03:25
@shirish:matrix.orgshirishusually any new packaging is usually done at sid/unstable01:05:27

Show newer messages


Back to Room ListRoom Version: