[Pkg-utopia-maintainers] Bug#1047511: policykit-1: Fails to build source after successful build

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


Source: policykit-1
Version: 123-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 policykit-1
> dpkg-buildpackage: info: source version 123-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Simon McVittie <smcv at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean --with xml-core
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean
> dh_auto_clean --sourcedirectory=polkit-pkla-compat
> 	cd polkit-pkla-compat && make -j8 distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/polkit-pkla-compat'
> Making distclean in po
> make[3]: Entering directory '/<<PKGBUILDDIR>>/polkit-pkla-compat/po'
> rm -f *.insert-header
> rm -f remove-potcdate.sed
> rm -f stamp-poT
> rm -f core core.* polkit-pkla-compat.po polkit-pkla-compat.1po polkit-pkla-compat.2po *.new.po
> rm -fr *.o
> rm -f Makefile Makefile.in POTFILES *.mo
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/polkit-pkla-compat/po'
> Making distclean in test
> make[3]: Entering directory '/<<PKGBUILDDIR>>/polkit-pkla-compat/test'
> Making distclean in mocklibc
> make[4]: Entering directory '/<<PKGBUILDDIR>>/polkit-pkla-compat/test/mocklibc'
> Making distclean in src
> make[5]: Entering directory '/<<PKGBUILDDIR>>/polkit-pkla-compat/test/mocklibc/src'
> test -z "libmocklibc.la" || rm -f libmocklibc.la
> rm -rf .libs _libs
>  rm -f mocklibc-debug-netgroup
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -f ./so_locations
> rm -f ./.deps/grp.Plo
> rm -f ./.deps/netdb.Plo
> rm -f ./.deps/netgroup-debug.Po
> rm -f ./.deps/netgroup.Plo
> rm -f ./.deps/pwd.Plo
> rm -f Makefile
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/polkit-pkla-compat/test/mocklibc/src'
> Making distclean in bin
> make[5]: Entering directory '/<<PKGBUILDDIR>>/polkit-pkla-compat/test/mocklibc/bin'
> test -z "mocklibc mocklibc-test" || rm -f mocklibc mocklibc-test
> rm -rf .libs _libs
> test -z "mocklibc-test.log" || rm -f mocklibc-test.log
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> test -z "mocklibc-test.trs" || rm -f mocklibc-test.trs
> test -z "test-suite.log" || rm -f test-suite.log
> rm -f Makefile
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/polkit-pkla-compat/test/mocklibc/bin'
> make[5]: Entering directory '/<<PKGBUILDDIR>>/polkit-pkla-compat/test/mocklibc'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f config.h stamp-h1
> rm -f libtool config.lt
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/polkit-pkla-compat/test/mocklibc'
> rm -f config.status config.cache config.log configure.lineno config.status.lineno
> rm -f Makefile
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/polkit-pkla-compat/test/mocklibc'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/polkit-pkla-compat/test'
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/polkit-pkla-compat/test'
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/polkit-pkla-compat/test'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/polkit-pkla-compat'
> test -z "src/pkla-admin-identities src/pkla-check-authorization" || rm -f src/pkla-admin-identities src/pkla-check-authorization
> test -z "test/polkitbackendlocalauthoritytest test/polkitbackendlocalauthorizationstoretest" || rm -f test/polkitbackendlocalauthoritytest test/polkitbackendlocalauthorizationstoretest
> test -z "docs/pkla-admin-identities.8 docs/pkla-check-authorization.8 docs/pklocalauthority.8 src/49-polkit-pkla-compat.rules" || rm -f docs/pkla-admin-identities.8 docs/pkla-check-authorization.8 docs/pklocalauthority.8 src/49-polkit-pkla-compat.rules
> test -z "src/libpolkit-backend.a test/libpolkit-test-helper.a" || rm -f src/libpolkit-backend.a test/libpolkit-test-helper.a
> test -z "test/polkitbackendlocalauthoritytest test/polkitbackendlocalauthorizationstoretest" || rm -f test/polkitbackendlocalauthoritytest test/polkitbackendlocalauthorizationstoretest
> rm -f *.o
> test -z "test/polkitbackendlocalauthoritytest.log test/polkitbackendlocalauthorizationstoretest.log" || rm -f test/polkitbackendlocalauthoritytest.log test/polkitbackendlocalauthorizationstoretest.log
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f config.h stamp-h1
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -f src/*.o
> test . = "." || test -z "" || rm -f 
> test -z "test/polkitbackendlocalauthoritytest.trs test/polkitbackendlocalauthorizationstoretest.trs" || rm -f test/polkitbackendlocalauthoritytest.trs test/polkitbackendlocalauthorizationstoretest.trs
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> rm -f test/*.o
> rm -f src/.deps/.dirstamp
> test -z "test-suite.log" || rm -f test-suite.log
> rm -f src/.dirstamp
> rm -f test/.deps/.dirstamp
> rm -f test/.dirstamp
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/polkit-pkla-compat'
> rm -f config.status config.cache config.log configure.lineno config.status.lineno
> rm -f src/.deps/pkla_admin_identities-pkla-admin-identities.Po
> rm -f src/.deps/pkla_admin_identities-polkitbackendconfigsource.Po
> rm -f src/.deps/pkla_check_authorization-pkla-check-authorization.Po
> rm -f src/.deps/polkitbackendlocalauthorizationstore.Po
> rm -f test/.deps/polkitbackendlocalauthoritytest.Po
> rm -f test/.deps/polkitbackendlocalauthorizationstoretest.Po
> rm -f test/.deps/polkittesthelper.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/polkit-pkla-compat'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    dh_clean
>  dpkg-source -b .
> dpkg-source: warning: upstream signing key but no upstream tarball signature
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building policykit-1 using existing ./policykit-1_123.orig-polkit-pkla-compat.tar.bz2
> dpkg-source: info: building policykit-1 using existing ./policykit-1_123.orig.tar.bz2
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/aclocal.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/INSTALL, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/configure, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/config.h.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/test/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/test/mocklibc/aclocal.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/test/mocklibc/INSTALL, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/test/mocklibc/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/test/mocklibc/configure, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/test/mocklibc/config.h.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/test/mocklibc/src/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/test/mocklibc/bin/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/m4/ltsugar.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/m4/lt~obsolete.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/m4/ltversion.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/m4/libtool.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/m4/ltoptions.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/admin/ar-lib, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/admin/install-sh, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/admin/compile, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/admin/ltmain.sh, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/admin/depcomp, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file polkit-pkla-compat/admin/missing, use --include-removal to override
> dpkg-source: warning: newly created empty file 'subprojects/mocklibc-1.0/ChangeLog' will not be represented in diff
> dpkg-source: warning: newly created empty file 'subprojects/mocklibc-1.0/NEWS' will not be represented in diff
> dpkg-source: warning: executable mode 0754 of 'subprojects/mocklibc-1.0/bin/mocklibc' will not be represented in diff
> dpkg-source: warning: executable mode 0754 of 'subprojects/mocklibc-1.0/bin/mocklibc-test' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'subprojects/mocklibc-1.0/config.guess' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'subprojects/mocklibc-1.0/config.sub' will not be represented in diff
> dpkg-source: warning: executable mode 0754 of 'subprojects/mocklibc-1.0/configure' will not be represented in diff
> dpkg-source: warning: executable mode 0754 of 'subprojects/mocklibc-1.0/depcomp' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'subprojects/mocklibc-1.0/install-sh' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'subprojects/mocklibc-1.0/ltmain.sh' will not be represented in diff
> dpkg-source: warning: executable mode 0754 of 'subprojects/mocklibc-1.0/missing' will not be represented in diff
> dpkg-source: info: local changes detected, the modified files are:
>  policykit-1-123/subprojects/mocklibc-1.0/.meson-subproject-wrap-hash.txt
>  policykit-1-123/subprojects/mocklibc-1.0/AUTHORS
>  policykit-1-123/subprojects/mocklibc-1.0/COPYING
>  policykit-1-123/subprojects/mocklibc-1.0/INSTALL
>  policykit-1-123/subprojects/mocklibc-1.0/LICENSE.build
>  policykit-1-123/subprojects/mocklibc-1.0/Makefile.am
>  policykit-1-123/subprojects/mocklibc-1.0/Makefile.in
>  policykit-1-123/subprojects/mocklibc-1.0/README
>  policykit-1-123/subprojects/mocklibc-1.0/aclocal.m4
>  policykit-1-123/subprojects/mocklibc-1.0/bin/Makefile.am
>  policykit-1-123/subprojects/mocklibc-1.0/bin/Makefile.in
>  policykit-1-123/subprojects/mocklibc-1.0/bin/meson.build
>  policykit-1-123/subprojects/mocklibc-1.0/bin/mocklibc
>  policykit-1-123/subprojects/mocklibc-1.0/bin/mocklibc-test
>  policykit-1-123/subprojects/mocklibc-1.0/bin/mocklibc-test.in
>  policykit-1-123/subprojects/mocklibc-1.0/bin/mocklibc.in
>  policykit-1-123/subprojects/mocklibc-1.0/config.guess
>  policykit-1-123/subprojects/mocklibc-1.0/config.h.in
>  policykit-1-123/subprojects/mocklibc-1.0/config.sub
>  policykit-1-123/subprojects/mocklibc-1.0/configure
>  policykit-1-123/subprojects/mocklibc-1.0/configure.ac
>  policykit-1-123/subprojects/mocklibc-1.0/depcomp
>  policykit-1-123/subprojects/mocklibc-1.0/example/group
>  policykit-1-123/subprojects/mocklibc-1.0/example/netgroup
>  policykit-1-123/subprojects/mocklibc-1.0/example/passwd
>  policykit-1-123/subprojects/mocklibc-1.0/install-sh
>  policykit-1-123/subprojects/mocklibc-1.0/ltmain.sh
>  policykit-1-123/subprojects/mocklibc-1.0/meson.build
>  policykit-1-123/subprojects/mocklibc-1.0/missing
>  policykit-1-123/subprojects/mocklibc-1.0/src/Makefile.am
>  policykit-1-123/subprojects/mocklibc-1.0/src/Makefile.in
>  policykit-1-123/subprojects/mocklibc-1.0/src/grp.c
>  policykit-1-123/subprojects/mocklibc-1.0/src/meson.build
>  policykit-1-123/subprojects/mocklibc-1.0/src/netdb.c
>  policykit-1-123/subprojects/mocklibc-1.0/src/netgroup-debug.c
>  policykit-1-123/subprojects/mocklibc-1.0/src/netgroup-debug.h
>  policykit-1-123/subprojects/mocklibc-1.0/src/netgroup.c
>  policykit-1-123/subprojects/mocklibc-1.0/src/netgroup.h
>  policykit-1-123/subprojects/mocklibc-1.0/src/pwd.c
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/policykit-1_123-1.diff.XrwkMF
> 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/policykit-1_123-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 Pkg-utopia-maintainers mailing list