[Pkg-phototools-devel] Bug#899126: openjpeg2: FTBFS: cd obj-x86_64-linux-gnu && make -j8 -Oline returned exit code 2

Juhani Numminen juhaninumminen0 at gmail.com
Sun May 20 07:47:34 BST 2018


Control: forcemerge 873997 899126

On Sat, 19 May 2018 16:58:33 +0200 Dominic Hargreaves <dom at earth.li> wrote:

> When testing packages against the upcoming release of perl, we found
> an unrelated FTBFS on a clean sid chroot:

...
> [ 57%] Built target openjp2_static
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> make[1]: *** [Makefile:155: all] Error 2
> dh_auto_build: cd obj-x86_64-linux-gnu && make -j8 -Oline returned exit code 2
> make: *** [debian/rules:10: build] Error 25
> 
> The full log is here:
> 
> <http://perl.debian.net/rebuild-logs/perl-5.27-throwaway/openjpeg2_2.3.0-1/openjpeg2_2.3.0-1_amd64-2018-05-18T19:25:10Z.build>
> 
> This seems to be a separate problem to #873997 which is related to
> Java.

I don't think this is separate. The error emerges much earlier in the build process
than you quoted, but because of the parallelism, other threads keep on compiling.

Merging the bugs, because the #873997 error is the only error in #899126's build log.
Here's the snippet.

[ 33%] javac *.java; jar cvf -> opj_viewer_xerces.jar
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/bin/jpip && /usr/bin/javac -source 1.5 -target 1.5 -classpath /usr/share/java/xercesImpl.jar /<<PKGBUILDDIR>>/src/bin/jpip/opj_viewer_xerces/src/ImageViewer.java /<<PKGBUILDDIR>>/src/bin/jpip/opj_viewer_xerces/src/ImageWindow.java /<<PKGBUILDDIR>>/src/bin/jpip/opj_viewer_xerces/src/JP2XMLparser.java /<<PKGBUILDDIR>>/src/bin/jpip/opj_viewer_xerces/src/OptionPanel.java /<<PKGBUILDDIR>>/src/bin/jpip/opj_viewer/src/ImageManager.java /<<PKGBUILDDIR>>/src/bin/jpip/opj_viewer/src/ImgdecClient.java /<<PKGBUILDDIR>>/src/bin/jpip/opj_viewer/src/JPIPHttpClient.java /<<PKGBUILDDIR>>/src/bin/jpip/opj_viewer/src/MML.java /<<PKGBUILDDIR>>/src/bin/jpip/opj_viewer/src/PnmImage.java /<<PKGBUILDDIR>>/src/bin/jpip/opj_viewer/src/RegimViewer.java /<<PKGBUILDDIR>>/src/bin/jpip/opj_viewer/src/ResizeListener.java -d /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/bin/jpip/classes2
warning: [options] bootstrap class path not set in conjunction with -source 5
error: Source option 5 is no longer supported. Use 6 or later.
error: Target option 1.5 is no longer supported. Use 1.6 or later.
make[3]: *** [src/bin/jpip/CMakeFiles/OPJViewerXercesJar.dir/build.make:75: bin/opj_jpip_viewer.jar] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:753: src/bin/jpip/CMakeFiles/OPJViewerXercesJar.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....


Best regards,
Juhani



More information about the Pkg-phototools-devel mailing list