Subject: pkg/30922: pkg_install build problems
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <reinoud@netbsd.org>
List: pkgsrc-bugs
Date: 08/05/2005 17:32:00
>Number: 30922
>Category: pkg
>Synopsis: pkg_install build problems
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 05 17:32:00 +0000 2005
>Originator: Reinoud Zandijk
>Release: NetBSD 2.99.16
>Organization:
NetBSD
>Environment:
System: NetBSD rangerover 2.99.16 NetBSD 2.99.16 (GENERIC) #1: Tue Feb 22 20:57:13 CET 2005 imago@heethoofdje.kasbah:/usr/sources/cvs.netbsd.org/src/sys/arch/sparc/compile/obj/GENERIC sparc
Architecture: sparc
achine: sparc
>Description:
When updating pkgsrc's pkgtools/pkg_install on this machine i keep getting :
Script started on Fri Aug 5 18:41:27 2005
rangerover# make update
/usr/bin/make
===> Checking for vulnerabilities in pkg_install-20050718
work -> /usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work
===> Extracting for pkg_install-20050718
===> Patching for pkg_install-20050718
===> Overriding tools for pkg_install-20050718
===> Creating toolchain wrappers for pkg_install-20050718
===> Configuring for pkg_install-20050718
checking build system type... sparc-unknown-netbsdelf2.99.16
checking host system type... sparc-unknown-netbsdelf2.99.16
checking whether make sets $(MAKE)... yes
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/.tools/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for gawk... /usr/bin/awk
checking for ar... ar
checking for fparseln in -lutil... yes
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for inttypes.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking bind/bitypes.h usability... no
checking bind/bitypes.h presence... no
checking for bind/bitypes.h... no
checking netinet/in6_machtypes.h usability... no
checking netinet/in6_machtypes.h presence... no
checking for netinet/in6_machtypes.h... no
checking alloca.h usability... no
checking alloca.h presence... no
checking for alloca.h... no
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking fts.h usability... yes
checking fts.h presence... yes
checking for fts.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking machine/endian.h usability... yes
checking machine/endian.h presence... yes
checking for machine/endian.h... yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/byteorder.h usability... no
checking sys/byteorder.h presence... no
checking for sys/byteorder.h... no
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking sys/endian.h usability... yes
checking sys/endian.h presence... yes
checking for sys/endian.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/stat.h... (cached) yes
checking sys/statfs.h usability... no
checking sys/statfs.h presence... no
checking for sys/statfs.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/ttycom.h usability... yes
checking sys/ttycom.h presence... yes
checking for sys/ttycom.h... yes
checking for sys/types.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/vfs.h usability... no
checking sys/vfs.h presence... no
checking for sys/vfs.h... no
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking tzfile.h usability... yes
checking tzfile.h presence... yes
checking for tzfile.h... yes
checking for unistd.h... (cached) yes
checking util.h usability... yes
checking util.h presence... yes
checking for util.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for sys/mount.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking sys/queue.h usability... yes
checking sys/queue.h presence... yes
checking for sys/queue.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for regexec... yes
checking md5.h usability... yes
checking md5.h presence... yes
checking for md5.h... yes
checking for MD5Init in md5.h... yes
checking for md5.h... (cached) yes
checking rmd160.h usability... yes
checking rmd160.h presence... yes
checking for rmd160.h... yes
checking sha1.h usability... yes
checking sha1.h presence... yes
checking for sha1.h... yes
checking for MD5File... yes
checking for RMD160File... yes
checking for SHA1File... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for struct option... yes
checking vis.h usability... yes
checking vis.h presence... yes
checking for vis.h... yes
checking for VIS_WHITE in vis.h... yes
checking for strunvis... yes
checking for strvis... yes
checking for strsvis... yes
checking for svis... yes
checking for unvis... yes
checking for vis... yes
checking for strunvis... (cached) yes
checking for strvis... (cached) yes
checking for strsvis... (cached) yes
checking for svis... (cached) yes
checking for unvis... (cached) yes
checking for vis... (cached) yes
checking for __attribute__... yes
checking for size_t... yes
checking for long long... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_int64_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for fsid_t... yes
checking whether byte ordering is bigendian... yes
checking for off_t... yes
checking size of off_t... 8
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether strerror_r is declared... no
checking for strerror_r... no
checking whether strerror_r returns char *... no
checking for vprintf... yes
checking for _doprnt... no
checking for err... yes
checking for fgetln... yes
checking for fnmatch... yes
checking for fparseln... yes
checking for getenv... yes
checking for isblank... yes
checking for lchflags... yes
checking for lchmod... yes
checking for lchown... yes
checking for lutimes... yes
checking for mkdtemp... yes
checking for mkstemp... yes
checking for setenv... yes
checking for setgroupent... yes
checking for setpassent... yes
checking for setprogname... yes
checking for snprintf... yes
checking for statvfs... no
checking for strdup... yes
checking for strerror... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strmode... yes
checking for strsep... yes
checking for strtoll... yes
checking for unsetenv... yes
checking for usleep... yes
checking for utimes... yes
checking for warn... yes
checking for getenv... (cached) yes
checking for setenv... (cached) yes
checking for unsetenv... (cached) yes
checking for mkdtemp... (cached) yes
checking for mkstemp... (cached) yes
checking for bcopy... yes
checking for bzero... yes
checking for memset... yes
checking for memcpy... yes
checking for setlocale... yes
checking for getmode... yes
checking for setmode... yes
checking for getmode... (cached) yes
checking for setmode... (cached) yes
checking for gid_from_group... yes
checking for group_from_gid... yes
checking for pwcache_groupdb... yes
checking for pwcache_userdb... yes
checking for uid_from_user... yes
checking for user_from_uid... yes
checking for gid_from_group... (cached) yes
checking for group_from_gid... (cached) yes
checking for pwcache_groupdb... (cached) yes
checking for pwcache_userdb... (cached) yes
checking for uid_from_user... (cached) yes
checking for user_from_uid... (cached) yes
checking for fts_open... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for poll.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for poll... yes
checking if poll() is implemented natively... yes
checking for getpassphrase... no
checking for getpgrp... yes
checking for memmove... yes
checking for select... yes
checking for getpgrp... (cached) yes
checking whether getpgrp requires zero arguments... yes
checking for struct statfs.f_fsize... no
checking for struct statfs.f_iosize... no
checking for struct dirent.d_namlen... yes
checking *printf() support for %lld... yes
checking for strtoll... (cached) yes
checking whether optind is declared... yes
checking whether optreset is declared... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nbcompat/config.h
cc -DDEF_UMASK=0022 -I/usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/libnbcompat -I. -I. -O2 -DHAVE_CONFIG_H -c bits.c
cc -I. -I. -O2 -L/usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/libnbcompat -Wl,-R/usr/pkg/lib -o bits bits.o
./bits nbcompat/nbtypes.h
/usr/bin/awk -f nbcompat.awk nbcompat/config.h > nbcompat/nbconfig.h
cc -DDEF_UMASK=0022 -I/usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/libnbcompat -I. -I. -O2 -DHAVE_CONFIG_H -c glob.c
In file included from /usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/libnbcompat/nbcompat.h:67,
from __glob13.c:35,
from glob.c:12:
/usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/libnbcompat/nbcompat/statvfs.h:67:1: warning: "VFS_NAMELEN" redefined
In file included from /usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/libnbcompat/nbcompat/statvfs.h:43,
from /usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/libnbcompat/nbcompat.h:67,
from __glob13.c:35,
from glob.c:12:
/usr/include/sys/statvfs.h:111:1: warning: this is the location of the previous definition
In file included from /usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/libnbcompat/nbcompat.h:67,
from __glob13.c:35,
from glob.c:12:
/usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/libnbcompat/nbcompat/statvfs.h:68:1: warning: "VFS_MNAMELEN" redefined
In file included from /usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/libnbcompat/nbcompat/statvfs.h:43,
from /usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/libnbcompat/nbcompat.h:67,
from __glob13.c:35,
from glob.c:12:
/usr/include/sys/statvfs.h:112:1: warning: this is the location of the previous definition
In file included from /usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/libnbcompat/nbcompat.h:67,
from __glob13.c:35,
from glob.c:12:
/usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/libnbcompat/nbcompat/statvfs.h:70: warning: redefinition of `__fsblkcnt_t'
/usr/include/sys/ansi.h:54: warning: `__fsblkcnt_t' previously declared here
/usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/libnbcompat/nbcompat/statvfs.h:71: warning: redefinition of `__fsfilcnt_t'
/usr/include/sys/ansi.h:55: warning: `__fsfilcnt_t' previously declared here
/usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/libnbcompat/nbcompat/statvfs.h:77: error: redefinition of `struct statvfs'
*** Error code 1
Stop.
make: stopped in /usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/libnbcompat
*** Error code 1
Stop.
make: stopped in /usr/sources/cvs.netbsd.org/pkgsrc/pkgtools/pkg_install
===>
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===> * config.log
===> * /usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/.work.log
===>
*** Error code 1
Stop.
make: stopped in /usr/sources/cvs.netbsd.org/pkgsrc/pkgtools/pkg_install
*** Error code 1
Stop.
make: stopped in /usr/sources/cvs.netbsd.org/pkgsrc/pkgtools/pkg_install
rangerover#
>How-To-Repeat:
Update pkg_install
>Fix:
Unknown
>Unformatted: