glib-2.16.3 fails 'make check' with SunStudio12
- From: Willi Burmeister <wib cs uni-kiel de>
- To: gtk-list gnome org
- Subject: glib-2.16.3 fails 'make check' with SunStudio12
- Date: Fri, 11 Apr 2008 10:42:23 +0200
Hi,
I'm trying to compile glib-2.16.3 with SunStudio12 on my Solaris 10
SPARC and x86 systems. After changing some defines as mentioned in
http://bugzilla.gnome.org/show_bug.cgi?id=504176
everything compiles without error. But 'make check' failed:
----------------------------------------------------------------------
make check-recursive
Making check in .
make check-local
TEST: testing... (pid=4378)
/random-generator/rand-1: OK
/random-generator/rand-2: OK
/misc/assertions: OK
/misc/test-data: OK
/misc/primetoul: OK
/forking/fail assertion: **
** ERROR:(testing.c:72):???: stderr of child process (4394) failed to match: *ERROR*test_fork_fail*should not be reached*
FAIL
GTester: last random seed: R02Sdaabec2ed6f49a25dccea8d164d17cdf
bash: line 1: 4362 Terminated ../../glib/gtester --verbose testing option-context
*** Error code 143
The following command caused the error:
test -z "testing option-context" || ../../glib/gtester --verbose testing option-context
make: Fatal error: Command failed for target `test'
Current working directory /tmp/gnu/glib-2.16.3/glib/tests
*** Error code 1
...
----------------------------------------------------------------------
I'm unsure about this error message. Maybe someone on this list is
able to explained what's going wrong here.
A 'make -k check' shows some more errors:
----------------------------------------------------------------------
** ERROR:(testing.c:72):???: stderr of child process (4465) failed to match: *ERROR*test_fork_fail*should not be reached*
** ERROR:(testing.c:72):???: stderr of child process (4544) failed to match: *ERROR*test_fork_fail*should not be reached*
** ERROR:(testing.c:72):???: stderr of child process (4616) failed to match: *ERROR*test_fork_fail*should not be reached*
** ERROR:(convert-test.c:81):???: assertion failed: (error && error->code == G_CONVERT_ERROR_ILLEGAL_SEQUENCE)
** ERROR:(testglib.c:639):???: stderr of child process (16271) failed to match: *g_print*assertion*failed*
----------------------------------------------------------------------
Compiling glib with gcc gives no error at all.
Any help is appreciated
Thanks
Willi
P.S. here the script i'm using to compile glib
----------------------------------------------------------------------
#!/bin/ksh
export CC=cc
export CXX=CC
export F77=f77
export PKG_CONFIG=/usr/local/bin/pkg-config
export PKG_CONFIG_PATH=""
export "PATH=/usr/bin:/usr/sbin:/usr/ccs/bin:/opt/SunStudio12/bin:."
cd glib-2.16.3
./configure --prefix=/opt/gnu 2>&1 | tee wib-conf.log
make 2>&1 | tee wib-make.log
make check 2>&1 | tee wib-check.log
----------------------------------------------------------------------
Suns pkg-config is too old, so I need to use my own version
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]