pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43707: devel/glib2-2.24.1 fails to build on x86-solaris 10



>Number:         43707
>Category:       pkg
>Synopsis:       devel/glib2-2.24.1 fails to build on x86-solaris 10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 06 06:40:00 +0000 2010
>Originator:     Daniel Vergien
>Release:        pkgsrc-current
>Organization:
private
>Environment:
>Description:
Building glib2-2.24.1 from pkgsrc-current fails with the following message:

/bin/bash ../../libtool  --tag=CC   --mode=link gcc  -O -march=core2 
-mtune=core2 -O2 -I/usr/include -I/opt/pkgsrc-gcc-current/include -Wall  
-L/usr/lib -Wl,-R/usr/lib -L/opt/pkgsrc-gcc-current/lib 
-Wl,-R/opt/pkgsrc-gcc-current/lib -o desktop-app-info desktop-app-info.o 
../../glib/libglib-2.0.la ../../gobject/libgobject-2.0.la 
../../gio/libgio-2.0.la -lintl  
libtool: link: gcc -O -march=core2 -mtune=core2 -O2 
-I/root/tmp/workobjdir-gcc-current/devel/glib2/work/.buildlink/include -Wall 
-Wl,-R/opt/pkgsrc-gcc-current/lib -o .libs/desktop-app-info desktop-app-info.o  
-L/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/glib/.libs 
-L/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/gobject/.libs 
-L/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/gthread/.libs 
-L/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/gmodule/.libs 
-L/root/tmp/workobjdir-gcc-current/devel/glib2/work/.buildlink/lib 
../../glib/.libs/libglib-2.0.so ../../gobject/.libs/libgobject-2.0.so 
../../gio/.libs/libgio-2.0.so 
/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/gobject/.libs/libgobject-2.0.so
 
/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/gthread/.libs/libgthread-2.0.so
 -lpthread -lthread -lrt 
/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/gmodule/.libs/libgmodule-2.0.so
  
/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/glib/.libs/libglib-2.0.so
 /root/tmp/workobjdir-gcc-current/devel/glib2/work/.buildlink/lib/libpcre.so 
-lresolv 
/root/tmp/workobjdir-gcc-current/devel/glib2/work/.buildlink/lib/libz.so 
/root/tmp/workobjdir-gcc-current/devel/glib2/work/.buildlink/lib/libintl.so 
/root/tmp/workobjdir-gcc-current/devel/glib2/work/.buildlink/lib/libiconv.so 
-lc -R/opt/pkgsrc-gcc-current/lib 
-R/root/tmp/workobjdir-gcc-current/devel/glib2/work/.buildlink/lib
ld: warning: file 
/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/gobject/.libs/libgobject-2.0.so:
 linked to ../../gobject/.libs/libgobject-2.0.so: attempted multiple inclusion 
of file
ld: warning: file 
/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/glib/.libs/libglib-2.0.so:
 linked to ../../glib/.libs/libglib-2.0.so: attempted multiple inclusion of file
gcc -DHAVE_CONFIG_H -I. -I../.. -g -I../.. -I../../glib -I../../gmodule 
-I../../gobject -I../../gio -DG_DISABLE_CAST_CHECKS -DSRCDIR=\""."\"  
-DPREFIX="\"/opt/pkgsrc-gcc-current\"" -DPKGLOCALEDIR="\"lib\"" 
-DPKG_SYSCONFDIR="\"/opt/pkgsrc-gcc-current/etc\"" -I/usr/include 
-I/opt/pkgsrc-gcc-current/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT 
-D_PTHREADS  -O -march=core2 -mtune=core2 -O2 -I/usr/include 
-I/opt/pkgsrc-gcc-current/include -Wall -MT unix-fd.o -MD -MP -MF 
.deps/unix-fd.Tpo -c -o unix-fd.o unix-fd.c
unix-fd.c: In function 'test_fds':
unix-fd.c:69: warning: missing sentinel in function call
mv -f .deps/unix-fd.Tpo .deps/unix-fd.Po
/bin/bash ../../libtool  --tag=CC   --mode=link gcc  -O -march=core2 
-mtune=core2 -O2 -I/usr/include -I/opt/pkgsrc-gcc-current/include -Wall  
-L/usr/lib -Wl,-R/usr/lib -L/opt/pkgsrc-gcc-current/lib 
-Wl,-R/opt/pkgsrc-gcc-current/lib -o unix-fd unix-fd.o 
../../glib/libglib-2.0.la ../../gobject/libgobject-2.0.la 
../../gio/libgio-2.0.la -lintl  
libtool: link: gcc -O -march=core2 -mtune=core2 -O2 
-I/root/tmp/workobjdir-gcc-current/devel/glib2/work/.buildlink/include -Wall 
-Wl,-R/opt/pkgsrc-gcc-current/lib -o .libs/unix-fd unix-fd.o  
-L/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/glib/.libs 
-L/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/gobject/.libs 
-L/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/gthread/.libs 
-L/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/gmodule/.libs 
-L/root/tmp/workobjdir-gcc-current/devel/glib2/work/.buildlink/lib 
../../glib/.libs/libglib-2.0.so ../../gobject/.libs/libgobject-2.0.so 
../../gio/.libs/libgio-2.0.so 
/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/gobject/.libs/libgobject-2.0.so
 
/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/gthread/.libs/libgthread-2.0.so
 -lpthread -lthread -lrt 
/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/gmodule/.libs/libgmodule-2.0.so
 /root/tmp/workobj
 dir-gcc-current/devel/glib2/work/glib-2.24.1/glib/.libs/libglib-2.0.so 
/root/tmp/workobjdir-gcc-current/devel/glib2/work/.buildlink/lib/libpcre.so 
-lresolv 
/root/tmp/workobjdir-gcc-current/devel/glib2/work/.buildlink/lib/libz.so 
/root/tmp/workobjdir-gcc-current/devel/glib2/work/.buildlink/lib/libintl.so 
/root/tmp/workobjdir-gcc-current/devel/glib2/work/.buildlink/lib/libiconv.so 
-lc -R/opt/pkgsrc-gcc-current/lib 
-R/root/tmp/workobjdir-gcc-current/devel/glib2/work/.buildlink/lib
ld: warning: file 
/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/gobject/.libs/libgobject-2.0.so:
 linked to ../../gobject/.libs/libgobject-2.0.so: attempted multiple inclusion 
of file
ld: warning: file 
/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/glib/.libs/libglib-2.0.so:
 linked to ../../glib/.libs/libglib-2.0.so: attempted multiple inclusion of file
Undefined                       first referenced
 symbol                             in file
socketpair                          unix-fd.o  (symbol belongs to implicit 
dependency /usr/lib/libsocket.so.1)
ld: fatal: Symbol referencing errors. No output written to .libs/unix-fd
collect2: ld returned 1 exit status
gmake[4]: *** [unix-fd] Error 1
gmake[4]: Leaving directory 
`/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/gio/tests'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/gio'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1/gio'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/root/tmp/workobjdir-gcc-current/devel/glib2/work/glib-2.24.1'
gmake: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /root/pkgsrc-current/pkgsrc/devel/glib2
*** Error code 1

Stop.
bmake: stopped in /root/pkgsrc-current/pkgsrc/devel/glib2

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index