[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1046192: mmh: Fails to build source after successful build



Source: mmh
Version: 0.4-4
Severity: minor
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa@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 mmh
> dpkg-buildpackage: info: source version 0.4-4
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Adrian Bunk <bunk@debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean  --with autoreconf,bash-completion --no-parallel
>    dh_auto_clean -O--no-parallel
> 	make -j1 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> for subdir in h config sbr uip etc man; do \
>   target=`echo distclean-recursive | sed 's/-recursive//'`; \
>   (cd $subdir && make CC='gcc' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2' DEFS='-DHAVE_CONFIG_H  -D_GNU_SOURCE' CFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -fcommon' LDFLAGS='-Wl,-z,relro -Wl,-z,now ' LIBS='' prefix='/usr' exec_prefix='/usr' bindir='/usr/bin/mh' etcdir='/etc/mmh' libdir='/usr/lib/mmh' mandir='/usr/share/man' mailspool='/var/mail' sendmailpath='/usr/sbin/sendmail' $target) || exit 1; \
> done
> make[2]: Entering directory '/<<PKGBUILDDIR>>/h'
> rm -f *~
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/h'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/config'
> rm -f *.o *~
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/config'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/sbr'
> rm -f *.o *~
> rm -f libmh.a sigmsg.h
> rm -f Makefile dtimep.c
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/sbr'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/uip'
> rm -f *.o *~
> rm -f ali anno burst comp dist flist folder forw mmh mark mhbuild mhl mhsign mhpgp mhlist mhmail mhparam mhpath mhstore new packf pick print-mimetype prompter rcvdist rcvpack rcvstore refile repl rmf rmm send sendfiles show slocal sortm spost whatnow whatnow2 whom ap dp fmtdump mhtest mmhwrap inc
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/uip'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/etc'
> rm -f *~
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/etc'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/man'
> rm -f *~
> rm -f ali.1mh anno.1mh burst.1mh comp.1mh dist.1mh flist.1mh flists.1mh folder.1mh folders.1mh forw.1mh inc.1mh mark.1mh mhbuild.1mh mhl.1mh mhlist.1mh mhsign.1mh mhpgp.1mh mmh.1mh mmhwrap.1mh mhmail.1mh mhparam.1mh mhpath.1mh mhstore.1mh new.1mh fnext.1mh fprev.1mh unseen.1mh next.1mh packf.1mh pick.1mh prev.1mh prompter.1mh rcvdist.1mh rcvpack.1mh rcvstore.1mh refile.1mh repl.1mh rmf.1mh rmm.1mh scan.1mh send.1mh sendfiles.1mh show.1mh slocal.1mh sortm.1mh whatnow.1mh whom.1mh whatnow2.1mh mh-alias.5mh mh-format.5mh mh-mail.5mh mh-profile.5mh mmh-intro.7mh mh-chart.7mh mh-draft.7mh mh-sequence.7mh spost.8mh ap.8mh dp.8mh fmtdump.8mh
> rm -f man.sed mh-chart.man7
> rm -f titles[0-9].temp
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/man'
> rm -f *~
> rm -rf autom4te.cache
> rm -f Makefile config.h config.status config.log config.cache stamp-h distname ChangeLog
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean -O--no-parallel
>    dh_clean -O--no-parallel
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: verifying ./mmh_0.4.orig.tar.gz.asc
> dpkg-source: info: building mmh using existing ./mmh_0.4.orig.tar.gz
> dpkg-source: info: building mmh using existing ./mmh_0.4.orig.tar.gz.asc
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file ChangeLog, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file install-sh, 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 config.h.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file sbr/dtimep.c, use --include-removal to override
> dpkg-source: info: local changes detected, the modified files are:
>  mmh-0.4/stamp-h.in
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/mmh_0.4-4.diff._9YuBG
> 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/mmh_0.4-4_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 to: