Subject: pkg/31416: glib-2.6.6nb1 fails to compile on Tru64
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 09/29/2005 12:29:01
>Number:         31416
>Category:       pkg
>Synopsis:       glib-2.6.6nb1 fails to compile on Tru64
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 29 12:29:00 +0000 2005
>Originator:     Rumi Szabolcs
>Release:        Tru64 5.1B-3 (PK5)
# uname -a
OSF1 obelix V5.1 2650 alpha
# sizer -v
Compaq Tru64 UNIX V5.1B (Rev. 2650); Sun Sep 25 20:31:58 CEST 2005


glib-2.6.6nb1 fails to build on Tru64.
(using Compaq C but I doubt this matters in this case)

I tried both pkgsrc-current and pkgsrc-2005Q3 bootstrapped on Tru64,
both fail the same way when building glib-2.6.6nb1:

Making all in gnulib
/bin/ksh ../libtool --mode=link cc  -O2 -ieee -I/usr/pkg/include -I/usr/include   -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -L/usr/lib -Wl,-rpath,/usr/lib -o -rpath /usr/pkg/lib -version-info 600:6:600  -export-dynamic  -export-symbols-regex "^[^_].*" garray.lo gasyncqueue.lo gatomic.lo  gbacktrace.lo gcache.lo gcompletion.lo gconvert.lo gdataset.lo  gdate.lo gdir.lo gerror.lo gfileutils.lo ghash.lo ghook.lo  giochannel.lo gkeyfile.lo glist.lo gmain.lo gmarkup.lo gmem.lo  gmessages.lo gnode.lo goption.lo gpattern.lo gprimes.lo  gqsort.lo gqueue.lo grel.lo grand.lo gscanner.lo gshell.lo  gslist.lo gstdio.lo gstrfuncs.lo gstring.lo gthread.lo  gthreadpool.lo gtimer.lo gtree.lo guniprop.lo gutf8.lo  gunibreak.lo gunicollate.lo gunidecomp.lo gutils.lo gprintf.lo libcharset/ gnulib/ giounix.lo gspawn.lo   -liconv -lintl -liconv
generating symbol list for `'
nm -B  .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/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/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 gnulib/.libs/libgnulib.a |  | /usr/pkg/bin/nbsed 's/.* //' | sort | uniq > .libs/libglib-2.0.exp/usr/pkg/bin/libtool[4249]: syntax error at line 1 : `|' unexpected
*** Error code 2

bmake: stopped in /home/admin/pkgsrc-work/devel/glib2/work/glib-2.6.6/glib
*** Error code 1


./bootstrap on Tru64
cd /usr/pkgsrc/devel/glib2


Maybe some utility has not been found at configure time and a blank
string got in between the two pipe symbols? Probably not too hard to
fix for someone who has a clue (I don't). Please fix this one if you
can, I'm trying to build a full gnome environment (from meta-pkgs/gnome)
- this could be a nice success feedback about the status of the
Tru64 pkgsrc port.