Wednesday, April 11, 2018

Building GNU make 4.2.1

The basic building strategy and general assumptions have been detailed on a previous post: Staged Building:

 $ pwd
/stage/build

$ ./gnu-build-preparation ../source/.../make-4.2.1.tar.bz2
...

$ cd make/make-4.2.1-64

$ source ../setenv 64

CONFIG_SHELL=/usr/bin/bash

CC=/usr/bin/gcc CFLAGS=-m64 -march=core2 -std=gnu89

CXX=/usr/bin/g++ CXXFLAGS=-m64 -march=core2 -std=gnu++03

LD=/usr/bin/ld LDFLAGS=-m64 -march=core2

PATH=/opt/gnu/bin:/usr/gnu/bin:/usr/bin:/usr/sbin

PKG_CONFIG_PATH=

Suggested build sequence:

Fine-tune/fix config.h.in, Makefile.in and others...

$ ./configure \
    --build=x86_64-pc-solaris2.11 \
    --prefix=/opt/... \
    ...


$ gmake -j3


For IPS package:

$ gmake DESTDIR=/stage/prototype/make/4.2.1/64 install


For immediate use:

$ sudo gmake install
$ sudo zfs snapshot -r .../opt/...@make-4.2.1


$ ./configure \
    --build=x86_64-pc-solaris2.11 \
    --prefix=/opt/gnu
checking for a BSD-compatible install... /usr/gnu/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/gnu/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... /usr/bin/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 /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to accept ISO C89... none needed
checking whether /usr/bin/gcc understands -c and -o together... yes
checking dependency style of /usr/bin/gcc... gcc3
checking how to run the C preprocessor... /usr/bin/gcc -E
checking for grep that handles long lines and -e... /usr/gnu/bin/grep
checking for egrep... /usr/gnu/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) /usr/bin/gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/gcc accepts -g... (cached) yes
checking for /usr/bin/gcc option to accept ISO C89... (cached) none needed
checking whether /usr/bin/gcc understands -c and -o together... (cached) yes
checking dependency style of /usr/bin/gcc... (cached) gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... /usr/bin/gcc -E
checking for ar... ar
checking for perl... perl
checking the archiver (ar) interface... ar
checking build system type... x86_64-pc-solaris2.11
checking host system type... x86_64-pc-solaris2.11
checking for library containing strerror... none required
checking for a sed that does not truncate output... /usr/gnu/bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /usr/gnu/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/gnu/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by /usr/bin/gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for 64-bit host... no
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for library containing getpwnam... none required
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for stdlib.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for off_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for unsigned long long int... yes
checking for uintmax_t... yes
checking for nanoseconds field of struct stat... st_mtim.tv_nsec
checking whether to use high resolution file timestamps... yes
checking for library containing clock_gettime... none required
checking whether system uses MSDOS-style paths... no
checking for standard gettimeofday... yes
checking for strdup... yes
checking for strndup... yes
checking for mkstemp... yes
checking for mktemp... yes
checking for fdopen... yes
checking for fileno... yes
checking for dup... yes
checking for dup2... yes
checking for getcwd... yes
checking for realpath... yes
checking for sigsetmask... no
checking for sigaction... yes
checking for getgroups... yes
checking for seteuid... yes
checking for setegid... yes
checking for setlinebuf... yes
checking for setreuid... yes
checking for setregid... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for setvbuf... yes
checking for pipe... yes
checking for strerror... yes
checking for strsignal... yes
checking for lstat... yes
checking for readlink... yes
checking for atexit... yes
checking for isatty... yes
checking for ttyname... yes
checking for pselect... yes
checking whether bsd_signal is declared... yes
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 strcasecmp... yes
checking for strncasecmp... yes
checking for strcmpi... no
checking for strncmpi... no
checking for stricmp... no
checking for strnicmp... no
checking for working strcoll... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether closedir returns void... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GUILE... no
checking for GUILE... no
checking for getloadavg... yes
checking for pstat_getdynamic... no
checking for kstat_open in -lkstat... yes
checking for getloadavg... yes
checking whether getloadavg requires setgid... no
checking whether sys_siglist is declared... no
checking whether _sys_siglist is declared... yes
checking whether __sys_siglist is declared... no
checking for sys/wait.h... yes
checking for waitpid... yes
checking for wait3... yes
checking for union wait... no
checking for SA_RESTART... yes
checking whether dlopen is declared... yes
checking whether dlsym is declared... yes
checking whether dlerror is declared... yes
checking for library containing dlopen... none required
checking If the linker accepts -Wl,--export-dynamic... no
checking If the linker accepts -rdynamic... yes
checking for location of SCCS get command... get
checking if SCCS get command understands -G... yes
checking if system libc has GNU glob... no
checking if malloc debugging is wanted... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating glob/Makefile
config.status: creating po/Makefile.in
config.status: creating config/Makefile
config.status: creating doc/Makefile
config.status: creating w32/Makefile
config.status: creating tests/config-flags.pm
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: creating build.sh


$ gmake -j3
gmake  all-recursive
gmake[1]: Entering directory `/stage/build/make/make-4.2.1-64'
Making all in glob
gmake[2]: Entering directory `/stage/build/make/make-4.2.1-64/glob'
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I..     -m64 -march=core2 -std=gnu89 -MT glob.o -MD -MP -MF .deps/glob.Tpo -c -o glob.o glob.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I..     -m64 -march=core2 -std=gnu89 -MT fnmatch.o -MD -MP -MF .deps/fnmatch.Tpo -c -o fnmatch.o fnmatch.c
mv -f .deps/fnmatch.Tpo .deps/fnmatch.Po
mv -f .deps/glob.Tpo .deps/glob.Po
rm -f libglob.a
ar cru libglob.a glob.o fnmatch.o
ranlib libglob.a
gmake[2]: Leaving directory `/stage/build/make/make-4.2.1-64/glob'
Making all in config
gmake[2]: Entering directory `/stage/build/make/make-4.2.1-64/config'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/stage/build/make/make-4.2.1-64/config'
Making all in po
gmake[2]: Entering directory `/stage/build/make/make-4.2.1-64/po'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/stage/build/make/make-4.2.1-64/po'
Making all in doc
gmake[2]: Entering directory `/stage/build/make/make-4.2.1-64/doc'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/stage/build/make/make-4.2.1-64/doc'
gmake[2]: Entering directory `/stage/build/make/make-4.2.1-64'
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT ar.o -MD -MP -MF .deps/ar.Tpo -c -o ar.o ar.c
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT arscan.o -MD -MP -MF .deps/arscan.Tpo -c -o arscan.o arscan.c
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT commands.o -MD -MP -MF .deps/commands.Tpo -c -o commands.o commands.c
mv -f .deps/ar.Tpo .deps/ar.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT default.o -MD -MP -MF .deps/default.Tpo -c -o default.o default.c
mv -f .deps/arscan.Tpo .deps/arscan.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT dir.o -MD -MP -MF .deps/dir.Tpo -c -o dir.o dir.c
mv -f .deps/commands.Tpo .deps/commands.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT expand.o -MD -MP -MF .deps/expand.Tpo -c -o expand.o expand.c
mv -f .deps/default.Tpo .deps/default.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o file.c
mv -f .deps/dir.Tpo .deps/dir.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT function.o -MD -MP -MF .deps/function.Tpo -c -o function.o function.c
mv -f .deps/expand.Tpo .deps/expand.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o getopt.c
mv -f .deps/file.Tpo .deps/file.Po
mv -f .deps/getopt.Tpo .deps/getopt.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT getopt1.o -MD -MP -MF .deps/getopt1.Tpo -c -o getopt1.o getopt1.c
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT guile.o -MD -MP -MF .deps/guile.Tpo -c -o guile.o guile.c
mv -f .deps/getopt1.Tpo .deps/getopt1.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT implicit.o -MD -MP -MF .deps/implicit.Tpo -c -o implicit.o implicit.c
mv -f .deps/guile.Tpo .deps/guile.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT job.o -MD -MP -MF .deps/job.Tpo -c -o job.o job.c
mv -f .deps/function.Tpo .deps/function.Po
job.c: In function ‘child_execute_job’:
job.c:2136:3: warning: ‘vfork’ is deprecated (declared at /usr/include/unistd.h:535) [-Wdeprecated-declarations]
   pid = vfork();
   ^
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT load.o -MD -MP -MF .deps/load.Tpo -c -o load.o load.c
mv -f .deps/implicit.Tpo .deps/implicit.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT loadapi.o -MD -MP -MF .deps/loadapi.Tpo -c -o loadapi.o loadapi.c
mv -f .deps/load.Tpo .deps/load.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/loadapi.Tpo .deps/loadapi.Po
mv -f .deps/job.Tpo .deps/job.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o misc.c
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT posixos.o -MD -MP -MF .deps/posixos.Tpo -c -o posixos.o posixos.c
mv -f .deps/posixos.Tpo .deps/posixos.Po
mv -f .deps/misc.Tpo .deps/misc.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT output.o -MD -MP -MF .deps/output.Tpo -c -o output.o output.c
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT read.o -MD -MP -MF .deps/read.Tpo -c -o read.o read.c
mv -f .deps/main.Tpo .deps/main.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT remake.o -MD -MP -MF .deps/remake.Tpo -c -o remake.o remake.c
mv -f .deps/output.Tpo .deps/output.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT rule.o -MD -MP -MF .deps/rule.Tpo -c -o rule.o rule.c
mv -f .deps/rule.Tpo .deps/rule.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT signame.o -MD -MP -MF .deps/signame.Tpo -c -o signame.o signame.c
mv -f .deps/read.Tpo .deps/read.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT strcache.o -MD -MP -MF .deps/strcache.Tpo -c -o strcache.o strcache.c
mv -f .deps/signame.Tpo .deps/signame.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT variable.o -MD -MP -MF .deps/variable.Tpo -c -o variable.o variable.c
mv -f .deps/remake.Tpo .deps/remake.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT version.o -MD -MP -MF .deps/version.Tpo -c -o version.o version.c
mv -f .deps/version.Tpo .deps/version.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT vpath.o -MD -MP -MF .deps/vpath.Tpo -c -o vpath.o vpath.c
mv -f .deps/strcache.Tpo .deps/strcache.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT hash.o -MD -MP -MF .deps/hash.Tpo -c -o hash.o hash.c
mv -f .deps/vpath.Tpo .deps/vpath.Po
/usr/bin/gcc -DLOCALEDIR=\"/opt/gnu/share/locale\" -DLIBDIR=\"/opt/gnu/lib\" -DINCLUDEDIR=\"/opt/gnu/include\" -DHAVE_CONFIG_H -I.  -I./glob    -m64 -march=core2 -std=gnu89 -MT remote-stub.o -MD -MP -MF .deps/remote-stub.Tpo -c -o remote-stub.o remote-stub.c
mv -f .deps/hash.Tpo .deps/hash.Po
mv -f .deps/variable.Tpo .deps/variable.Po
mv -f .deps/remote-stub.Tpo .deps/remote-stub.Po
/usr/bin/gcc  -m64 -march=core2 -std=gnu89 -rdynamic -m64 -march=core2 -o make ar.o arscan.o commands.o default.o dir.o expand.o file.o function.o getopt.o getopt1.o guile.o implicit.o job.o load.o loadapi.o main.o misc.o posixos.o output.o read.o remake.o rule.o signame.o strcache.o variable.o version.o vpath.o hash.o remote-stub.o glob/libglob.a -lkstat  
gmake[2]: Leaving directory `/stage/build/make/make-4.2.1-64'
gmake[1]: Leaving directory `/stage/build/make/make-4.2.1-64'


$ gmake DESTDIR=/stage/prototype/make/4.2.1/64 install
Password:
Making install in glob
gmake[1]: Entering directory `/stage/build/make/make-4.2.1-64/glob'
gmake[2]: Entering directory `/stage/build/make/make-4.2.1-64/glob'
gmake[2]: Nothing to be done for `install-exec-am'.
gmake[2]: Nothing to be done for `install-data-am'.
gmake[2]: Leaving directory `/stage/build/make/make-4.2.1-64/glob'
gmake[1]: Leaving directory `/stage/build/make/make-4.2.1-64/glob'
Making install in config
gmake[1]: Entering directory `/stage/build/make/make-4.2.1-64/config'
gmake[2]: Entering directory `/stage/build/make/make-4.2.1-64/config'
gmake[2]: Nothing to be done for `install-exec-am'.
gmake[2]: Nothing to be done for `install-data-am'.
gmake[2]: Leaving directory `/stage/build/make/make-4.2.1-64/config'
gmake[1]: Leaving directory `/stage/build/make/make-4.2.1-64/config'
Making install in po
gmake[1]: Entering directory `/stage/build/make/make-4.2.1-64/po'
installing be.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/be/LC_MESSAGES/make.mo
installing cs.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/cs/LC_MESSAGES/make.mo
installing da.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/da/LC_MESSAGES/make.mo
installing de.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/de/LC_MESSAGES/make.mo
installing es.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/es/LC_MESSAGES/make.mo
installing fi.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/fi/LC_MESSAGES/make.mo
installing fr.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/fr/LC_MESSAGES/make.mo
installing ga.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/ga/LC_MESSAGES/make.mo
installing gl.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/gl/LC_MESSAGES/make.mo
installing he.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/he/LC_MESSAGES/make.mo
installing hr.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/hr/LC_MESSAGES/make.mo
installing id.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/id/LC_MESSAGES/make.mo
installing it.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/it/LC_MESSAGES/make.mo
installing ja.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/ja/LC_MESSAGES/make.mo
installing ko.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/ko/LC_MESSAGES/make.mo
installing lt.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/lt/LC_MESSAGES/make.mo
installing nl.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/nl/LC_MESSAGES/make.mo
installing pl.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/pl/LC_MESSAGES/make.mo
installing pt_BR.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/pt_BR/LC_MESSAGES/make.mo
installing ru.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/ru/LC_MESSAGES/make.mo
installing sv.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/sv/LC_MESSAGES/make.mo
installing tr.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/tr/LC_MESSAGES/make.mo
installing uk.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/uk/LC_MESSAGES/make.mo
installing vi.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/vi/LC_MESSAGES/make.mo
installing zh_CN.gmo as /stage/prototype/make/4.2.1/64/opt/gnu/share/locale/zh_CN/LC_MESSAGES/make.mo
if test "make" = "gettext-tools"; then \
  /usr/gnu/bin/mkdir -p /stage/prototype/make/4.2.1/64/opt/gnu/share/gettext/po; \
  for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do \
    /usr/gnu/bin/install -c -m 644 ./$file \
            /stage/prototype/make/4.2.1/64/opt/gnu/share/gettext/po/$file; \
  done; \
  for file in Makevars; do \
    rm -f /stage/prototype/make/4.2.1/64/opt/gnu/share/gettext/po/$file; \
  done; \
else \
  : ; \
fi
gmake[1]: Leaving directory `/stage/build/make/make-4.2.1-64/po'
Making install in doc
gmake[1]: Entering directory `/stage/build/make/make-4.2.1-64/doc'
gmake[2]: Entering directory `/stage/build/make/make-4.2.1-64/doc'
gmake[2]: Nothing to be done for `install-exec-am'.
 /usr/gnu/bin/mkdir -p '/stage/prototype/make/4.2.1/64/opt/gnu/share/info'
 /usr/gnu/bin/install -c -m 644 ./make.info ./make.info-1 ./make.info-2 '/stage/prototype/make/4.2.1/64/opt/gnu/share/info'
 install-info --info-dir='/stage/prototype/make/4.2.1/64/opt/gnu/share/info' '/stage/prototype/make/4.2.1/64/opt/gnu/share/info/make.info'
gmake[2]: Leaving directory `/stage/build/make/make-4.2.1-64/doc'
gmake[1]: Leaving directory `/stage/build/make/make-4.2.1-64/doc'
gmake[1]: Entering directory `/stage/build/make/make-4.2.1-64'
gmake[2]: Entering directory `/stage/build/make/make-4.2.1-64'
 /usr/gnu/bin/mkdir -p '/stage/prototype/make/4.2.1/64/opt/gnu/bin'
  /usr/gnu/bin/install -c make '/stage/prototype/make/4.2.1/64/opt/gnu/bin'
 /usr/gnu/bin/mkdir -p '/stage/prototype/make/4.2.1/64/opt/gnu/include'
 /usr/gnu/bin/install -c -m 644 gnumake.h '/stage/prototype/make/4.2.1/64/opt/gnu/include'
 /usr/gnu/bin/mkdir -p '/stage/prototype/make/4.2.1/64/opt/gnu/share/man/man1'
 /usr/gnu/bin/install -c -m 644 make.1 '/stage/prototype/make/4.2.1/64/opt/gnu/share/man/man1'
gmake[2]: Leaving directory `/stage/build/make/make-4.2.1-64'
gmake[1]: Leaving directory `/stage/build/make/make-4.2.1-64'


$ sudo gmake install
Making install in glob
gmake[1]: Entering directory `/stage/build/make/make-4.2.1-64/glob'
gmake[2]: Entering directory `/stage/build/make/make-4.2.1-64/glob'
gmake[2]: Nothing to be done for `install-exec-am'.
gmake[2]: Nothing to be done for `install-data-am'.
gmake[2]: Leaving directory `/stage/build/make/make-4.2.1-64/glob'
gmake[1]: Leaving directory `/stage/build/make/make-4.2.1-64/glob'
Making install in config
gmake[1]: Entering directory `/stage/build/make/make-4.2.1-64/config'
gmake[2]: Entering directory `/stage/build/make/make-4.2.1-64/config'
gmake[2]: Nothing to be done for `install-exec-am'.
gmake[2]: Nothing to be done for `install-data-am'.
gmake[2]: Leaving directory `/stage/build/make/make-4.2.1-64/config'
gmake[1]: Leaving directory `/stage/build/make/make-4.2.1-64/config'
Making install in po
gmake[1]: Entering directory `/stage/build/make/make-4.2.1-64/po'
installing be.gmo as /opt/gnu/share/locale/be/LC_MESSAGES/make.mo
installing cs.gmo as /opt/gnu/share/locale/cs/LC_MESSAGES/make.mo
installing da.gmo as /opt/gnu/share/locale/da/LC_MESSAGES/make.mo
installing de.gmo as /opt/gnu/share/locale/de/LC_MESSAGES/make.mo
installing es.gmo as /opt/gnu/share/locale/es/LC_MESSAGES/make.mo
installing fi.gmo as /opt/gnu/share/locale/fi/LC_MESSAGES/make.mo
installing fr.gmo as /opt/gnu/share/locale/fr/LC_MESSAGES/make.mo
installing ga.gmo as /opt/gnu/share/locale/ga/LC_MESSAGES/make.mo
installing gl.gmo as /opt/gnu/share/locale/gl/LC_MESSAGES/make.mo
installing he.gmo as /opt/gnu/share/locale/he/LC_MESSAGES/make.mo
installing hr.gmo as /opt/gnu/share/locale/hr/LC_MESSAGES/make.mo
installing id.gmo as /opt/gnu/share/locale/id/LC_MESSAGES/make.mo
installing it.gmo as /opt/gnu/share/locale/it/LC_MESSAGES/make.mo
installing ja.gmo as /opt/gnu/share/locale/ja/LC_MESSAGES/make.mo
installing ko.gmo as /opt/gnu/share/locale/ko/LC_MESSAGES/make.mo
installing lt.gmo as /opt/gnu/share/locale/lt/LC_MESSAGES/make.mo
installing nl.gmo as /opt/gnu/share/locale/nl/LC_MESSAGES/make.mo
installing pl.gmo as /opt/gnu/share/locale/pl/LC_MESSAGES/make.mo
installing pt_BR.gmo as /opt/gnu/share/locale/pt_BR/LC_MESSAGES/make.mo
installing ru.gmo as /opt/gnu/share/locale/ru/LC_MESSAGES/make.mo
installing sv.gmo as /opt/gnu/share/locale/sv/LC_MESSAGES/make.mo
installing tr.gmo as /opt/gnu/share/locale/tr/LC_MESSAGES/make.mo
installing uk.gmo as /opt/gnu/share/locale/uk/LC_MESSAGES/make.mo
installing vi.gmo as /opt/gnu/share/locale/vi/LC_MESSAGES/make.mo
installing zh_CN.gmo as /opt/gnu/share/locale/zh_CN/LC_MESSAGES/make.mo
if test "make" = "gettext-tools"; then \
  /usr/gnu/bin/mkdir -p /opt/gnu/share/gettext/po; \
  for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do \
    /usr/gnu/bin/install -c -m 644 ./$file \
            /opt/gnu/share/gettext/po/$file; \
  done; \
  for file in Makevars; do \
    rm -f /opt/gnu/share/gettext/po/$file; \
  done; \
else \
  : ; \
fi
gmake[1]: Leaving directory `/stage/build/make/make-4.2.1-64/po'
Making install in doc
gmake[1]: Entering directory `/stage/build/make/make-4.2.1-64/doc'
gmake[2]: Entering directory `/stage/build/make/make-4.2.1-64/doc'
gmake[2]: Nothing to be done for `install-exec-am'.
 /usr/gnu/bin/mkdir -p '/opt/gnu/share/info'
 /usr/gnu/bin/install -c -m 644 ./make.info ./make.info-1 ./make.info-2 '/opt/gnu/share/info'
 install-info --info-dir='/opt/gnu/share/info' '/opt/gnu/share/info/make.info'
gmake[2]: Leaving directory `/stage/build/make/make-4.2.1-64/doc'
gmake[1]: Leaving directory `/stage/build/make/make-4.2.1-64/doc'
gmake[1]: Entering directory `/stage/build/make/make-4.2.1-64'
gmake[2]: Entering directory `/stage/build/make/make-4.2.1-64'
 /usr/gnu/bin/mkdir -p '/opt/gnu/bin'
  /usr/gnu/bin/install -c make '/opt/gnu/bin'
 /usr/gnu/bin/mkdir -p '/opt/gnu/include'
 /usr/gnu/bin/install -c -m 644 gnumake.h '/opt/gnu/include'
 /usr/gnu/bin/mkdir -p '/opt/gnu/share/man/man1'
 /usr/gnu/bin/install -c -m 644 make.1 '/opt/gnu/share/man/man1'
gmake[2]: Leaving directory `/stage/build/make/make-4.2.1-64'
gmake[1]: Leaving directory `/stage/build/make/make-4.2.1-64'


$ sudo zfs snapshot -r .../opt/gnu@make-4.2.1