Source: f2j
Version: 0.8.1+dfsg-5
Severity: minor
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian...@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 f2j
> dpkg-buildpackage: info: source version 0.8.1+dfsg-5
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Andreas Tille <ti...@debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    dh_auto_clean
>       make -j8 clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> /bin/rm -rf f2j-0.8.1 f2j-0.8.1.zip f2j-0.8.1.tgz f2jsrc.tgz f2jsrc.zip
> cd libbytecode; make clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/libbytecode'
> /bin/rm -rf *.o *.a latex html
> #cd testing; make clean
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/libbytecode'
> cd src; make clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> rm -f *.o *.class f2jparse.c y.tab.c y.tab.h \
> tmp f2j f2java core a.out *.output *~  *.vcg
> #cd test; make clean
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> cd util; make clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/util'
> /bin/rm -rf obj f2jutil.jar
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/util'
> cd doc; make clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> rm -f f2j_ug.dvi f2j_ug.ps *.aux *.log *.out *.bbl *.blg
> if [ -e f2j_ug.orig.pdf ] ; then mv f2j_ug.orig.pdf f2j_ug.pdf ; fi
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> 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 f2j using existing ./f2j_0.8.1+dfsg.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file libbytecode/bytecode.h.in, 
> use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/y.tab.h, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/y.tab.c, use 
> --include-removal to override
> dpkg-source: warning: executable mode 0755 of 'config.status' will not be 
> represented in diff
> dpkg-source: warning: executable mode 0755 of 'libbytecode/config.status' 
> will not be represented in diff
> dpkg-source: info: local changes detected, the modified files are:
>  f2j-0.8.1+dfsg/Makefile
>  f2j-0.8.1+dfsg/config.log
>  f2j-0.8.1+dfsg/config.status
>  f2j-0.8.1+dfsg/libbytecode/Makefile
>  f2j-0.8.1+dfsg/libbytecode/config.log
>  f2j-0.8.1+dfsg/libbytecode/config.status
>  f2j-0.8.1+dfsg/libbytecode/make.def
>  f2j-0.8.1+dfsg/src/f2j-config.h
>  f2j-0.8.1+dfsg/src/make.def
>  f2j-0.8.1+dfsg/util/make.def
> dpkg-source: error: aborting due to unexpected upstream changes, see 
> /tmp/f2j_0.8.1+dfsg-5.diff.iDONll
> 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/f2j_0.8.1+dfsg-5_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.

__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to