Subject: pkg/22899: x11/gtk2 on -current (9/17/2003) does not build
To: None <gnats-bugs@gnats.netbsd.org>
From: Paul Dokas <dokas@mail.cs.umn.edu>
List: netbsd-bugs
Date: 09/22/2003 14:41:54
>Number:         22899
>Category:       pkg
>Synopsis:       x11/gtk2 on -current (9/17/2003) does not build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 22 19:43:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Paul Dokas
>Release:        NetBSD 1.6ZC
>Organization:
Department of Computer Science, University of Minnesota
>Environment:
System: NetBSD cdward 1.6ZC NetBSD 1.6ZC (CDWARD) #32: Wed Sep 17 10:17:05 CDT 2003  root@cdward:/usr/obj/sys/arch/i386/compile/CDWARD i386
Architecture: i386
Machine: i386
>Description:

  x11/gtk2 does not build on -current as of 9/17/2003:

 cd /usr/pkgsrc/x11/gtk2/work/gtk+-2.2.4/gdk; /bin/sh /usr/pkg/bin/libtool --mode=relink cc -O2 -Wall -Wl,-R/usr/lib -L/usr/pkgsrc/x11/gtk2/work/.buildlink/lib -Wl,-R/usr/pkg/lib -L/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/lib -Wl,-R/usr/X11R6/lib -version-info 200:4:200 -export-dynamic -rpath /usr/pkg/lib -export-symbols-regex "^[^_].*" -L../gdk-pixbuf/.libs ../gdk-pixbuf/libgdk_pixbuf-2.0.la -o libgdk-x11-2.0.la gdk.lo gdkcolor.lo gdkcursor.lo gdkdisplay.lo gdkdnd.lo gdkdraw.lo gdkevents.lo gdkfont.lo gdkgc.lo gdkglobals.lo gdkkeys.lo gdkkeyuni.lo gdkimage.lo gdkdisplaymanager.lo gdkpango.lo gdkpixbuf-drawable.lo gdkpixbuf-render.lo gdkpixmap.lo gdkpolyreg-generic.lo gdkrgb.lo gdkrectangle.lo gdkregion-generic.lo gdkscreen.lo gdkselection.lo gdkvisual.lo gdkwindow.lo gdkenumtypes.lo -Lx11/.libs x11/libgdk-x11.la -lXi -Wl,-R/usr/pkg/lib -lXft -lfreetype -lz -lXrender -lXext -lfontconfig -lX11 -Wl,-R/usr/pkg/lib -lfreetype -lz -Wl,-R/usr/pkg/lib -Wl,--export-dynamic -pthread -
 lgthread-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lm -lm -lintl
libtool: link: warning: `/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libgmodule-2.0.la' seems to be moved
libtool: link: warning: `/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libgobject-2.0.la' seems to be moved
libtool: link: warning: `/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libgthread-2.0.la' seems to be moved
libtool: link: warning: `/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libglib-2.0.la' seems to be moved
libtool: link: warning: `/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libintl.la' seems to be moved
libtool: link: warning: `/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libfreetype.la' seems to be moved
libtool: link: warning: `/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libexpat.la' seems to be moved
libtool: link: warning: `/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libglib-2.0.la' seems to be moved
libtool: link: warning: `/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libgobject-2.0.la' seems to be moved
libtool: link: warning: `/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libgmodule-2.0.la' seems to be moved
libtool: link: warning: `/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libglib-2.0.la' seems to be moved
libtool: link: warning: `/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libglib-2.0.la' seems to be moved
libtool: link: warning: `/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libglib-2.0.la' seems to be moved
generating symbol list for `libgdk-x11-2.0.la'
/usr/bin/nm -B  .libs/gdk.o .libs/gdkcolor.o .libs/gdkcursor.o .libs/gdkdisplay.o .libs/gdkdnd.o .libs/gdkdraw.o .libs/gdkevents.o .libs/gdkfont.o .libs/gdkgc.o .libs/gdkglobals.o .libs/gdkkeys.o .libs/gdkkeyuni.o .libs/gdkimage.o .libs/gdkdisplaymanager.o .libs/gdkpango.o .libs/gdkpixbuf-drawable.o .libs/gdkpixbuf-render.o .libs/gdkpixmap.o .libs/gdkpolyreg-generic.o .libs/gdkrgb.o .libs/gdkrectangle.o .libs/gdkregion-generic.o .libs/gdkscreen.o .libs/gdkselection.o .libs/gdkvisual.o .libs/gdkwindow.o .libs/gdkenumtypes.o  x11/.libs/libgdk-x11.a | sed -n -e 's/^.*[  ]\([ABCDGISTW][ABCDGISTW]*\)[   ][      ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' | sed 's/.* //' | sort | uniq > .libs/libgdk-x11-2.0.exp
egrep -e "^[^_].*" ".libs/libgdk-x11-2.0.exp" > ".libs/libgdk-x11-2.0.expT"
mv -f ".libs/libgdk-x11-2.0.expT" ".libs/libgdk-x11-2.0.exp"
mv: rename libgdk-x11-2.0.so.200.4 to libgdk-x11-2.0.so.200.4U: No such file or directory
libtool: install: error: relink `libgdk-x11-2.0.la' with the above command before installing it
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/pkg/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh ../mkinstalldirs /usr/pkg/lib/gtk-2.0/include
file=/usr/pkg/lib/gtk-2.0/include/gdkconfig.h; \
if test -r $file && cmp -s gdkconfig.h $file; then :; \
else install -c -o root -g wheel -m 444 gdkconfig.h $file; fi
/usr/pkg/bin/gmake  install-exec-hook
gmake[4]: Entering directory `/usr/pkgsrc/x11/gtk2/work/gtk+-2.2.4/gdk'
/bin/sh ../sanitize-la.sh /usr/pkg/lib/libgdk-x11-2.0.la
../sanitize-la.sh: cannot open /usr/pkg/lib/libgdk-x11-2.0.la: no such file
mv: rename /usr/pkg/lib/libgdk-x11-2.0.laT to /usr/pkg/lib/libgdk-x11-2.0.la: No such file or directory
gmake[4]: *** [install-exec-hook] Error 1
gmake[4]: Leaving directory `/usr/pkgsrc/x11/gtk2/work/gtk+-2.2.4/gdk'
gmake[3]: *** [install-exec-am] Error 2
gmake[3]: Leaving directory `/usr/pkgsrc/x11/gtk2/work/gtk+-2.2.4/gdk'
gmake[2]: *** [install-am] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/x11/gtk2/work/gtk+-2.2.4/gdk'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/x11/gtk2/work/gtk+-2.2.4/gdk'
gmake: *** [install-recursive] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/x11/gtk2

>How-To-Repeat:

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: