Bug#893421: swi-prolog FTBFS with openjdk-9

2018-04-05 Thread Lev Lamberov
Hi Benjamin,

Ср 04 апр 2018 @ 12:31 Benjamin Lorenz :

> The configure script of the swi-prolog jpl package only checks whether
> lib/$arch/server or jre/lib/$arch/server exists but the $arch
> subdirectory was removed in openjdk9. Because of the failed check the
> LDFLAGS are missing the correct directories for libjava.so and related
> libraries.
> I have created a pull request to for this:
> https://github.com/SWI-Prolog/packages-jpl/pull/8

I see your fix was merged upstream. Thanks for your contribution!

> I have tried this on i386 and the package now compiles but make check
> then fails with the same errors as in #887155.

Yes, #887155 is a tricky one. Hope it will be better in the next
upstream release.

Cheers!
Lev



Bug#893421: swi-prolog FTBFS with openjdk-9

2018-04-04 Thread Benjamin Lorenz
The configure script of the swi-prolog jpl package only checks whether
lib/$arch/server or jre/lib/$arch/server exists but the $arch
subdirectory was removed in openjdk9. Because of the failed check the
LDFLAGS are missing the correct directories for libjava.so and related
libraries.
I have created a pull request to for this:
https://github.com/SWI-Prolog/packages-jpl/pull/8

I have tried this on i386 and the package now compiles but make check
then fails with the same errors as in #887155.

Regards,
Benjamin Lorenz



Bug#893421: swi-prolog FTBFS with openjdk-9

2018-03-19 Thread Lev Lamberov
Dear Jan,

building of SWI-Prolog with openjdk-9 fails with the error below. I
haven't yet looked into it, just want to let you know. I'll try to find
some time for it in the next few days.

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/swi-prolog.html

https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/swi-prolog_7.6.4+dfsg-1.rbuild.log

...
/usr/bin/make -C packages/jpl 
DESTDIR=/build/1st/swi-prolog-7.6.4+dfsg/debian/swi-prolog-java 
PL=/build/1st/swi-prolog-7.6.4+dfsg/src/swipl.sh 
PLEXE=/build/1st/swi-prolog-7.6.4+dfsg/src/swipl.sh PLBASE=/usr/lib/swi-prolog/ 
install < /dev/null
make[2]: Entering directory '/build/1st/swi-prolog-7.6.4+dfsg'
make[2]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
rule.
gcc -shared -rdynamic -Wl,-z,relro -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -pthread  
-L/build/1st/swi-prolog-7.6.4+dfsg/src/../lib/amd64  -o libjpl.so src/c/jpl.o  
-ljava -lverify -ljvm -lswipl
/usr/bin/ld: cannot find -ljava
/usr/bin/ld: cannot find -lverify
/usr/bin/ld: cannot find -ljvm
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:44: libjpl.so] Error 1

Regards,
Lev



Bug#893421: swi-prolog FTBFS with openjdk-9

2018-03-18 Thread Adrian Bunk
Source: swi-prolog
Version: 7.6.2+dfsg-1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/swi-prolog.html

...
/usr/bin/make -C packages/jpl 
DESTDIR=/build/1st/swi-prolog-7.6.4+dfsg/debian/swi-prolog-java 
PL=/build/1st/swi-prolog-7.6.4+dfsg/src/swipl.sh 
PLEXE=/build/1st/swi-prolog-7.6.4+dfsg/src/swipl.sh PLBASE=/usr/lib/swi-prolog/ 
install < /dev/null
make[2]: Entering directory '/build/1st/swi-prolog-7.6.4+dfsg'
make[2]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
rule.
gcc -shared -rdynamic -Wl,-z,relro -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -pthread  
-L/build/1st/swi-prolog-7.6.4+dfsg/src/../lib/amd64  -o libjpl.so src/c/jpl.o  
-ljava -lverify -ljvm -lswipl
/usr/bin/ld: cannot find -ljava
/usr/bin/ld: cannot find -lverify
/usr/bin/ld: cannot find -ljvm
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:44: libjpl.so] Error 1