Subject: pkg/33086: [Solaris] glib2 problem with libtool
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <raczkow@prz.edu.pl>
List: pkgsrc-bugs
Date: 03/15/2006 11:35:00
>Number:         33086
>Category:       pkg
>Synopsis:       [Solaris] glib2 problem with libtool
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 15 11:35:00 +0000 2006
>Originator:     Krzysztof Raczkowski
>Release:        Solaris 10
>Organization:
Rzeszow University of Technology
>Environment:
SunOS pkgsrc-i32 5.10 Generic_118844-28 i86pc i386 i86pc
>Description:
During glib2 compilation I've got following error:

nm -p  .libs/garray.o .libs/gasyncqueue.o .libs/gatomic.o .libs/gbacktrace.o .libs/gcache.o .libs/gcompletion.o .libs/gconvert.o .libs/gdataset.o .libs/gdate.o .libs/gdir.o .libs/gerror.o .libs/gfileutils.o .libs/ghash.o .libs/ghook.o .libs/giochannel.o .libs/gkeyfile.o .libs/glist.o .libs/gmain.o .libs/gmappedfile.o .libs/gmarkup.o .libs/gmem.o .libs/gmessages.o .libs/gnode.o .libs/goption.o .libs/gpattern.o .libs/gprimes.o .libs/gqsort.o .libs/gqueue.o .libs/grel.o .libs/grand.o .libs/gscanner.o .libs/gshell.o .libs/gslice.o .libs/gslist.o .libs/gstdio.o .libs/gstrfuncs.o .libs/gstring.o .libs/gthread.o .libs/gthreadpool.o .libs/gtimer.o .libs/gtree.o .libs/guniprop.o .libs/gutf8.o .libs/gunibreak.o .libs/gunicollate.o .libs/gunidecomp.o .libs/gutils.o .libs/gprintf.o .libs/giounix.o .libs/gspawn.o  libcharset/.libs/libcharset.a |  | /usr/pkg/bin/nbsed 's/.* //' | sort | uniq > .libs/libglib-2.0.exp
/usr/pkg/bin/libtool[4382]: syntax error at line 1 : `|' unexpected
gmake[4]: *** [libglib-2.0.la] Error 2
gmake[4]: Leaving directory `/usr/pkgsrc/devel/glib2/work.pkgsrc-i32/glib-2.10.1/glib'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/devel/glib2/work.pkgsrc-i32/glib-2.10.1/glib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/devel/glib2/work.pkgsrc-i32/glib-2.10.1/glib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/devel/glib2/work.pkgsrc-i32/glib-2.10.1'
gmake: *** [all] Error 2
*** Error code 2

>How-To-Repeat:
cd /usr/pkgsrc/devel/glib2
bmake
>Fix: