Subject: pkg/24360: glib2 wont install (on at NetBSD/i386 1.6.2)
To: None <gnats-bugs@gnats.netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-bugs
Date: 02/09/2004 00:53:56
>Number:         24360
>Category:       pkg
>Synopsis:       glib2 wont install (on at NetBSD/i386 1.6.2)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 08 13:54:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.2
>Organization:
Wasabi Systems
>Environment:
System: NetBSD thoreau.thistledown.com.au 1.6.2 NetBSD 1.6.2 (THOREAU)
#20: Sat Feb 7 21:56:43 EST 2004
simonb@thoreau.thistledown.com.au:/usr/obj/sys/arch/i386/compile/THOREAU i386
Architecture: i386
Machine: i386
pkgsrc as at Feb 8 04:23 UTC
pkgsrc/mk and pkgsrc/devel/glib2 as at Feb 8 13:30 UTC

>Description:
	When building glib2 on a NetBSD/i386 1.6.2 box, the build works
	fine but the installation fails.  Here's some excepts from the
	build and install:


	(cd .libs && rm -f libgobject-2.0.so.200 && ln -s libgobject-2.0.so.200.3 libgobject-2.0.so.200)
	(cd .libs && rm -f libgobject-2.0.so && ln -s libgobject-2.0.so.200.3 libgobject-2.0.so)
	i386--netbsdelf-ar cru .libs/libgobject-2.0.a  gboxed.o gclosure.o genums.o gobject.o gparam.o gparamspecs.o gsignal.o gsourceclosure.o gtype.o gtypemodule.o gtypeplugin.o gvalue.o gvaluearray.o gvaluetransform.o gvaluetypes.o i386--netbsdelf-ranlib .libs/libgobject-2.0.a
	creating libgobject-2.0.la
	(cd .libs && rm -f libgobject-2.0.la && ln -s ../libgobject-2.0.la libgobject-2.0.la)

	...

	/bin/sh ../libtool  --mode=install /usr/bin/install -c -o root -g wheel libgobject-2.0.la /usr/pkg/lib/libgobject-2.0.la
	libtool: install: warning: relinking `libgobject-2.0.la'
	(cd /usr/obj/pkg/devel/glib2/work.thoreau/glib-2.2.3/gobject; /bin/sh /usr/pkg/bin/libtool  --mode=relink gcc -O2 -I/usr/pkg/include -Wall -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -liconv -o libgobject-2.0.la -rpath /usr/pkg/lib -version-info 200:3:200 -export-dynamic gboxed.lo gclosure.lo genums.lo gobject.lo gparam.lo gparamspecs.lo gsignal.lo gsourceclosure.lo gtype.lo gtypemodule.lo gtypeplugin.lo gvalue.lo gvaluearray.lo gvaluetransform.lo gvaluetypes.lo ../glib/libglib-2.0.la -lintl )
	gcc -shared  .libs/gboxed.o .libs/gclosure.o .libs/genums.o .libs/gobject.o .libs/gparam.o .libs/gparamspecs.o .libs/gsignal.o .libs/gsourceclosure.o .libs/gtype.o .libs/gtypemodule.o .libs/gtypeplugin.o .libs/gvalue.o .libs/gvaluearray.o .libs/gvaluetransform.o .libs/gvaluetypes.o  -Wl,--rpath -Wl,/usr/pkg/lib -L/usr/pkg/lib -liconv -lglib-2.0 -lintl  -Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libgobject-2.0.so.200 -o .libs/libgobject-2.0.so.200.3
	ld: cannot find -lglib-2.0
	libtool: install: error: relink `libgobject-2.0.la' with the above command before installing it
	gmake[2]: *** [install-libLTLIBRARIES] Error 1

A log of the build and the .work.log are in
ftp://ftp.thistledown.com.au/glib2-build-info.tar.gz


>How-To-Repeat:
	
	cd .../pkgsrc/devel/glib2 ; make install

>Fix:
	None given.
>Release-Note:
>Audit-Trail:
>Unformatted: