Subject: pkg/18705: devel/popt build failure
To: None <gnats-bugs@gnats.netbsd.org>
From: None <grant@netbsd.org>
List: netbsd-bugs
Date: 10/19/2002 21:44:11
>Number: 18705
>Category: pkg
>Synopsis: devel/popt build failure
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 19 04:43:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: grant beattie
>Release: -current pkgsrc
>Organization:
>Environment:
System: NetBSD mofo 1.6I NetBSD 1.6I (MOFO) #0: Sun Oct 6 00:57:53 EST 2002 grant@mofo:/data1/netbsd/current/src/sys/arch/i386/compile/MOFO i386
Architecture: i386
Machine: i386
>Description:
devel/popt fails to build.
/bin/sh ./libtool --mode=link cc -O2 -I/usr/pkg/include -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o test1 -all-static test1.o libpopt.la
cc -O2 -I/usr/pkg/include -Wl,-R/usr/pkg/lib -o test1 -static test1.o -L/usr/pkg/lib ./.libs/libpopt.a
./.libs/libpopt.a(popt.o): In function `poptGetNextOpt':
popt.o(.text+0x1691): undefined reference to `dgettext'
./.libs/libpopt.a(popt.o): In function `poptStrerror':
popt.o(.text+0x1e16): undefined reference to `dgettext'
./.libs/libpopt.a(popthelp.o): In function `getArgDescrip':
popthelp.o(.text+0x14e): undefined reference to `dgettext'
./.libs/libpopt.a(popthelp.o): In function `singleOptionDefaultValue':
popthelp.o(.text+0x16c): undefined reference to `dgettext'
./.libs/libpopt.a(popthelp.o): In function `singleOptionHelp':
popthelp.o(.text+0x3a2): undefined reference to `dgettext'
./.libs/libpopt.a(popthelp.o)(.text+0x9ce): more undefined references to `dgettext' follow
The libtool generated libpopt.la fails to specify -lintl in
dependancy_libs. Manually hacking this in makes it work.
>How-To-Repeat:
cd devel/popt; make
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: