Subject: pkg/20107: recent glib2 thread changes break gtk2
To: None <gnats-bugs@gnats.netbsd.org>
From: None <marc@informatik.uni-bremen.de>
List: netbsd-bugs
Date: 01/29/2003 14:14:37
>Number:         20107
>Category:       pkg
>Synopsis:       recent glib2 thread changes break gtk2
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 29 05:15:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Marc Recht
>Release:        NetBSD 1.6M
>Organization:
	
>Environment:
	
	
System: NetBSD leeloo.intern.geht.de 1.6M NetBSD 1.6M (LEELOO) #0: Wed Jan 29 11:01:17 CET 2003 root@leeloo.intern.geht.de:/sys/arch/i386/compile/LEELOO i386
Architecture: i386
Machine: i386
>Description:
The recent devel/glib2 changes (Makefile r. 1.19, patch-aa r. 1.8) break the compilation of x11/gtk2.

gmake[3]: Entering directory `/usr/pkgsrc/x11/gtk2/work/gtk+-2.2.0/gdk-pixbuf'
/bin/sh ../libtool --mode=link cc  -O2 -pipe -march=pentiumpro -I/usr/pkg/include -I/usr/X11R6/include -Wall -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o gdk-pixbuf-csource  gdk-pixbuf-csource.o -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib libgdk_pixbuf-2.0.la -lintl 
cc -O2 -pipe -march=pentiumpro -I/usr/pkgsrc/x11/gtk2/work/.buildlink/include -I/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/include -Wall -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -o .libs/gdk-pixbuf-csource gdk-pixbuf-csource.o -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib  -L/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib -L/usr/pkgsrc/x11/gtk2/work/.buildlink/lib ./.libs/libgdk_pixbuf-2.0.so /usr/pkg/lib/libgmodule-2.0.so -L/usr/pkg/lib /usr/pkg/lib/libgobject-2.0.so /usr/pkg/lib/libgthread-2.0.so /usr/pkg/lib/libglib-2.0.so -lintl /usr/pkg/lib/libiconv.so -lm /usr/lib/libintl.so -Wl,--rpath -Wl,/usr/pkg/lib
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_cond_signal'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_attr_destroy'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_create'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_getspecific'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_attr_init'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_exit'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_equal'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_cond_broadcast'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_key_create'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_cond_init'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_mutex_unlock'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_self'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_mutex_destroy'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_mutex_lock'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_cond_wait'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_mutex_trylock'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_cond_destroy'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_mutex_init'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_attr_setdetachstate'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `sched_yield'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_join'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_cond_timedwait'
/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib/libgthread-2.0.so: undefined reference to `pthread_setspecific'
gmake[3]: *** [gdk-pixbuf-csource] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/x11/gtk2/work/gtk+-2.2.0/gdk-pixbuf'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/x11/gtk2/work/gtk+-2.2.0/gdk-pixbuf'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/x11/gtk2/work/gtk+-2.2.0'

	
>How-To-Repeat:
cd x11/gtk2
make clean; make
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: