NetBSD Problem Report #13483
Received: (qmail 7347 invoked from network); 16 Jul 2001 10:53:01 -0000
Message-Id: <200107161056.f6GAuHx25110@colwyn.zhadum.de>
Date: Mon, 16 Jul 2001 12:56:17 +0200 (CEST)
From: Matthias Scheler <tron@colwyn.zhadum.de>
Reply-To: tron@colwyn.zhadum.de
To: gnats-bugs@gnats.netbsd.org
Subject: "wget" package fails to build on 1.5 release systems after recent update
X-Send-Pr-Version: 3.95
>Number: 13483
>Category: pkg
>Synopsis: "wget" package fails to build on 1.5 release systems after recent update
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 16 10:54:01 +0000 2001
>Closed-Date: Tue Jul 17 12:03:43 +0000 2001
>Last-Modified: Tue Jul 17 20:46:01 +0000 2001
>Originator:
>Release: NetBSD 1.5.1
>Organization:
Matthias Scheler http://scheler.de/~matthias/
>Environment:
System: NetBSD colwyn.zhadum.de 1.5.1 NetBSD 1.5.1 (COLWYN) #0: Mon Jul 2 20:16:07 CEST 2001 tron@colwyn.zhadum.de:/src/sys/compile/COLWYN i386
>Description:
The latest version 1.7 of the "wget" package fails to build on NetBSD-current
systems because "libintl" is not search in the correct directory:
===> Configuring for wget-1.7
loading cache ./config.cache
configuring for GNU Wget 1.7
checking for gcc... (cached) cc
checking whether the C compiler (cc -I/src/NetBSD-current/pkgsrc/net/wget/work/.buildlink/include -O2 -L/src/NetBSD-current/pkgsrc/net/wget/work/.buildlink/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -I/src/NetBSD-current/pkgsrc/net/wget/work/.buildlink/include -O2 -L/src/NetBSD-current/pkgsrc/net/wget/work/.buildlink/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) cc -E
checking for AIX... no
checking host system type... i386--netbsd
checking whether to enable ipv6... yes
checking ipv6 stack type... kame
checking getaddrinfo bug... good
checking whether gmake sets ${MAKE}... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking build system type... i386--netbsd
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions ... yes
checking if cc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... NetBSD ld.elf_so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for cc option to accept ANSI C...
checking for function prototypes... yes
checking for working const... yes
checking for inline... inline
checking for size_t... yes
checking for pid_t... yes
checking whether byte ordering is bigendian... no
checking size of long... 4
checking size of long long... 8
checking for string.h... yes
checking for stdarg.h... yes
checking for unistd.h... yes
checking for sys/time.h... yes
checking for utime.h... yes
checking for sys/utime.h... no
checking for sys/select.h... yes
checking for sys/utsname.h... yes
checking for pwd.h... yes
checking for signal.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking return type of signal handlers... void
checking for struct utimbuf... yes
checking for working alloca.h... no
checking for alloca... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for strdup... yes
checking for strstr... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for gettimeofday... yes
checking for mktime... yes
checking for strptime... yes
checking for strerror... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for select... yes
checking for signal... yes
checking for symlink... yes
checking for access... yes
checking for isatty... yes
checking for uname... yes
checking for gethostname... yes
checking for gethostbyname... yes
checking for socket in -lsocket... no
checking for runtime libraries flag... "-R"
checking whether NLS is requested... yes
language catalogs: cs da de el es et fr gl hr it ja nl no pl pt_BR ru sk sl sv tr zh zh_TW
checking for msgfmt... /usr/pkg/bin/msgfmt
checking for xgettext... /usr/pkg/bin/xgettext
checking for gmsgfmt... /usr/pkg/bin/msgfmt
checking for locale.h... yes
checking for libintl.h... yes
checking for gettext... no
checking for gettext in -lintl... no
gettext not found; disabling NLS
checking for makeinfo... makeinfo
checking for perl5... no
checking for perl... /usr/bin/perl
checking for pod2man... /usr/pkg/bin/pod2man
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating doc/Makefile
creating util/Makefile
creating po/Makefile.in
creating windows/Makefile
creating src/config.h
generating po/POTFILES from ./po/POTFILES.in
creating po/Makefile
===> Building for wget-1.7
echo timestamp > stamp-h.in
cd src && gmake CC='cc' CPPFLAGS='-I/src/NetBSD-current/pkgsrc/net/wget/work/.buildlink/include ' DEFS='-DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/pkg/etc/wgetrc\" -DLOCALEDIR=\"/usr/pkg/share/locale\"' CFLAGS='-DINET6 -I/src/NetBSD-current/pkgsrc/net/wget/work/.buildlink/include -O2' LDFLAGS='' LIBS='-lintl' prefix='/usr/pkg' exec_prefix='/usr/pkg' bindir='/usr/pkg/bin' infodir='/usr/pkg/info' mandir='/usr/pkg/man' manext='1'
gmake[1]: Entering directory `/src/NetBSD-current/pkgsrc/net/wget/work/wget-1.7/src'
cc -I. -I. -I/src/NetBSD-current/pkgsrc/net/wget/work/.buildlink/include -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/pkg/etc/wgetrc\" -DLOCALEDIR=\"/usr/pkg/share/locale\" -DINET6 -I/src/NetBSD-current/pkgsrc/net/wget/work/.buildlink/include -O2 -c cmpt.c
cc -I. -I. -I/src/NetBSD-current/pkgsrc/net/wget/work/.buildlink/include -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/pkg/etc/wgetrc\" -DLOCALEDIR=\"/usr/pkg/sha[...]
cc -I. -I. -I/src/NetBSD-current/pkgsrc/net/wget/work/.buildlink/include -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/pkg/etc/wgetrc\" -DLOCALEDIR=\"/usr/pkg/share/locale\" -DINET6 -I/src/NetBSD-current/pkgsrc/net/wget/work/.buildlink/include -O2 -c safe-ctype.c
/bin/sh ../libtool cc -DINET6 -I/src/NetBSD-current/pkgsrc/net/wget/work/.buildlink/include -O2 -o wget cmpt.o connect.o cookies.o fnmatch.o ftp.o ftp-basic.o ftp-ls.o ftp-opie.o getopt.o hash.o headers.o host.o html-parse.o html-url.o http.o init.o log.o main.o md5.o netrc.o rbuf.o recur.o retr.o snprintf.o url.o utils.o version.o safe-ctype.o -lintl
mkdir .libs
cc -DINET6 -I/src/NetBSD-current/pkgsrc/net/wget/work/.buildlink/include -O2 -o wget cmpt.o connect.o cookies.o fnmatch.o ftp.o ftp-basic.o ftp-ls.o ftp-opie.o getopt.o hash.o headers.o host.o html-parse.o html-url.o http.o init.o log.o main.o md5.o netrc.o rbuf.o recur.o retr.o snprintf.o url.o utils.o version.o safe-ctype.o -lintl
/usr/bin/ld: cannot open -lintl: No such file or directory
collect2: ld returned 1 exit status
gmake[1]: *** [wget] Error 1
gmake[1]: Leaving directory `/src/NetBSD-current/pkgsrc/net/wget/work/wget-1.7/src'
gmake: *** [src] Error 2
*** Error code 2
Stop.
>How-To-Repeat:
cd pkgsrc/net/wget
make
>Fix:
None provided.
>Release-Note:
>Audit-Trail:
From: itojun@iijlab.net
To: tron@colwyn.zhadum.de
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/13483: "wget" package fails to build on 1.5 release systems after recent update
Date: Mon, 16 Jul 2001 20:01:03 +0900
>>Synopsis: "wget" package fails to build on 1.5 release systems after recent update
does pkgsrc/net/wget/Makefile rev 1.34 change the situation?
itojun
From: Matthias Scheler <tron@zhadum.de>
To: itojun@iijlab.net
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/13483: "wget" package fails to build on 1.5 release systems after recent update
Date: Mon, 16 Jul 2001 13:29:54 +0200
On Mon, Jul 16, 2001 at 08:01:03PM +0900, itojun@iijlab.net wrote:
>
> >>Synopsis: "wget" package fails to build on 1.5 release systems after recent update
>
> does pkgsrc/net/wget/Makefile rev 1.34 change the situation?
Yes, that works.
Thanks for the quick response
--
Matthias Scheler http://scheler.de/~matthias/
From: Matthias Scheler <tron@zhadum.de>
To: itojun@iijlab.net
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/13483: "wget" package fails to build on 1.5 release systems after recent update
Date: Mon, 16 Jul 2001 13:31:59 +0200
On Mon, Jul 16, 2001 at 01:29:54PM +0200, Matthias Scheler wrote:
> Yes, that works.
I must take that back unfortunately. While the package can be built now
there is a shared library run time path problem now:
===> Registering installation for wget-1.7
wget-1.7 requires installed package gettext-lib-0.10.35nb1
/usr/pkg/bin/wget: -lintl.1 => not found
*** The above programs/libs will not find the listed shared libraries
at runtime. Please fix the package (add -Wl,-R.../lib in the right places)!
*** Error code 1
Kind regards
--
Matthias Scheler http://scheler.de/~matthias/
From: itojun@iijlab.net
To: Matthias Scheler <tron@zhadum.de>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/13483: "wget" package fails to build on 1.5 release systems after recent update
Date: Mon, 16 Jul 2001 20:33:16 +0900
>> Yes, that works.
>I must take that back unfortunately. While the package can be built now
>there is a shared library run time path problem now:
I have no idea about how "buildlink" works...
itojun
From: Matthias Scheler <tron@zhadum.de>
To: "Johnny C. Lam" <lamj@stat.cmu.edu>
Cc: gnats-bugs@gnats.netbsd.org, un-ichiro itojun Hagino <itojun@itojun.org>
Subject: Re: pkg/13483: "wget" package fails to build on 1.5 release systems after recent update
Date: Mon, 16 Jul 2001 13:39:05 +0200
On Mon, Jul 16, 2001 at 08:33:16PM +0900, itojun@iijlab.net wrote:
> >I must take that back unfortunately. While the package can be built now
> >there is a shared library run time path problem now:
>
> I have no idea about how "buildlink" works...
Johnny, can you please look at this PR? It's a buildlink problem in the
"wget" package which neither me nor Itojun know how to fix.
Thanks in advance
--
Matthias Scheler http://scheler.de/~matthias/
From: "Johnny C. Lam" <lamj@stat.cmu.edu>
To: Matthias Scheler <tron@zhadum.de>
Cc: "Johnny C. Lam" <lamj@stat.cmu.edu>, gnats-bugs@gnats.netbsd.org,
un-ichiro itojun Hagino <itojun@itojun.org>
Subject: Re: pkg/13483: "wget" package fails to build on 1.5 release systems after recent update
Date: Tue, 17 Jul 2001 06:57:06 -0400
Matthias Scheler <tron@zhadum.de> writes:
>
> On Mon, Jul 16, 2001 at 08:33:16PM +0900, itojun@iijlab.net wrote:
> > >I must take that back unfortunately. While the package can be built now
> > >there is a shared library run time path problem now:
> >
> > I have no idea about how "buildlink" works...
>
> Johnny, can you please look at this PR? It's a buildlink problem in the
> "wget" package which neither me nor Itojun know how to fix.
It's not a buildlink problem. There's a typo in the configure script
at line 3718:
LDFLAGS=$ODL_LDFLAGS
that should read:
LDFLAGS=$OLD_LDFLAGS
I've checked in a workaround to wget/Makefile, so it should build
correctly now. If it works, could you please handle closing the PR?
Thanks,
-- Johnny C. Lam <lamj@stat.cmu.edu>
Department of Statistics, Carnegie Mellon University
http://www.stat.cmu.edu/~lamj/
State-Changed-From-To: open->closed
State-Changed-By: tron
State-Changed-When: Tue Jul 17 05:02:38 PDT 2001
State-Changed-Why:
Fixed by revisions 1.34-1.36 of "pkgsrc/net/wget/Makefile".
From: Matthias Scheler <tron@zhadum.de>
To: "Johnny C. Lam" <lamj@stat.cmu.edu>
Cc: gnats-bugs@gnats.netbsd.org, un-ichiro itojun Hagino <itojun@itojun.org>
Subject: Re: pkg/13483: "wget" package fails to build on 1.5 release systems after recent update
Date: Tue, 17 Jul 2001 14:05:52 +0200
On Tue, Jul 17, 2001 at 06:57:06AM -0400, Johnny C. Lam wrote:
> It's not a buildlink problem. There's a typo in the configure script
> at line 3718:
>
> LDFLAGS=$ODL_LDFLAGS
>
> that should read:
>
> LDFLAGS=$OLD_LDFLAGS
Perhaps we should report this to the maintainers?
> I've checked in a workaround to wget/Makefile, so it should build
> correctly now.
It didn't build correctly because you removed "USE_LIBINTL= YES". I know
that this shouldn't be necessary with buildlink in theory. But it is
obviously because the locale files aren't built and installed otherwise.
> If it works, could you please handle closing the PR?
I close it in a minute.
Thanks a lot
--
Matthias Scheler http://scheler.de/~matthias/
From: "Johnny C. Lam" <lamj@stat.cmu.edu>
To: Matthias Scheler <tron@zhadum.de>
Cc: "Johnny C. Lam" <lamj@stat.cmu.edu>, gnats-bugs@gnats.netbsd.org,
un-ichiro itojun Hagino <itojun@itojun.org>
Subject: Re: pkg/13483: "wget" package fails to build on 1.5 release systems after recent update
Date: Tue, 17 Jul 2001 16:48:53 -0400
Matthias Scheler <tron@zhadum.de> writes:
>
> On Tue, Jul 17, 2001 at 06:57:06AM -0400, Johnny C. Lam wrote:
> > It's not a buildlink problem. There's a typo in the configure script
> > at line 3718:
> >
> > LDFLAGS=$ODL_LDFLAGS
> >
> > that should read:
> >
> > LDFLAGS=$OLD_LDFLAGS
>
> Perhaps we should report this to the maintainers?
Well, I'm guessing it'll be spotted in the next release, but it
wouldn't hurt to report it. I'll send them the report since I spotted
the problem.
> > I've checked in a workaround to wget/Makefile, so it should build
> > correctly now.
>
> It didn't build correctly because you removed "USE_LIBINTL= YES". I know
> that this shouldn't be necessary with buildlink in theory. But it is
> obviously because the locale files aren't built and installed otherwise.
I'm working toward getting an account on a 1.5 release, a.out machine
from one of the people offering shell accounts to NetBSD developers.
This will help me in tracking down these sorts of problems. This
either points to some sort of failing in gettext-lib/buildlink.mk that
needs to be tracked down, or some sort of oddity in the wget configure
script that should also be tracked down.
> > If it works, could you please handle closing the PR?
>
> I close it in a minute.
Thanks!
-- Johnny C. Lam <lamj@stat.cmu.edu>
Department of Statistics, Carnegie Mellon University
http://www.stat.cmu.edu/~lamj/
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.