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
>Organization:
>Environment:
NetBSD hobbiton-netbsd.home 5.99.39 NetBSD 5.99.39 (GENERIC) #0: Tue Nov 16 
22:30:44 UTC 2010  
builds%b8.netbsd.org@localhost:/home/builds/ab/HEAD/i386/201011170000Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC
 i386
>Description:
Build fails quickly with the following:


===> Building for libtool-base-2.2.6bnb4
/bin/sh 
/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 
$depbase.Plo
./libtool: 732: Syntax error: Missing '}'
*** Error code 2

Stop.
>How-To-Repeat:
Try to build libtool-base on NetBSD-current (pkgsrc is also current):

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

>Fix:
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