Thursday, June 7, 2018

Building GNU libiconv 1.15

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

 $ pwd
/stage/build

$ ./gnu-build-preparation ../source/.../libiconv-1.15.tar.gz
...

$ cd libiconv/libiconv-1.15-32

$ source ../setenv-1.15 32

Configuration file [version 4]: /stage/build/libiconv/ld.config-32 
 Platform:     32-bit LSB 80386
 Default Library Path (ELF):   /opt/gnu/lib:/opt/usr/lib:/lib:/usr/lib
 Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (... default)

Command line:
  crle 

   -c /stage/build/libiconv/ld.config-32 
   -l /opt/gnu/lib:/opt/usr/lib:/lib:/usr/lib

LD_CONFIG_32=/stage/build/libiconv/ld.config-32

CONFIG_SHELL=

CC=/usr/bin/gcc CFLAGS=-m32 -march=nocona -mtune=nocona -std=gnu89

CXX=/usr/bin/g++ CXXFLAGS=-m32 -march=nocona -mtune=nocona -std=gnu++98

LD=/usr/bin/ld LDFLAGS=-m32 -march=nocona -mtune=nocona

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

PKG_CONFIG_PATH=/opt/usr/lib/pkgconfig

Suggested build sequence:

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

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

$ gmake -j2

$ su
# source ../setenv-1.15 32

For IPS package:

# gmake DESTDIR=/stage/prototype/libiconv/1.15/32 install

For immediate use:

# gmake install
# zfs snapshot -r .../opt/...@libiconv-1.15


NOTE
This build is somewhat tricky because it has a cyclic dependency on GNU gettext, which depends back on GNU libiconv. One way to solve the issue is to build GNU libiconv first using --without-libintl-prefix, then GNU gettext and finally GNU libiconv once more using --with-libintl-prefix=/opt/gnu. But before getting to GNU gettext, one should pass by GNU libunistring, GNU libxml2 and perhaps ncurses.
$ ./configure \
  --build=i386-pc-solaris2.11 \
  --prefix=/opt/gnu \
  --without-libintl-prefix
checking for a BSD-compatible install... /usr/bin/ginstall -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 whether make sets $(MAKE)... (cached) yes
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 for style of include used by make... GNU
checking dependency style of /usr/bin/gcc... none
checking how to run the C preprocessor... /usr/bin/gcc -E
checking for strip... /usr/gnu/bin/strip
checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
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 whether _XOPEN_SOURCE should be defined... no
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking for ar... (cached) ar
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
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 path variable... LD_LIBRARY_PATH
checking whether to activate relocatable installation... no
checking how to copy files... cp -p
checking how to make hard links... ln
checking whether ln -s works... yes
checking how to print strings... print -r
checking for a sed that does not truncate output... /usr/gnu/bin/sed
checking for fgrep... /usr/gnu/bin/grep -F
checking for ld used by /usr/bin/gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/gnu/bin/nm -B
checking the name lister (/usr/gnu/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 786240
checking how to convert i386-pc-solaris2.11 file names to i386-pc-solaris2.11 format... func_convert_file_noop
checking how to convert i386-pc-solaris2.11 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for archiver @FILE support... @
checking for strip... /usr/gnu/bin/strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/gnu/bin/nm -B output from /usr/bin/gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/gnu/bin/dd
checking how to truncate binary pipes... /usr/gnu/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/gcc supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc option to produce PIC... -fPIC -DPIC
checking if /usr/bin/gcc PIC flag -fPIC -DPIC works... yes
checking if /usr/bin/gcc static flag -static works... no
checking if /usr/bin/gcc supports -c -o file.o... yes
checking if /usr/bin/gcc supports -c -o file.o... (cached) yes
checking whether the /usr/bin/gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for windres... no
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... no
checking for shared library run path origin... done
checking for 64-bit host... no
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
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 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 mbstate_t... yes
checking for wchar_t... yes
checking for getc_unlocked... yes
checking for mbrtowc... yes
checking for wcrtomb... yes
checking for mbsinit... yes
checking for setlocale... yes
checking whether is standalone... yes
checking for memmove... yes
checking for nl_langinfo and CODESET... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/param.h... yes
checking for sys/time.h... yes
checking for sys/socket.h... yes
checking for limits.h... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for symlink... yes
checking for canonicalize_file_name... yes
checking for getcwd... yes
checking for readlink... yes
checking for realpath... yes
checking for readlinkat... yes
checking for getprogname... yes
checking for getexecname... yes
checking for gettimeofday... yes
checking for lstat... yes
checking for _set_invalid_parameter_handler... no
checking for setenv... yes
checking for working fcntl.h... yes
checking for wchar.h... (cached) yes
checking for EILSEQ... yes
checking byte ordering... little endian
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether // is distinct from /... no
checking whether realpath works... yes
checking if environ is properly declared... no
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for complete errno.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for pid_t... yes
checking for mode_t... yes
checking for C/C++ restrict keyword... no
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking whether gettimeofday is declared without a macro... yes
checking whether limits.h has ULLONG_WIDTH etc.... no
checking whether lstat correctly handles trailing slash... yes
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for sigset_t... yes
checking for SIGPIPE... yes
checking whether setenv is declared... yes
checking for ssize_t... yes
checking for uid_t in sys/types.h... yes
checking whether C symbols are prefixed with underscore at the linker level... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for wint_t... yes
checking whether wint_t is too small... no
checking whether stdint.h conforms to C99... no
checking sys/inttypes.h usability... yes
checking sys/inttypes.h presence... yes
checking for sys/inttypes.h... yes
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking for bit size of ptrdiff_t... 32
checking for bit size of size_t... 32
checking for bit size of sig_atomic_t... 32
checking for bit size of wchar_t... 32
checking for bit size of wint_t... 32
checking whether sig_atomic_t is signed... yes
checking whether wchar_t is signed... yes
checking whether wint_t is signed... yes
checking for ptrdiff_t integer literal suffix...
checking for size_t integer literal suffix... u
checking for sig_atomic_t integer literal suffix...
checking for wchar_t integer literal suffix... l
checking for wint_t integer literal suffix... l
checking whether strerror(0) succeeds... yes
checking whether ffsl is declared without a macro... yes
checking whether ffsll is declared without a macro... yes
checking whether memmem is declared without a macro... yes
checking whether mempcpy is declared without a macro... no
checking whether memrchr is declared without a macro... no
checking whether rawmemchr is declared without a macro... no
checking whether stpcpy is declared without a macro... yes
checking whether stpncpy is declared without a macro... yes
checking whether strchrnul is declared without a macro... yes
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... yes
checking whether strnlen is declared without a macro... yes
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... yes
checking whether strcasestr is declared without a macro... yes
checking whether strtok_r is declared without a macro... yes
checking whether strerror_r is declared without a macro... yes
checking whether strsignal is declared without a macro... yes
checking whether strverscmp is declared without a macro... no
checking whether stat file-mode macros are broken... no
checking for struct timespec in


$ gmake -j2
builddir="`pwd`"; cd libcharset && gmake all && gmake install-lib libdir="$builddir/lib" includedir="$builddir/lib"
gmake[1]: Entering directory `/stage/build/libiconv/libiconv-1.15-32/libcharset'
if [ ! -d include ] ; then mkdir include ; fi
cp ./include/libcharset.h.in include/libcharset.h
cd lib && gmake all
gmake[2]: Entering directory `/stage/build/libiconv/libiconv-1.15-32/libcharset/lib'
/bin/sh ../libtool --mode=compile /usr/bin/gcc -I. -I. -I.. -I./.. -I../include -m32 -march=nocona -mtune=nocona -std=gnu89   -DLIBDIR=\"/opt/gnu/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/gnu/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c
/bin/sh ../libtool --mode=compile /usr/bin/gcc -I. -I. -I.. -I./.. -I../include -m32 -march=nocona -mtune=nocona -std=gnu89   -DLIBDIR=\"/opt/gnu/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/gnu/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c
libtool: compile:  /usr/bin/gcc -I. -I. -I.. -I./.. -I../include -m32 -march=nocona -mtune=nocona -std=gnu89 "-DLIBDIR=\"/opt/gnu/lib\"" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY "-DINSTALLDIR=\"/opt/gnu/lib\"" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c  -fPIC -DPIC -o .libs/localcharset.o
libtool: compile:  /usr/bin/gcc -I. -I. -I.. -I./.. -I../include -m32 -march=nocona -mtune=nocona -std=gnu89 "-DLIBDIR=\"/opt/gnu/lib\"" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY "-DINSTALLDIR=\"/opt/gnu/lib\"" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c  -fPIC -DPIC -o .libs/relocatable.o
libtool: compile:  /usr/bin/gcc -I. -I. -I.. -I./.. -I../include -m32 -march=nocona -mtune=nocona -std=gnu89 "-DLIBDIR=\"/opt/gnu/lib\"" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY "-DINSTALLDIR=\"/opt/gnu/lib\"" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c -o localcharset.o >/dev/null 2>&1
libtool: compile:  /usr/bin/gcc -I. -I. -I.. -I./.. -I../include -m32 -march=nocona -mtune=nocona -std=gnu89 "-DLIBDIR=\"/opt/gnu/lib\"" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY "-DINSTALLDIR=\"/opt/gnu/lib\"" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c -o relocatable.o >/dev/null 2>&1
/bin/sh ./config.charset 'i386-pc-solaris2.11' > t-charset.alias
sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' ./ref-add.sin > t-ref-add.sed
mv t-charset.alias charset.alias
sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' ./ref-del.sin > t-ref-del.sed
mv t-ref-add.sed ref-add.sed
/bin/sh ../libtool --mode=link /usr/bin/gcc -m32 -march=nocona -mtune=nocona -m32 -march=nocona -mtune=nocona -std=gnu89  -o libcharset.la -rpath /opt/gnu/lib -version-info 1:0:0 -no-undefined localcharset.lo relocatable.lo
mv t-ref-del.sed ref-del.sed
libtool: link: /usr/bin/gcc -shared  -fPIC -DPIC -Wl,-z -Wl,text -Wl,-h -Wl,libcharset.so.1 -o .libs/libcharset.so.1.0.0  .libs/localcharset.o .libs/relocatable.o   -lc  -m32 -march=nocona -mtune=nocona -m32 -march=nocona -mtune=nocona 
libtool: link: (cd ".libs" && rm -f "libcharset.so.1" && ln -s "libcharset.so.1.0.0" "libcharset.so.1")
libtool: link: (cd ".libs" && rm -f "libcharset.so" && ln -s "libcharset.so.1.0.0" "libcharset.so")
libtool: link: ar cru .libs/libcharset.a  localcharset.o relocatable.o
libtool: link: ranlib .libs/libcharset.a
libtool: link: ( cd ".libs" && rm -f "libcharset.la" && ln -s "../libcharset.la" "libcharset.la" )
gmake[2]: Leaving directory `/stage/build/libiconv/libiconv-1.15-32/libcharset/lib'
gmake[1]: Leaving directory `/stage/build/libiconv/libiconv-1.15-32/libcharset'
gmake[1]: Entering directory `/stage/build/libiconv/libiconv-1.15-32/libcharset'
cd lib && gmake all
gmake[2]: Entering directory `/stage/build/libiconv/libiconv-1.15-32/libcharset/lib'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/stage/build/libiconv/libiconv-1.15-32/libcharset/lib'
cd lib && gmake install-lib libdir='/stage/build/libiconv/libiconv-1.15-32/lib' includedir='/stage/build/libiconv/libiconv-1.15-32/lib'
gmake[2]: Entering directory `/stage/build/libiconv/libiconv-1.15-32/libcharset/lib'
/bin/sh ../build-aux/mkinstalldirs /stage/build/libiconv/libiconv-1.15-32/lib
/bin/sh ../libtool --mode=install /usr/bin/ginstall -c libcharset.la /stage/build/libiconv/libiconv-1.15-32/lib/libcharset.la
libtool: install: /usr/bin/ginstall -c .libs/libcharset.so.1.0.0 /stage/build/libiconv/libiconv-1.15-32/lib/libcharset.so.1.0.0
libtool: install: (cd /stage/build/libiconv/libiconv-1.15-32/lib && { ln -s -f libcharset.so.1.0.0 libcharset.so.1 || { rm -f libcharset.so.1 && ln -s libcharset.so.1.0.0 libcharset.so.1; }; })
libtool: install: (cd /stage/build/libiconv/libiconv-1.15-32/lib && { ln -s -f libcharset.so.1.0.0 libcharset.so || { rm -f libcharset.so && ln -s libcharset.so.1.0.0 libcharset.so; }; })
libtool: install: chmod +x /stage/build/libiconv/libiconv-1.15-32/lib/libcharset.so.1.0.0
libtool: install: /usr/bin/ginstall -c .libs/libcharset.lai /stage/build/libiconv/libiconv-1.15-32/lib/libcharset.la
libtool: install: /usr/bin/ginstall -c .libs/libcharset.a /stage/build/libiconv/libiconv-1.15-32/lib/libcharset.a
libtool: install: chmod 644 /stage/build/libiconv/libiconv-1.15-32/lib/libcharset.a
libtool: install: ranlib /stage/build/libiconv/libiconv-1.15-32/lib/libcharset.a
libtool: warning: remember to run 'libtool --finish /opt/gnu/lib'
test -f /stage/build/libiconv/libiconv-1.15-32/lib/charset.alias && orig=/stage/build/libiconv/libiconv-1.15-32/lib/charset.alias \
                                        || orig=charset.alias; \
        sed -f ref-add.sed $orig > /stage/build/libiconv/libiconv-1.15-32/lib/t-charset.alias; \
        /usr/bin/ginstall -c -m 644 /stage/build/libiconv/libiconv-1.15-32/lib/t-charset.alias /stage/build/libiconv/libiconv-1.15-32/lib/charset.alias; \
        rm -f /stage/build/libiconv/libiconv-1.15-32/lib/t-charset.alias
gmake[2]: Leaving directory `/stage/build/libiconv/libiconv-1.15-32/libcharset/lib'
/bin/sh ./build-aux/mkinstalldirs /stage/build/libiconv/libiconv-1.15-32/lib
/usr/bin/ginstall -c -m 644 include/libcharset.h /stage/build/libiconv/libiconv-1.15-32/lib/libcharset.h
/usr/bin/ginstall -c -m 644 include/localcharset.h.inst /stage/build/libiconv/libiconv-1.15-32/lib/localcharset.h
gmake[1]: Leaving directory `/stage/build/libiconv/libiconv-1.15-32/libcharset'
cd lib && gmake all
gmake[1]: Entering directory `/stage/build/libiconv/libiconv-1.15-32/lib'
/bin/sh ../libtool --mode=compile /usr/bin/gcc -I. -I. -I../include -I./../include -I.. -I./..  -m32 -march=nocona -mtune=nocona -std=gnu89  -DLIBDIR=\"/opt/gnu/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/gnu/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./iconv.c
/bin/sh ../libtool --mode=compile /usr/bin/gcc -I. -I. -I../include -I./../include -I.. -I./..  -m32 -march=nocona -mtune=nocona -std=gnu89  -DLIBDIR=\"/opt/gnu/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/gnu/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./../libcharset/lib/localcharset.c
libtool: compile:  /usr/bin/gcc -I. -I. -I../include -I./../include -I.. -I./.. -m32 -march=nocona -mtune=nocona -std=gnu89 "-DLIBDIR=\"/opt/gnu/lib\"" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY "-DINSTALLDIR=\"/opt/gnu/lib\"" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./../libcharset/lib/localcharset.c  -fPIC -DPIC -o .libs/localcharset.o
libtool: compile:  /usr/bin/gcc -I. -I. -I../include -I./../include -I.. -I./.. -m32 -march=nocona -mtune=nocona -std=gnu89 "-DLIBDIR=\"/opt/gnu/lib\"" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY "-DINSTALLDIR=\"/opt/gnu/lib\"" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./iconv.c  -fPIC -DPIC -o .libs/iconv.o
/bin/sh ../libtool --mode=compile /usr/bin/gcc -I. -I. -I../include -I./../include -I.. -I./..  -m32 -march=nocona -mtune=nocona -std=gnu89  -DLIBDIR=\"/opt/gnu/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/gnu/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./relocatable.c
libtool: compile:  /usr/bin/gcc -I. -I. -I../include -I./../include -I.. -I./.. -m32 -march=nocona -mtune=nocona -std=gnu89 "-DLIBDIR=\"/opt/gnu/lib\"" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY "-DINSTALLDIR=\"/opt/gnu/lib\"" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./relocatable.c  -fPIC -DPIC -o .libs/relocatable.o
/bin/sh ../libtool --mode=link /usr/bin/gcc -m32 -march=nocona -mtune=nocona  -m32 -march=nocona -mtune=nocona -std=gnu89  -o libiconv.la -rpath /opt/gnu/lib -version-info 8:0:6 -no-undefined iconv.lo localcharset.lo relocatable.lo 
libtool: link: /usr/bin/gcc -shared  -fPIC -DPIC -Wl,-z -Wl,text -Wl,-h -Wl,libiconv.so.2 -o .libs/libiconv.so.2.6.0  .libs/iconv.o .libs/localcharset.o .libs/relocatable.o   -lc  -m32 -march=nocona -mtune=nocona -m32 -march=nocona -mtune=nocona 
libtool: link: (cd ".libs" && rm -f "libiconv.so.2" && ln -s "libiconv.so.2.6.0" "libiconv.so.2")
libtool: link: (cd ".libs" && rm -f "libiconv.so" && ln -s "libiconv.so.2.6.0" "libiconv.so")
libtool: link: ( cd ".libs" && rm -f "libiconv.la" && ln -s "../libiconv.la" "libiconv.la" )
gmake[1]: Leaving directory `/stage/build/libiconv/libiconv-1.15-32/lib'
cd preload && gmake all
gmake[1]: Entering directory `/stage/build/libiconv/libiconv-1.15-32/preload'
rm -f -r objects
mkdir objects && \
        for f in ./../lib/iconv.c ./../libcharset/lib/localcharset.c ./../lib/relocatable.c; do \
          /bin/sh ./libtool --mode=compile /usr/bin/gcc -I../lib -I./../lib -I../include -I./../include -I.. -I./..  -m32 -march=nocona -mtune=nocona -std=gnu89  -DLIBDIR=\"/opt/gnu/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/gnu/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DPACKAGE_NAME=\"libiconv\" -DPACKAGE_TARNAME=\"libiconv\" -DPACKAGE_VERSION=\"0\" -DPACKAGE_STRING=\"libiconv\ 0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DINSTALLPREFIX=\"/opt/gnu\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_VISIBILITY=0 -DLIBICONV_PLUG -c $f -o objects/`basename $f | sed -e 's,\.c$,.o,'` || exit 1; \
        done && \
        /bin/sh ./libtool --mode=link /usr/bin/gcc -m32 -march=nocona -mtune=nocona -m32 -march=nocona -mtune=nocona -std=gnu89  -o libiconv.la -rpath /opt/gnu/lib -no-undefined objects/*.lo && \
        rm -f -r objects
libtool: compile:  /usr/bin/gcc -I../lib -I./../lib -I../include -I./../include -I.. -I./.. -m32 -march=nocona -mtune=nocona -std=gnu89 "-DLIBDIR=\"/opt/gnu/lib\"" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY "-DINSTALLDIR=\"/opt/gnu/lib\"" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate "-DPACKAGE_NAME=\"libiconv\"" "-DPACKAGE_TARNAME=\"libiconv\"" "-DPACKAGE_VERSION=\"0\"" "-DPACKAGE_STRING=\"libiconv 0\"" "-DPACKAGE_BUGREPORT=\"\"" "-DPACKAGE_URL=\"\"" "-DINSTALLPREFIX=\"/opt/gnu\"" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 "-DLT_OBJDIR=\".libs/\"" -DHAVE_VISIBILITY=0 -DLIBICONV_PLUG -c ./../lib/iconv.c  -fPIC -DPIC -o objects/.libs/iconv.o
libtool: compile:  /usr/bin/gcc -I../lib -I./../lib -I../include -I./../include -I.. -I./.. -m32 -march=nocona -mtune=nocona -std=gnu89 "-DLIBDIR=\"/opt/gnu/lib\"" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY "-DINSTALLDIR=\"/opt/gnu/lib\"" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate "-DPACKAGE_NAME=\"libiconv\"" "-DPACKAGE_TARNAME=\"libiconv\"" "-DPACKAGE_VERSION=\"0\"" "-DPACKAGE_STRING=\"libiconv 0\"" "-DPACKAGE_BUGREPORT=\"\"" "-DPACKAGE_URL=\"\"" "-DINSTALLPREFIX=\"/opt/gnu\"" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 "-DLT_OBJDIR=\".libs/\"" -DHAVE_VISIBILITY=0 -DLIBICONV_PLUG -c ./../libcharset/lib/localcharset.c  -fPIC -DPIC -o objects/.libs/localcharset.o
libtool: compile:  /usr/bin/gcc -I../lib -I./../lib -I../include -I./../include -I.. -I./.. -m32 -march=nocona -mtune=nocona -std=gnu89 "-DLIBDIR=\"/opt/gnu/lib\"" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY "-DINSTALLDIR=\"/opt/gnu/lib\"" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate "-DPACKAGE_NAME=\"libiconv\"" "-DPACKAGE_TARNAME=\"libiconv\"" "-DPACKAGE_VERSION=\"0\"" "-DPACKAGE_STRING=\"libiconv 0\"" "-DPACKAGE_BUGREPORT=\"\"" "-DPACKAGE_URL=\"\"" "-DINSTALLPREFIX=\"/opt/gnu\"" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 "-DLT_OBJDIR=\".libs/\"" -DHAVE_VISIBILITY=0 -DLIBICONV_PLUG -c ./../lib/relocatable.c  -fPIC -DPIC -o objects/.libs/relocatable.o
libtool: link: /usr/bin/gcc -shared  -fPIC -DPIC -Wl,-z -Wl,text -Wl,-h -Wl,libiconv.so.0 -o .libs/libiconv.so.0.0.0  objects/.libs/iconv.o objects/.libs/localcharset.o objects/.libs/relocatable.o   -lc  -m32 -march=nocona -mtune=nocona -m32 -march=nocona -mtune=nocona 
libtool: link: (cd ".libs" && rm -f "libiconv.so.0" && ln -s "libiconv.so.0.0.0" "libiconv.so.0")
libtool: link: (cd ".libs" && rm -f "libiconv.so" && ln -s "libiconv.so.0.0.0" "libiconv.so")
libtool: link: ( cd ".libs" && rm -f "libiconv.la" && ln -s "../libiconv.la" "libiconv.la" )
cp .libs/libiconv.so preloadable_libiconv.so
gmake[1]: Leaving directory `/stage/build/libiconv/libiconv-1.15-32/preload'
cd srclib && gmake all
gmake[1]: Entering directory `/stage/build/libiconv/libiconv-1.15-32/srclib'
rm -f alloca.h-t alloca.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          cat ./alloca.in.h; \
        } > alloca.h-t && \
        mv -f alloca.h-t alloca.h
rm -f c++defs.h-t c++defs.h && \
        sed -n -e '/_GL_CXXDEFS/,$p' \
          < ../build-aux/snippet/c++defs.h \
          > c++defs.h-t && \
        mv c++defs.h-t c++defs.h
rm -f arg-nonnull.h-t arg-nonnull.h && \
        sed -n -e '/GL_ARG_NONNULL/,$p' \
          < ../build-aux/snippet/arg-nonnull.h \
          > arg-nonnull.h-t && \
        mv arg-nonnull.h-t arg-nonnull.h
rm -f warn-on-use.h-t warn-on-use.h && \
        sed -n -e '/^.ifndef/,$p' \
          < ../build-aux/snippet/warn-on-use.h \
          > warn-on-use.h-t && \
        mv warn-on-use.h-t warn-on-use.h
rm -f limits.h-t limits.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_LIMITS_H''@||g' \
              < ./limits.in.h; \
        } > limits.h-t && \
        mv limits.h-t limits.h
rm -f stddef.h-t stddef.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_STDDEF_H''@||g' \
              -e 's|@''HAVE_MAX_ALIGN_T''@|0|g' \
              -e 's|@''HAVE_WCHAR_T''@|1|g' \
              -e 's|@''REPLACE_NULL''@|0|g' \
              < ./stddef.in.h; \
        } > stddef.h-t && \
        mv stddef.h-t stddef.h
rm -f stdint.h-t stdint.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's/@''HAVE_STDINT_H''@/1/g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_STDINT_H''@||g' \
              -e 's/@''HAVE_C99_STDINT_H''@/0/g' \
              -e 's/@''HAVE_SYS_TYPES_H''@/1/g' \
              -e 's/@''HAVE_INTTYPES_H''@/1/g' \
              -e 's/@''HAVE_SYS_INTTYPES_H''@/1/g' \
              -e 's/@''HAVE_SYS_BITYPES_H''@/0/g' \
              -e 's/@''HAVE_WCHAR_H''@/1/g' \
              -e 's/@''HAVE_LONG_LONG_INT''@/1/g' \
              -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/1/g' \
              -e 's/@''APPLE_UNIVERSAL_BUILD''@/0/g' \
              -e 's/@''BITSIZEOF_PTRDIFF_T''@/32/g' \
              -e 's/@''PTRDIFF_T_SUFFIX''@//g' \
              -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/32/g' \
              -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/1/g' \
              -e 's/@''SIG_ATOMIC_T_SUFFIX''@//g' \
              -e 's/@''BITSIZEOF_SIZE_T''@/32/g' \
              -e 's/@''SIZE_T_SUFFIX''@/u/g' \
              -e 's/@''BITSIZEOF_WCHAR_T''@/32/g' \
              -e 's/@''HAVE_SIGNED_WCHAR_T''@/1/g' \
              -e 's/@''WCHAR_T_SUFFIX''@/l/g' \
              -e 's/@''BITSIZEOF_WINT_T''@/32/g' \
              -e 's/@''HAVE_SIGNED_WINT_T''@/1/g' \
              -e 's/@''WINT_T_SUFFIX''@/l/g' \
              -e 's/@''GNULIB_OVERRIDES_WINT_T''@/0/g' \
              < ./stdint.in.h; \
        } > stdint.h-t && \
        mv stdint.h-t stdint.h
rm -f stdio.h-t stdio.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_STDIO_H''@||g' \
              -e 's/@''GNULIB_DPRINTF''@/0/g' \
              -e 's/@''GNULIB_FCLOSE''@/0/g' \
              -e 's/@''GNULIB_FDOPEN''@/0/g' \
              -e 's/@''GNULIB_FFLUSH''@/0/g' \
              -e 's/@''GNULIB_FGETC''@/1/g' \
              -e 's/@''GNULIB_FGETS''@/1/g' \
              -e 's/@''GNULIB_FOPEN''@/0/g' \
              -e 's/@''GNULIB_FPRINTF''@/1/g' \
              -e 's/@''GNULIB_FPRINTF_POSIX''@/0/g' \
              -e 's/@''GNULIB_FPURGE''@/0/g' \
              -e 's/@''GNULIB_FPUTC''@/1/g' \
              -e 's/@''GNULIB_FPUTS''@/1/g' \
              -e 's/@''GNULIB_FREAD''@/1/g' \
              -e 's/@''GNULIB_FREOPEN''@/0/g' \
              -e 's/@''GNULIB_FSCANF''@/1/g' \
              -e 's/@''GNULIB_FSEEK''@/0/g' \
              -e 's/@''GNULIB_FSEEKO''@/0/g' \
              -e 's/@''GNULIB_FTELL''@/0/g' \
              -e 's/@''GNULIB_FTELLO''@/0/g' \
              -e 's/@''GNULIB_FWRITE''@/1/g' \
              -e 's/@''GNULIB_GETC''@/1/g' \
              -e 's/@''GNULIB_GETCHAR''@/1/g' \
              -e 's/@''GNULIB_GETDELIM''@/0/g' \
              -e 's/@''GNULIB_GETLINE''@/0/g' \
              -e 's/@''GNULIB_OBSTACK_PRINTF''@/0/g' \
              -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/0/g' \
              -e 's/@''GNULIB_PCLOSE''@/0/g' \
              -e 's/@''GNULIB_PERROR''@/0/g' \
              -e 's/@''GNULIB_POPEN''@/0/g' \
              -e 's/@''GNULIB_PRINTF''@/1/g' \
              -e 's/@''GNULIB_PRINTF_POSIX''@/0/g' \
              -e 's/@''GNULIB_PUTC''@/1/g' \
              -e 's/@''GNULIB_PUTCHAR''@/1/g' \
              -e 's/@''GNULIB_PUTS''@/1/g' \
              -e 's/@''GNULIB_REMOVE''@/0/g' \
              -e 's/@''GNULIB_RENAME''@/0/g' \
              -e 's/@''GNULIB_RENAMEAT''@/0/g' \
              -e 's/@''GNULIB_SCANF''@/1/g' \
              -e 's/@''GNULIB_SNPRINTF''@/0/g' \
              -e 's/@''GNULIB_SPRINTF_POSIX''@/0/g' \
              -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/0/g' \
              -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/1/g' \
              -e 's/@''GNULIB_TMPFILE''@/0/g' \
              -e 's/@''GNULIB_VASPRINTF''@/0/g' \
              -e 's/@''GNULIB_VDPRINTF''@/0/g' \
              -e 's/@''GNULIB_VFPRINTF''@/1/g' \
              -e 's/@''GNULIB_VFPRINTF_POSIX''@/0/g' \
              -e 's/@''GNULIB_VFSCANF''@/0/g' \
              -e 's/@''GNULIB_VSCANF''@/0/g' \
              -e 's/@''GNULIB_VPRINTF''@/1/g' \
              -e 's/@''GNULIB_VPRINTF_POSIX''@/0/g' \
              -e 's/@''GNULIB_VSNPRINTF''@/0/g' \
              -e 's/@''GNULIB_VSPRINTF_POSIX''@/0/g' \
              < ./stdio.in.h | \
          sed -e 's|@''HAVE_DECL_FPURGE''@|1|g' \
              -e 's|@''HAVE_DECL_FSEEKO''@|1|g' \
              -e 's|@''HAVE_DECL_FTELLO''@|1|g' \
              -e 's|@''HAVE_DECL_GETDELIM''@|1|g' \
              -e 's|@''HAVE_DECL_GETLINE''@|1|g' \
              -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|1|g' \
              -e 's|@''HAVE_DECL_SNPRINTF''@|1|g' \
              -e 's|@''HAVE_DECL_VSNPRINTF''@|1|g' \
              -e 's|@''HAVE_DPRINTF''@|1|g' \
              -e 's|@''HAVE_FSEEKO''@|1|g' \
              -e 's|@''HAVE_FTELLO''@|1|g' \
              -e 's|@''HAVE_PCLOSE''@|1|g' \
              -e 's|@''HAVE_POPEN''@|1|g' \
              -e 's|@''HAVE_RENAMEAT''@|1|g' \
              -e 's|@''HAVE_VASPRINTF''@|1|g' \
              -e 's|@''HAVE_VDPRINTF''@|1|g' \
              -e 's|@''REPLACE_DPRINTF''@|0|g' \
              -e 's|@''REPLACE_FCLOSE''@|0|g' \
              -e 's|@''REPLACE_FDOPEN''@|0|g' \
              -e 's|@''REPLACE_FFLUSH''@|0|g' \
              -e 's|@''REPLACE_FOPEN''@|0|g' \
              -e 's|@''REPLACE_FPRINTF''@|0|g' \
              -e 's|@''REPLACE_FPURGE''@|0|g' \
              -e 's|@''REPLACE_FREOPEN''@|0|g' \
              -e 's|@''REPLACE_FSEEK''@|0|g' \
              -e 's|@''REPLACE_FSEEKO''@|0|g' \
              -e 's|@''REPLACE_FTELL''@|0|g' \
              -e 's|@''REPLACE_FTELLO''@|0|g' \
              -e 's|@''REPLACE_GETDELIM''@|0|g' \
              -e 's|@''REPLACE_GETLINE''@|0|g' \
              -e 's|@''REPLACE_OBSTACK_PRINTF''@|0|g' \
              -e 's|@''REPLACE_PERROR''@|0|g' \
              -e 's|@''REPLACE_POPEN''@|0|g' \
              -e 's|@''REPLACE_PRINTF''@|0|g' \
              -e 's|@''REPLACE_REMOVE''@|0|g' \
              -e 's|@''REPLACE_RENAME''@|0|g' \
              -e 's|@''REPLACE_RENAMEAT''@|0|g' \
              -e 's|@''REPLACE_SNPRINTF''@|0|g' \
              -e 's|@''REPLACE_SPRINTF''@|0|g' \
              -e 's|@''REPLACE_STDIO_READ_FUNCS''@|0|g' \
              -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|0|g' \
              -e 's|@''REPLACE_TMPFILE''@|0|g' \
              -e 's|@''REPLACE_VASPRINTF''@|0|g' \
              -e 's|@''REPLACE_VDPRINTF''@|0|g' \
              -e 's|@''REPLACE_VFPRINTF''@|0|g' \
              -e 's|@''REPLACE_VPRINTF''@|0|g' \
              -e 's|@''REPLACE_VSNPRINTF''@|0|g' \
              -e 's|@''REPLACE_VSPRINTF''@|0|g' \
              -e 's|@''ASM_SYMBOL_PREFIX''@|""|g' \
              -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
              -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
              -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
        } > stdio.h-t && \
        mv stdio.h-t stdio.h
rm -f stdlib.h-t stdlib.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_STDLIB_H''@||g' \
              -e 's/@''GNULIB__EXIT''@/0/g' \
              -e 's/@''GNULIB_ATOLL''@/0/g' \
              -e 's/@''GNULIB_CALLOC_POSIX''@/0/g' \
              -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/1/g' \
              -e 's/@''GNULIB_GETLOADAVG''@/0/g' \
              -e 's/@''GNULIB_GETSUBOPT''@/0/g' \
              -e 's/@''GNULIB_GRANTPT''@/0/g' \
              -e 's/@''GNULIB_MALLOC_POSIX''@/1/g' \
              -e 's/@''GNULIB_MBTOWC''@/0/g' \
              -e 's/@''GNULIB_MKDTEMP''@/0/g' \
              -e 's/@''GNULIB_MKOSTEMP''@/0/g' \
              -e 's/@''GNULIB_MKOSTEMPS''@/0/g' \
              -e 's/@''GNULIB_MKSTEMP''@/0/g' \
              -e 's/@''GNULIB_MKSTEMPS''@/0/g' \
              -e 's/@''GNULIB_POSIX_OPENPT''@/0/g' \
              -e 's/@''GNULIB_PTSNAME''@/0/g' \
              -e 's/@''GNULIB_PTSNAME_R''@/0/g' \
              -e 's/@''GNULIB_PUTENV''@/0/g' \
              -e 's/@''GNULIB_QSORT_R''@/0/g' \
              -e 's/@''GNULIB_RANDOM''@/0/g' \
              -e 's/@''GNULIB_RANDOM_R''@/0/g' \
              -e 's/@''GNULIB_REALLOC_POSIX''@/0/g' \
              -e 's/@''GNULIB_REALPATH''@/1/g' \
              -e 's/@''GNULIB_RPMATCH''@/0/g' \
              -e 's/@''GNULIB_SECURE_GETENV''@/0/g' \
              -e 's/@''GNULIB_SETENV''@/0/g' \
              -e 's/@''GNULIB_STRTOD''@/0/g' \
              -e 's/@''GNULIB_STRTOLL''@/0/g' \
              -e 's/@''GNULIB_STRTOULL''@/0/g' \
              -e 's/@''GNULIB_SYSTEM_POSIX''@/0/g' \
              -e 's/@''GNULIB_UNLOCKPT''@/0/g' \
              -e 's/@''GNULIB_UNSETENV''@/0/g' \
              -e 's/@''GNULIB_WCTOMB''@/0/g' \
              < ./stdlib.in.h | \
          sed -e 's|@''HAVE__EXIT''@|1|g' \
              -e 's|@''HAVE_ATOLL''@|1|g' \
              -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|1|g' \
              -e 's|@''HAVE_DECL_GETLOADAVG''@|1|g' \
              -e 's|@''HAVE_GETSUBOPT''@|1|g' \
              -e 's|@''HAVE_GRANTPT''@|1|g' \
              -e 's|@''HAVE_MKDTEMP''@|1|g' \
              -e 's|@''HAVE_MKOSTEMP''@|1|g' \
              -e 's|@''HAVE_MKOSTEMPS''@|1|g' \
              -e 's|@''HAVE_MKSTEMP''@|1|g' \
              -e 's|@''HAVE_MKSTEMPS''@|1|g' \
              -e 's|@''HAVE_POSIX_OPENPT''@|1|g' \
              -e 's|@''HAVE_PTSNAME''@|1|g' \
              -e 's|@''HAVE_PTSNAME_R''@|1|g' \
              -e 's|@''HAVE_QSORT_R''@|1|g' \
              -e 's|@''HAVE_RANDOM''@|1|g' \
              -e 's|@''HAVE_RANDOM_H''@|1|g' \
              -e 's|@''HAVE_RANDOM_R''@|1|g' \
              -e 's|@''HAVE_REALPATH''@|1|g' \
              -e 's|@''HAVE_RPMATCH''@|1|g' \
              -e 's|@''HAVE_SECURE_GETENV''@|1|g' \
              -e 's|@''HAVE_DECL_SETENV''@|1|g' \
              -e 's|@''HAVE_STRTOD''@|1|g' \
              -e 's|@''HAVE_STRTOLL''@|1|g' \
              -e 's|@''HAVE_STRTOULL''@|1|g' \
              -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|1|g' \
              -e 's|@''HAVE_SYS_LOADAVG_H''@|0|g' \
              -e 's|@''HAVE_UNLOCKPT''@|1|g' \
              -e 's|@''HAVE_DECL_UNSETENV''@|1|g' \
              -e 's|@''REPLACE_CALLOC''@|0|g' \
              -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|0|g' \
              -e 's|@''REPLACE_MALLOC''@|0|g' \
              -e 's|@''REPLACE_MBTOWC''@|0|g' \
              -e 's|@''REPLACE_MKSTEMP''@|0|g' \
              -e 's|@''REPLACE_PTSNAME''@|0|g' \
              -e 's|@''REPLACE_PTSNAME_R''@|0|g' \
              -e 's|@''REPLACE_PUTENV''@|0|g' \
              -e 's|@''REPLACE_QSORT_R''@|0|g' \
              -e 's|@''REPLACE_RANDOM_R''@|0|g' \
              -e 's|@''REPLACE_REALLOC''@|0|g' \
              -e 's|@''REPLACE_REALPATH''@|0|g' \
              -e 's|@''REPLACE_SETENV''@|0|g' \
              -e 's|@''REPLACE_STRTOD''@|0|g' \
              -e 's|@''REPLACE_UNSETENV''@|0|g' \
              -e 's|@''REPLACE_WCTOMB''@|0|g' \
              -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
              -e '/definition of _Noreturn/r ../build-aux/snippet/_Noreturn.h' \
              -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
              -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
        } > stdlib.h-t && \
        mv stdlib.h-t stdlib.h
rm -f string.h-t string.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_STRING_H''@||g' \
              -e 's/@''GNULIB_FFSL''@/0/g' \
              -e 's/@''GNULIB_FFSLL''@/0/g' \
              -e 's/@''GNULIB_MBSLEN''@/0/g' \
              -e 's/@''GNULIB_MBSNLEN''@/0/g' \
              -e 's/@''GNULIB_MBSCHR''@/0/g' \
              -e 's/@''GNULIB_MBSRCHR''@/0/g' \
              -e 's/@''GNULIB_MBSSTR''@/0/g' \
              -e 's/@''GNULIB_MBSCASECMP''@/0/g' \
              -e 's/@''GNULIB_MBSNCASECMP''@/0/g' \
              -e 's/@''GNULIB_MBSPCASECMP''@/0/g' \
              -e 's/@''GNULIB_MBSCASESTR''@/0/g' \
              -e 's/@''GNULIB_MBSCSPN''@/0/g' \
              -e 's/@''GNULIB_MBSPBRK''@/0/g' \
              -e 's/@''GNULIB_MBSSPN''@/0/g' \
              -e 's/@''GNULIB_MBSSEP''@/0/g' \
              -e 's/@''GNULIB_MBSTOK_R''@/0/g' \
              -e 's/@''GNULIB_MEMCHR''@/0/g' \
              -e 's/@''GNULIB_MEMMEM''@/0/g' \
              -e 's/@''GNULIB_MEMPCPY''@/0/g' \
              -e 's/@''GNULIB_MEMRCHR''@/0/g' \
              -e 's/@''GNULIB_RAWMEMCHR''@/0/g' \
              -e 's/@''GNULIB_STPCPY''@/0/g' \
              -e 's/@''GNULIB_STPNCPY''@/0/g' \
              -e 's/@''GNULIB_STRCHRNUL''@/0/g' \
              -e 's/@''GNULIB_STRDUP''@/0/g' \
              -e 's/@''GNULIB_STRNCAT''@/0/g' \
              -e 's/@''GNULIB_STRNDUP''@/0/g' \
              -e 's/@''GNULIB_STRNLEN''@/0/g' \
              -e 's/@''GNULIB_STRPBRK''@/0/g' \
              -e 's/@''GNULIB_STRSEP''@/0/g' \
              -e 's/@''GNULIB_STRSTR''@/0/g' \
              -e 's/@''GNULIB_STRCASESTR''@/0/g' \
              -e 's/@''GNULIB_STRTOK_R''@/0/g' \
              -e 's/@''GNULIB_STRERROR''@/1/g' \
              -e 's/@''GNULIB_STRERROR_R''@/0/g' \
              -e 's/@''GNULIB_STRSIGNAL''@/0/g' \
              -e 's/@''GNULIB_STRVERSCMP''@/0/g' \
              < ./string.in.h | \
          sed -e 's|@''HAVE_FFSL''@|1|g' \
              -e 's|@''HAVE_FFSLL''@|1|g' \
              -e 's|@''HAVE_MBSLEN''@|0|g' \
              -e 's|@''HAVE_MEMCHR''@|1|g' \
              -e 's|@''HAVE_DECL_MEMMEM''@|1|g' \
              -e 's|@''HAVE_MEMPCPY''@|1|g' \
              -e 's|@''HAVE_DECL_MEMRCHR''@|1|g' \
              -e 's|@''HAVE_RAWMEMCHR''@|1|g' \
              -e 's|@''HAVE_STPCPY''@|1|g' \
              -e 's|@''HAVE_STPNCPY''@|1|g' \
              -e 's|@''HAVE_STRCHRNUL''@|1|g' \
              -e 's|@''HAVE_DECL_STRDUP''@|1|g' \
              -e 's|@''HAVE_DECL_STRNDUP''@|1|g' \
              -e 's|@''HAVE_DECL_STRNLEN''@|1|g' \
              -e 's|@''HAVE_STRPBRK''@|1|g' \
              -e 's|@''HAVE_STRSEP''@|1|g' \
              -e 's|@''HAVE_STRCASESTR''@|1|g' \
              -e 's|@''HAVE_DECL_STRTOK_R''@|1|g' \
              -e 's|@''HAVE_DECL_STRERROR_R''@|1|g' \
              -e 's|@''HAVE_DECL_STRSIGNAL''@|1|g' \
              -e 's|@''HAVE_STRVERSCMP''@|1|g' \
              -e 's|@''REPLACE_STPNCPY''@|0|g' \
              -e 's|@''REPLACE_MEMCHR''@|0|g' \
              -e 's|@''REPLACE_MEMMEM''@|0|g' \
              -e 's|@''REPLACE_STRCASESTR''@|0|g' \
              -e 's|@''REPLACE_STRCHRNUL''@|0|g' \
              -e 's|@''REPLACE_STRDUP''@|0|g' \
              -e 's|@''REPLACE_STRSTR''@|0|g' \
              -e 's|@''REPLACE_STRERROR''@|0|g' \
              -e 's|@''REPLACE_STRERROR_R''@|0|g' \
              -e 's|@''REPLACE_STRNCAT''@|0|g' \
              -e 's|@''REPLACE_STRNDUP''@|0|g' \
              -e 's|@''REPLACE_STRNLEN''@|0|g' \
              -e 's|@''REPLACE_STRSIGNAL''@|0|g' \
              -e 's|@''REPLACE_STRTOK_R''@|0|g' \
              -e 's|@''UNDEFINE_STRTOK_R''@|0|g' \
              -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
              -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
              -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
              < ./string.in.h; \
        } > string.h-t && \
        mv string.h-t string.h
/usr/gnu/bin/mkdir -p sys
rm -f sys/stat.h-t sys/stat.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_SYS_STAT_H''@||g' \
              -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|0|g' \
              -e 's/@''GNULIB_FCHMODAT''@/0/g' \
              -e 's/@''GNULIB_FSTAT''@/0/g' \
              -e 's/@''GNULIB_FSTATAT''@/0/g' \
              -e 's/@''GNULIB_FUTIMENS''@/0/g' \
              -e 's/@''GNULIB_LCHMOD''@/0/g' \
              -e 's/@''GNULIB_LSTAT''@/1/g' \
              -e 's/@''GNULIB_MKDIRAT''@/0/g' \
              -e 's/@''GNULIB_MKFIFO''@/0/g' \
              -e 's/@''GNULIB_MKFIFOAT''@/0/g' \
              -e 's/@''GNULIB_MKNOD''@/0/g' \
              -e 's/@''GNULIB_MKNODAT''@/0/g' \
              -e 's/@''GNULIB_STAT''@/1/g' \
              -e 's/@''GNULIB_UTIMENSAT''@/0/g' \
              -e 's|@''HAVE_FCHMODAT''@|1|g' \
              -e 's|@''HAVE_FSTATAT''@|1|g' \
              -e 's|@''HAVE_FUTIMENS''@|1|g' \
              -e 's|@''HAVE_LCHMOD''@|1|g' \
              -e 's|@''HAVE_LSTAT''@|1|g' \
              -e 's|@''HAVE_MKDIRAT''@|1|g' \
              -e 's|@''HAVE_MKFIFO''@|1|g' \
              -e 's|@''HAVE_MKFIFOAT''@|1|g' \
              -e 's|@''HAVE_MKNOD''@|1|g' \
              -e 's|@''HAVE_MKNODAT''@|1|g' \
              -e 's|@''HAVE_UTIMENSAT''@|1|g' \
              -e 's|@''REPLACE_FSTAT''@|0|g' \
              -e 's|@''REPLACE_FSTATAT''@|0|g' \
              -e 's|@''REPLACE_FUTIMENS''@|0|g' \
              -e 's|@''REPLACE_LSTAT''@|0|g' \
              -e 's|@''REPLACE_MKDIR''@|0|g' \
              -e 's|@''REPLACE_MKFIFO''@|0|g' \
              -e 's|@''REPLACE_MKNOD''@|0|g' \
              -e 's|@''REPLACE_STAT''@|0|g' \
              -e 's|@''REPLACE_UTIMENSAT''@|0|g' \
              -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
              -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
              -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
              < ./sys_stat.in.h; \
        } > sys/stat.h-t && \
        mv sys/stat.h-t sys/stat.h
/usr/gnu/bin/mkdir -p sys
rm -f sys/time.h-t sys/time.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's/@''HAVE_SYS_TIME_H''@/1/g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_SYS_TIME_H''@||g' \
              -e 's/@''GNULIB_GETTIMEOFDAY''@/1/g' \
              -e 's|@''HAVE_WINSOCK2_H''@|0|g' \
              -e 's/@''HAVE_GETTIMEOFDAY''@/1/g' \
              -e 's/@''HAVE_STRUCT_TIMEVAL''@/1/g' \
              -e 's/@''REPLACE_GETTIMEOFDAY''@/0/g' \
              -e 's/@''REPLACE_STRUCT_TIMEVAL''@/0/g' \
              -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
              -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
              -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
              < ./sys_time.in.h; \
        } > sys/time.h-t && \
        mv sys/time.h-t sys/time.h
/usr/gnu/bin/mkdir -p sys
rm -f sys/types.h-t sys/types.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_SYS_TYPES_H''@||g' \
              -e 's|@''WINDOWS_64_BIT_OFF_T''@|0|g' \
              < ./sys_types.in.h; \
        } > sys/types.h-t && \
        mv sys/types.h-t sys/types.h
rm -f time.h-t time.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_TIME_H''@|


$ su
...

# source ../setenv-1.15 32

...

# gmake install
cd libcharset && gmake install prefix='/opt/gnu' exec_prefix='/opt/gnu' libdir='/opt/gnu/lib'
gmake[1]: Entering directory `/stage/build/libiconv/libiconv-1.15-32/libcharset'
cd lib && gmake install prefix='/opt/gnu' exec_prefix='/opt/gnu' libdir='/opt/gnu/lib'
gmake[2]: Entering directory `/stage/build/libiconv/libiconv-1.15-32/libcharset/lib'
if test no = no; then \
          case 'solaris2.11' in \
            darwin[56]*) \
              need_charset_alias=true ;; \
            darwin* | cygwin* | mingw* | pw32* | cegcc*) \
              need_charset_alias=false ;; \
            *) \
              need_charset_alias=true ;; \
          esac ; \
        else \
          need_charset_alias=false ; \
        fi ; \
        /bin/sh ../build-aux/mkinstalldirs /opt/gnu/lib ; \
        /bin/sh ../libtool --mode=install /usr/bin/ginstall -c libcharset.la /opt/gnu/lib/libcharset.la
libtool: install: /usr/bin/ginstall -c .libs/libcharset.so.1.0.0 /opt/gnu/lib/libcharset.so.1.0.0
libtool: install: (cd /opt/gnu/lib && { ln -s -f libcharset.so.1.0.0 libcharset.so.1 || { rm -f libcharset.so.1 && ln -s libcharset.so.1.0.0 libcharset.so.1; }; })
libtool: install: (cd /opt/gnu/lib && { ln -s -f libcharset.so.1.0.0 libcharset.so || { rm -f libcharset.so && ln -s libcharset.so.1.0.0 libcharset.so; }; })
libtool: install: chmod +x /opt/gnu/lib/libcharset.so.1.0.0
libtool: install: /usr/bin/ginstall -c .libs/libcharset.lai /opt/gnu/lib/libcharset.la
libtool: install: /usr/bin/ginstall -c .libs/libcharset.a /opt/gnu/lib/libcharset.a
libtool: install: chmod 644 /opt/gnu/lib/libcharset.a
libtool: install: ranlib /opt/gnu/lib/libcharset.a
if test -f /opt/gnu/lib/charset.alias; then \
          sed -f ref-add.sed /opt/gnu/lib/charset.alias > /opt/gnu/lib/t-charset.alias; \
          /usr/bin/ginstall -c -m 644 /opt/gnu/lib/t-charset.alias /opt/gnu/lib/charset.alias; \
          rm -f /opt/gnu/lib/t-charset.alias; \
        else \
          if $need_charset_alias; then \
            sed -f ref-add.sed charset.alias > /opt/gnu/lib/t-charset.alias; \
            /usr/bin/ginstall -c -m 644 /opt/gnu/lib/t-charset.alias /opt/gnu/lib/charset.alias; \
            rm -f /opt/gnu/lib/t-charset.alias; \
          fi ; \
        fi
gmake[2]: Leaving directory `/stage/build/libiconv/libiconv-1.15-32/libcharset/lib'
/bin/sh ./build-aux/mkinstalldirs /opt/gnu/include
/usr/bin/ginstall -c -m 644 include/libcharset.h /opt/gnu/include/libcharset.h
/usr/bin/ginstall -c -m 644 include/localcharset.h.inst /opt/gnu/include/localcharset.h
gmake[1]: Leaving directory `/stage/build/libiconv/libiconv-1.15-32/libcharset'
cd lib && gmake install prefix='/opt/gnu' exec_prefix='/opt/gnu' libdir='/opt/gnu/lib'
gmake[1]: Entering directory `/stage/build/libiconv/libiconv-1.15-32/lib'
if [ ! -d /opt/gnu/lib ] ; then /bin/sh ../build-aux/mkinstalldirs /opt/gnu/lib ; fi
/bin/sh ../libtool --mode=install /usr/bin/ginstall -c libiconv.la /opt/gnu/lib/libiconv.la
libtool: install: /usr/bin/ginstall -c .libs/libiconv.so.2.6.0 /opt/gnu/lib/libiconv.so.2.6.0
libtool: install: (cd /opt/gnu/lib && { ln -s -f libiconv.so.2.6.0 libiconv.so.2 || { rm -f libiconv.so.2 && ln -s libiconv.so.2.6.0 libiconv.so.2; }; })
libtool: install: (cd /opt/gnu/lib && { ln -s -f libiconv.so.2.6.0 libiconv.so || { rm -f libiconv.so && ln -s libiconv.so.2.6.0 libiconv.so; }; })
libtool: install: chmod +x /opt/gnu/lib/libiconv.so.2.6.0
libtool: install: /usr/bin/ginstall -c .libs/libiconv.lai /opt/gnu/lib/libiconv.la
case "solaris2.11" in \
          aix*) (cd /opt/gnu/lib && \
                 objects=`ar t libiconv.a`" "`ar t /lib/libiconv.a` && \
                 ar x libiconv.a && ar x /lib/libiconv.a && \
                 ar q libiconv.new.a $objects && \
                 rm -f $objects && \
                 mv -f libiconv.new.a libiconv.a) ;; \
        esac
gmake[1]: Leaving directory `/stage/build/libiconv/libiconv-1.15-32/lib'
cd preload && gmake install prefix='/opt/gnu' exec_prefix='/opt/gnu' libdir='/opt/gnu/lib'
gmake[1]: Entering directory `/stage/build/libiconv/libiconv-1.15-32/preload'
if [ ! -d /opt/gnu/lib ] ; then /bin/sh ./build-aux/mkinstalldirs /opt/gnu/lib ; fi
if test -n "preloadable_libiconv.so"; then /usr/bin/ginstall -c -m 644 preloadable_libiconv.so /opt/gnu/lib/preloadable_libiconv.so.new && mv /opt/gnu/lib/preloadable_libiconv.so.new /opt/gnu/lib/preloadable_libiconv.so ; fi
gmake[1]: Leaving directory `/stage/build/libiconv/libiconv-1.15-32/preload'
cd srclib && gmake install prefix='/opt/gnu' exec_prefix='/opt/gnu' libdir='/opt/gnu/lib'
gmake[1]: Entering directory `/stage/build/libiconv/libiconv-1.15-32/srclib'
gmake  install-am
gmake[2]: Entering directory `/stage/build/libiconv/libiconv-1.15-32/srclib'
gmake[3]: Entering directory `/stage/build/libiconv/libiconv-1.15-32/srclib'
gmake[3]: Nothing to be done for `install-exec-am'.
gmake[3]: Nothing to be done for `install-data-am'.
gmake[3]: Leaving directory `/stage/build/libiconv/libiconv-1.15-32/srclib'
gmake[2]: Leaving directory `/stage/build/libiconv/libiconv-1.15-32/srclib'
gmake[1]: Leaving directory `/stage/build/libiconv/libiconv-1.15-32/srclib'
cd src && gmake install prefix='/opt/gnu' exec_prefix='/opt/gnu' libdir='/opt/gnu/lib'
gmake[1]: Entering directory `/stage/build/libiconv/libiconv-1.15-32/src'
test `ls -ld . | sed -e 's/^d\(.........\).*/\1/'` = rwxrwxrwx || chmod 777 .
if [ ! -d /opt/gnu/bin ] ; then /bin/sh ../build-aux/mkinstalldirs /opt/gnu/bin ; fi
case "solaris2.11" in \
          hpux*) /usr/bin/gcc -m32 -march=nocona -mtune=nocona -m32 -march=nocona -mtune=nocona -std=gnu89 `if test -n ''; then  /opt/gnu/bin; fi` iconv.o ../srclib/libicrt.a -L/opt/gnu/lib -liconv   `if test -n ''; then echo " -Wl,+b -Wl,/opt/gnu/lib"; fi` -o iconv;; \
          *) /bin/sh ../libtool --mode=link /usr/bin/gcc -m32 -march=nocona -mtune=nocona -m32 -march=nocona -mtune=nocona -std=gnu89 `if test -n ''; then  /opt/gnu/bin; fi` iconv.o ../srclib/libicrt.a /opt/gnu/lib/libiconv.la   -o iconv;; \
        esac
libtool: link: /usr/bin/gcc -m32 -march=nocona -mtune=nocona -m32 -march=nocona -mtune=nocona -std=gnu89 iconv.o -o iconv  ../srclib/libicrt.a /opt/gnu/lib/libiconv.so -R/opt/gnu/lib -R/opt/gnu/lib
/bin/sh ../libtool --mode=install /usr/bin/ginstall -c iconv /opt/gnu/bin/iconv
libtool: install: /usr/bin/ginstall -c iconv /opt/gnu/bin/iconv
gmake[1]: Leaving directory `/stage/build/libiconv/libiconv-1.15-32/src'
if [ ! -d /opt/gnu/include ] ; then /bin/sh ./build-aux/mkinstalldirs /opt/gnu/include ; fi
/usr/bin/ginstall -c -m 644 include/iconv.h.inst /opt/gnu/include/iconv.h
cd po && gmake install prefix='/opt/gnu' exec_prefix='/opt/gnu' datarootdir='/opt/gnu/share' datadir='/opt/gnu/share'
gmake[1]: Entering directory `/stage/build/libiconv/libiconv-1.15-32/po'
installing af.gmo as /opt/gnu/share/locale/af/LC_MESSAGES/libiconv.mo
installing bg.gmo as /opt/gnu/share/locale/bg/LC_MESSAGES/libiconv.mo
installing ca.gmo as /opt/gnu/share/locale/ca/LC_MESSAGES/libiconv.mo
installing cs.gmo as /opt/gnu/share/locale/cs/LC_MESSAGES/libiconv.mo
installing da.gmo as /opt/gnu/share/locale/da/LC_MESSAGES/libiconv.mo
installing de.gmo as /opt/gnu/share/locale/de/LC_MESSAGES/libiconv.mo
installing el.gmo as /opt/gnu/share/locale/el/LC_MESSAGES/libiconv.mo
installing eo.gmo as /opt/gnu/share/locale/eo/LC_MESSAGES/libiconv.mo
installing es.gmo as /opt/gnu/share/locale/es/LC_MESSAGES/libiconv.mo
installing et.gmo as /opt/gnu/share/locale/et/LC_MESSAGES/libiconv.mo
installing fi.gmo as /opt/gnu/share/locale/fi/LC_MESSAGES/libiconv.mo
installing fr.gmo as /opt/gnu/share/locale/fr/LC_MESSAGES/libiconv.mo
installing ga.gmo as /opt/gnu/share/locale/ga/LC_MESSAGES/libiconv.mo
installing gl.gmo as /opt/gnu/share/locale/gl/LC_MESSAGES/libiconv.mo
installing hr.gmo as /opt/gnu/share/locale/hr/LC_MESSAGES/libiconv.mo
installing hu.gmo as /opt/gnu/share/locale/hu/LC_MESSAGES/libiconv.mo
installing id.gmo as /opt/gnu/share/locale/id/LC_MESSAGES/libiconv.mo
installing it.gmo as /opt/gnu/share/locale/it/LC_MESSAGES/libiconv.mo
installing ja.gmo as /opt/gnu/share/locale/ja/LC_MESSAGES/libiconv.mo
installing nl.gmo as /opt/gnu/share/locale/nl/LC_MESSAGES/libiconv.mo
installing pl.gmo as /opt/gnu/share/locale/pl/LC_MESSAGES/libiconv.mo
installing pt_BR.gmo as /opt/gnu/share/locale/pt_BR/LC_MESSAGES/libiconv.mo
installing rm.gmo as /opt/gnu/share/locale/rm/LC_MESSAGES/libiconv.mo
installing ro.gmo as /opt/gnu/share/locale/ro/LC_MESSAGES/libiconv.mo
installing ru.gmo as /opt/gnu/share/locale/ru/LC_MESSAGES/libiconv.mo
installing sk.gmo as /opt/gnu/share/locale/sk/LC_MESSAGES/libiconv.mo
installing sl.gmo as /opt/gnu/share/locale/sl/LC_MESSAGES/libiconv.mo
installing sq.gmo as /opt/gnu/share/locale/sq/LC_MESSAGES/libiconv.mo
installing sr.gmo as /opt/gnu/share/locale/sr/LC_MESSAGES/libiconv.mo
installing sv.gmo as /opt/gnu/share/locale/sv/LC_MESSAGES/libiconv.mo
installing tr.gmo as /opt/gnu/share/locale/tr/LC_MESSAGES/libiconv.mo
installing uk.gmo as /opt/gnu/share/locale/uk/LC_MESSAGES/libiconv.mo
installing vi.gmo as /opt/gnu/share/locale/vi/LC_MESSAGES/libiconv.mo
installing wa.gmo as /opt/gnu/share/locale/wa/LC_MESSAGES/libiconv.mo
installing zh_CN.gmo as /opt/gnu/share/locale/zh_CN/LC_MESSAGES/libiconv.mo
installing zh_TW.gmo as /opt/gnu/share/locale/zh_TW/LC_MESSAGES/libiconv.mo
if test "libiconv" = "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/bin/ginstall -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/libiconv/libiconv-1.15-32/po'
cd man && gmake install prefix='/opt/gnu' exec_prefix='/opt/gnu' datarootdir='/opt/gnu/share' datadir='/opt/gnu/share' mandir='/opt/gnu/share/man'
gmake[1]: Entering directory `/stage/build/libiconv/libiconv-1.15-32/man'
if [ ! -d /opt/gnu/share/man/man1 ] ; then /bin/sh ../build-aux/mkinstalldirs /opt/gnu/share/man/man1 ; fi
builddir="`pwd`"; cd . && for f in *.1 ; do (cd "$builddir"; echo /usr/bin/ginstall -c -m 644 ./$f /opt/gnu/share/man/man1/$f ; /usr/bin/ginstall -c -m 644 ./$f /opt/gnu/share/man/man1/$f) ; done
/usr/bin/ginstall -c -m 644 ./iconv.1 /opt/gnu/share/man/man1/iconv.1
if [ ! -d /opt/gnu/share/man/man3 ] ; then /bin/sh ../build-aux/mkinstalldirs /opt/gnu/share/man/man3 ; fi
mkdir -p -- /opt/gnu/share/man/man3
builddir="`pwd`"; cd . && for f in *.3 ; do (cd "$builddir"; echo /usr/bin/ginstall -c -m 644 ./$f /opt/gnu/share/man/man3/$f ; /usr/bin/ginstall -c -m 644 ./$f /opt/gnu/share/man/man3/$f) ; done
/usr/bin/ginstall -c -m 644 ./iconv_close.3 /opt/gnu/share/man/man3/iconv_close.3
/usr/bin/ginstall -c -m 644 ./iconv_open_into.3 /opt/gnu/share/man/man3/iconv_open_into.3
/usr/bin/ginstall -c -m 644 ./iconv_open.3 /opt/gnu/share/man/man3/iconv_open.3
/usr/bin/ginstall -c -m 644 ./iconv.3 /opt/gnu/share/man/man3/iconv.3
/usr/bin/ginstall -c -m 644 ./iconvctl.3 /opt/gnu/share/man/man3/iconvctl.3
if [ ! -d /opt/gnu/share/doc/ ] ; then /bin/sh ../build-aux/mkinstalldirs /opt/gnu/share/doc/ ; fi
builddir="`pwd`"; cd . && for f in *.html ; do (cd "$builddir"; echo /usr/bin/ginstall -c -m 644 ./$f /opt/gnu/share/doc//$f ; /usr/bin/ginstall -c -m 644 ./$f /opt/gnu/share/doc//$f) ; done
/usr/bin/ginstall -c -m 644 ./iconv_close.3.html /opt/gnu/share/doc//iconv_close.3.html
/usr/bin/ginstall -c -m 644 ./iconv_open_into.3.html /opt/gnu/share/doc//iconv_open_into.3.html
/usr/bin/ginstall -c -m 644 ./iconv_open.3.html /opt/gnu/share/doc//iconv_open.3.html
/usr/bin/ginstall -c -m 644 ./iconv.1.html /opt/gnu/share/doc//iconv.1.html
/usr/bin/ginstall -c -m 644 ./iconv.3.html /opt/gnu/share/doc//iconv.3.html
/usr/bin/ginstall -c -m 644 ./iconvctl.3.html /opt/gnu/share/doc//iconvctl.3.html
gmake[1]: Leaving directory `/stage/build/libiconv/libiconv-1.15-32/man'


# libtool --finish /opt/gnu/lib

# zfs snapshot -r .../opt/gnu@libiconv-1.15