Source: libmtp
Version: 1.1.21-1
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: [email protected]
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 libmtp
> dpkg-buildpackage: info: source version 1.1.21-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Dylan Aïssi <[email protected]>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f mtp-tools.1 debian/libmtp9.docs debian/libmtp9.install 20-libmtp9.fdi
> # Restore original file
> test ! -e src/gphoto2-endian.h-orig \
>       || mv src/gphoto2-endian.h-orig src/gphoto2-endian.h
> dh_auto_clean
>       make -j8 distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in src
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> test -z "libmtp.la" || rm -f libmtp.la
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "libmtp.h" || rm -f libmtp.h
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> test -z "_stdint.h gphoto2-endian.h" || rm -f _stdint.h gphoto2-endian.h
> rm -f ./so_locations
> rm -f ./.deps/libmtp_la-libmtp.Plo
> rm -f ./.deps/libmtp_la-libopenusb1-glue.Plo
> rm -f ./.deps/libmtp_la-libusb-glue.Plo
> rm -f ./.deps/libmtp_la-libusb1-glue.Plo
> rm -f ./.deps/libmtp_la-mtpz.Plo
> rm -f ./.deps/libmtp_la-playlist-spl.Plo
> rm -f ./.deps/libmtp_la-ptp.Plo
> rm -f ./.deps/libmtp_la-unicode.Plo
> rm -f ./.deps/libmtp_la-util.Plo
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making distclean in examples
> make[3]: Entering directory '/<<PKGBUILDDIR>>/examples'
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
>  rm -f mtp-connect mtp-detect mtp-tracks mtp-files mtp-folders mtp-trexist 
> mtp-playlists mtp-getplaylist mtp-format mtp-albumart mtp-albums 
> mtp-newplaylist mtp-emptyfolders mtp-thumb mtp-reset mtp-filetree
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/albumart.Po
> rm -f ./.deps/albums.Po
> rm -f ./.deps/connect.Po
> rm -f ./.deps/delfile.Po
> rm -f ./.deps/detect.Po
> rm -f ./.deps/emptyfolders.Po
> rm -f ./.deps/files.Po
> rm -f ./.deps/filetree.Po
> rm -f ./.deps/folders.Po
> rm -f ./.deps/format.Po
> rm -f ./.deps/getfile.Po
> rm -f ./.deps/getplaylist.Po
> rm -f ./.deps/newfolder.Po
> rm -f ./.deps/newplaylist.Po
> rm -f ./.deps/pathutils.Po
> rm -f ./.deps/playlists.Po
> rm -f ./.deps/reset.Po
> rm -f ./.deps/sendfile.Po
> rm -f ./.deps/sendtr.Po
> rm -f ./.deps/thumb.Po
> rm -f ./.deps/tracks.Po
> rm -f ./.deps/trexist.Po
> rm -f ./.deps/util.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/examples'
> Making distclean in util
> make[3]: Entering directory '/<<PKGBUILDDIR>>/util'
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
>  rm -f mtp-hotplug
> test -z "" || rm -f 
>  rm -f mtp-probe
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/mtp-hotplug.Po
> rm -f ./.deps/mtp-probe.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/util'
> Making distclean in doc
> make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
> rm -rf .libs _libs
> rm -f -r html latex man
> rm -f *.lo
> test -z "Doxyfile" || rm -f Doxyfile
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "libmtp.usermap 69-libmtp.rules libmtp.fdi libmtp.hwdb" || rm -f 
> libmtp.usermap 69-libmtp.rules libmtp.fdi libmtp.hwdb
> rm -rf .libs _libs
> rm -f *.lo
> test -z "libmtp.sh hotplug.sh libmtp.pc" || rm -f libmtp.sh hotplug.sh 
> libmtp.pc
> rm -f config.h stamp-h1
> rm -f libtool config.lt
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f config.status config.cache config.log configure.lineno 
> config.status.lineno
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> 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 libmtp using existing ./libmtp_1.1.21.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: newly created empty file 'config.rpath' will not be 
> represented in diff
> dpkg-source: warning: executable mode 0755 of 'configure' will not be 
> represented in diff
> dpkg-source: warning: executable mode 0755 of 'ltmain.sh' will not be 
> represented in diff
> dpkg-source: info: local changes detected, the modified files are:
>  libmtp-1.1.21/69-libmtp.hwdb
>  libmtp-1.1.21/Makefile.in
>  libmtp-1.1.21/aclocal.m4
>  libmtp-1.1.21/config.h.in
>  libmtp-1.1.21/configure
>  libmtp-1.1.21/doc/Makefile.in
>  libmtp-1.1.21/examples/Makefile.in
>  libmtp-1.1.21/ltmain.sh
>  libmtp-1.1.21/m4/libtool.m4
>  libmtp-1.1.21/m4/ltoptions.m4
>  libmtp-1.1.21/m4/ltsugar.m4
>  libmtp-1.1.21/m4/ltversion.m4
>  libmtp-1.1.21/m4/lt~obsolete.m4
>  libmtp-1.1.21/src/Makefile.in
>  libmtp-1.1.21/util/Makefile.in
> dpkg-source: error: aborting due to unexpected upstream changes, see 
> /tmp/libmtp_1.1.21-1.diff.mu84md
> 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/libmtp_1.1.21-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.

Reply via email to