===> bootstrap command: ./bootstrap --workdir /tmp/bs ===> bootstrap started: Sun Aug 25 15:13:21 JST 2013 Working directory is: /tmp/bs ===> running: /bin/sed -e 's|@DEFAULT_INSTALL_MODE@|'0755'|' /h/usr/pkgsrc/sysutils/install-sh/files/install-sh.in > /tmp/bs/bin/install-sh ===> running: /bin/chmod +x /tmp/bs/bin/install-sh ===> Creating default mk.conf in /tmp/bs ===> running: /bin/sh /tmp/bs/bin/install-sh -d -o root -g root /tmp/bs/sbin ===> running: /bin/sh /tmp/bs/bin/install-sh -d -o root -g root /tmp/bs/share/mk ===> Bootstrapping mk-files ===> running: (cd /h/usr/pkgsrc/pkgtools/bootstrap-mk-files/files && env CP=/bin/cp OPSYS=FreeMiNT MK_DST=/tmp/bs/share/mk ROOT_GROUP=root ROOT_USER=root SED=/bin/sed SYSCONFDIR=/usr/pkg/etc /bin/sh ./bootstrap.sh) ===> Bootstrapping bmake ===> running: /bin/sh /tmp/bs/bin/install-sh -d -o root -g root /tmp/bs/bmake ===> running: (cd /tmp/bs/bmake && env /bin/sh ./boot-strap -q -o bootstrap.FreeMiNT --prefix=/tmp/bs --sysconfdir=/tmp/bs --mksrc none --with-default-sys-path=/tmp/bs/share/mk ) 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c checking for ANSI C header files... (cached) yes 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 ar.h usability... yes checking ar.h presence... yes checking for ar.h... yes checking err.h usability... yes checking err.h presence... yes checking for err.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking ranlib.h usability... no checking ranlib.h presence... no checking for ranlib.h... no checking for string.h... (cached) yes checking sys/mman.h usability... no checking sys/mman.h presence... no checking for sys/mman.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/cdefs.h usability... yes checking sys/cdefs.h presence... yes checking for sys/cdefs.h... yes checking whether sys/cdefs.h is compatible... no checking for __attribute__... yes checking whether byte ordering is bigendian... yes checking for an ANSI C-conforming const... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking whether sys_siglist is declared... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for vprintf... yes checking for _doprnt... yes checking for wait3 that fills in rusage... no checking for err... yes checking for errx... yes checking for getcwd... yes checking for getenv... yes checking for getopt... yes checking for getwd... yes checking for killpg... yes checking for mmap... no checking for putenv... yes checking for select... yes checking for setenv... yes checking for setpgid... yes checking for setrlimit... yes checking for sigaction... yes checking for sigvec... yes checking for snprintf... yes checking for strerror... yes checking for strftime... yes checking for strsep... yes checking for strtod... yes checking for strtol... yes checking for unsetenv... yes checking for vsnprintf... yes checking for wait3... yes checking for wait4... yes checking for waitpid... yes checking for warn... yes checking for warnx... yes checking for getenv... (cached) yes checking for realpath... yes checking for dirname... yes checking for stresep... no checking for strlcpy... yes checking for emalloc in -lutil... no checking whether stat file-mode macros are broken... no checking for struct stat.st_rdev... yes checking if diff -u works... yes checking for MACHINE & MACHINE_ARCH... defaults: MACHINE=freemint1, MACHINE_ARCH=m68k Using: MACHINE=freemint1, MACHINE_ARCH=m68k Using: MKSRC=mk configure: creating ./config.status config.status: creating Makefile config.status: creating make-bootstrap.sh config.status: creating unit-tests/Makefile config.status: creating config.h You can now run ./make-bootstrap.sh to produce a fully functional bmake. gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -DMAKE_VERSION="20110606" -DMACHINE="freemint1" -DMACHINE_ARCH="m68k" -D_PATH_DEFSYSPATH="/tmp/bs/share/mk" -o main.o /tmp/bs/bmake/main.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o arch.o /tmp/bs/bmake/arch.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o buf.o /tmp/bs/bmake/buf.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o compat.o /tmp/bs/bmake/compat.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o cond.o /tmp/bs/bmake/cond.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o dir.o /tmp/bs/bmake/dir.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o for.o /tmp/bs/bmake/for.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o getopt.o /tmp/bs/bmake/getopt.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o hash.o /tmp/bs/bmake/hash.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o job.o /tmp/bs/bmake/job.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o make.o /tmp/bs/bmake/make.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o make_malloc.o /tmp/bs/bmake/make_malloc.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o parse.o /tmp/bs/bmake/parse.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o sigcompat.o /tmp/bs/bmake/sigcompat.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o str.o /tmp/bs/bmake/str.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o strlist.o /tmp/bs/bmake/strlist.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o suff.o /tmp/bs/bmake/suff.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o targ.o /tmp/bs/bmake/targ.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o trace.o /tmp/bs/bmake/trace.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o var.o /tmp/bs/bmake/var.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o util.o /tmp/bs/bmake/util.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstAppend.o /tmp/bs/bmake/lst.lib/lstAppend.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstDupl.o /tmp/bs/bmake/lst.lib/lstDupl.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstInit.o /tmp/bs/bmake/lst.lib/lstInit.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstOpen.o /tmp/bs/bmake/lst.lib/lstOpen.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstAtEnd.o /tmp/bs/bmake/lst.lib/lstAtEnd.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstEnQueue.o /tmp/bs/bmake/lst.lib/lstEnQueue.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstInsert.o /tmp/bs/bmake/lst.lib/lstInsert.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstAtFront.o /tmp/bs/bmake/lst.lib/lstAtFront.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstIsAtEnd.o /tmp/bs/bmake/lst.lib/lstIsAtEnd.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstClose.o /tmp/bs/bmake/lst.lib/lstClose.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstFind.o /tmp/bs/bmake/lst.lib/lstFind.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstIsEmpty.o /tmp/bs/bmake/lst.lib/lstIsEmpty.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstRemove.o /tmp/bs/bmake/lst.lib/lstRemove.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstConcat.o /tmp/bs/bmake/lst.lib/lstConcat.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstFindFrom.o /tmp/bs/bmake/lst.lib/lstFindFrom.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstLast.o /tmp/bs/bmake/lst.lib/lstLast.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstReplace.o /tmp/bs/bmake/lst.lib/lstReplace.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstFirst.o /tmp/bs/bmake/lst.lib/lstFirst.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstDatum.o /tmp/bs/bmake/lst.lib/lstDatum.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstForEach.o /tmp/bs/bmake/lst.lib/lstForEach.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstMember.o /tmp/bs/bmake/lst.lib/lstMember.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstSucc.o /tmp/bs/bmake/lst.lib/lstSucc.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstDeQueue.o /tmp/bs/bmake/lst.lib/lstDeQueue.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstForEachFrom.o /tmp/bs/bmake/lst.lib/lstForEachFrom.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstDestroy.o /tmp/bs/bmake/lst.lib/lstDestroy.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstNext.o /tmp/bs/bmake/lst.lib/lstNext.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o lstPrev.o /tmp/bs/bmake/lst.lib/lstPrev.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o stresep.o /tmp/bs/bmake/stresep.c gcc -c -g -O2 -I. -I/tmp/bs/bmake -DHAVE_CONFIG_H -I/tmp/bs/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -o meta.o /tmp/bs/bmake/meta.c gcc -o bmake main.o meta.o arch.o buf.o compat.o cond.o dir.o for.o getopt.o hash.o job.o make.o make_malloc.o parse.o sigcompat.o str.o strlist.o suff.o targ.o trace.o var.o util.o lstAppend.o lstDupl.o lstInit.o lstOpen.o lstAtEnd.o lstEnQueue.o lstInsert.o lstAtFront.o lstIsAtEnd.o lstClose.o lstFind.o lstIsEmpty.o lstRemove.o lstConcat.o lstFindFrom.o lstLast.o lstReplace.o lstFirst.o lstDatum.o lstForEach.o lstMember.o lstSucc.o lstDeQueue.o lstForEachFrom.o lstDestroy.o lstNext.o lstPrev.o stresep.o cd /tmp/bs/bmake/bootstrap.FreeMiNT/unit-tests && /tmp/bs/bmake/bootstrap.FreeMiNT/bmake -r -m / TEST_MAKE=/tmp/bs/bmake/bootstrap.FreeMiNT/bmake test /tmp/bs/bmake/bootstrap.FreeMiNT/bmake -f Makefile > test.out 2>&1 /usr/bin/diff -u /tmp/bs/bmake/unit-tests/test.exp test.out --- /tmp/bs/bmake/unit-tests/test.exp Sun Aug 25 15:13:22 2013 +++ test.out Sun Aug 25 15:17:08 2013 @@ -27,6 +27,7 @@ make: "error" line 3: just FYI make: "error" line 4: warning: this could be serious make: "error" line 5: this is fatal +*** Error code 1 (ignored) UT_DOLLAR=This is $UT_FU UT_FOO=foobar is fubar UT_FU=fubar @@ -46,11 +47,12 @@ At first, I am happy and now: sad -.ERROR: Looks like 'sad' is upset. *** Error code 1 Stop. make: stopped in unit-tests +.ERROR: Looks like 'sad' is upset. +*** Error code 1 (ignored) simple.1 simple.1 simple.2 @@ -342,5 +344,3 @@ five v=is x k=is x six v=is y k=is y show-v v=override k=override -*** Error code 1 (ignored) -*** Error code 1 (ignored) *** Error code 1 Stop. bmake: stopped in /tmp/bs/bmake/bootstrap.FreeMiNT/unit-tests *** Error code 1 Stop. bmake: stopped in /tmp/bs/bmake/bootstrap.FreeMiNT ===> exited with status 1 aborted.