Subject: pkg/37349: Bootstraping pkgsrc on Interix fails
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <wrzymski@gmail.com>
List: pkgsrc-bugs
Date: 11/09/2007 13:50:00
>Number:         37349
>Category:       pkg
>Synopsis:       Bootstraping pkgsrc on Interix fails
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 09 13:50:00 +0000 2007
>Originator:     Wojciech Rzymski
>Release:        Vista 32bit :)
>Organization:
>Environment:
% uname -a
Interix vista 6.0 10.0.6000.0 x86 Intel_x86_Family6_Model15_Stepping6
>Description:
Bootstraping pkgsrc-2007Q3 on Interix fails early on libnbcompat.


% ./bootstrap
===> bootstrap command: ./bootstrap
===> bootstrap started: Fri Nov  9 13:46:05 CET 2007
Working directory is: /dev/fs/C/usr/pkgsrc/bootstrap/work
===> running: /bin/sed -e 's|@DEFAULT_INSTALL_MODE@|'0775'|' /dev/fs/C/usr/pkgsr
c/sysutils/install-sh/files/install-sh.in > /dev/fs/C/usr/pkgsrc/bootstrap/work/
bin/install-sh
===> running: /bin/chmod +x /dev/fs/C/usr/pkgsrc/bootstrap/work/bin/install-sh
===> Testing file system case sensitivity
===> Building libnbcompat
===> running: (cd /dev/fs/C/usr/pkgsrc/bootstrap/work/libnbcompat; /bin/sh ./con
figure  -C --prefix=/usr/pkg --mandir=/usr/pkg/man --sysconfdir=/usr/pkg/etc &&
make )
configure: loading cache config.cache
checking build system type... (cached) i586-pc-interix6.0
checking host system type... (cached) i586-pc-interix6.0
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... (cached) gcc -D_ALL_SOURCE
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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc -D_ALL_SOURCE accepts -g... (cached) yes
checking for gcc -D_ALL_SOURCE option to accept ISO C89... (cached) none needed
checking for a BSD-compatible install... (cached) /bin/install -c
checking whether ln -s works... yes
checking for ranlib... (cached) ranlib
checking for gawk... (cached) gawk
checking for ar... (cached) ar
checking for fparseln in -lutil... (cached) no
checking how to run the C preprocessor... (cached) gcc -D_ALL_SOURCE -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/bitypes.h... (cached) no
checking for bind/bitypes.h... (cached) no
checking for netinet/in6_machtypes.h... (cached) no
checking for alloca.h... (cached) yes
checking for assert.h... (cached) yes
checking for ctype.h... (cached) yes
checking for dirent.h... (cached) yes
checking for err.h... (cached) yes
checking for errno.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for fnmatch.h... (cached) yes
checking for fts.h... (cached) yes
checking for grp.h... (cached) yes
checking for libutil.h... (cached) no
checking for limits.h... (cached) yes
checking for machine/endian.h... (cached) no
checking for ndir.h... (cached) no
checking for paths.h... (cached) yes
checking for pwd.h... (cached) yes
checking for signal.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdint.h... (cached) yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/byteorder.h... (cached) no
checking for sys/cdefs.h... (cached) yes
checking for sys/dir.h... (cached) yes
checking for sys/endian.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/mkdev.h... (cached) yes
checking for sys/ndir.h... (cached) no
checking for sys/param.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/statfs.h... (cached) no
checking for sys/statvfs.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/ttycom.h... (cached) no
checking for sys/types.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking for sys/vfs.h... (cached) no
checking for termcap.h... (cached) no
checking for time.h... (cached) yes
checking for tzfile.h... (cached) yes
checking for unistd.h... (cached) yes
checking for util.h... (cached) yes
checking for utime.h... (cached) yes
checking for sys/mount.h... (cached) no
checking for glob.h... (cached) yes
checking for sys/queue.h... (cached) yes
checking for regex.h... (cached) yes
checking for regexec... (cached) yes
checking for md5.h... (cached) yes
checking for MD5Init in md5.h... (cached) yes
checking for md5.h... (cached) yes
checking for rmd160.h... (cached) yes
checking for sha1.h... (cached) yes
checking for sha2.h... (cached) no
checking for MD5File... (cached) no
checking for RMD160File... (cached) no
checking for SHA1File... (cached) no
checking for SHA512_File... (cached) no
checking for getopt.h... (cached) yes
checking for struct option... (cached) yes
checking for vis.h... (cached) yes
checking for VIS_WHITE in vis.h... (cached) yes
checking for strunvis... (cached) yes
checking for strvis... (cached) yes
checking for strsvis... (cached) no
checking for svis... (cached) no
checking for unvis... (cached) yes
checking for vis... (cached) yes
checking for strunvis... (cached) yes
checking for strvis... (cached) yes
checking for strsvis... (cached) no
checking for __attribute__... (cached) yes
checking for size_t... (cached) yes
checking for uintptr_t... (cached) yes
checking for long long... (cached) yes
checking for long double... (cached) yes
checking for int8_t... (cached) yes
checking for int16_t... (cached) yes
checking for int32_t... (cached) yes
checking for int64_t... (cached) yes
checking for u_int8_t... (cached) yes
checking for u_int16_t... (cached) yes
checking for u_int32_t... (cached) yes
checking for u_int64_t... (cached) yes
checking for uint8_t... (cached) yes
checking for uint16_t... (cached) yes
checking for uint32_t... (cached) yes
checking for uint64_t... (cached) no
checking for fsid_t... (cached) no
checking whether byte ordering is bigendian... (cached) no
checking for off_t... (cached) yes
checking size of off_t... (cached) 4
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking whether strerror_r is declared... (cached) no
checking for strerror_r... (cached) yes
checking whether strerror_r returns char *... (cached) no
checking for vprintf... (cached) yes
checking for _doprnt... (cached) no
checking for asprintf... (cached) yes
checking for err... (cached) yes
checking for fgetln... (cached) yes
checking for fnmatch... (cached) yes
checking for fparseln... (cached) no
checking for getenv... (cached) yes
checking for isblank... (cached) yes
checking for lchflags... (cached) no
checking for lchmod... (cached) no
checking for lchown... (cached) yes
checking for lutimes... (cached) no
checking for mkdtemp... (cached) no
checking for mkstemp... (cached) yes
checking for setenv... (cached) yes
checking for setgroupent... (cached) no
checking for setpassent... (cached) no
checking for setprogname... (cached) no
checking for snprintf... (cached) yes
checking for statvfs... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strlcat... (cached) yes
checking for strlcpy... (cached) yes
checking for strmode... (cached) yes
checking for strsep... (cached) yes
checking for strtoll... (cached) no
checking for unsetenv... (cached) yes
checking for usleep... (cached) yes
checking for utimes... (cached) yes
checking for warn... (cached) yes
checking for getenv... (cached) yes
checking for setenv... (cached) yes
checking for unsetenv... (cached) yes
checking for mkdtemp... (cached) no
checking for bcopy... (cached) yes
checking for bzero... (cached) yes
checking for memset... (cached) yes
checking for memcpy... (cached) yes
checking for setlocale... (cached) yes
checking for getmode... (cached) yes
checking for setmode... (cached) yes
checking for getmode... (cached) yes
checking for setmode... (cached) yes
checking for gid_from_group... (cached) no
checking for group_from_gid... (cached) yes
checking for pwcache_groupdb... (cached) no
checking for pwcache_userdb... (cached) no
checking for uid_from_user... (cached) no
checking for user_from_uid... (cached) yes
checking for gid_from_group... (cached) no
checking for fts_open... (cached) yes
checking for poll.h... (cached) no
checking for sys/poll.h... (cached) no
checking for poll.h... (cached) no
checking for sys/poll.h... (cached) no
checking for getpassphrase... (cached) no
checking for getpgrp... (cached) yes
checking for memmove... (cached) yes
checking for select... (cached) yes
checking for getpgrp... (cached) yes
checking whether getpgrp requires zero arguments... (cached) yes
checking for struct statfs.f_fsize... (cached) no
checking for struct statfs.f_iosize... (cached) no
checking for struct dirent.d_namlen... (cached) yes
checking for DIR.dd_fd... (cached) no
checking for dirfd... yes
checking *printf() support for %lld... yes
checking for strtoll... (cached) no
checking if vsnprintf is standards compliant... yes
checking whether optind is declared... (cached) yes
checking whether optreset is declared... (cached) no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nbcompat/config.h
config.status: nbcompat/config.h is unchanged
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c bits.c
gcc -D_ALL_SOURCE -I. -I.  -g -O2  -o bits bits.o
./bits nbcompat/nbtypes.h
gawk -f nbcompat.awk nbcompat/config.h > nbcompat/nbconfig.h
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c glob.c
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c md5c.c
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c md5hl.c
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c rmd160.c
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c rmd160hl.c
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c sha1.c
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c sha1hl.c
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c sha2.c
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c sha2hl.c
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c vis.c
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c unvis.c
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c fparseln.c
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c lchflags.c
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c lchmod.c
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c lutimes.c
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c mkdtemp.c
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c setgroupent.c
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c setpassent.c
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c setprogname.c
gcc -D_ALL_SOURCE  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c strtoll.c
strtoll.c:144:24: invalid suffix "i64" on integer constant
strtoll.c:144:36: invalid suffix "i64" on integer constant
strtoll.c:168:39: invalid suffix "i64" on integer constant
strtoll.c:178:39: invalid suffix "i64" on integer constant
*** Error code 1

Stop in /dev/fs/C/usr/pkgsrc/bootstrap/work/libnbcompat.
===> exited with status 1
aborted.
%
>How-To-Repeat:

>Fix: