Build of ser2net with musl toolchain

The build took 00h 01m 09s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
11,114 sh
5,868 ansic
770 makefile
17,752 total

The process tree of the build process is here.

List of Errors

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: ser2net 2.10.0-2 (Wed Apr 5 00:21:30 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking for x86_64-unknown-linux-strip... no
# checking for strip... strip
# checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking whether make supports nested variables... yes
# checking for x86_64-unknown-linux-gcc... clang
# 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... yes
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether clang accepts -g... yes
# checking for clang option to accept ISO C89... none needed
# checking for style of include used by make... GNU
# checking dependency style of clang... gcc3
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking how to print strings... printf
# checking for a sed that does not truncate output... /usr/sbin/sed
# checking for grep that handles long lines and -e... /usr/sbin/grep
# checking for egrep... /usr/sbin/grep -E
# checking for fgrep... /usr/sbin/grep -F
# checking for ld used by clang... /sysroot/bin/ld
# checking if the linker (/sysroot/bin/ld) is GNU ld... yes
# checking for BSD- or MS-compatible name lister (nm)... /sysroot/bin/nm -B
# checking the name lister (/sysroot/bin/nm -B) interface... BSD nm
# checking whether ln -s works... yes
# checking the maximum length of command line arguments... 1572864
# checking whether the shell understands some XSI constructs... yes
# checking whether the shell understands "+="... yes
# checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
# checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
# checking for /sysroot/bin/ld option to reload object files... -r
# checking for x86_64-unknown-linux-objdump... no
# checking for objdump... objdump
# configure: WARNING: using cross tools not prefixed with host triplet
# checking how to recognize dependent libraries... pass_all
# checking for x86_64-unknown-linux-dlltool... no
# checking for dlltool... no
# checking how to associate runtime and link libraries... printf %s\n
# checking for x86_64-unknown-linux-ar... no
# checking for ar... ar
# checking for archiver @FILE support... @
# checking for x86_64-unknown-linux-strip... strip
# checking for x86_64-unknown-linux-ranlib... no
# checking for ranlib... ranlib
# checking command to parse /sysroot/bin/nm -B output from clang object... ok
# checking for sysroot... no
# checking for x86_64-unknown-linux-mt... no
# checking for mt... no
# checking if : is a manifest tool... no
# checking how to run the C preprocessor... clang -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 for dlfcn.h... yes
# checking for objdir... .libs
# checking if clang supports -fno-rtti -fno-exceptions... yes
# checking for clang option to produce PIC... -fPIC -DPIC
# checking if clang PIC flag -fPIC -DPIC works... yes
# checking if clang static flag -static works... no
# checking if clang supports -c -o file.o... yes
# checking if clang supports -c -o file.o... (cached) yes
# checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries... yes
# checking whether -lc should be explicitly linked in... no
# checking dynamic linker characteristics... GNU/Linux 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... yes
# checking for ANSI C header files... (cached) yes
# checking for main in -lnsl... no
# checking that generated files are newer than configure... done
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating ser2net.spec
# config.status: executing depfiles commands
# config.status: executing libtool commands
# clang -DPACKAGE_NAME=\"ser2net\" -DPACKAGE_TARNAME=\"ser2net\" -DPACKAGE_VERSION=\"2.10.0\" -DPACKAGE_STRING=\"ser2net\ 2.10.0\" -DPACKAGE_BUGREPORT=\"minyard@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ser2net\" -DVERSION=\"2.10.0\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DUSE_UUCP_LOCKING=1 -DSTDC_HEADERS=1 -I. -Wall -MT controller.o -MD -MP -MF .deps/controller.Tpo -c -o controller.o controller.c
# clang -DPACKAGE_NAME=\"ser2net\" -DPACKAGE_TARNAME=\"ser2net\" -DPACKAGE_VERSION=\"2.10.0\" -DPACKAGE_STRING=\"ser2net\ 2.10.0\" -DPACKAGE_BUGREPORT=\"minyard@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ser2net\" -DVERSION=\"2.10.0\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DUSE_UUCP_LOCKING=1 -DSTDC_HEADERS=1 -I. -Wall -MT dataxfer.o -MD -MP -MF .deps/dataxfer.Tpo -c -o dataxfer.o dataxfer.c
# clang -DPACKAGE_NAME=\"ser2net\" -DPACKAGE_TARNAME=\"ser2net\" -DPACKAGE_VERSION=\"2.10.0\" -DPACKAGE_STRING=\"ser2net\ 2.10.0\" -DPACKAGE_BUGREPORT=\"minyard@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ser2net\" -DVERSION=\"2.10.0\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DUSE_UUCP_LOCKING=1 -DSTDC_HEADERS=1 -I. -Wall -MT devcfg.o -MD -MP -MF .deps/devcfg.Tpo -c -o devcfg.o devcfg.c
# clang -DPACKAGE_NAME=\"ser2net\" -DPACKAGE_TARNAME=\"ser2net\" -DPACKAGE_VERSION=\"2.10.0\" -DPACKAGE_STRING=\"ser2net\ 2.10.0\" -DPACKAGE_BUGREPORT=\"minyard@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ser2net\" -DVERSION=\"2.10.0\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DUSE_UUCP_LOCKING=1 -DSTDC_HEADERS=1 -I. -Wall -MT readconfig.o -MD -MP -MF .deps/readconfig.Tpo -c -o readconfig.o readconfig.c
# In file included from readconfig.c:30:
# ./dataxfer.h:23:10: fatal error: 'linux/serial.h' file not found
# #include
# ^
# devcfg.c:34:10: fatal error: 'linux/serial.h' file not found
# #include
# ^
# In file included from controller.c:33:
# ./dataxfer.h:23:10: fatal error: 'linux/serial.h' file not found
# #include
# ^
# In file included from dataxfer.c:39:
# ./dataxfer.h:23:10: fatal error: 'linux/serial.h' file not found
# #include
# ^
# 1 error generated.
# 1 error generated.
# make: *** [Makefile:458: devcfg.o] Error 1
# make: *** Waiting for unfinished jobs....
# make: *** [Makefile:458: readconfig.o] Error 1
# 1 error generated.
# make: *** [Makefile:458: controller.o] Error 1
# 1 error generated.
# make: *** [Makefile:458: dataxfer.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/ser2net/src/ser2net-2.10.0/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# It was created by ser2net configure 2.10.0, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr --sbindir=/usr/bin
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 14044cb57524
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
#
# /usr/bin/uname -p = unknown
# /bin/uname -X = unknown
#
# /bin/arch = unknown
# /usr/bin/arch -k = unknown
# /usr/convex/getsysinfo = unknown
# /usr/bin/hostinfo = unknown
# /bin/machine = unknown
# /usr/bin/oslevel = unknown
# /bin/universe = unknown
#
# PATH: /sysroot/bin
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2253: checking for a BSD-compatible install
# configure:2321: result: /usr/bin/install -c
# configure:2332: checking whether build environment is sane
# configure:2387: result: yes
# configure:2446: checking for x86_64-unknown-linux-strip
# configure:2476: result: no
# configure:2486: checking for strip
# configure:2502: found /sysroot/bin/strip
# configure:2513: result: strip
# configure:2538: checking for a thread-safe mkdir -p
# configure:2577: result: /usr/sbin/mkdir -p
# configure:2584: checking for gawk
# configure:2600: found /usr/sbin/gawk
# configure:2611: result: gawk
# configure:2622: checking whether make sets $(MAKE)
# configure:2644: result: yes
# configure:2673: checking whether make supports nested variables
# configure:2690: result: yes
# configure:2782: checking for x86_64-unknown-linux-gcc
# configure:2809: result: clang
# configure:3078: checking for C compiler version
# configure:3087: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:3098: $? = 0
# configure:3087: clang -v >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:3098: $? = 0
# configure:3087: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3098: $? = 1
# configure:3087: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:3098: $? = 1
# configure:3118: checking whether the C compiler works
# configure:3140: clang conftest.c >&5
# configure:3144: $? = 0
# configure:3192: result: yes
# configure:3195: checking for C compiler default output file name
# configure:3197: result: a.out
# configure:3203: checking for suffix of executables
# configure:3210: clang -o conftest conftest.c >&5
# configure:3214: $? = 0
# configure:3236: result:
# configure:3258: checking whether we are cross compiling
# configure:3266: clang -o conftest conftest.c >&5
# configure:3270: $? = 0
# configure:3277: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:3281: $? = 127
# configure:3296: result: yes
# configure:3301: checking for suffix of object files
# configure:3323: clang -c conftest.c >&5
# configure:3327: $? = 0
# configure:3348: result: o
# configure:3352: checking whether we are using the GNU C compiler
# configure:3371: clang -c conftest.c >&5
# configure:3371: $? = 0
# configure:3380: result: yes
# configure:3389: checking whether clang accepts -g
# configure:3409: clang -c -g conftest.c >&5
# configure:3409: $? = 0
# configure:3450: result: yes
# configure:3467: checking for clang option to accept ISO C89
# configure:3530: clang -c conftest.c >&5
# configure:3530: $? = 0
# configure:3543: result: none needed
# configure:3574: checking for style of include used by make
# configure:3602: result: GNU
# configure:3628: checking dependency style of clang
# configure:3739: result: gcc3
# configure:3783: checking build system type
# configure:3797: result: x86_64-unknown-linux-gnu
# configure:3817: checking host system type
# configure:3830: result: x86_64-unknown-linux-gnu
# configure:3871: checking how to print strings
# configure:3898: result: printf
# configure:3919: checking for a sed that does not truncate output
# configure:3983: result: /usr/sbin/sed
# configure:4001: checking for grep that handles long lines and -e
# configure:4059: result: /usr/sbin/grep
# configure:4064: checking for egrep
# configure:4126: result: /usr/sbin/grep -E
# configure:4131: checking for fgrep
# configure:4193: result: /usr/sbin/grep -F
# configure:4228: checking for ld used by clang
# configure:4295: result: /sysroot/bin/ld
# configure:4302: checking if the linker (/sysroot/bin/ld) is GNU ld
# configure:4317: result: yes
# configure:4329: checking for BSD- or MS-compatible name lister (nm)
# configure:4378: result: /sysroot/bin/nm -B
# configure:4508: checking the name lister (/sysroot/bin/nm -B) interface
# configure:4515: clang -c conftest.c >&5
# configure:4518: /sysroot/bin/nm -B "conftest.o"
# configure:4521: output
# 0000000000000000 B some_variable
# configure:4528: result: BSD nm
# configure:4531: checking whether ln -s works
# configure:4535: result: yes
# configure:4543: checking the maximum length of command line arguments
# configure:4673: result: 1572864
# configure:4690: checking whether the shell understands some XSI constructs
# configure:4700: result: yes
# configure:4704: checking whether the shell understands "+="
# configure:4710: result: yes
# configure:4745: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
# configure:4785: result: func_convert_file_noop
# configure:4792: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
# configure:4812: result: func_convert_file_noop
# configure:4819: checking for /sysroot/bin/ld option to reload object files
# configure:4826: result: -r
# configure:4860: checking for x86_64-unknown-linux-objdump
# configure:4890: result: no
# configure:4900: checking for objdump
# configure:4916: found /sysroot/bin/objdump
# configure:4927: result: objdump
# configure:4939: WARNING: using cross tools not prefixed with host triplet
# configure:4959: checking how to recognize dependent libraries
# configure:5161: result: pass_all
# configure:5206: checking for x86_64-unknown-linux-dlltool
# configure:5236: result: no
# configure:5246: checking for dlltool
# configure:5276: result: no
# configure:5306: checking how to associate runtime and link libraries
# configure:5333: result: printf %s\n
# configure:5350: checking for x86_64-unknown-linux-ar
# configure:5380: result: no
# configure:5394: checking for ar
# configure:5410: found /sysroot/bin/ar
# configure:5421: result: ar
# configure:5458: checking for archiver @FILE support
# configure:5475: clang -c conftest.c >&5
# configure:5475: $? = 0
# configure:5478: ar cru libconftest.a @conftest.lst >&5
# /r: `u' modifier ignored since `D' is the default (see `U')
# configure:5481: $? = 0
# configure:5486: ar cru libconftest.a @conftest.lst >&5
# /r: `u' modifier ignored since `D' is the default (see `U')
# /r: conftest.o: No such file or directory
# configure:5489: $? = 1
# configure:5501: result: @
# configure:5519: checking for x86_64-unknown-linux-strip
# configure:5546: result: strip
# configure:5618: checking for x86_64-unknown-linux-ranlib
# configure:5648: result: no
# configure:5658: checking for ranlib
# configure:5674: found /sysroot/bin/ranlib
# configure:5685: result: ranlib
# configure:5787: checking command to parse /sysroot/bin/nm -B output from clang object
# configure:5907: clang -c conftest.c >&5
# configure:5910: $? = 0
# configure:5914: /sysroot/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
# configure:5917: $? = 0
# configure:5983: clang -o conftest conftest.c conftstm.o >&5
# configure:5986: $? = 0
# configure:6024: result: ok
# configure:6061: checking for sysroot
# configure:6091: result: no
# configure:6168: clang -c conftest.c >&5
# configure:6171: $? = 0
# configure:6313: checking for x86_64-unknown-linux-mt
# configure:6343: result: no
# configure:6353: checking for mt
# configure:6383: result: no
# configure:6403: checking if : is a manifest tool
# configure:6409: : '-?'
# configure:6417: result: no
# configure:7059: checking how to run the C preprocessor
# configure:7090: clang -E conftest.c
# configure:7090: $? = 0
# configure:7104: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:7104: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "ser2net"
# | #define PACKAGE_TARNAME "ser2net"
# | #define PACKAGE_VERSION "2.10.0"
# | #define PACKAGE_STRING "ser2net 2.10.0"
# | #define PACKAGE_BUGREPORT "minyard@acm.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "ser2net"
# | #define VERSION "2.10.0"
# | /* end confdefs.h. */
# | #include
# configure:7129: result: clang -E
# configure:7149: clang -E conftest.c
# configure:7149: $? = 0
# configure:7163: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:7163: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "ser2net"
# | #define PACKAGE_TARNAME "ser2net"
# | #define PACKAGE_VERSION "2.10.0"
# | #define PACKAGE_STRING "ser2net 2.10.0"
# | #define PACKAGE_BUGREPORT "minyard@acm.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "ser2net"
# | #define VERSION "2.10.0"
# | /* end confdefs.h. */
# | #include
# configure:7192: checking for ANSI C header files
# configure:7212: clang -c conftest.c >&5
# configure:7212: $? = 0
# configure:7296: result: yes
# configure:7309: checking for sys/types.h
# configure:7309: clang -c conftest.c >&5
# configure:7309: $? = 0
# configure:7309: result: yes
# configure:7309: checking for sys/stat.h
# configure:7309: clang -c conftest.c >&5
# configure:7309: $? = 0
# configure:7309: result: yes
# configure:7309: checking for stdlib.h
# configure:7309: clang -c conftest.c >&5
# configure:7309: $? = 0
# configure:7309: result: yes
# configure:7309: checking for string.h
# configure:7309: clang -c conftest.c >&5
# configure:7309: $? = 0
# configure:7309: result: yes
# configure:7309: checking for memory.h
# configure:7309: clang -c conftest.c >&5
# configure:7309: $? = 0
# configure:7309: result: yes
# configure:7309: checking for strings.h
# configure:7309: clang -c conftest.c >&5
# configure:7309: $? = 0
# configure:7309: result: yes
# configure:7309: checking for inttypes.h
# configure:7309: clang -c conftest.c >&5
# configure:7309: $? = 0
# configure:7309: result: yes
# configure:7309: checking for stdint.h
# configure:7309: clang -c conftest.c >&5
# configure:7309: $? = 0
# configure:7309: result: yes
# configure:7309: checking for unistd.h
# configure:7309: clang -c conftest.c >&5
# configure:7309: $? = 0
# configure:7309: result: yes
# configure:7323: checking for dlfcn.h
# configure:7323: clang -c conftest.c >&5
# configure:7323: $? = 0
# configure:7323: result: yes
# configure:7529: checking for objdir
# configure:7544: result: .libs
# configure:7815: checking if clang supports -fno-rtti -fno-exceptions
# configure:7833: clang -c -fno-rtti -fno-exceptions conftest.c >&5
# configure:7837: $? = 0
# configure:7850: result: yes
# configure:8177: checking for clang option to produce PIC
# configure:8184: result: -fPIC -DPIC
# configure:8192: checking if clang PIC flag -fPIC -DPIC works
# configure:8210: clang -c -fPIC -DPIC -DPIC conftest.c >&5
# configure:8214: $? = 0
# configure:8227: result: yes
# configure:8256: checking if clang static flag -static works
# configure:8284: result: no
# configure:8299: checking if clang supports -c -o file.o
# configure:8320: clang -c -o out/conftest2.o conftest.c >&5
# configure:8324: $? = 0
# configure:8346: result: yes
# configure:8354: checking if clang supports -c -o file.o
# configure:8401: result: yes
# configure:8434: checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries
# configure:9587: result: yes
# configure:9624: checking whether -lc should be explicitly linked in
# configure:9632: clang -c conftest.c >&5
# configure:9635: $? = 0
# configure:9650: clang -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/sbin/grep -lc \>/dev/null 2\>\&1
# configure:9653: $? = 0
# configure:9667: result: no
# configure:9827: checking dynamic linker characteristics
# configure:10338: clang -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5
# configure:10338: $? = 0
# configure:10564: result: GNU/Linux ld.so
# configure:10671: checking how to hardcode library paths into programs
# configure:10696: result: immediate
# configure:11236: checking whether stripping libraries is possible
# configure:11241: result: yes
# configure:11276: checking if libtool supports shared libraries
# configure:11278: result: yes
# configure:11281: checking whether to build shared libraries
# configure:11302: result: yes
# configure:11305: checking whether to build static libraries
# configure:11309: result: yes
# configure:11421: checking for ANSI C header files
# configure:11525: result: yes
# configure:11533: checking for main in -lnsl
# configure:11552: clang -o conftest conftest.c -lnsl >&5
# /sysroot/bin/ld: error: cannot find -lnsl
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:11552: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "ser2net"
# | #define PACKAGE_TARNAME "ser2net"
# | #define PACKAGE_VERSION "2.10.0"
# | #define PACKAGE_STRING "ser2net 2.10.0"
# | #define PACKAGE_BUGREPORT "minyard@acm.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "ser2net"
# | #define VERSION "2.10.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define USE_UUCP_LOCKING 1
# | #define STDC_HEADERS 1
# | /* end confdefs.h. */
# |
# |
# | int
# | main ()
# | {
# | return main ();
# | ;
# | return 0;
# | }
# configure:11561: result: no
# configure:11719: checking that generated files are newer than configure
# configure:11725: result: done
# configure:11748: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by ser2net config.status 2.10.0, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 14044cb57524
#
# config.status:1004: creating Makefile
# config.status:1004: creating ser2net.spec
# config.status:1176: executing depfiles commands
# config.status:1176: executing libtool commands
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_c_compiler_gnu=yes
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=clang
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value=
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_CPP_set=
# ac_cv_env_CPP_value=
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=set
# ac_cv_env_host_alias_value=x86_64-unknown-linux
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_header_dlfcn_h=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_stdc=yes
# ac_cv_header_stdint_h=yes
# ac_cv_header_stdlib_h=yes
# ac_cv_header_string_h=yes
# ac_cv_header_strings_h=yes
# ac_cv_header_sys_stat_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_lib_nsl_main=no
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/sbin/grep -E'
# ac_cv_path_FGREP='/usr/sbin/grep -F'
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_path_SED=/usr/sbin/sed
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_STRIP=strip
# ac_cv_prog_ac_ct_AR=ar
# ac_cv_prog_ac_ct_OBJDUMP=objdump
# ac_cv_prog_ac_ct_RANLIB=ranlib
# ac_cv_prog_ac_ct_STRIP=strip
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_make_support_nested_variables=yes
# lt_cv_ar_at_file=@
# lt_cv_archive_cmds_need_lc=no
# lt_cv_deplibs_check_method=pass_all
# lt_cv_file_magic_cmd='$MAGIC_CMD'
# lt_cv_file_magic_test_file=
# lt_cv_ld_reload_flag=-r
# lt_cv_nm_interface='BSD nm'
# lt_cv_objdir=.libs
# lt_cv_path_LD=/sysroot/bin/ld
# lt_cv_path_NM='/sysroot/bin/nm -B'
# lt_cv_path_mainfest_tool=no
# lt_cv_prog_compiler_c_o=yes
# lt_cv_prog_compiler_pic='-fPIC -DPIC'
# lt_cv_prog_compiler_pic_works=yes
# lt_cv_prog_compiler_rtti_exceptions=yes
# lt_cv_prog_compiler_static_works=no
# lt_cv_prog_gnu_ld=yes
# lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
# lt_cv_shlibpath_overrides_runpath=yes
# lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
# lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
# lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
# lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
# lt_cv_sys_max_cmd_len=1572864
# lt_cv_to_host_file_cmd=func_convert_file_noop
# lt_cv_to_tool_file_cmd=func_convert_file_noop
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/ser2net/src/ser2net-2.10.0/missing aclocal-1.13'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='1'
# AM_V='$(V)'
# AR='ar'
# AUTOCONF='${SHELL} /tmp/ser2net/src/ser2net-2.10.0/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/ser2net/src/ser2net-2.10.0/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/ser2net/src/ser2net-2.10.0/missing automake-1.13'
# AWK='gawk'
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS=''
# CPP='clang -E'
# CPPFLAGS=''
# CYGPATH_W='echo'
# DEFS='-DPACKAGE_NAME=\"ser2net\" -DPACKAGE_TARNAME=\"ser2net\" -DPACKAGE_VERSION=\"2.10.0\" -DPACKAGE_STRING=\"ser2net\ 2.10.0\" -DPACKAGE_BUGREPORT=\"minyard@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ser2net\" -DVERSION=\"2.10.0\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DUSE_UUCP_LOCKING=1 -DSTDC_HEADERS=1'
# DEPDIR='.deps'
# DLLTOOL='false'
# DSYMUTIL=''
# DUMPBIN=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/sbin/grep -E'
# EXEEXT=''
# FGREP='/usr/sbin/grep -F'
# GREP='/usr/sbin/grep'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LD='/sysroot/bin/ld -m elf_x86_64'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# LIPO=''
# LN_S='ln -s'
# LTLIBOBJS=''
# MAKEINFO='${SHELL} /tmp/ser2net/src/ser2net-2.10.0/missing makeinfo'
# MANIFEST_TOOL=':'
# MKDIR_P='/usr/sbin/mkdir -p'
# NM='/sysroot/bin/nm -B'
# NMEDIT=''
# OBJDUMP='objdump'
# OBJEXT='o'
# OTOOL64=''
# OTOOL=''
# PACKAGE='ser2net'
# PACKAGE_BUGREPORT='minyard@acm.org'
# PACKAGE_NAME='ser2net'
# PACKAGE_STRING='ser2net 2.10.0'
# PACKAGE_TARNAME='ser2net'
# PACKAGE_URL=''
# PACKAGE_VERSION='2.10.0'
# PATH_SEPARATOR=':'
# RANLIB='ranlib'
# SED='/usr/sbin/sed'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# VERSION='2.10.0'
# ac_ct_AR='ar'
# ac_ct_CC=''
# ac_ct_DUMPBIN=''
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE='#'
# am__fastdepCC_FALSE='#'
# am__fastdepCC_TRUE=''
# am__include='include'
# am__isrc=''
# am__leading_dot='.'
# am__nodep='_no'
# am__quote=''
# am__tar='$${TAR-tar} chof - "$$tardir"'
# am__untar='$${TAR-tar} xf -'
# bindir='${exec_prefix}/bin'
# build='x86_64-unknown-linux-gnu'
# build_alias=''
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='unknown'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host='x86_64-unknown-linux-gnu'
# host_alias='x86_64-unknown-linux'
# host_cpu='x86_64'
# host_os='linux-gnu'
# host_vendor='unknown'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/ser2net/src/ser2net-2.10.0/install-sh'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# mkdir_p='$(MKDIR_P)'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='/usr/bin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "ser2net"
# #define PACKAGE_TARNAME "ser2net"
# #define PACKAGE_VERSION "2.10.0"
# #define PACKAGE_STRING "ser2net 2.10.0"
# #define PACKAGE_BUGREPORT "minyard@acm.org"
# #define PACKAGE_URL ""
# #define PACKAGE "ser2net"
# #define VERSION "2.10.0"
# #define STDC_HEADERS 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_STAT_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STRING_H 1
# #define HAVE_MEMORY_H 1
# #define HAVE_STRINGS_H 1
# #define HAVE_INTTYPES_H 1
# #define HAVE_STDINT_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_DLFCN_H 1
# #define LT_OBJDIR ".libs/"
# #define USE_UUCP_LOCKING 1
# #define STDC_HEADERS 1
#
# configure: exit 0