Build of 6tunnel with musl toolchain

The build took 00h 01m 04s and was SUCCESSFUL.

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

SLOCLanguage
587 ansic
178 sh
28 makefile
793 total

The process tree of the build process is here.

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: 6tunnel 0.11rc2-6 (Tue Apr 4 22:53:00 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# 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 a BSD-compatible install... /usr/bin/install -c
# checking whether make sets $(MAKE)... yes
# checking for strip... /sysroot/bin/strip
# checking for t_accept in -lnsl... no
# checking for socket in -lsocket... no
# checking for main in -linet6... no
# checking how to run the C preprocessor... clang -E
# checking for grep that handles long lines and -e... /usr/sbin/grep
# checking for egrep... /usr/sbin/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 sys/socket.h usability... yes
# checking sys/socket.h presence... yes
# checking for sys/socket.h... yes
# checking netinet/in.h usability... yes
# checking netinet/in.h presence... yes
# checking for netinet/in.h... yes
# checking arpa/inet.h usability... yes
# checking arpa/inet.h presence... yes
# checking for arpa/inet.h... yes
# checking netdb.h usability... yes
# checking netdb.h presence... yes
# checking for netdb.h... yes
# checking for getaddrinfo... yes
# checking for AF_INET6... yes
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
# clang -Wall 6tunnel.c -o 6tunnel
# 6tunnel.c:724:57: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# if ((csock = accept(lsock, (struct sockaddr*) &caddr, &caddrlen)) == -1) {
# ^~~~~~~~~
# /sysroot/include/sys/socket.h:301:68: note: passing argument to parameter here
# int accept (int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning generated.
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "6tunnel"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: 6tunnel 0.11rc2-6 (Tue Apr 4 22:53:08 UTC 2017)

CMD: pacman --query --file 6tunnel-0.11rc2-6-x86_64.pkg.tar.xz
# 6tunnel 0.11rc2-6

Creating hybrid package for '6tunnel'

Trying to find vanilla package '6tunnel'...

CMD: pacman --query --file /mirror/6tunnel-0.11rc2-6.pkg.tar.xz
# 6tunnel 0.11rc2-6

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/6tunnel
# /usr/share/man/man1/6tunnel.1.gz

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO usr

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO usr .MTREE | xz -c -z

CMD: bsdtar -tqf 6tunnel.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/6tunnel.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/6tunnel.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/6tunnel.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'

Printing config logfiles

CMD: config logfiles '/tmp/6tunnel/src/6tunnel-0.11rc2/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 configure, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = f492dea3e616
# 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:2092: checking for x86_64-unknown-linux-gcc
# configure:2119: result: clang
# configure:2388: checking for C compiler version
# configure:2397: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:2408: $? = 0
# configure:2397: 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:2408: $? = 0
# configure:2397: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2408: $? = 1
# configure:2397: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:2408: $? = 1
# configure:2428: checking whether the C compiler works
# configure:2450: clang conftest.c >&5
# configure:2454: $? = 0
# configure:2502: result: yes
# configure:2505: checking for C compiler default output file name
# configure:2507: result: a.out
# configure:2513: checking for suffix of executables
# configure:2520: clang -o conftest conftest.c >&5
# configure:2524: $? = 0
# configure:2546: result:
# configure:2568: checking whether we are cross compiling
# configure:2576: clang -o conftest conftest.c >&5
# configure:2580: $? = 0
# configure:2587: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:2591: $? = 127
# configure:2606: result: yes
# configure:2611: checking for suffix of object files
# configure:2633: clang -c conftest.c >&5
# configure:2637: $? = 0
# configure:2658: result: o
# configure:2662: checking whether we are using the GNU C compiler
# configure:2681: clang -c conftest.c >&5
# configure:2681: $? = 0
# configure:2690: result: yes
# configure:2699: checking whether clang accepts -g
# configure:2719: clang -c -g conftest.c >&5
# configure:2719: $? = 0
# configure:2760: result: yes
# configure:2777: checking for clang option to accept ISO C89
# configure:2840: clang -c conftest.c >&5
# configure:2840: $? = 0
# configure:2853: result: none needed
# configure:2916: checking for a BSD-compatible install
# configure:2984: result: /usr/bin/install -c
# configure:2995: checking whether make sets $(MAKE)
# configure:3017: result: yes
# configure:3028: checking for strip
# configure:3046: found /sysroot/bin/strip
# configure:3059: result: /sysroot/bin/strip
# configure:3073: checking for t_accept in -lnsl
# configure:3098: clang -o conftest conftest.c -lnsl >&5
# /sysroot/bin/ld: error: cannot find -lnsl
# /tmp/conftest-bace39.o:conftest.c:function main: error: undefined reference to 't_accept'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:3098: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char t_accept ();
# | int
# | main ()
# | {
# | return t_accept ();
# | ;
# | return 0;
# | }
# configure:3107: result: no
# configure:3113: checking for socket in -lsocket
# configure:3138: clang -o conftest conftest.c -lsocket >&5
# /sysroot/bin/ld: error: cannot find -lsocket
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:3138: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char socket ();
# | int
# | main ()
# | {
# | return socket ();
# | ;
# | return 0;
# | }
# configure:3147: result: no
# configure:3153: checking for main in -linet6
# configure:3172: clang -o conftest conftest.c -linet6 >&5
# /sysroot/bin/ld: error: cannot find -linet6
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:3172: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# |
# |
# | int
# | main ()
# | {
# | return main ();
# | ;
# | return 0;
# | }
# configure:3181: result: no
# configure:3193: checking how to run the C preprocessor
# configure:3224: clang -E conftest.c
# configure:3224: $? = 0
# configure:3238: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3238: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# | #include
# configure:3263: result: clang -E
# configure:3283: clang -E conftest.c
# configure:3283: $? = 0
# configure:3297: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3297: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# | #include
# configure:3326: checking for grep that handles long lines and -e
# configure:3384: result: /usr/sbin/grep
# configure:3389: checking for egrep
# configure:3451: result: /usr/sbin/grep -E
# configure:3456: checking for ANSI C header files
# configure:3476: clang -c conftest.c >&5
# configure:3476: $? = 0
# configure:3560: result: yes
# configure:3573: checking for sys/types.h
# configure:3573: clang -c conftest.c >&5
# configure:3573: $? = 0
# configure:3573: result: yes
# configure:3573: checking for sys/stat.h
# configure:3573: clang -c conftest.c >&5
# configure:3573: $? = 0
# configure:3573: result: yes
# configure:3573: checking for stdlib.h
# configure:3573: clang -c conftest.c >&5
# configure:3573: $? = 0
# configure:3573: result: yes
# configure:3573: checking for string.h
# configure:3573: clang -c conftest.c >&5
# configure:3573: $? = 0
# configure:3573: result: yes
# configure:3573: checking for memory.h
# configure:3573: clang -c conftest.c >&5
# configure:3573: $? = 0
# configure:3573: result: yes
# configure:3573: checking for strings.h
# configure:3573: clang -c conftest.c >&5
# configure:3573: $? = 0
# configure:3573: result: yes
# configure:3573: checking for inttypes.h
# configure:3573: clang -c conftest.c >&5
# configure:3573: $? = 0
# configure:3573: result: yes
# configure:3573: checking for stdint.h
# configure:3573: clang -c conftest.c >&5
# configure:3573: $? = 0
# configure:3573: result: yes
# configure:3573: checking for unistd.h
# configure:3573: clang -c conftest.c >&5
# configure:3573: $? = 0
# configure:3573: result: yes
# configure:3588: checking sys/socket.h usability
# configure:3588: clang -c conftest.c >&5
# configure:3588: $? = 0
# configure:3588: result: yes
# configure:3588: checking sys/socket.h presence
# configure:3588: clang -E conftest.c
# configure:3588: $? = 0
# configure:3588: result: yes
# configure:3588: checking for sys/socket.h
# configure:3588: result: yes
# configure:3588: checking netinet/in.h usability
# configure:3588: clang -c conftest.c >&5
# configure:3588: $? = 0
# configure:3588: result: yes
# configure:3588: checking netinet/in.h presence
# configure:3588: clang -E conftest.c
# configure:3588: $? = 0
# configure:3588: result: yes
# configure:3588: checking for netinet/in.h
# configure:3588: result: yes
# configure:3588: checking arpa/inet.h usability
# configure:3588: clang -c conftest.c >&5
# configure:3588: $? = 0
# configure:3588: result: yes
# configure:3588: checking arpa/inet.h presence
# configure:3588: clang -E conftest.c
# configure:3588: $? = 0
# configure:3588: result: yes
# configure:3588: checking for arpa/inet.h
# configure:3588: result: yes
# configure:3588: checking netdb.h usability
# configure:3588: clang -c conftest.c >&5
# configure:3588: $? = 0
# configure:3588: result: yes
# configure:3588: checking netdb.h presence
# configure:3588: clang -E conftest.c
# configure:3588: $? = 0
# configure:3588: result: yes
# configure:3588: checking for netdb.h
# configure:3588: result: yes
# configure:3602: checking for getaddrinfo
# configure:3602: clang -o conftest conftest.c >&5
# configure:3602: $? = 0
# configure:3602: result: yes
# configure:3614: checking for AF_INET6
# configure:3627: clang -c conftest.c >&5
# configure:3627: $? = 0
# configure:3629: result: yes
# configure:3796: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by config.status, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on f492dea3e616
#
# config.status:730: creating Makefile
# config.status:833: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# 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_func_getaddrinfo=yes
# ac_cv_header_arpa_inet_h=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_netdb_h=yes
# ac_cv_header_netinet_in_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_socket_h=yes
# ac_cv_header_sys_stat_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_lib_inet6_main=no
# ac_cv_lib_nsl_t_accept=no
# ac_cv_lib_socket_socket=no
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/sbin/grep -E'
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_path_STRIP=/sysroot/bin/strip
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# CC='clang'
# CFLAGS=''
# CPP='clang -E'
# CPPFLAGS=''
# DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -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_SYS_SOCKET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETDB_H=1 -DHAVE_GETADDRINFO=1'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/sbin/grep -E'
# EXEEXT=''
# GREP='/usr/sbin/grep'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# OBJEXT='o'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_URL=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='/sysroot/bin/strip'
# VERSION='0.11'
# ac_ct_CC=''
# bindir='${exec_prefix}/bin'
# build_alias=''
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host_alias='x86_64-unknown-linux'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME ""
# #define PACKAGE_TARNAME ""
# #define PACKAGE_VERSION ""
# #define PACKAGE_STRING ""
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_URL ""
# #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_SYS_SOCKET_H 1
# #define HAVE_NETINET_IN_H 1
# #define HAVE_ARPA_INET_H 1
# #define HAVE_NETDB_H 1
# #define HAVE_GETADDRINFO 1
#
# configure: exit 0