pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/52261: devel/pkgconf does not build on Solaris 11.3
>Number: 52261
>Category: pkg
>Synopsis: devel/pkgconf does not build on Solaris 11.3
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 29 13:05:00 +0000 2017
>Originator: Joern Clausen
>Release:
>Organization:
University of Bielefeld
>Environment:
>Description:
I just upgraded from Solaris 11.2 to 11.3, and now devel/pkgconf fails here:
CCLD libpkgconf.la
./libtool: eval: line 1718: syntax error near unexpected token `|'
./libtool: eval: line 1718: `/usr/bin/nm -p libpkgconf/.libs/audit.o libpkgconf/.libs/cache.o libpkgconf/.libs/client.o libpkgconf/.libs/pkg.o libpkgconf/.libs/bsdstubs.o libpkgconf/.libs/fragment.o libpkgconf/.libs/argvsplit.o libpkgconf/.libs/fileio.o libpkgconf/.libs/tuple.o libpkgconf/.libs/dependency.o libpkgconf/.libs/queue.o libpkgconf/.libs/path.o | | /usr/gnu/bin/sed 's/.* //' | sort | uniq > .libs/libpkgconf.exp'
*** [libpkgconf.la] Error code 2
The reason is this definition in devel/pkgconf/work/pkgconf-1.3.5/libtool, which results in the empty command in the pipe above:
# Take the output of nm and produce a listing of raw symbols and C names.
global_symbol_pipe=""
The same line looks like this on NetBSD:
# Take the output of nm and produce a listing of raw symbols and C names.
global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\
$/\\1 \\2 \\2/p' | sed '/ __gnu_lto/d'"
The libtool script installed by libtool-base in $LOCALBASE/bin (on Solaris 11.3) contains this version:
# Take the output of nm and produce a listing of raw symbols and C names.
global_symbol_pipe="sed -n -e 's/^.*[ ]\\([BCDRT][BCDRT]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p' | sed '/ __gnu_lto/d'"
>How-To-Repeat:
>Fix:
Replacing devel/pkgconf/work/pkgconf-1.3.5/libtool with the script from $LOCALBASE/bin after "bmake configure" leads to a successful build.
Home |
Main Index |
Thread Index |
Old Index