Subject: devel/glib fails with buildlink problems on linux (rh7.2)
To: None <tech-pkg@netbsd.org>
From: Will Partain <will.partain@verilab.com>
List: tech-pkg
Date: 04/08/2003 16:24:49
<pkgsrc-newbie-alert /> Building glib (current pkgsrc-cvs)
dies unpleasantly with mysterious libtool-ish errors, as
shown below.  It's probably something simple, and could be
related to how I'm pushing pkgsrc (solaris8 and linux,
keeping well away from all vendor-supplied files).

I get the same error on sparc-solaris8.

A nudge in the right direction would be most appreciated.
Thanks, and keep up the good work,

Will

===> Verifying reinstall for ../../devel/glib
=> Checksum OK for glib-1.2.10.tar.gz.
work.hagrid -> /sys/.-pkgsrc/pkgobj/devel/glib/work.hagrid
===> Extracting for glib-1.2.10nb4
===> Required installed package libtool-base>=1.4.20010614nb11: libtool-base-1.4.20010614nb14 found
===> Patching for glib-1.2.10nb4
===> Applying pkgsrc patches for glib-1.2.10nb4
===> Buildlinking for glib-1.2.10nb4
lafile="/sys/.-pkgsrc/pkgobj/devel/glib/work.hagrid/.buildlink/lib/libpthread.la";			 libpattern="/usr/lib/libpthread.*";	 if [ ! -f $lafile ]; then					 case ELF in					 Mach-O) _lib=`/bin/ls -1 $libpattern 2>/dev/null | /usr/bin/head -1` ;;  *)      _lib=`/bin/ls -1r $libpattern 2>/dev/null | /usr/bin/head -1` ;;  esac;							 if [ -n "$_lib" ]; then				 /bin/true "Creating libtool archive: $lafile";  /sys/.-pkgsrc/pkgobj/devel/glib/work.hagrid/.buildlink/bin/.fake-la $_lib > $lafile;		 fi;							 fi
libtool: link: the `-version-info' option requires an argument
Try `libtool --help --mode=link' for more information.
libtool: install: `.la' is not a valid libtool archive
Try `libtool --help --mode=install' for more information.
/bin/sed: can't read /sys/.-pkgsrc/pkgobj/devel/glib/work.hagrid/.buildlink/.tmp/inst/.la: No such file or directory
*** Error code 2

Stop.
bmake: stopped in /d/open-src/pkgsrc/devel/glib
*** Error code 1

Stop.
bmake: stopped in /d/open-src/pkgsrc/devel/glib
*** Error code 1

Stop.
bmake: stopped in /d/open-src/pkgsrc/devel/glib
*** Error code 1

Stop.
bmake: stopped in /d/open-src/pkgsrc/x11/gtk
*** Error code 1

Stop.
bmake: stopped in /d/open-src/pkgsrc/x11/gtk
*** Error code 1

Stop.
bmake: stopped in /d/open-src/pkgsrc/x11/gtk
*** Error code 1

Stop.
bmake: stopped in /d/open-src/pkgsrc/graphics/gdk-pixbuf
*** Error code 1

Stop.
bmake: stopped in /d/open-src/pkgsrc/graphics/gdk-pixbuf
*** Error code 1

Stop.
bmake: stopped in /d/open-src/pkgsrc/graphics/gdk-pixbuf
*** Error code 1

Stop.
bmake: stopped in /d/open-src/pkgsrc/graphics/dia
*** Error code 1

Stop.
bmake: stopped in /d/open-src/pkgsrc/graphics/dia