[Debian-ha-maintainers] Bug#1045026: drbd-utils: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 17:56:53 BST 2023


Source: drbd-utils
Version: 9.22.0-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 drbd-utils
> dpkg-buildpackage: info: source version 9.22.0-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Apollon Oikonomopoulos <apoikos at debian.org>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean --with bash-completion
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean
> 	make -j8 distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/user/shared'
> rm -f drbdmeta_scanner.c
> ! test -e ../../.git || rm -f drbd_buildtag.[ch]
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/user/shared'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/user/v9'
> rm -f drbdadm_scanner.c
> rm -f drbdsetup drbdadm drbdmeta test/drbdsetup_events2_instrumented drbdadm_scanner.o drbdadm_parser.o drbdadm_postparse.o drbdadm_main.o drbdadm_adjust.o drbdadm_dump.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o registry.o config_flags.o libnla.o drbd_nla.o shared_tool.o shared_main.o shared_parser.o libgenl.o drbdadm_linux.o drbdtool_common_linux.o path_linux.o shared_linux.o libnla.o registry.o drbdsetup.o drbdtool_common.o drbd_buildtag.o drbd_strings.o config_flags.o drbd_nla.o wrap_printf.o drbdsetup_colors.o shared_tool.o drbdsetup_events2.o libgenl.o drbdtool_common_linux.o drbdsetup_linux.o path_linux.o shared_linux.o drbdsetup_main.o drbdmeta.o drbdmeta_scanner.o drbdtool_common.o drbd_buildtag.o drbd_strings.o shared_tool.o drbdmeta_linux.o drbdtool_common_linux.o path_linux.o 
> shared_linux.o test/drbdsetup_events2_instrumented.o
> rm -f drbd_strings.c drbd_strings.h
> rm -f *~
> rm -f .drbdadm_scanner.d .drbdadm_parser.d .drbdadm_postparse.d .drbdadm_main.d .drbdadm_adjust.d .drbdadm_dump.d .drbdtool_common.d .drbdadm_usage_cnt.d .drbd_buildtag.d .registry.d .config_flags.d .libnla.d .drbd_nla.d .shared_tool.d .shared_main.d .shared_parser.d .libgenl.d .drbdadm_linux.d .drbdtool_common_linux.d .path_linux.d .shared_linux.d .libnla.d .registry.d .drbdsetup.d .drbdtool_common.d .drbd_buildtag.d .drbd_strings.d .config_flags.d .drbd_nla.d .wrap_printf.d .drbdsetup_colors.d .shared_tool.d .drbdsetup_events2.d .libgenl.d .drbdtool_common_linux.d .drbdsetup_linux.d .path_linux.d .shared_linux.d .drbdsetup_main.d .drbdmeta.d .drbdmeta_scanner.d .drbdtool_common.d .drbd_buildtag.d .drbd_strings.d .shared_tool.d .drbdmeta_linux.d .drbdtool_common_linux.d .path_linux.d .shared_linux.d 
> .test/drbdsetup_events2_instrumented.d
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/user/v9'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/scripts'
> rm -f *~
> rm -f datadisk
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/scripts'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/user/v83'
> rm -f drbdadm_scanner.c
> rm -f drbdsetup-83 drbdadm-83 drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o drbdadm_adjust.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o drbdadm_minor_table.o shared_tool.o shared_main.o shared_parser.o path_linux.o shared_linux.o drbdsetup.o drbdtool_common.o drbd_buildtag.o drbd_strings.o shared_tool.o path_linux.o shared_linux.o
> rm -f *~
> rm -f .drbdadm_scanner.d .drbdadm_parser.d .drbdadm_main.d .drbdadm_adjust.d .drbdtool_common.d .drbdadm_usage_cnt.d .drbd_buildtag.d .drbdadm_minor_table.d .shared_tool.d .shared_main.d .shared_parser.d .path_linux.d .shared_linux.d .drbdsetup.d .drbdtool_common.d .drbd_buildtag.d .drbd_strings.d .shared_tool.d .path_linux.d .shared_linux.d
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/user/v83'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/user/v84'
> rm -f drbdadm_scanner.c
> rm -f drbdsetup-84 drbdadm-84 drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o drbdadm_adjust.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o registry.o config_flags.o libgenl.o drbd_nla.o shared_tool.o shared_main.o shared_parser.o libnla.o path_linux.o shared_linux.o libgenl.o registry.o drbdsetup.o drbdtool_common.o drbd_buildtag.o drbd_strings.o config_flags.o drbd_nla.o wrap_printf.o drbdsetup_colors.o shared_tool.o libnla.o path_linux.o shared_linux.o
> rm -f *~
> rm -f .drbdadm_scanner.d .drbdadm_parser.d .drbdadm_main.d .drbdadm_adjust.d .drbdtool_common.d .drbdadm_usage_cnt.d .drbd_buildtag.d .registry.d .config_flags.d .libgenl.d .drbd_nla.d .shared_tool.d .shared_main.d .shared_parser.d .libnla.d .path_linux.d .shared_linux.d .libgenl.d .registry.d .drbdsetup.d .drbdtool_common.d .drbd_buildtag.d .drbd_strings.d .config_flags.d .drbd_nla.d .wrap_printf.d .drbdsetup_colors.d .shared_tool.d .libnla.d .path_linux.d .shared_linux.d
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/user/v84'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/user/drbdmon'
> rm -f Args.o CompactDisplay.o ConfigOption.o DrbdConnection.o DrbdMon.o DrbdResource.o DrbdRole.o DrbdVolume.o EventsIo.o EventsSourceSpawner.o IntervalTimer.o MessageLog.o StateFlags.o StringTokenizer.o VolumesContainer.o comparators.o drbdmon_main.o exceptions.o utils.o cppdsaext/src/dsaext.o cppdsaext/src/integerparse.o drbdmon
> rm -f .Args.d .CompactDisplay.d .ConfigOption.d .DrbdConnection.d .DrbdMon.d .DrbdResource.d .DrbdRole.d .DrbdVolume.d .EventsIo.d .EventsSourceSpawner.d .IntervalTimer.d .MessageLog.d .StateFlags.d .StringTokenizer.d .VolumesContainer.d .comparators.d .drbdmon_main.d .exceptions.d .utils.d
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/user/drbdmon'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/documentation/v9'
> rm -f *.[578] manpage.links manpage.refs *~ manpage.log
> rm -f drbd-lvchange at .service.xml drbd-promote at .service.xml drbd-reconfigure-suspend-or-error at .service.xml drbd-services at .target.xml drbd-wait-promotable at .service.xml drbd.service.xml drbd at .service.xml drbd at .target.xml ocf.ra at .service.xml
> rm -f *.ps.gz *.pdf *.ps *.html pod2htm*
> rm -f drbdsetup_*.xml *.pot
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/documentation/v9'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/documentation/ja/v9'
> rm -f *.[578] manpage.links manpage.refs *~ manpage.log
> rm -f 
> rm -f *.ps.gz *.pdf *.ps *.html pod2htm*
> rm -f *.xml *.xml.in
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/documentation/ja/v9'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/documentation/v83'
> rm -f *.[58] manpage.links manpage.refs *~ manpage.log
> rm -f *.ps.gz *.pdf *.ps *.html pod2htm*
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/documentation/v83'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/documentation/v84'
> rm -f *.[58] manpage.links manpage.refs *~ manpage.log
> rm -f *.ps.gz *.pdf *.ps *.html pod2htm*
> rm -f drbdsetup_*.xml *.pot
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/documentation/v84'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/documentation/ja/v84'
> rm -f *.[58] manpage.links manpage.refs *~ manpage.log
> rm -f *.ps.gz *.pdf *.ps *.html pod2htm*
> rm -f *.xml *.xml.in
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/documentation/ja/v84'
> rm -f *~ .filelist
> rm -rf dist
> rm -rf autom4te.cache
> rm -f config.log
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f debian/drbd-utils.drbd.init
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building drbd-utils using existing ./drbd-utils_9.22.0.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file .filelist, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file configure, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v83/drbd.conf.5, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v83/drbd.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v83/drbdmeta.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v83/drbddisk.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v83/drbdsetup.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v83/drbdadm.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v84/drbd.conf.5, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v84/drbd.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v84/drbdmeta.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v84/drbddisk.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v84/drbdsetup.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v84/drbdadm.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/ja/v84/drbd.conf.5, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/ja/v84/drbd.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/ja/v84/drbdmeta.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/ja/v84/drbddisk.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/ja/v84/drbdsetup.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/ja/v84/drbdadm.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/ja/v9/drbd.conf.5, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/ja/v9/drbd.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/ja/v9/drbdmon.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/ja/v9/drbdmeta.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/ja/v9/drbdsetup.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/ja/v9/drbdadm.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v9/drbd-promote at .service.7, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v9/drbd-wait-promotable at .service.7, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v9/drbd.conf.5, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v9/ocf_linbit_drbd.7, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v9/drbd at .target.7, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v9/drbd at .service.7, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v9/drbd.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v9/drbdmon.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v9/drbdmeta.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v9/drbd-lvchange at .service.7, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v9/drbdsetup.8, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v9/ocf.ra at .service.7, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v9/drbd.service.7, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v9/drbd-reconfigure-suspend-or-error at .service.7, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v9/ocf_linbit_drbd-attr.7, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v9/drbd-services at .target.7, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file documentation/v9/drbdadm.8, use --include-removal to override
> dpkg-source: warning: executable mode 0755 of 'config.status' will not be represented in diff
> dpkg-source: info: local changes detected, the modified files are:
>  drbd-utils-9.22.0/Makefile
>  drbd-utils-9.22.0/config.status
>  drbd-utils-9.22.0/documentation/common/Makefile_v84_com
>  drbd-utils-9.22.0/documentation/common/Makefile_v9_com
>  drbd-utils-9.22.0/documentation/v83/Makefile
>  drbd-utils-9.22.0/documentation/v9/drbd.conf.xml
>  drbd-utils-9.22.0/documentation/v9/drbdsetup.xml
>  drbd-utils-9.22.0/documentation/v9/ocf_linbit_drbd-attr.xml
>  drbd-utils-9.22.0/documentation/v9/ocf_linbit_drbd.xml
>  drbd-utils-9.22.0/scripts/Makefile
>  drbd-utils-9.22.0/scripts/drbd.rules
>  drbd-utils-9.22.0/user/drbdmon/Makefile
>  drbd-utils-9.22.0/user/shared/Makefile
>  drbd-utils-9.22.0/user/shared/config.h
>  drbd-utils-9.22.0/user/shared/drbd_buildtag.c
>  drbd-utils-9.22.0/user/v83/Makefile
>  drbd-utils-9.22.0/user/v84/Makefile
>  drbd-utils-9.22.0/user/v9/Makefile
>  drbd-utils-9.22.0/user/windrbd/Makefile
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/drbd-utils_9.22.0-1.diff.uy49n4
> 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/drbd-utils_9.22.0-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 Debian-ha-maintainers mailing list