Subject: pkg/25712: Syntaxerror in libtool
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <flo@cfdisk.org>
List: pkgsrc-bugs
Date: 05/26/2004 10:22:16
>Number:         25712
>Category:       pkg
>Synopsis:       Syntaxerror in libtool
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 26 10:23:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Florian Speidel
>Release:        
>Organization:
>Environment:
IRIX64 octane 6.5 04091957 IP30
>Description:
An empty variable or too many pipes in the libtool "list exported symbols" command produces a syntax error.
>How-To-Repeat:
cd /usr/pkgsrc/x11/gtk2; bmake package
>Fix:
change

export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols"

to

export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe \$SED 's/.* //' | sort | uniq > \$export_symbols"

in /usr/pkg/bin/libtool
>Release-Note:
>Audit-Trail:
>Unformatted: