Package: src:png-sixlegs Version: 2.0-2 Severity: serious Tags: ftbfs Dear maintainer:
I tried to build this package in buster but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep --sourcedirectory=javapng-2.0 --with javahelper dh_update_autotools_config -i -O--sourcedirectory=javapng-2.0 dh_autoreconf -i -O--sourcedirectory=javapng-2.0 dh_auto_configure -i -O--sourcedirectory=javapng-2.0 jh_linkjars -i -O--sourcedirectory=javapng-2.0 dh_auto_build -i -O--sourcedirectory=javapng-2.0 cd javapng-2.0 && ant -Duser.name debian Buildfile: /<<PKGBUILDDIR>>/javapng-2.0/build.xml init: compile: [mkdir] Created dir: /<<PKGBUILDDIR>>/javapng-2.0/build/main [copy] Copied 3 empty directories to 3 empty directories under /<<PKGBUILDDIR>>/javapng-2.0/build/main [javac] /<<PKGBUILDDIR>>/javapng-2.0/build.xml:107: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Using javac -source 1.2 is no longer supported, switching to 6 [javac] Using javac -target 1.2 is no longer supported, switching to 6 [javac] Compiling 26 source files to /<<PKGBUILDDIR>>/javapng-2.0/build/main [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 warnings [mkdir] Created dir: /<<PKGBUILDDIR>>/javapng-2.0/build/apng [copy] Copied 3 empty directories to 3 empty directories under /<<PKGBUILDDIR>>/javapng-2.0/build/apng [javac] /<<PKGBUILDDIR>>/javapng-2.0/build.xml:107: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Using javac -source 1.2 is no longer supported, switching to 6 [javac] Using javac -target 1.2 is no longer supported, switching to 6 [javac] Compiling 5 source files to /<<PKGBUILDDIR>>/javapng-2.0/build/apng [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 warnings compile-iio: [mkdir] Created dir: /<<PKGBUILDDIR>>/javapng-2.0/build/iio [copy] Copied 4 empty directories to 4 empty directories under /<<PKGBUILDDIR>>/javapng-2.0/build/iio [javac] /<<PKGBUILDDIR>>/javapng-2.0/build.xml:107: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Using javac -source 1.4 is no longer supported, switching to 6 [javac] Using javac -target 1.4 is no longer supported, switching to 6 [javac] Compiling 5 source files to /<<PKGBUILDDIR>>/javapng-2.0/build/iio [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] Note: /<<PKGBUILDDIR>>/javapng-2.0/src/iio/com/sixlegs/png/iio/PngImageReader.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 warnings compile-examples: [mkdir] Created dir: /<<PKGBUILDDIR>>/javapng-2.0/build/examples [copy] Copied 4 empty directories to 4 empty directories under /<<PKGBUILDDIR>>/javapng-2.0/build/examples [javac] /<<PKGBUILDDIR>>/javapng-2.0/build.xml:107: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Using javac -source 1.5 is no longer supported, switching to 6 [javac] Using javac -target 1.5 is no longer supported, switching to 6 [javac] Compiling 7 source files to /<<PKGBUILDDIR>>/javapng-2.0/build/examples [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] Note: /<<PKGBUILDDIR>>/javapng-2.0/src/examples/com/sixlegs/png/examples/ArgumentProcessor.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 warnings compile-test: [mkdir] Created dir: /<<PKGBUILDDIR>>/javapng-2.0/build/test [copy] Copying 302 files to /<<PKGBUILDDIR>>/javapng-2.0/build/test [copy] Copied 9 empty directories to 4 empty directories under /<<PKGBUILDDIR>>/javapng-2.0/build/test [javac] /<<PKGBUILDDIR>>/javapng-2.0/build.xml:107: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Using javac -source 1.5 is no longer supported, switching to 6 [javac] Using javac -target 1.5 is no longer supported, switching to 6 [javac] Compiling 12 source files to /<<PKGBUILDDIR>>/javapng-2.0/build/test [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] /<<PKGBUILDDIR>>/javapng-2.0/src/test/com/sixlegs/png/iio/IIOTestCase.java:97: warning: PNGImageReader is internal proprietary API and may be removed in a future release [javac] sunIR = new com.sun.imageio.plugins.png.PNGImageReader( [javac] ^ [javac] /<<PKGBUILDDIR>>/javapng-2.0/src/test/com/sixlegs/png/iio/IIOTestCase.java:98: warning: PNGImageReaderSpi is internal proprietary API and may be removed in a future release [javac] new com.sun.imageio.plugins.png.PNGImageReaderSpi()); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 6 warnings compile-viewer: [mkdir] Created dir: /<<PKGBUILDDIR>>/javapng-2.0/build/viewer [copy] Copying 1 file to /<<PKGBUILDDIR>>/javapng-2.0/build/viewer [javac] /<<PKGBUILDDIR>>/javapng-2.0/build.xml:107: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Using javac -source 1.5 is no longer supported, switching to 6 [javac] Using javac -target 1.5 is no longer supported, switching to 6 [javac] Compiling 2 source files to /<<PKGBUILDDIR>>/javapng-2.0/build/viewer [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] 4 warnings compile-all: jar: [mkdir] Created dir: /<<PKGBUILDDIR>>/javapng-2.0/dist [jar] Building jar: /<<PKGBUILDDIR>>/javapng-2.0/dist/javapng-2.0.jar jar-iio: [mkdir] Created dir: /<<PKGBUILDDIR>>/javapng-2.0/build/services [jarjar] Building jar: /<<PKGBUILDDIR>>/javapng-2.0/dist/javapng-2.0-iio.jar jar-gif2apng: [jarjar] Building jar: /<<PKGBUILDDIR>>/javapng-2.0/dist/gif2apng-0.5.jar jar-viewer: [jar] Building jar: /<<PKGBUILDDIR>>/javapng-2.0/dist/pngviewer-0.5.jar jar-all: BUILD SUCCESSFUL Total time: 15 seconds debian/rules override_jh_build make[1]: Entering directory '/<<PKGBUILDDIR>>' jh_build -J png.jar javapng-2.0/src/main find javapng-2.0/src/main -name *.java -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.png -d debian/_jh_build.png -source 1.7 -target 1.7 -encoding ISO8859-1 warning: [options] bootstrap class path not set in conjunction with -source 7 Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 warning find javapng-2.0/src/main -name *.java -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -link /usr/share/doc/default-jdk-doc/api -link /usr/share/doc/default-jre-headless/api -classpath :debian/_jh_build.png -d debian/_jh_build.javadoc/api -quiet -encoding ISO8859-1 -notimestamp -source 1.7 Creating destination directory: "debian/_jh_build.javadoc/api/" javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in /usr/share/doc/default-jdk-doc/api/ are in named modules. javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in /usr/share/doc/default-jre-headless/api/ are in named modules. javapng-2.0/src/main/com/sixlegs/png/SuggestedPalette.java:72: warning - invalid usage of tag < javapng-2.0/src/main/com/sixlegs/png/SuggestedPalette.java:72: warning - invalid usage of tag > 2 errors 2 warnings make[1]: *** [debian/rules:12: override_jh_build] Error 123 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:9: build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2 -------------------------------------------------------------------------------- (The above is just how the build ends and not necessarily the most relevant part) The build was made in my autobuilder with "dpkg-buildpackage -A" and it also fails here: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/png-sixlegs.html where you can get a full build log if you need it. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.