Bug#1045644: libapache-mod-jk: Fails to build source after successful build

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


Source: libapache-mod-jk
Version: 1:1.2.48-2
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 libapache-mod-jk
> dpkg-buildpackage: info: source version 1:1.2.48-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Markus Koschany <apo at debian.org>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean --with apache2 --sourcedirectory=native
>    dh_auto_clean -O--sourcedirectory=native
> 	cd native && make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>/native'
> Making distclean in common
> make[2]: Entering directory '/<<PKGBUILDDIR>>/native/common'
> rm -f *.o *.lo *.a *.la *.so *.so.* *.slo
> rm -rf .libs
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/native/common'
> Making distclean in apache-2.0
> make[2]: Entering directory '/<<PKGBUILDDIR>>/native/apache-2.0'
> rm -f *.o *.lo *.a *.la *.so *.so.* *.slo
> rm -rf .libs
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/native/apache-2.0'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/native'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "apache-2.0/Makefile apache-2.0/Makefile.apxs common/Makefile common/list.mk common/jk_types.h" || rm -f apache-2.0/Makefile apache-2.0/Makefile.apxs common/Makefile common/list.mk common/jk_types.h
> rm -f common/config.h common/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[2]: Leaving directory '/<<PKGBUILDDIR>>/native'
> rm -f config.status config.cache config.log configure.lineno config.status.lineno
> rm -f Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/native'
>    dh_autoreconf_clean -O--sourcedirectory=native
>    dh_clean -O--sourcedirectory=native
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: verifying ./libapache-mod-jk_1.2.48.orig.tar.gz.asc
> gpgv: Signature made Thu Feb 20 16:43:21 2020 UTC
> gpgv:                using RSA key A9C5DF4D22E99998D9875A5110C01C5A2F6059E7
> gpgv: Can't check signature: No public key
> dpkg-source: warning: cannot verify upstream tarball signature for ./libapache-mod-jk_1.2.48.orig.tar.gz: no acceptable signature found
> dpkg-source: info: building libapache-mod-jk using existing ./libapache-mod-jk_1.2.48.orig.tar.gz
> dpkg-source: info: building libapache-mod-jk using existing ./libapache-mod-jk_1.2.48.orig.tar.gz.asc
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file conf/httpd-jk.conf, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file native/aclocal.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file native/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file native/configure, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file native/scripts/build/unix/install-sh, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file native/scripts/build/unix/compile, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file native/scripts/build/unix/ltmain.sh, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file native/scripts/build/unix/missing, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file native/common/config.h.in, use --include-removal to override
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/ajp/printer/ajpv13a.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/ajp/printer/ajpv13ext.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/common_howto/printer/loadbalancers.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/common_howto/printer/proxy.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/common_howto/printer/quick.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/common_howto/printer/timeouts.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/common_howto/printer/workers.html has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to build/docs/images/cors-flowchart.png: binary file contents changed
> dpkg-source: error: add build/docs/images/cors-flowchart.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/images/docs-stylesheet.css has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to build/docs/images/fonts/OpenSans400.woff: binary file contents changed
> dpkg-source: error: add build/docs/images/fonts/OpenSans400.woff in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/docs/images/fonts/OpenSans400italic.woff: binary file contents changed
> dpkg-source: error: add build/docs/images/fonts/OpenSans400italic.woff in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/docs/images/fonts/OpenSans600.woff: binary file contents changed
> dpkg-source: error: add build/docs/images/fonts/OpenSans600.woff in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/docs/images/fonts/OpenSans600italic.woff: binary file contents changed
> dpkg-source: error: add build/docs/images/fonts/OpenSans600italic.woff in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/docs/images/fonts/OpenSans700.woff: binary file contents changed
> dpkg-source: error: add build/docs/images/fonts/OpenSans700.woff in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/docs/images/fonts/OpenSans700italic.woff: binary file contents changed
> dpkg-source: error: add build/docs/images/fonts/OpenSans700italic.woff in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/images/fonts/fonts.css has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to build/docs/images/tomcat.png: binary file contents changed
> dpkg-source: error: add build/docs/images/tomcat.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/miscellaneous/printer/changelog.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/miscellaneous/printer/doccontrib.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/miscellaneous/printer/faq.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/miscellaneous/printer/jkstatustasks.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/miscellaneous/printer/reporttools.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/news/20180301.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/news/20200201.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/news/printer/20041100.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/news/printer/20050101.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/news/printer/20060101.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/news/printer/20070301.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/news/printer/20081001.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/news/printer/20090301.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/news/printer/20100101.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/news/printer/20110701.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/news/printer/20120301.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/news/printer/20140201.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/news/printer/20150101.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/news/printer/20160901.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/news/printer/20180301.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/news/printer/20200201.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/printer/index.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/reference/printer/apache.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/reference/printer/iis.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/reference/printer/status.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/reference/printer/uriworkermap.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/reference/printer/workers.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/webserver_howto/printer/apache.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/webserver_howto/printer/iis.html has no final newline (either original or modified version)
> dpkg-source: warning: file libapache-mod-jk-1.2.48/build/docs/webserver_howto/printer/nes.html has no final newline (either original or modified version)
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
> 
> 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/libapache-mod-jk_1.2.48-2_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-java-maintainers mailing list