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

Bug#1045643: ifhp: Fails to build source after successful build



Source: ifhp
Version: 3.5.20-19
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 ifhp
> dpkg-buildpackage: info: source version 3.5.20-19
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Nilesh Patra <nilesh@debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh_testdir
> dh_testroot
> dh_clean
> [ ! -f Makefile ] || /usr/bin/make distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> /usr/bin/make MAKETARGET=clean src po man
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> if [ "src" = po ] ; then \
>     for i in po/Makefile* ; do \
> 	if [ -f "$i" ] ; then \
> 	    if grep '^mkinstalldirs.*=.*case' $i ; then \
> 		echo "fixing broken $i which causes wrong path to mkinstalldirs to be used"; \
> 		perl -spi -e 's:^mkinstalldirs\s*=\s*.*:mkinstalldirs = \$(SHELL) \$(MKINSTALLDIRS):' $i; \
> 	    fi \
> 	fi \
>     done \
> fi
> if [ "src" != po -o "no" != "no" ] ; then \
> 	cd src; /usr/bin/make localedir=/usr/share/locale \
> 	DESTDIR= clean ; \
> fi
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> rm -f ifhp textps monitor *.o *.core core ? tags ofhp
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> if [ "po" = po ] ; then \
>     for i in po/Makefile* ; do \
> 	if [ -f "$i" ] ; then \
> 	    if grep '^mkinstalldirs.*=.*case' $i ; then \
> 		echo "fixing broken $i which causes wrong path to mkinstalldirs to be used"; \
> 		perl -spi -e 's:^mkinstalldirs\s*=\s*.*:mkinstalldirs = \$(SHELL) \$(MKINSTALLDIRS):' $i; \
> 	    fi \
> 	fi \
>     done \
> fi
> if [ "po" != po -o "no" != "no" ] ; then \
> 	cd po; /usr/bin/make localedir=/usr/share/locale \
> 	DESTDIR= clean ; \
> fi
> if [ "man" = po ] ; then \
>     for i in po/Makefile* ; do \
> 	if [ -f "$i" ] ; then \
> 	    if grep '^mkinstalldirs.*=.*case' $i ; then \
> 		echo "fixing broken $i which causes wrong path to mkinstalldirs to be used"; \
> 		perl -spi -e 's:^mkinstalldirs\s*=\s*.*:mkinstalldirs = \$(SHELL) \$(MKINSTALLDIRS):' $i; \
> 	    fi \
> 	fi \
>     done \
> fi
> if [ "man" != po -o "no" != "no" ] ; then \
> 	cd man; /usr/bin/make localedir=/usr/share/locale \
> 	DESTDIR= clean ; \
> fi
> make[3]: Entering directory '/<<PKGBUILDDIR>>/man'
> rm -f ifhp.8 textps.8
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/man'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f *.o *.a ? ?.* *core ./ifhp.conf po/POTFILES
> rm -f header *.bak  po/*~
> rm -rf DISTRIBUTIONS/FreeBSD*/work DISTRIBUTIONS/FreeBSD*/*.tgz ;
> /usr/bin/make MAKETARGET=distclean DESTDIR= src po man fonts DOCS
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> if [ "src" = po ] ; then \
>     for i in po/Makefile* ; do \
> 	if [ -f "$i" ] ; then \
> 	    if grep '^mkinstalldirs.*=.*case' $i ; then \
> 		echo "fixing broken $i which causes wrong path to mkinstalldirs to be used"; \
> 		perl -spi -e 's:^mkinstalldirs\s*=\s*.*:mkinstalldirs = \$(SHELL) \$(MKINSTALLDIRS):' $i; \
> 	    fi \
> 	fi \
>     done \
> fi
> if [ "src" != po -o "no" != "no" ] ; then \
> 	cd src; /usr/bin/make localedir=/usr/share/locale \
> 	DESTDIR= distclean ; \
> fi
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> rm -f ifhp textps monitor *.o *.core core ? tags ofhp
> rm -f Makefile *.bak *.orig *.rej wrapper
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> if [ "po" = po ] ; then \
>     for i in po/Makefile* ; do \
> 	if [ -f "$i" ] ; then \
> 	    if grep '^mkinstalldirs.*=.*case' $i ; then \
> 		echo "fixing broken $i which causes wrong path to mkinstalldirs to be used"; \
> 		perl -spi -e 's:^mkinstalldirs\s*=\s*.*:mkinstalldirs = \$(SHELL) \$(MKINSTALLDIRS):' $i; \
> 	    fi \
> 	fi \
>     done \
> fi
> if [ "po" != po -o "no" != "no" ] ; then \
> 	cd po; /usr/bin/make localedir=/usr/share/locale \
> 	DESTDIR= distclean ; \
> fi
> if [ "man" = po ] ; then \
>     for i in po/Makefile* ; do \
> 	if [ -f "$i" ] ; then \
> 	    if grep '^mkinstalldirs.*=.*case' $i ; then \
> 		echo "fixing broken $i which causes wrong path to mkinstalldirs to be used"; \
> 		perl -spi -e 's:^mkinstalldirs\s*=\s*.*:mkinstalldirs = \$(SHELL) \$(MKINSTALLDIRS):' $i; \
> 	    fi \
> 	fi \
>     done \
> fi
> if [ "man" != po -o "no" != "no" ] ; then \
> 	cd man; /usr/bin/make localedir=/usr/share/locale \
> 	DESTDIR= distclean ; \
> fi
> make[3]: Entering directory '/<<PKGBUILDDIR>>/man'
> rm -f ifhp.8 textps.8
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/man'
> if [ "fonts" = po ] ; then \
>     for i in po/Makefile* ; do \
> 	if [ -f "$i" ] ; then \
> 	    if grep '^mkinstalldirs.*=.*case' $i ; then \
> 		echo "fixing broken $i which causes wrong path to mkinstalldirs to be used"; \
> 		perl -spi -e 's:^mkinstalldirs\s*=\s*.*:mkinstalldirs = \$(SHELL) \$(MKINSTALLDIRS):' $i; \
> 	    fi \
> 	fi \
>     done \
> fi
> if [ "fonts" != po -o "no" != "no" ] ; then \
> 	cd fonts; /usr/bin/make localedir=/usr/share/locale \
> 	DESTDIR= distclean ; \
> fi
> make[3]: Entering directory '/<<PKGBUILDDIR>>/fonts'
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/fonts'
> if [ "DOCS" = po ] ; then \
>     for i in po/Makefile* ; do \
> 	if [ -f "$i" ] ; then \
> 	    if grep '^mkinstalldirs.*=.*case' $i ; then \
> 		echo "fixing broken $i which causes wrong path to mkinstalldirs to be used"; \
> 		perl -spi -e 's:^mkinstalldirs\s*=\s*.*:mkinstalldirs = \$(SHELL) \$(MKINSTALLDIRS):' $i; \
> 	    fi \
> 	fi \
>     done \
> fi
> if [ "DOCS" != po -o "no" != "no" ] ; then \
> 	cd DOCS; /usr/bin/make localedir=/usr/share/locale \
> 	DESTDIR= distclean ; \
> fi
> make[3]: Entering directory '/<<PKGBUILDDIR>>/DOCS'
> rm -f *.errs *.htm HTML.manifest *.tex \
> 	 *.log *.dvi *.ps *.aux *.toc
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/DOCS'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f config.cache config.h config.log config.status
> rm -f Makefile */Makefile */*core* ltmain
> rm -f UTILS/*.sh
> rm -f `find . -type f -name '*.old' -print` \
>  `find . -type f -name '*.bak' -print` \
>  `find . -type f -name '*.orig' -print` \
>   Makefile */Makefile po/POTFILES
> rm -f `find . -type f -name '*.in' -print | sed -e 's/\.in$//' -e /configure/d `
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f intl/libintl.h
> rm -f configure-stamp build-stamp install-stamp
> rm -f gs_out
> rm -f config.log config.status
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building ifhp using existing ./ifhp_3.5.20.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file gs_out, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file t.p, use --include-removal to override
> dpkg-source: warning: ignoring deletion of directory autom4te.cache
> dpkg-source: warning: ignoring deletion of file autom4te.cache/requests, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file autom4te.cache/output.0, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file autom4te.cache/traces.0, use --include-removal to override
> dpkg-source: info: local changes detected, the modified files are:
>  ifhp-3.5.20/config.guess
>  ifhp-3.5.20/config.sub
>  ifhp-3.5.20/libtool
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/ifhp_3.5.20-19.diff.VLuK1l
> 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/ifhp_3.5.20-19_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: