Subject: pkg/35190: devel/glib2
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 12/05/2006 15:20:00
>Number:         35190
>Category:       pkg
>Synopsis:       devel/glib2
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 05 15:20:00 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_118855-19 i86pc


>Description:


 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/pkg/obj/devel/glib2/work/.buildlink/include -D_REENTRANT -O -Wall -MT gmain.lo -MD -MP -MF .deps/gmain.Tpo -c gmain.c  -fPIC -DPIC -o .libs/gmain.o
gmain.c: In function `g_child_watch_source_init_single':
gmain.c:3682: error: storage size of 'action' isn't known
gmain.c:3690: warning: implicit declaration of function `sigemptyset'
gmain.c:3691: error: `SA_NOCLDSTOP' undeclared (first use in this function)
gmain.c:3691: error: (Each undeclared identifier is reported only once
gmain.c:3691: error: for each function it appears in.)
gmain.c:3692: warning: implicit declaration of function `sigaction'
gmain.c:3682: warning: unused variable `action'
gmain.c: In function `g_child_watch_source_init_multi_threaded':
gmain.c:3727: error: storage size of 'action' isn't known
gmain.c:3743: error: `SA_RESTART' undeclared (first use in this function)
gmain.c:3743: error: `SA_NOCLDSTOP' undeclared (first use in this function)
gmain.c:3727: warning: unused variable `action'
gmake[4]: *** [gmain.lo] Error 1
gmake[4]: Leaving directory `/pkg/obj/devel/glib2/work/glib-2.12.4/glib'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/pkg/obj/devel/glib2/work/glib-2.12.4/glib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/pkg/obj/devel/glib2/work/glib-2.12.4/glib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/pkg/obj/devel/glib2/work/glib-2.12.4'
gmake: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/devel/glib2
*** Error code 1



>How-To-Repeat:


bmake


>Fix:


somethings goes wrong
libtool?? wrapper??

it compile fine if i do it manually