pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/59002: Bootstrapping pkgsrc on HP-UX 11.11/PA-RISC fails due to lack of stdint.h
>Number: 59002
>Category: pkg
>Synopsis: Bootstrapping pkgsrc on HP-UX 11.11/PA-RISC fails due to lack of stdint.h
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 17 15:00:00 +0000 2025
>Originator: Thom Holwerda
>Release: 2024Q4
>Organization:
OSNews.com
>Environment:
HP-UX pain B.11.11 U 9000/785
>Description:
I'm running HP-UX 11i v1 (also known as 11.11) on PA-RISC (an HP c8000 workstation). All the latest possible patches are installed. As per the instructions here[1], I downloaded the latest stable pkgsrc tarball (2024Q4), and installed the GCC version as suggested in the pkgsrc README.HPUX, GCC 4.2.3 (available here[2]). I followed the instructions in the readme included in this GCC package (extract to /usr/local, run mkheaders). I also added /usr/local/gcc4/bin to PATH after installing.
When running "./bootstrap --abi 32 --compiler gcc", bootstrapping fails at compiling awk:
error: stdint.h: No such file or directory
I ran testbootstrap to get a bootstrap log (see below). Over on Fedi, Taylor R Campbell told me "lang/nawk sprouted a C99 dependency in an update a little over a year ago"[3], which seems to be the cause. HP-UX 11.11 doesn't support C99, hence the issue, and so here's this bug report.
Now, obviously HP-UX 11.11 on PA-RISC, of all architectures, isn't a massive priority and addressing this really shouldn't take precedent over more important bugfixes, but it would still be quite cool to have pkgsrc working on HP-UX. It would make using this machine I have here a hell of a lot easier if at least relatively simple packages in pkgsrc could be built. I'm guessing HP-UX 11.11 also isn't the only platform pkgsrc is available for that lacks C99. I'm not a developer so I don't know just how hard it would be to fix this issue, so I'm crossing my fingers hoping it's relatively easy.
[1] https://wiki.netbsd.org/pkgsrc/how_to_use_pkgsrc_on_hp-ux/
[2] https://cdn.netbsd.org/pub/pkgsrc/misc/tnn/
[3] https://mastodon.sdf.org/@riastradh/113842188906979693
-----
BOOTSTRAP.LOG
===> bootstrap command: ./bootstrap --prefix=/sw/pkgsrc/bootstrap/pkg --sysconfdir=/sw/pkgsrc/bootstrap/pkg/etc --pkgdbdir=/sw/pkgsrc/bootstrap/.db --ignore-user-check
===> bootstrap started: Fri, Jan 17, 2025 03:50:57 PM
Working directory is: /sw/pkgsrc/bootstrap/work
===> running: /bin/sed -e 's|@DEFAULT_INSTALL_MODE@|'0755'|' /sw/pkgsrc/sysutils/install-sh/files/install-sh.in > /sw/pkgsrc/bootstrap/work/bin/install-sh
===> running: /bin/chmod +x /sw/pkgsrc/bootstrap/work/bin/install-sh
===> building as unprivileged user root/sys
===> Creating default mk.conf in /sw/pkgsrc/bootstrap/work
===> running: /bin/sh /sw/pkgsrc/bootstrap/work/bin/install-sh -d -o root -g sys /sw/pkgsrc/bootstrap/work/sbin
===> running: /bin/sh /sw/pkgsrc/bootstrap/work/bin/install-sh -d -o root -g sys /sw/pkgsrc/bootstrap/work/share/mk
===> Bootstrapping mk-files
===> running: (cd /sw/pkgsrc/pkgtools/bootstrap-mk-files/files && env CP=/bin/cp OPSYS=HPUX MK_DST=/sw/pkgsrc/bootstrap/work/share/mk ROOT_GROUP=sys ROOT_USER=root SED=/bin/sed SYSCONFDIR=/sw/pkgsrc/bootstrap/pkg/etc /bin/sh ./bootstrap.sh)
===> Bootstrapping bmake
===> running: /bin/sh /sw/pkgsrc/bootstrap/work/bin/install-sh -d -o root -g sys /sw/pkgsrc/bootstrap/work/bmake
===> running: (cd /sw/pkgsrc/bootstrap/work/bmake && /bin/sh configure --prefix=/sw/pkgsrc/bootstrap/work --with-default-sys-path=/sw/pkgsrc/bootstrap/work/share/mk --with-machine-arch=hppa )
checking whether system has timezone Europe/Berlin... no, using UTC-1
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... unsupported
checking for gcc option to enable C99 features... -std=gnu99
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking for sys/time.h... yes
checking for vfork.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) unsupported
checking for gcc option to enable C99 features... (cached) -std=gnu99
checking for a BSD-compatible install... ./install-sh -c
Using: BMAKE_PATH_MAX=1023
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/param.h... yes
checking for sys/sysctl.h... no
checking for ar.h... yes
checking for err.h... no
checking for fcntl.h... yes
checking for libgen.h... yes
checking for limits.h... yes
checking for paths.h... no
checking for poll.h... yes
checking for ranlib.h... yes
checking for regex.h... yes
checking for sys/mman.h... yes
checking for sys/select.h... no
checking for sys/socket.h... yes
checking for sys/time.h... (cached) yes
checking for sys/uio.h... yes
checking for utime.h... yes
checking for sys/cdefs.h... no
checking for __attribute__... yes
checking whether byte ordering is bigendian... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for int64_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uint32_t... yes
checking for gcc -std=gnu99 options needed to detect all undeclared functions... none needed
checking whether sys_siglist is declared... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for sig_atomic_t... yes
checking for fork... yes
checking for vfork... yes
checking for vprintf... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for wait3 that fills in rusage... yes
checking for err... no
checking for errx... no
checking for getcwd... yes
checking for getenv... yes
checking for getwd... yes
checking for killpg... yes
checking for putenv... yes
checking for select... yes
checking for setenv... no
checking for setpgid... yes
checking for setrlimit... yes
checking for setsid... yes
checking for sigaddset... yes
checking for sigpending... yes
checking for sigprocmask... yes
checking for sigsetmask... yes
checking for sigsuspend... yes
checking for sigvec... no
checking for snprintf... yes
checking for strerror... yes
checking for stresep... no
checking for strftime... yes
checking for strsep... no
checking for strtod... yes
checking for strtol... yes
checking for strtoll... no
checking for strtoul... yes
checking for sysctl... no
checking for unsetenv... no
checking for vsnprintf... yes
checking for wait3... yes
checking for wait4... no
checking for waitpid... yes
checking for warn... no
checking for warnx... no
checking for getopt... yes
checking for realpath... yes
checking for dirname... yes
checking for sigaction... yes
checking for stresep... (cached) no
checking for strlcpy... no
checking for emalloc in -lutil... no
checking whether stat file-mode macros are broken... no
checking if compiler supports __func__
checking if diff -u works... no
checking for MACHINE & MACHINE_ARCH...
defaults: MACHINE=9000/785, MACHINE_ARCH=9000
Using: MACHINE=9000/785, MACHINE_ARCH=hppa
Using: MKSRC=${srcdir}/mk
configure: creating ./config.status
config.status: creating makefile
config.status: creating Makefile.config
config.status: creating unit-tests/Makefile.config
config.status: creating make-bootstrap.sh
config.status: creating config.h
You can now run
sh ./make-bootstrap.sh
to produce a fully functional bmake.
===> running: (cd /sw/pkgsrc/bootstrap/work/bmake && /bin/sh make-bootstrap.sh)
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -DMAKE_VERSION="20240909" -DMACHINE="9000/785" -DMACHINE_ARCH="hppa" -DMAKE_OS="" -D_PATH_DEFSYSPATH="/sw/pkgsrc/bootstrap/work/share/mk" -o main.o /sw/pkgsrc/bootstrap/work/bmake/main.c
/sw/pkgsrc/bootstrap/work/bmake/main.c: In function 'Main_SetObjdir':
/sw/pkgsrc/bootstrap/work/bmake/main.c:755: warning: implicit declaration of function 'setenv'
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o arch.o /sw/pkgsrc/bootstrap/work/bmake/arch.c
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o buf.o /sw/pkgsrc/bootstrap/work/bmake/buf.c
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o compat.o /sw/pkgsrc/bootstrap/work/bmake/compat.c
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o cond.o /sw/pkgsrc/bootstrap/work/bmake/cond.c
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o dir.o /sw/pkgsrc/bootstrap/work/bmake/dir.c
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o for.o /sw/pkgsrc/bootstrap/work/bmake/for.c
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o hash.o /sw/pkgsrc/bootstrap/work/bmake/hash.c
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o lst.o /sw/pkgsrc/bootstrap/work/bmake/lst.c
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o make.o /sw/pkgsrc/bootstrap/work/bmake/make.c
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o make_malloc.o /sw/pkgsrc/bootstrap/work/bmake/make_malloc.c
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o metachar.o /sw/pkgsrc/bootstrap/work/bmake/metachar.c
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o parse.o /sw/pkgsrc/bootstrap/work/bmake/parse.c
/sw/pkgsrc/bootstrap/work/bmake/parse.c: In function 'ParseGmakeExport':
/sw/pkgsrc/bootstrap/work/bmake/parse.c:2286: warning: implicit declaration of function 'setenv'
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o sigcompat.o /sw/pkgsrc/bootstrap/work/bmake/sigcompat.c
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o str.o /sw/pkgsrc/bootstrap/work/bmake/str.c
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o suff.o /sw/pkgsrc/bootstrap/work/bmake/suff.c
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o targ.o /sw/pkgsrc/bootstrap/work/bmake/targ.c
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o trace.o /sw/pkgsrc/bootstrap/work/bmake/trace.c
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o var.o /sw/pkgsrc/bootstrap/work/bmake/var.c
/sw/pkgsrc/bootstrap/work/bmake/var.c: In function 'Var_Delete':
/sw/pkgsrc/bootstrap/work/bmake/var.c:605: warning: implicit declaration of function 'unsetenv'
/sw/pkgsrc/bootstrap/work/bmake/var.c: In function 'ExportVarEnv':
/sw/pkgsrc/bootstrap/work/bmake/var.c:704: warning: implicit declaration of function 'setenv'
/sw/pkgsrc/bootstrap/work/bmake/var.c: In function 'num_val':
/sw/pkgsrc/bootstrap/work/bmake/var.c:3350: warning: implicit declaration of function 'strtoll'
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o util.o /sw/pkgsrc/bootstrap/work/bmake/util.c
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o stresep.o /sw/pkgsrc/bootstrap/work/bmake/stresep.c
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o strlcpy.o /sw/pkgsrc/bootstrap/work/bmake/strlcpy.c
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o meta.o /sw/pkgsrc/bootstrap/work/bmake/meta.c
/sw/pkgsrc/bootstrap/work/bmake/meta.c: In function 'meta_oodate':
/sw/pkgsrc/bootstrap/work/bmake/meta.c:1143: warning: implicit declaration of function 'err'
/sw/pkgsrc/bootstrap/work/bmake/meta.c:1165: warning: implicit declaration of function 'warnx'
gcc -std=gnu99 -c -g -O2 -I. -I/sw/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/sw/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -o job.o /sw/pkgsrc/bootstrap/work/bmake/job.c
gcc -std=gnu99 -o bmake main.o job.o meta.o arch.o buf.o compat.o cond.o dir.o for.o hash.o lst.o make.o make_malloc.o metachar.o parse.o sigcompat.o str.o suff.o targ.o trace.o var.o util.o stresep.o strlcpy.o
===> running: /bin/sh /sw/pkgsrc/bootstrap/work/bin/install-sh -c -o root -g sys -m 755 /sw/pkgsrc/bootstrap/work/bmake/bmake /sw/pkgsrc/bootstrap/work/bin/bmake
===> Building libnbcompat
===> running: /bin/sh /sw/pkgsrc/bootstrap/work/bin/install-sh -d -o root -g sys /sw/pkgsrc/bootstrap/work/libnbcompat
===> running: (cd /sw/pkgsrc/bootstrap/work/libnbcompat; /bin/sh ./configure -C --prefix=/sw/pkgsrc/bootstrap/pkg --infodir=/sw/pkgsrc/bootstrap/pkg/info --mandir=/sw/pkgsrc/bootstrap/pkg/man --sysconfdir=/sw/pkgsrc/bootstrap/pkg/etc --enable-bsd-getopt --enable-db && /sw/pkgsrc/bootstrap/work/bin/bmake -j1)
configure: creating cache config.cache
checking build system type... hppa2.0w-hp-hpux11.11
checking host system type... hppa2.0w-hp-hpux11.11
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... unsupported
checking for gcc option to enable C99 features... -std=gnu99
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking for sys/time.h... yes
checking for vfork.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... ./install-sh -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for ar... ar
checking for fparseln in -lutil... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for _Bool... yes
checking for stdbool.h that conforms to C99... yes
checking for alloca.h... yes
checking for assert.h... yes
checking for bsd/libutil.h... no
checking for ctype.h... yes
checking for dirent.h... yes
checking for endian.h... no
checking for err.h... no
checking for errno.h... yes
checking for fcntl.h... yes
checking for fnmatch.h... yes
checking for fts.h... no
checking for grp.h... yes
checking for inttypes.h... (cached) yes
checking for libutil.h... no
checking for limits.h... yes
checking for machine/endian.h... no
checking for ndir.h... no
checking for netdb.h... yes
checking for paths.h... no
checking for pwd.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stddef.h... yes
checking for stdint.h... (cached) no
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/byteorder.h... yes
checking for sys/cdefs.h... no
checking for sys/dir.h... yes
checking for sys/endian.h... no
checking for sys/file.h... yes
checking for sys/mkdev.h... no
checking for sys/ndir.h... no
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/statfs.h... no
checking for sys/statvfs.h... yes
checking for sys/time.h... (cached) yes
checking for sys/ttycom.h... no
checking for sys/types.h... (cached) yes
checking for sys/uio.h... yes
checking for sys/vfs.h... yes
checking for sysexits.h... yes
checking for termcap.h... no
checking for time.h... yes
checking for tzfile.h... no
checking for unistd.h... (cached) yes
checking for util.h... no
checking for utime.h... yes
checking for sys/mman.h... yes
checking for sys/mount.h... yes
checking for glob.h... yes
checking for sys/queue.h... no
checking for regex.h... yes
checking for regexec... yes
checking for va_copy... yes
checking for __builtin_va_copy... yes
checking for md5.h... no
checking for md5.h... (cached) no
checking for rmd160.h... no
checking for sha1.h... no
checking for sha2.h... no
checking for MD5File... no
checking for RMD160File... no
checking for SHA1File... no
checking for SHA512_File... no
checking for issetugid... no
checking for gcc -std=gnu99 options needed to detect all undeclared functions... none needed
checking whether optarg is declared... yes
checking whether optind is declared... yes
checking whether optreset is declared... no
checking for getopt.h... no
configure: Using included getopt and getopt_long
checking for vis.h... no
checking for __attribute__... yes
checking for size_t... yes
checking for uintptr_t... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for 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 long long... yes
checking for long double... yes
checking for fsid_t... yes
checking whether byte ordering is bigendian... yes
checking size of off_t... 4
checking whether strerror_r is declared... no
checking whether strerror_r returns char *... no
checking for pid_t... yes
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether snprintf is declared... yes
checking whether asprintf is declared... no
checking whether strdup is declared... yes
checking whether isblank is declared... yes
checking for err... no
checking for fgetln... no
checking for fnmatch... yes
checking for fparseln... no
checking for getdelim... no
checking for getenv... yes
checking for getline... no
checking for lchflags... no
checking for lchmod... yes
checking for lchown... yes
checking for lutimes... no
checking for mkdtemp... no
checking for mkstemp... yes
checking for setenv... no
checking for setgroupent... no
checking for setpassent... no
checking for setprogname... no
checking for shquote... no
checking for statvfs... yes
checking for strerror... yes
checking for strlcat... no
checking for strlcpy... no
checking for strmode... no
checking for strsep... no
checking for strtoll... no
checking for unsetenv... no
checking for usleep... yes
checking for utimes... yes
checking for warn... no
checking for library containing socket... none required
checking for gethostbyname in -lnsl... yes
checking for socklen_t... yes
checking for struct addrinfo... yes
checking for struct in6_addr... no
checking for struct sockaddr_in6... no
checking for struct sockaddr_storage... no
checking for getnameinfo... yes
checking for gai_strerror... yes
checking for getaddrinfo... yes
checking for getenv... (cached) yes
checking for setenv... (cached) no
checking for unsetenv... (cached) no
checking for mkdtemp... (cached) no
checking for mkstemp... (cached) yes
checking for setlocale... yes
checking for getmode... no
checking for setmode... no
checking for strnlen... no
checking for strndup... no
checking for memrchr... no
checking whether endgrent is declared... no
checking whether endpwent is declared... yes
checking whether setpassent is declared... no
checking for gid_from_group... no
checking for group_from_gid... no
checking for pwcache_groupdb... no
checking for pwcache_userdb... no
checking for uid_from_user... no
checking for user_from_uid... no
checking for fts_open... no
checking for timegm... no
checking for poll.h... 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 select... yes
checking for getpgrp... (cached) yes
checking whether getpgrp requires zero arguments... yes
checking for struct statfs.f_flags... no
checking for struct statfs.f_fsize... no
checking for struct statfs.f_iosize... no
checking for struct dirent.d_namlen... yes
checking for DIR.dd_fd... yes
checking for dirfd... no
checking for *printf() support for %lld... yes
checking for strtoll... (cached) no
checking if vsnprintf is standards compliant... no
configure: updating cache config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nbcompat/config.h
awk -f nbcompat.awk nbcompat/config.h > nbcompat/nbconfig.h
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c glob.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c md5c.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c md5hl.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c rmd160.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c rmd160hl.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c sha1.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c sha1hl.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c sha2.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c sha2hl.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c getopt.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c getopt_long.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c vis.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c unvis.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c asprintf.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c err.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c fgetln.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c fparseln.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c getdelim.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c getline.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c lchflags.c
lchflags.c: In function 'lchflags':
lchflags.c:55: warning: implicit declaration of function 'chflags'
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c lutimes.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c mkdtemp.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c setenv.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c setgroupent.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c setpassent.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c setprogname.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c shquote.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c strlcat.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c strlcpy.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c strmode.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c strsep.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c strtoll.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c unsetenv.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c warn.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c findenv.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c gettemp.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c setmode.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c strnlen.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c strndup.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c memrchr.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c pwcache.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c fts.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c timegm.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/btree/bt_close.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/btree/bt_conv.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/btree/bt_debug.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/btree/bt_delete.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/btree/bt_get.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/btree/bt_open.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/btree/bt_overflow.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/btree/bt_page.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/btree/bt_put.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/btree/bt_search.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/btree/bt_seq.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/btree/bt_split.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/btree/bt_utils.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/db/db.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/hash/hash.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/hash/hash_bigkey.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/hash/hash_buf.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/hash/hash_func.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/hash/hash_log2.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/hash/hash_page.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/hash/ndbm.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/hash/ndbmdatum.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/mpool/mpool.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/recno/rec_close.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/recno/rec_delete.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/recno/rec_get.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/recno/rec_open.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/recno/rec_put.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/recno/rec_search.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/recno/rec_seq.c
gcc -std=gnu99 -D__DBINTERFACE_PRIVATE -I. -I. -g -O2 -DHAVE_CONFIG_H -c /sw/pkgsrc/bootstrap/work/libnbcompat/db/recno/rec_utils.c
ar cr libnbcompat.a glob.o md5c.o md5hl.o rmd160.o rmd160hl.o sha1.o sha1hl.o sha2.o sha2hl.o getopt.o getopt_long.o vis.o unvis.o asprintf.o err.o fgetln.o fparseln.o getdelim.o getline.o lchflags.o lutimes.o mkdtemp.o setenv.o setgroupent.o setpassent.o setprogname.o shquote.o strlcat.o strlcpy.o strmode.o strsep.o strtoll.o unsetenv.o warn.o findenv.o gettemp.o setmode.o strnlen.o strndup.o memrchr.o pwcache.o fts.o timegm.o bt_close.o bt_conv.o bt_debug.o bt_delete.o bt_get.o bt_open.o bt_overflow.o bt_page.o bt_put.o bt_search.o bt_seq.o bt_split.o bt_utils.o db.o hash.o hash_bigkey.o hash_buf.o hash_func.o hash_log2.o hash_page.o ndbm.o ndbmdatum.o mpool.o rec_close.o rec_delete.o rec_get.o rec_open.o rec_put.o rec_search.o rec_seq.o rec_utils.o
ranlib libnbcompat.a
===> Bootstrapping awk
===> running: /bin/sh /sw/pkgsrc/bootstrap/work/bin/install-sh -d -o root -g sys /sw/pkgsrc/bootstrap/work/awk
===> running: (cd /sw/pkgsrc/bootstrap/work/awk && /sw/pkgsrc/bootstrap/work/bin/bmake -j1 -f Makefile CC="cc" CFLAGS="")
cc -c awkgram.tab.c
cpp: "awk.h", line 26: error 4036: Can't open include file 'stdint.h'.
*** [awkgram.tab.o] Error code 1
bmake: stopped making "a.out" in /sw/pkgsrc/bootstrap/work/awk
bmake: 1 error
bmake: stopped making "a.out" in /sw/pkgsrc/bootstrap/work/awk
===> exited with status 2
aborted.
-----
>How-To-Repeat:
1. Install HP-UX 11.11 incl. all patches on 64bit PA-RISC machine
2. Setup GCC as per pkgsrc instructions
3. Run ./bootstrap --abi 32 --compiler gcc
4. Fails at building awk due to lack of stdint.h
>Fix:
Home |
Main Index |
Thread Index |
Old Index