Subject: pkg/13483: "wget" package fails to build on 1.5 release systems after recent update
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 07/16/2001 12:56:17
>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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 16 03:54:01 PDT 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: