You are not logged in.
I tried to build the package 'gsl' from source, however, I kept getting this error:
../test-driver: line 95: 2808 Aborted "$@" > $log_file 2>&1
FAIL: test
PASS: test_static
make[4]: Entering directory '/home/hong/tmp/gsl/src/gsl-1.16/vector'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/hong/tmp/gsl/src/gsl-1.16/vector'
============================================================================
Testsuite summary for gsl 1.16
============================================================================
# TOTAL: 2
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See vector/test-suite.log
============================================================================
Makefile:736: recipe for target 'test-suite.log' failed
make[3]: *** [test-suite.log] Error 1
make[3]: Leaving directory '/home/hong/tmp/gsl/src/gsl-1.16/vector'
Makefile:842: recipe for target 'check-TESTS' failed
make[2]: *** [check-TESTS] Error 2
make[2]: Leaving directory '/home/hong/tmp/gsl/src/gsl-1.16/vector'
Makefile:922: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory '/home/hong/tmp/gsl/src/gsl-1.16/vector'
Makefile:955: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1The reason of failure is listed below:
=====================================
gsl 1.16: vector/test-suite.log
=====================================
# TOTAL: 2
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test
==========
gsl: fprintf_source.c:164: ERROR: fscanf failed
Default GSL error handler invoked.I have no idea why this happens... Can someone help me, please? Thanks!
Last edited by xuhdev (2014-08-11 16:02:35)
Offline
Are you using ABS?
Please edit your post.
When posting configs, code or command output, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode
like thisIt makes the code more readable and - in case of longer listings - more convenient to scroll through.
Offline
Are you using ABS?
Please edit your post.
When posting configs, code or command output, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcodelike thisIt makes the code more readable and - in case of longer listings - more convenient to scroll through.
Yes I'm using ABS.
Post edited.
Offline
Does it work with makepkg --nocheck?
Offline
Does it work with makepkg --nocheck?
Yes it works with --nocheck. However, it doesn't really make me confortable to build it this way....
Offline
You should ask upstream if these tests are about to fail.
Offline
I tried to run the tests from vanilla gsl source archive and it can pass the test. So I guess there's something else wrong....
Offline
Here is what I found with the original gsl source archive (not using PKGBUILD):
If I run `CFLAGS=-O2 -march=x86-64` or `CFLAGS=-march=haswell` (or ivybridge, sandybridge, core2), all tests can pass.
However, if I run `CFLAGS=-O2 -march=[any of core2 sandybridge ivybridge haswell]`, the tests failed.
Offline
same errors on my system
I build with MAKEFLAGS ="-j9" in /etc/makepkg.conf .
[Bug-gsl] [bug #42960] GSL testsuite fails when GNU make called with -jX where X > 1
might be related, thread starts here : http://lists.gnu.org/archive/html/bug-g … 00001.html
Looks like that issue has been solved in GSL git .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline