Subject: libtool build problems
To: None <tech-pkg@netbsd.org>
From: Marc Recht <recht@netbsd.org>
List: tech-pkg
Date: 02/29/2004 00:25:14
Hi!

While building gtk2 (on yesterday's -current (Kernel & userland)) I get the 
following error:

/bin/sh ../libtool --mode=link gcc  -O2 -pipe -march=athlon-xp 
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -Wall 
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib 
-Wl,-R/usr/X11R6/lib -o libgdk_pixbuf-2.0.la -rpath /usr/pkg/lib 
-version-info 200:4:200 -export-symbols-regex "^[^_].*" gdk-pixbuf.lo 
gdk-pixbuf-animation.lo gdk-pixbuf-data.lo gdk-pixbuf-io.lo 
gdk-pixbuf-loader.lo gdk-pixbuf-scale.lo gdk-pixbuf-util.lo gdk-pixdata.lo 
gdk-pixbuf-enum-types.lo pixops/libpixops.la   -Wl,-R/usr/pkg/lib 
-Wl,--export-dynamic -pthread -L/usr/pkg/lib -lgmodule-2.0 -lgobject-2.0 
-lgthread-2.0 -lglib-2.0 -lm    -lm -lintl
generating symbol list for `libgdk_pixbuf-2.0.la'
nm  .libs/gdk-pixbuf.o .libs/gdk-pixbuf-animation.o .libs/gdk-pixbuf-data.o 
.libs/gdk-pixbuf-io.o .libs/gdk-pixbuf-loader.o .libs/gdk-pixbuf-scale.o 
.libs/gdk-pixbuf-util.o .libs/gdk-pixdata.o .libs/gdk-pixbuf-enum-types.o 
pixops/.libs/libpixops.a |  | /usr/bin/sed 's/.* //' | sort | uniq > 
.libs/libgdk_pixbuf-2.0.exp
eval: 1: Syntax error: "|" unexpected
gmake[3]: *** [libgdk_pixbuf-2.0.la] Error 2
gmake[3]: Leaving directory 
`/usr/pkgsrc/x11/gtk2/work/gtk+-2.2.4/gdk-pixbuf'
gmake[2]: *** [all-recursive] Error 1

(Note the "|  |" just before the "/usr/bin/sed".) I also get the same error 
while building other packages (eg. xmms).

Cheers,
Marc