Bug#841012: swi-prolog: FTBFS on armel/armhf: segmentation fault during the tests

2016-10-19 Thread Lev Lamberov
17.10.2016 02:00, Emilio Pozuelo Monfort пишет:
> make[3]: Leaving directory 
> '/«BUILDDIR»/swi-prolog-7.2.3+dfsg/packages/jpl/src/java'
> if [ -r jpltest.jar ]; then \
> 
> LD_LIBRARY_PATH="/usr/lib/jvm/java-8-openjdk-armel/jre/lib/arm/server:/usr/lib/jvm/java-8-openjdk-armel/jre/lib/arm"
>  ../swipl.sh  -q -f test_jpl.pl -g run_tests,halt -t 'halt(1)' ; \
>   else \
> echo "No jpltest.jar; maybe junit is not installed?" ; \
>   fi
> JUNIT=/usr/share/java/junit.jar JAVA=java 
> JAVA_PRELOAD=/usr/lib/jvm/java-8-openjdk-armel/jre/lib/arm/libjsig.so 
> ./test-java.sh
> Welcome to SWI-Prolog (Multi-threaded, 32 bits, Version 7.2.3)
> Copyright (c) 1990-2015 University of Amsterdam, VU Amsterdam
> SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software,
> and you are welcome to redistribute it under certain conditions.
> Please visit http://www.swi-prolog.org for details.
>
> For help, use ?- help(Topic). or ?- apropos(Word).
>
>
> % halt
> Segmentation fault

Disables java support for armel and armhf. Moreover, found out that
upstream do not support 32-bit architectures that do not implement
64-bit atomic increment/decrement operations. Upstream developers are
not sure that it should be fixed at all. Probably, they will drop
(whole) support of 32-bit platforms.

Cheers!
Lev



signature.asc
Description: OpenPGP digital signature


Bug#841012: swi-prolog: FTBFS on armel/armhf: segmentation fault during the tests

2016-10-17 Thread Lev Lamberov
Hi Emilio,


17.10.2016 02:00, Emilio Pozuelo Monfort пишет:
> Source: swi-prolog
> Version: 7.2.3+dfsg-1
> Severity: serious
>
> Your package failed to build on armel/armhf during a rebuild:
>
> make[3]: Leaving directory 
> '/«BUILDDIR»/swi-prolog-7.2.3+dfsg/packages/jpl/src/java'
> if [ -r jpltest.jar ]; then \
> 
> LD_LIBRARY_PATH="/usr/lib/jvm/java-8-openjdk-armel/jre/lib/arm/server:/usr/lib/jvm/java-8-openjdk-armel/jre/lib/arm"
>  ../swipl.sh  -q -f test_jpl.pl -g run_tests,halt -t 'halt(1)' ; \
>   else \
> echo "No jpltest.jar; maybe junit is not installed?" ; \
>   fi
> JUNIT=/usr/share/java/junit.jar JAVA=java 
> JAVA_PRELOAD=/usr/lib/jvm/java-8-openjdk-armel/jre/lib/arm/libjsig.so 
> ./test-java.sh
> Welcome to SWI-Prolog (Multi-threaded, 32 bits, Version 7.2.3)
> Copyright (c) 1990-2015 University of Amsterdam, VU Amsterdam
> SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software,
> and you are welcome to redistribute it under certain conditions.
> Please visit http://www.swi-prolog.org for details.
>
> For help, use ?- help(Topic). or ?- apropos(Word).
>
>
> % halt
> Segmentation fault
>
> Full logs at https://buildd.debian.org/status/package.php?p=swi-prolog

Thanks for reporting! Sometimes it happens with SWI-Prolog on
"non-mainstream" architectures. Will take a look at it.

Regards,
Lev



signature.asc
Description: OpenPGP digital signature


Bug#841012: swi-prolog: FTBFS on armel/armhf: segmentation fault during the tests

2016-10-16 Thread Emilio Pozuelo Monfort
Source: swi-prolog
Version: 7.2.3+dfsg-1
Severity: serious

Your package failed to build on armel/armhf during a rebuild:

make[3]: Leaving directory 
'/«BUILDDIR»/swi-prolog-7.2.3+dfsg/packages/jpl/src/java'
if [ -r jpltest.jar ]; then \
  
LD_LIBRARY_PATH="/usr/lib/jvm/java-8-openjdk-armel/jre/lib/arm/server:/usr/lib/jvm/java-8-openjdk-armel/jre/lib/arm"
 ../swipl.sh  -q -f test_jpl.pl -g run_tests,halt -t 'halt(1)' ; \
else \
  echo "No jpltest.jar; maybe junit is not installed?" ; \
fi
JUNIT=/usr/share/java/junit.jar JAVA=java 
JAVA_PRELOAD=/usr/lib/jvm/java-8-openjdk-armel/jre/lib/arm/libjsig.so 
./test-java.sh
Welcome to SWI-Prolog (Multi-threaded, 32 bits, Version 7.2.3)
Copyright (c) 1990-2015 University of Amsterdam, VU Amsterdam
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
Please visit http://www.swi-prolog.org for details.

For help, use ?- help(Topic). or ?- apropos(Word).


% halt
Segmentation fault

Full logs at https://buildd.debian.org/status/package.php?p=swi-prolog

Emilio

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (700, 'experimental'), (650, 'testing'), (500, 
'unstable-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)