pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/36018: devel/glib2 from 2006Q4 will not compile on solaris express
>Number: 36018
>Category: pkg
>Synopsis: devel/glib2 from 2006Q4 will not compile on solaris express
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 16 09:50:00 +0000 2007
>Originator: Michael Huff
>Release:
>Organization:
>Environment:
# uname -a
SunOS belle 5.11 snv_53 i86pc i386 i86pc
# echo $PATH
/usr/pkg/sbin:/usr/pkg/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ccs/lib:/usr/sbin:/usr/bin
# which gcc
/usr/sfw/bin/gcc
# gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs
Configured with: /builds1/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,f77
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-20050802)
>Description:
while trying to build xchat from 2006Q4, I am unable to build glib2, which
xchat depends on. when I run 'bmake package' I get the following output:
gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS
-DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPREFIX=\"/usr/pkg\"
-DPKGLOCALEDIR=\"lib\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc\"
-I/usr/pkgsrc/devel/glib2/work/.buildlink/include -D_REENTRANT -O -Wall -MT
giounix.lo -MD -MP -MF .deps/giounix.Tpo -c giounix.c -fPIC -DPIC -o
.libs/giounix.o
In file included from
/usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/include/sys/types.h:45,
from giounix.c:38:
/usr/include/sys/feature_tests.h:353:2: #error "Compiler or options invalid for
pre-UNIX 03 X/Open applications and pre-2001 POSIX applications"
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/devel/glib2/work/.gcc/bin/gcc -DHAVE_CONFIG_H -I. -I..
"-DG_LOG_DOMAIN=\"GLib\"" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION "-DPREFIX=\"/usr/pkg\"" "-DPKGLOCALEDIR=\"lib\""
"-DPKG_SYSCONFDIR=\"/usr/pkg/etc\""
-I/usr/pkgsrc/devel/glib2/work/.buildlink/include -D_REENTRANT -O -Wall -MT
giounix.lo -MD -MP -MF .deps/giounix.Tpo -c giounix.c -fPIC -DPIC -o
.libs/giounix.o -std=gnu99 -L/usr/pkgsrc/devel/glib2/work/.buildlink/lib
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkg/bin/libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I..
"-DG_LOG_DOMAIN=\"GLib\"" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION "-DPREFIX=\"/usr/pkg\"" "-DPKGLOCALEDIR=\"lib\""
"-DPKG_SYSCONFDIR=\"/usr/pkg/etc\""
-I/usr/pkgsrc/devel/glib2/work/.buildlink/include -D_REENTRANT -O -Wall -MT
giounix.lo -MD -MP -MF .deps/giounix.Tpo -c -o giounix.lo giounix.c
gmake[4]: *** [giounix.lo] Error 1
gmake[4]: Leaving directory `/usr/pkgsrc/devel/glib2/work/glib-2.12.4/glib'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/devel/glib2/work/glib-2.12.4/glib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/devel/glib2/work/glib-2.12.4/glib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/devel/glib2/work/glib-2.12.4'
gmake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/devel/glib2
>How-To-Repeat:
unpack the 2006Q4 tar file and attempt to compile devel/glib2 in an
(open)solaris installation.
>Fix:
none that I'm aware of.
Home |
Main Index |
Thread Index |
Old Index