Build of igmpproxy with musl toolchain

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

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

SLOCLanguage
3,829 sh
1,898 ansic
1,439 makefile
7,166 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: igmpproxy 0.1-3 (Tue Apr 4 23:09:25 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# configure: WARNING: If you wanted to set the --build type, don't use --host.
# If a cross compiler is detected then cross compile mode will be used.
# 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 for style of include used by make... GNU
# checking for x86_64-unknown-linux-gcc... clang
# checking for C compiler default output file name... a.out
# checking whether the C compiler works... yes
# checking whether we are cross compiling... yes
# checking for suffix of executables...
# 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 dependency style of clang... gcc3
# checking for clang option to accept ISO C99... none needed
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking for struct sockaddr.sa_len... no
# checking for struct sockaddr_in.sin_len... no
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating doc/Makefile
# config.status: creating src/Makefile
# config.status: creating doc/igmpproxy.8
# config.status: creating doc/igmpproxy.conf.5
# config.status: creating config.h
# config.status: linking src/os-linux.h to src/os.h
# config.status: executing depfiles commands
# make all-recursive
# make[1]: Entering directory '/tmp/igmpproxy/src/igmpproxy-0.1'
# Making all in doc
# make[2]: Entering directory '/tmp/igmpproxy/src/igmpproxy-0.1/doc'
# make[2]: Nothing to be done for 'all'.
# make[2]: Leaving directory '/tmp/igmpproxy/src/igmpproxy-0.1/doc'
# Making all in src
# make[2]: Entering directory '/tmp/igmpproxy/src/igmpproxy-0.1/src'
# clang -DHAVE_CONFIG_H -I. -I.. -MT callout.o -MD -MP -MF .deps/callout.Tpo -c -o callout.o callout.c
# clang -DHAVE_CONFIG_H -I. -I.. -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o config.c
# clang -DHAVE_CONFIG_H -I. -I.. -MT confread.o -MD -MP -MF .deps/confread.Tpo -c -o confread.o confread.c
# clang -DHAVE_CONFIG_H -I. -I.. -MT ifvc.o -MD -MP -MF .deps/ifvc.Tpo -c -o ifvc.o ifvc.c
# In file included from confread.c:45:
# In file included from ./igmpproxy.h:58:
# ./os.h:2:10: fatal error: 'linux/types.h' file not found
# In file included from #include
# ifvc.c ^:
# 34:
# In file included from ./igmpproxy.h:58:
# ./os.h:2:10: fatal error: 'linux/types.h' file not found
# #include
# ^
# In file included from callout.c:35:
# In file included from ./igmpproxy.h:58:
# ./os.h:2:10: fatal error: 'linux/types.h' file not found
# #include
# ^
# 1 error generated.
# In file included from config.c:38:
# In file included from ./igmpproxy.h:58:
# ./os.h:2:10: fatal error: 'linux/types.h' file not found
# #include
# ^
# 1 error generated.
# 1 error generated.
# make[2]: *** [Makefile:279: confread.o] Error 1
# make[2]: *** Waiting for unfinished jobs....
# make[2]: *** [Makefile:279: ifvc.o] Error 1
# make[2]: *** [Makefile:279: callout.o] Error 1
# 1 error generated.
# make[2]: *** [Makefile:279: config.o] Error 1
# make[2]: Leaving directory '/tmp/igmpproxy/src/igmpproxy-0.1/src'
# make[1]: *** [Makefile:305: all-recursive] Error 1
# make[1]: Leaving directory '/tmp/igmpproxy/src/igmpproxy-0.1'
# make: *** [Makefile:223: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/igmpproxy/src/igmpproxy-0.1/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 igmpproxy configure 0.1, which was
# generated by GNU Autoconf 2.63. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 7c36fc342391
# 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:1839: checking for a BSD-compatible install
# configure:1907: result: /usr/bin/install -c
# configure:1918: checking whether build environment is sane
# configure:1978: result: yes
# configure:2027: checking for x86_64-unknown-linux-strip
# configure:2057: result: no
# configure:2067: checking for strip
# configure:2083: found /sysroot/bin/strip
# configure:2094: result: strip
# configure:2119: checking for a thread-safe mkdir -p
# configure:2158: result: /usr/sbin/mkdir -p
# configure:2171: checking for gawk
# configure:2187: found /usr/sbin/gawk
# configure:2198: result: gawk
# configure:2209: checking whether make sets $(MAKE)
# configure:2231: result: yes
# configure:2328: checking for style of include used by make
# configure:2356: result: GNU
# configure:2386: checking for x86_64-unknown-linux-gcc
# configure:2413: result: clang
# configure:2685: checking for C compiler version
# configure:2693: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:2697: $? = 0
# configure:2704: 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:2708: $? = 0
# configure:2715: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2719: $? = 1
# configure:2742: checking for C compiler default output file name
# configure:2764: clang conftest.c >&5
# configure:2768: $? = 0
# configure:2806: result: a.out
# configure:2825: checking whether the C compiler works
# configure:2835: ./a.out
# ./a.out: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:2839: $? = 127
# configure:2858: result: yes
# configure:2865: checking whether we are cross compiling
# configure:2867: result: yes
# configure:2870: checking for suffix of executables
# configure:2877: clang -o conftest conftest.c >&5
# configure:2881: $? = 0
# configure:2907: result:
# configure:2913: checking for suffix of object files
# configure:2939: clang -c conftest.c >&5
# configure:2943: $? = 0
# configure:2968: result: o
# configure:2972: checking whether we are using the GNU C compiler
# configure:3001: clang -c conftest.c >&5
# configure:3008: $? = 0
# configure:3025: result: yes
# configure:3034: checking whether clang accepts -g
# configure:3064: clang -c -g conftest.c >&5
# configure:3071: $? = 0
# configure:3172: result: yes
# configure:3189: checking for clang option to accept ISO C89
# configure:3263: clang -c conftest.c >&5
# configure:3270: $? = 0
# configure:3293: result: none needed
# configure:3313: checking dependency style of clang
# configure:3423: result: gcc3
# configure:3438: checking for clang option to accept ISO C99
# configure:3597: clang -c conftest.c >&5
# configure:3604: $? = 0
# configure:3627: result: none needed
# configure:3647: checking build system type
# configure:3665: result: x86_64-unknown-linux-gnu
# configure:3687: checking host system type
# configure:3702: result: x86_64-unknown-linux-gnu
# configure:3738: checking for struct sockaddr.sa_len
# configure:3770: clang -c conftest.c >&5
# conftest.c:19:13: error: no member named 'sa_len' in 'struct sockaddr'
# if (ac_aggr.sa_len)
# ~~~~~~~ ^
# 1 error generated.
# configure:3777: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# | #define PACKAGE_NAME "igmpproxy"
# | #define PACKAGE_TARNAME "igmpproxy"
# | #define PACKAGE_VERSION "0.1"
# | #define PACKAGE_STRING "igmpproxy 0.1"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE "igmpproxy"
# | #define VERSION "0.1"
# | /* end confdefs.h. */
# |
# | #include
# | #include
# |
# |
# | int
# | main ()
# | {
# | static struct sockaddr ac_aggr;
# | if (ac_aggr.sa_len)
# | return 0;
# | ;
# | return 0;
# | }
# configure:3814: clang -c conftest.c >&5
# conftest.c:19:20: error: no member named 'sa_len' in 'struct sockaddr'
# if (sizeof ac_aggr.sa_len)
# ~~~~~~~ ^
# 1 error generated.
# configure:3821: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# | #define PACKAGE_NAME "igmpproxy"
# | #define PACKAGE_TARNAME "igmpproxy"
# | #define PACKAGE_VERSION "0.1"
# | #define PACKAGE_STRING "igmpproxy 0.1"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE "igmpproxy"
# | #define VERSION "0.1"
# | /* end confdefs.h. */
# |
# | #include
# | #include
# |
# |
# | int
# | main ()
# | {
# | static struct sockaddr ac_aggr;
# | if (sizeof ac_aggr.sa_len)
# | return 0;
# | ;
# | return 0;
# | }
# configure:3839: result: no
# configure:3850: checking for struct sockaddr_in.sin_len
# configure:3882: clang -c conftest.c >&5
# conftest.c:19:13: error: no member named 'sin_len' in 'struct sockaddr_in'
# if (ac_aggr.sin_len)
# ~~~~~~~ ^
# 1 error generated.
# configure:3889: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# | #define PACKAGE_NAME "igmpproxy"
# | #define PACKAGE_TARNAME "igmpproxy"
# | #define PACKAGE_VERSION "0.1"
# | #define PACKAGE_STRING "igmpproxy 0.1"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE "igmpproxy"
# | #define VERSION "0.1"
# | /* end confdefs.h. */
# |
# | #include
# | #include
# |
# |
# | int
# | main ()
# | {
# | static struct sockaddr_in ac_aggr;
# | if (ac_aggr.sin_len)
# | return 0;
# | ;
# | return 0;
# | }
# configure:3926: clang -c conftest.c >&5
# conftest.c:19:20: error: no member named 'sin_len' in 'struct sockaddr_in'
# if (sizeof ac_aggr.sin_len)
# ~~~~~~~ ^
# 1 error generated.
# configure:3933: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# | #define PACKAGE_NAME "igmpproxy"
# | #define PACKAGE_TARNAME "igmpproxy"
# | #define PACKAGE_VERSION "0.1"
# | #define PACKAGE_STRING "igmpproxy 0.1"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE "igmpproxy"
# | #define VERSION "0.1"
# | /* end confdefs.h. */
# |
# | #include
# | #include
# |
# |
# | int
# | main ()
# | {
# | static struct sockaddr_in ac_aggr;
# | if (sizeof ac_aggr.sin_len)
# | return 0;
# | ;
# | return 0;
# | }
# configure:3951: result: no
# configure:4089: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by igmpproxy config.status 0.1, which was
# generated by GNU Autoconf 2.63. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 7c36fc342391
#
# config.status:776: creating Makefile
# config.status:776: creating doc/Makefile
# config.status:776: creating src/Makefile
# config.status:776: creating doc/igmpproxy.8
# config.status:776: creating doc/igmpproxy.conf.5
# config.status:776: creating config.h
# config.status:1062: linking src/os-linux.h to src/os.h
# config.status:1085: executing depfiles 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_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_host=x86_64-unknown-linux-gnu
# ac_cv_member_struct_sockaddr_in_sin_len=no
# ac_cv_member_struct_sockaddr_sa_len=no
# ac_cv_objext=o
# 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_ac_ct_STRIP=strip
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_c99=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
# am_cv_CC_dependencies_compiler_type=gcc3
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/igmpproxy/src/igmpproxy-0.1/missing --run aclocal-1.11'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='${SHELL} /tmp/igmpproxy/src/igmpproxy-0.1/missing --run tar'
# AUTOCONF='${SHELL} /tmp/igmpproxy/src/igmpproxy-0.1/missing --run autoconf'
# AUTOHEADER='${SHELL} /tmp/igmpproxy/src/igmpproxy-0.1/missing --run autoheader'
# AUTOMAKE='${SHELL} /tmp/igmpproxy/src/igmpproxy-0.1/missing --run automake-1.11'
# AWK='gawk'
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS=''
# CPPFLAGS=''
# CYGPATH_W='echo'
# DEFS='-DHAVE_CONFIG_H'
# DEPDIR='.deps'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EXEEXT=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# MAKEINFO='${SHELL} /tmp/igmpproxy/src/igmpproxy-0.1/missing --run makeinfo'
# MKDIR_P='/usr/sbin/mkdir -p'
# OBJEXT='o'
# PACKAGE='igmpproxy'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME='igmpproxy'
# PACKAGE_STRING='igmpproxy 0.1'
# PACKAGE_TARNAME='igmpproxy'
# PACKAGE_VERSION='0.1'
# PATH_SEPARATOR=':'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# VERSION='0.1'
# ac_ct_CC=''
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE='#'
# am__fastdepCC_FALSE='#'
# am__fastdepCC_TRUE=''
# am__include='include'
# am__isrc=''
# am__leading_dot='.'
# am__quote=''
# am__tar='${AMTAR} chof - "$$tardir"'
# am__untar='${AMTAR} 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/igmpproxy/src/igmpproxy-0.1/install-sh'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# mkdir_p='/usr/sbin/mkdir -p'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='/usr/bin'
# sharedstatedir='${prefix}/com'
# sysconfdir='/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# #define PACKAGE_NAME "igmpproxy"
# #define PACKAGE_TARNAME "igmpproxy"
# #define PACKAGE_VERSION "0.1"
# #define PACKAGE_STRING "igmpproxy 0.1"
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE "igmpproxy"
# #define VERSION "0.1"
#
# configure: exit 0