Source: lasso
Version: 2.8.2-5
Severity: important
Tags: ftbfs
Justification: FTBFS
X-Debbugs-Cc: ni...@thykier.net
User: ni...@thykier.net
Usertags: rrr-no-as-default-issue

Dear maintainer,

During a test rebuild for building packages with
`Rules-Requires-Root: no` as the default in `dpkg`,
lasso failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
make[6]: Leaving directory '/<<PKGBUILDDIR>>/docs/lasso-book'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/docs/lasso-book'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/docs/lasso-book'
make[4]: Entering directory '/<<PKGBUILDDIR>>/docs'
make[5]: Entering directory '/<<PKGBUILDDIR>>/docs'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/docs'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/docs'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/docs'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[4]: Entering directory '/<<PKGBUILDDIR>>'
make[4]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/pkgconfig'
/usr/bin/install -c -m 644 lasso.pc '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/pkgconfig'
make[4]: Leaving directory '/<<PKGBUILDDIR>>'
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
# install and rename module for all supporter Python 3 versions
set -e; \
for v in 3.13 3.12; do \
/usr/bin/make -C bindings/python$v install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp; \
  PYVER=/usr/bin/python$v ; \
SUFFIX=$($PYVER -c 'import sysconfig; print(sysconfig.get_config_var("EXT_SUFFIX"))') ; \
  mv /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/_lasso.so \
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/_lasso$SUFFIX ; \
done
make[1]: Entering directory '/<<PKGBUILDDIR>>/bindings/python3.13'
/usr/bin/make  install-recursive
make[2]: Entering directory '/<<PKGBUILDDIR>>/bindings/python3.13'
Making install in tests
make[3]: Entering directory '/<<PKGBUILDDIR>>/bindings/python3.13/tests'
make[4]: Entering directory '/<<PKGBUILDDIR>>/bindings/python3.13/tests'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/bindings/python3.13/tests'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/bindings/python3.13/tests'
make[3]: Entering directory '/<<PKGBUILDDIR>>/bindings/python3.13'
make[4]: Entering directory '/<<PKGBUILDDIR>>/bindings/python3.13'
make[4]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages' /usr/bin/install -c -m 644 lasso.py '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages' /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages' /bin/bash ../../libtool --mode=install /usr/bin/install -c _lasso.la '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages'
libtool: warning: relinking '_lasso.la'
libtool: install: (cd /<<PKGBUILDDIR>>/bindings/python3.13; /bin/bash "/<<PKGBUILDDIR>>/libtool" --silent --tag CC --mode=relink aarch64-linux-gnu-gcc -fno-strict-aliasing -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -I/usr/include/xmlsec1 -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_SIZE_T -DXMLSEC_OPENSSL3_ENGINES=1 -DXMLSEC_NO_FTP=1 -DXMLSEC_NO_HTTP=1 -DXMLSEC_NO_MD5=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DLASSO_INTERNALS -I/usr/include/python3.13 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -no-undefined -module -avoid-version -Wl,-z,relro -o _lasso.la -rpath /usr/lib/python3/dist-packages _lasso_la-_lasso.lo ../../lasso/liblasso.la -L/usr/lib -lz -lgobject-2.0 -lglib-2.0 -lxmlsec1-openssl -lxmlsec1 -lxslt -lxml2 -lssl -lcrypto -inst-prefix-dir /<<PKGBUILDDIR>>/debian/tmp) libtool: install: /usr/bin/install -c .libs/_lasso.soT /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/_lasso.so libtool: install: /usr/bin/install -c .libs/_lasso.lai /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/_lasso.la libtool: install: /usr/bin/install -c .libs/_lasso.a /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/_lasso.a libtool: install: chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/_lasso.a libtool: install: aarch64-linux-gnu-ranlib /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/_lasso.a libtool: warning: remember to run 'libtool --finish /usr/lib/python3/dist-packages'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/bindings/python3.13'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/bindings/python3.13'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/bindings/python3.13'
make[1]: Leaving directory '/<<PKGBUILDDIR>>/bindings/python3.13'
make[1]: Entering directory '/<<PKGBUILDDIR>>/bindings/python3.12'
/usr/bin/make  install-recursive
make[2]: Entering directory '/<<PKGBUILDDIR>>/bindings/python3.12'
Making install in tests
make[3]: Entering directory '/<<PKGBUILDDIR>>/bindings/python3.12/tests'
make[4]: Entering directory '/<<PKGBUILDDIR>>/bindings/python3.12/tests'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/bindings/python3.12/tests'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/bindings/python3.12/tests'
make[3]: Entering directory '/<<PKGBUILDDIR>>/bindings/python3.12'
make[4]: Entering directory '/<<PKGBUILDDIR>>/bindings/python3.12'
make[4]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages' /usr/bin/install -c -m 644 lasso.py '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages' /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages' /bin/bash ../../libtool --mode=install /usr/bin/install -c _lasso.la '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages'
libtool: warning: relinking '_lasso.la'
libtool: install: (cd /<<PKGBUILDDIR>>/bindings/python3.12; /bin/bash "/<<PKGBUILDDIR>>/libtool" --silent --tag CC --mode=relink aarch64-linux-gnu-gcc -fno-strict-aliasing -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -I/usr/include/xmlsec1 -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_SIZE_T -DXMLSEC_OPENSSL3_ENGINES=1 -DXMLSEC_NO_FTP=1 -DXMLSEC_NO_HTTP=1 -DXMLSEC_NO_MD5=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DLASSO_INTERNALS -I/usr/include/python3.12 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -no-undefined -module -avoid-version -Wl,-z,relro -o _lasso.la -rpath /usr/lib/python3/dist-packages _lasso_la-_lasso.lo ../../lasso/liblasso.la -L/usr/lib -lz -lgobject-2.0 -lglib-2.0 -lxmlsec1-openssl -lxmlsec1 -lxslt -lxml2 -lssl -lcrypto -inst-prefix-dir /<<PKGBUILDDIR>>/debian/tmp) libtool: install: /usr/bin/install -c .libs/_lasso.soT /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/_lasso.so libtool: install: /usr/bin/install -c .libs/_lasso.lai /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/_lasso.la libtool: install: /usr/bin/install -c .libs/_lasso.a /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/_lasso.a libtool: install: chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/_lasso.a libtool: install: aarch64-linux-gnu-ranlib /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/_lasso.a libtool: warning: remember to run 'libtool --finish /usr/lib/python3/dist-packages'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/bindings/python3.12'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/bindings/python3.12'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/bindings/python3.12'
make[1]: Leaving directory '/<<PKGBUILDDIR>>/bindings/python3.12'
sed -e 's,${archlib},/usr/lib/aarch64-linux-gnu/perl5/5.40,g' debian/liblasso-perl.install.in > debian/liblasso-perl.install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installexamples -XCVS
dh_installman
dh_install
mkdir /<<PKGBUILDDIR>>/debian/liblasso3-dev/usr/lib/aarch64-linux-gnu
mv /<<PKGBUILDDIR>>/debian/liblasso3-dev/usr/lib/pkgconfig /<<PKGBUILDDIR>>/debian/liblasso3-dev/usr/lib/aarch64-linux-gnu/pkgconfig chrpath -d /<<PKGBUILDDIR>>/debian/liblasso-perl//usr/lib/aarch64-linux-gnu/perl5/5.40/auto/Lasso/Lasso.so
open: Permission denied
elf_open: Invalid argument
make: *** [debian/rules:135: binary-arch] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-16T20:56:04Z

-------------------------------------------------------------------------------


The above is just how the build ends and not necessarily the most
relevant part. If required, the full build log is available here:

https://people.debian.org/~nthykier/rrr-no-as-default/logs/1000677.gz

You can find common solutions at
https://people.debian.org/~nthykier/rrr-no-as-default/docs/solutions.md

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

If this package is listed in
https://people.debian.org/~nthykier/rrr-no-as-default/docs/static-ownership.list,
then please just set `Rules-Requires-Root: binary-targets` to the source
stanza of `debian/control` as a fix to this bug.

If this package is listed in
https://people.debian.org/~nthykier/rrr-no-as-default/docs/maybe-misbuilds.list,
then the package was deemed at risk for misbuilding (having wrong
ownership) but had a FTBFS problem we tested it. Please test whether the
package works with `Rules-Requires-Root: no` validating that the
resulting deb has the correct ownership for all paths in the deb.

The goal is to have the default changed in `dpkg` either in `Trixie` or
`Forky`, depending on progress and feasibility with the release schedule
for Trixie.

For more information on this bug filing, please see:
https://lists.debian.org/debian-dpkg/2024/11/msg00016.html

Thanks,


PS: The builds were performed in mid-November. If you fixed the problem
between between then and this bug being filed, then please just close
the bug with the version it was fixed in.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to