pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44118: devel/libtool 2.2.6b fails to build

>Number:         44118
>Category:       pkg
>Synopsis:       devel/libtool 2.2.6b fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 19 15:40:00 +0000 2010
>Originator:     Julian Yon
>Release:        5.99.39
NetBSD hobbiton-netbsd.home 5.99.39 NetBSD 5.99.39 (GENERIC) #0: Tue Nov 16 
22:30:44 UTC 2010
Build fails quickly with the following:

===> Building for libtool-base-2.2.6bnb4
/usr/pkgsrc/devel/libtool-base/work/libtool-2.2.6b/libltdl/config/install-sh -d 
. libltdl/
cp ./libltdl/argz_.h libltdl/argz.h-t
mv libltdl/argz.h-t libltdl/argz.h
/usr/bin/make  all-recursive
test -f doc/.dirstamp || /usr/bin/make  doc/.dirstamp
depbase=`echo libltdl/loaders/dlopen.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; 
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.   
-DLT_CONFIG_H='<config.h>' -DLTDL -I. -I.  -Ilibltdl -I./libltdl 
-I./libltdl/libltdl -I/usr/include  -O2 -I/usr/include -MT 
libltdl/loaders/dlopen.lo -MD -MP -MF $depbase.Tpo -c -o 
libltdl/loaders/dlopen.lo libltdl/loaders/dlopen.c && mv -f $depbase.Tpo 
./libtool: 732: Syntax error: Missing '}'
*** Error code 2

Try to build libtool-base on NetBSD-current (pkgsrc is also current):

$ cd /usr/pkgsrc/
$ cd devel/libtool-base/
$ make

Workaround: Install shells/bash first and set CONFIG_SHELL=/usr/pkg/bin/bash in 
the environment first. This results in a libtool which executes using bash 
instead of /bin/sh

Home | Main Index | Thread Index | Old Index