Subject: Re: devel/pcre fails...
To: None <pkgsrc-users@netbsd.org>
From: George Georgalis <george@galis.org>
List: pkgsrc-users
Date: 06/30/2006 17:05:39
I note the syntax error is two pipe operators
without anything between... near the end of line.
I've verified this doesn't happen on Debian 3.0 or
NetBSD-3.0; the problem host is Suse 9.x
O
...I have no idea how to trace back $cmd from 
/usr/pkg/bin/libtool: eval: line 4384

presumably, it's one of these statements:


/usr/pkgsrc-2006Q1/devel/pcre # grep -r '| sort | uniq' .  | sort
./work/pcre-6.6/configure:      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
./work/pcre-6.6/configure:      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
./work/pcre-6.6/configure:      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
./work/pcre-6.6/configure:    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
./work/pcre-6.6/configure:    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
./work/pcre-6.6/configure:  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
./work/pcre-6.6/configure:  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
./work/pcre-6.6/configure:  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
./work/pcre-6.6/configure:  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'




/usr/pkgsrc-2006Q1/devel/pcre # bmake
===> Checking for vulnerabilities in pcre-6.6
===> Building for pcre-6.6
rm -f libpcre.la
/bin/sh ./libtool --mode=link --tag=CC gcc -export-symbols-regex '^[^_]' -Wl,-R/usr/pkg/lib -I. -I. -rpath /usr/pkg/lib -version-info  '0:1:0' -o libpcre.la pcre_chartables.lo  pcre_compile.lo  pcre_config.lo  pcre_dfa_exec.lo  pcre_exec.lo  pcre_fullinfo.lo  pcre_get.lo  pcre_globals.lo  pcre_info.lo  pcre_maketables.lo  pcre_ord2utf8.lo  pcre_refcount.lo  pcre_study.lo  pcre_tables.lo  pcre_try_flipped.lo  pcre_ucp_searchfuncs.lo  pcre_valid_utf8.lo  pcre_version.lo  pcre_xclass.lo  
generating symbol list for `libpcre.la'
nm  .libs/pcre_chartables.o .libs/pcre_compile.o .libs/pcre_config.o .libs/pcre_dfa_exec.o .libs/pcre_exec.o .libs/pcre_fullinfo.o .libs/pcre_get.o .libs/pcre_globals.o .libs/pcre_info.o .libs/pcre_maketables.o .libs/pcre_ord2utf8.o .libs/pcre_refcount.o .libs/pcre_study.o .libs/pcre_tables.o .libs/pcre_try_flipped.o .libs/pcre_ucp_searchfuncs.o .libs/pcre_valid_utf8.o .libs/pcre_version.o .libs/pcre_xclass.o  |  | /bin/sed 's/.* //' | sort | uniq > .libs/libpcre.exp
/usr/pkg/bin/libtool: eval: line 4384: syntax error near unexpected token `|'
/usr/pkg/bin/libtool: eval: line 4384: `nm  .libs/pcre_chartables.o .libs/pcre_compile.o .libs/pcre_config.o .libs/pcre_dfa_exec.o .libs/pcre_exec.o .libs/pcre_fullinfo.o .libs/pcre_get.o .libs/pcre_globals.o .libs/pcre_info.o .libs/pcre_maketables.o .libs/pcre_ord2utf8.o .libs/pcre_refcount.o .libs/pcre_study.o .libs/pcre_tables.o .libs/pcre_try_flipped.o .libs/pcre_ucp_searchfuncs.o .libs/pcre_valid_utf8.o .libs/pcre_version.o .libs/pcre_xclass.o  |  | /bin/sed 's/.* //' | sort | uniq > .libs/libpcre.exp'
*** Error code 1




// George


-- 
George Georgalis, systems architect, administrator <IXOYE><