[DSE-Dev] Bug#1045586: selinux-python: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 20:21:26 BST 2023


Source: selinux-python
Version: 3.5-1
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa at lists.debian.org
Usertags: qa-doublebuild

Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S
> ---------------------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package selinux-python
> dpkg-buildpackage: info: source version 3.5-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Laurent Bigonville <bigon at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean --with python3
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean
> 	make -j8 clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/sepolicy'
> python3 setup.py clean
> running clean
> rm -rf build *~ \#* *pyc .#* sepolicy.egg-info/
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/sepolicy'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/audit2allow'
> rm -f *~ *.o sepolgen-ifgen-attr-helper test_dummy_policy
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/audit2allow'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/semanage'
> make[3]: Nothing to be done for 'clean'.
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/semanage'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/sepolgen'
> make -C src clean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/sepolgen/src'
> make -C sepolgen clean
> make[5]: Entering directory '/<<PKGBUILDDIR>>/sepolgen/src/sepolgen'
> rm -f parser.out parsetab.py
> rm -f *~ *.pyc
> rm -rf __pycache__
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/sepolgen/src/sepolgen'
> make -C share clean
> make[5]: Entering directory '/<<PKGBUILDDIR>>/sepolgen/src/share'
> rm -f *~
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/sepolgen/src/share'
> rm -f *~ *.pyc
> rm -f parser.out parsetab.py
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/sepolgen/src'
> make -C tests clean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/sepolgen/tests'
> rm -f *~ *.pyc
> rm -f parser.out parsetab.py
> rm -f out.txt
> rm -f module_compile_test.fc
> rm -f module_compile_test.if
> rm -f module_compile_test.pp
> rm -f output
> rm -rf __pycache__ tmp
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/sepolgen/tests'
> rm -f *~ *.pyc
> rm -f parser.out parsetab.py
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/sepolgen'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/chcat'
> make[3]: Nothing to be done for 'clean'.
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/chcat'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/po'
> removed 'af.mo'
> removed 'am.mo'
> removed 'ar.mo'
> removed 'as.mo'
> removed 'ast.mo'
> removed 'bal.mo'
> removed 'be.mo'
> removed 'bg.mo'
> removed 'bn.mo'
> removed 'bn_IN.mo'
> removed 'br.mo'
> removed 'brx.mo'
> removed 'bs.mo'
> removed 'ca.mo'
> removed 'cs.mo'
> removed 'cy.mo'
> removed 'da.mo'
> removed 'de.mo'
> removed 'de_CH.mo'
> removed 'el.mo'
> removed 'en_GB.mo'
> removed 'eo.mo'
> removed 'es.mo'
> removed 'et.mo'
> removed 'eu.mo'
> removed 'fa.mo'
> removed 'fi.mo'
> removed 'fil.mo'
> removed 'fr.mo'
> removed 'fur.mo'
> removed 'ga.mo'
> removed 'gl.mo'
> removed 'gu.mo'
> removed 'he.mo'
> removed 'hi.mo'
> removed 'hr.mo'
> removed 'hu.mo'
> removed 'ia.mo'
> removed 'id.mo'
> removed 'ilo.mo'
> removed 'is.mo'
> removed 'it.mo'
> removed 'ja.mo'
> removed 'ka.mo'
> removed 'kk.mo'
> removed 'km.mo'
> removed 'kn.mo'
> removed 'ko.mo'
> removed 'ky.mo'
> removed 'lt.mo'
> removed 'lv.mo'
> removed 'mai.mo'
> removed 'mk.mo'
> removed 'ml.mo'
> removed 'mn.mo'
> removed 'mr.mo'
> removed 'ms.mo'
> removed 'my.mo'
> removed 'nb.mo'
> removed 'nds.mo'
> removed 'ne.mo'
> removed 'nl.mo'
> removed 'nn.mo'
> removed 'nso.mo'
> removed 'or.mo'
> removed 'pa.mo'
> removed 'pl.mo'
> removed 'pt.mo'
> removed 'pt_BR.mo'
> removed 'ro.mo'
> removed 'ru.mo'
> removed 'si.mo'
> removed 'sk.mo'
> removed 'sl.mo'
> removed 'sq.mo'
> removed 'sr.mo'
> removed 'sr at latin.mo'
> removed 'sv.mo'
> removed 'ta.mo'
> removed 'te.mo'
> removed 'tg.mo'
> removed 'th.mo'
> removed 'tr.mo'
> removed 'uk.mo'
> removed 'ur.mo'
> removed 'vi.mo'
> removed 'zh_CN.mo'
> removed 'zh_HK.mo'
> removed 'zh_TW.mo'
> removed 'zu.mo'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/po'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_clean -Dgui
> 	cd gui && make -j8 clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/gui'
> (cd po && make clean)
> make[3]: Entering directory '/<<PKGBUILDDIR>>/gui/po'
> removed 'af.mo'
> removed 'am.mo'
> removed 'ar.mo'
> removed 'as.mo'
> removed 'ast.mo'
> removed 'be.mo'
> removed 'bg.mo'
> removed 'bn.mo'
> removed 'bn_IN.mo'
> removed 'br.mo'
> removed 'bs.mo'
> removed 'ca.mo'
> removed 'cs.mo'
> removed 'cy.mo'
> removed 'da.mo'
> removed 'de.mo'
> removed 'de_CH.mo'
> removed 'el.mo'
> removed 'en_GB.mo'
> removed 'eo.mo'
> removed 'es.mo'
> removed 'et.mo'
> removed 'eu.mo'
> removed 'fa.mo'
> removed 'fi.mo'
> removed 'fil.mo'
> removed 'fr.mo'
> removed 'fur.mo'
> removed 'ga.mo'
> removed 'gl.mo'
> removed 'gu.mo'
> removed 'he.mo'
> removed 'hi.mo'
> removed 'hr.mo'
> removed 'hu.mo'
> removed 'ia.mo'
> removed 'id.mo'
> removed 'ilo.mo'
> removed 'is.mo'
> removed 'it.mo'
> removed 'ja.mo'
> removed 'ka.mo'
> removed 'kk.mo'
> removed 'km.mo'
> removed 'kn.mo'
> removed 'ko.mo'
> removed 'ky.mo'
> removed 'lt.mo'
> removed 'lv.mo'
> removed 'mai.mo'
> removed 'mk.mo'
> removed 'ml.mo'
> removed 'mn.mo'
> removed 'mr.mo'
> removed 'ms.mo'
> removed 'my.mo'
> removed 'nb.mo'
> removed 'nds.mo'
> removed 'ne.mo'
> removed 'nl.mo'
> removed 'nn.mo'
> removed 'nso.mo'
> removed 'or.mo'
> removed 'pa.mo'
> removed 'pl.mo'
> removed 'pt.mo'
> removed 'pt_BR.mo'
> removed 'ro.mo'
> removed 'ru.mo'
> removed 'si.mo'
> removed 'sk.mo'
> removed 'sl.mo'
> removed 'sq.mo'
> removed 'sr.mo'
> removed 'sr at latin.mo'
> removed 'sv.mo'
> removed 'ta.mo'
> removed 'te.mo'
> removed 'tg.mo'
> removed 'th.mo'
> removed 'tr.mo'
> removed 'uk.mo'
> removed 'ur.mo'
> removed 'vi.mo'
> removed 'zh_CN.mo'
> removed 'zh_HK.mo'
> removed 'zh_TW.mo'
> removed 'zu.mo'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/gui/po'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/gui'
> dh_auto_clean -Dsandbox
> 	cd sandbox && make -j8 clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/sandbox'
> rm -f seunshare *.o *~
> (cd po && make clean)
> make[3]: Entering directory '/<<PKGBUILDDIR>>/sandbox/po'
> removed 'cs.mo'
> removed 'da.mo'
> removed 'de.mo'
> removed 'es.mo'
> removed 'fi.mo'
> removed 'fr.mo'
> removed 'hu.mo'
> removed 'it.mo'
> removed 'ja.mo'
> removed 'ka.mo'
> removed 'ko.mo'
> removed 'nl.mo'
> removed 'pl.mo'
> removed 'pt_BR.mo'
> removed 'ru.mo'
> removed 'si.mo'
> removed 'sv.mo'
> removed 'tr.mo'
> removed 'uk.mo'
> removed 'zh_CN.mo'
> removed 'zh_TW.mo'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/sandbox/po'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/sandbox'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: verifying ./selinux-python_3.5.orig-gui.tar.gz.asc
> gpgv: Signature made Thu Feb 23 13:34:28 2023 UTC
> gpgv:                using RSA key E162DEAD1CCDD113F04B3D492BBED9CB1A68EF55
> gpgv: Can't check signature: No public key
> dpkg-source: warning: cannot verify upstream tarball signature for ./selinux-python_3.5.orig-gui.tar.gz: no acceptable signature found
> dpkg-source: info: verifying ./selinux-python_3.5.orig-sandbox.tar.gz.asc
> gpgv: Signature made Thu Feb 23 13:34:31 2023 UTC
> gpgv:                using RSA key E162DEAD1CCDD113F04B3D492BBED9CB1A68EF55
> gpgv: Can't check signature: No public key
> dpkg-source: warning: cannot verify upstream tarball signature for ./selinux-python_3.5.orig-sandbox.tar.gz: no acceptable signature found
> dpkg-source: info: verifying ./selinux-python_3.5.orig.tar.gz.asc
> gpgv: Signature made Thu Feb 23 13:34:30 2023 UTC
> gpgv:                using RSA key E162DEAD1CCDD113F04B3D492BBED9CB1A68EF55
> gpgv: Can't check signature: No public key
> dpkg-source: warning: cannot verify upstream tarball signature for ./selinux-python_3.5.orig.tar.gz: no acceptable signature found
> dpkg-source: info: building selinux-python using existing ./selinux-python_3.5.orig-gui.tar.gz
> dpkg-source: info: building selinux-python using existing ./selinux-python_3.5.orig-gui.tar.gz.asc
> dpkg-source: info: building selinux-python using existing ./selinux-python_3.5.orig-sandbox.tar.gz
> dpkg-source: info: building selinux-python using existing ./selinux-python_3.5.orig-sandbox.tar.gz.asc
> dpkg-source: info: building selinux-python using existing ./selinux-python_3.5.orig.tar.gz
> dpkg-source: info: building selinux-python using existing ./selinux-python_3.5.orig.tar.gz.asc
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: local changes detected, the modified files are:
>  selinux-python-3.5/sandbox/po/sandbox.pot
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/selinux-python_3.5-1.diff.sD_Wmw
> dpkg-source: info: Hint: make sure the version in debian/changelog matches the unpacked source tree
> dpkg-source: info: you can integrate the local changes with dpkg-source --commit
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/13/selinux-python_3.5-1_unstable.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the SELinux-devel mailing list