Source: jmagick
Version: 6.6.9~20130201-svn99-4
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 jmagick
> dpkg-buildpackage: info: source version 6.6.9~20130201-svn99-4
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Emmanuel Bourg <ebo...@apache.org>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> test -x debian/rules
> rm -f debian/stamp-makefile-build debian/stamp-makefile-install
> /usr/bin/make -C . -k clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Cleaning /<<PKGBUILDDIR>> ...
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> Cleaning /<<PKGBUILDDIR>>/src ...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/magick'
> Cleaning /<<PKGBUILDDIR>>/src/magick ...
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src/magick/util'
> Cleaning /<<PKGBUILDDIR>>/src/magick/util ...
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/magick/util'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/magick'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f debian/stamp-autotools
> rmdir --ignore-fail-on-non-empty .
> rmdir: failed to remove '.': Invalid argument
> make: [/usr/share/cdbs/1/class/autotools.mk:64: makefile-clean] Error 1 
> (ignored)
> set -e;   mv ./config.guess.cdbs-orig ./config.guess;   mv 
> ./config.sub.cdbs-orig ./config.sub;
> dh_clean 
> rm -f debian/stamp-autotools-files
> rm -rf Make.def libtool config.cache config.log config.status obj/magick/.libs
> rm -rf autom4te.cache
> rm -rf lib/*.jar
> mh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building jmagick using existing 
> ./jmagick_6.6.9~20130201-svn99.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to src/magick/libJMagick.so:
> dpkg-source: error:   new version is symlink to ./libJMagick-6.6.9.so
> dpkg-source: error:   old version is nonexistent
> 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/jmagick_6.6.9~20130201-svn99-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.

__
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