Build of dropbear with musl toolchain

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

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

SLOCLanguage
71,806 ansic
3,317 sh
409 perl
145 makefile
30 asm
75,707 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: dropbear 2016.73-2 (Wed Apr 5 00:14:04 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 whether make sets $(MAKE)... yes
# configure: No $CFLAGS set... using "-Os -W -Wall" for GCC
# checking for special C compiler options needed for large files... no
# checking for _FILE_OFFSET_BITS value needed for large files... no
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking for x86_64-unknown-linux-ar... no
# checking for ar... ar
# configure: WARNING: using cross tools not prefixed with host triplet
# checking for x86_64-unknown-linux-ranlib... no
# checking for ranlib... ranlib
# checking for x86_64-unknown-linux-strip... no
# checking for strip... strip
# checking for x86_64-unknown-linux-install... no
# checking for install... install
# 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 whether __UCLIBC__ is declared... no
# checking for crypt... yes
# checking for crypt in -lcrypt... yes
# checking for deflate in -lz... no
# configure: error: *** zlib missing - install first or check config.log ***
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/dropbear/src/dropbear-2016.73/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 --bindir=/usr/bin --sbindir=/usr/bin
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 450efeef613c
# 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:2314: checking for x86_64-unknown-linux-gcc
# configure:2341: result: clang
# configure:2610: checking for C compiler version
# configure:2619: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:2630: $? = 0
# configure:2619: 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:2630: $? = 0
# configure:2619: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2630: $? = 1
# configure:2619: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:2630: $? = 1
# configure:2650: checking whether the C compiler works
# configure:2672: clang conftest.c >&5
# configure:2676: $? = 0
# configure:2724: result: yes
# configure:2727: checking for C compiler default output file name
# configure:2729: result: a.out
# configure:2735: checking for suffix of executables
# configure:2742: clang -o conftest conftest.c >&5
# configure:2746: $? = 0
# configure:2768: result:
# configure:2790: checking whether we are cross compiling
# configure:2798: clang -o conftest conftest.c >&5
# configure:2802: $? = 0
# configure:2809: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:2813: $? = 127
# configure:2828: result: yes
# configure:2833: checking for suffix of object files
# configure:2855: clang -c conftest.c >&5
# configure:2859: $? = 0
# configure:2880: result: o
# configure:2884: checking whether we are using the GNU C compiler
# configure:2903: clang -c conftest.c >&5
# configure:2903: $? = 0
# configure:2912: result: yes
# configure:2921: checking whether clang accepts -g
# configure:2941: clang -c -g conftest.c >&5
# configure:2941: $? = 0
# configure:2982: result: yes
# configure:2999: checking for clang option to accept ISO C89
# configure:3062: clang -c conftest.c >&5
# configure:3062: $? = 0
# configure:3075: result: none needed
# configure:3095: checking whether make sets $(MAKE)
# configure:3117: result: yes
# configure:3133: No $CFLAGS set... using "-Os -W -Wall" for GCC
# configure:3147: checking for special C compiler options needed for large files
# configure:3192: result: no
# configure:3198: checking for _FILE_OFFSET_BITS value needed for large files
# configure:3223: clang -c -Os -W -Wall -Wno-pointer-sign conftest.c >&5
# configure:3223: $? = 0
# configure:3255: result: no
# configure:3376: checking build system type
# configure:3390: result: x86_64-unknown-linux-gnu
# configure:3410: checking host system type
# configure:3423: result: x86_64-unknown-linux-gnu
# configure:3579: checking for x86_64-unknown-linux-ar
# configure:3609: result: no
# configure:3619: checking for ar
# configure:3635: found /sysroot/bin/ar
# configure:3646: result: ar
# configure:3658: WARNING: using cross tools not prefixed with host triplet
# configure:3671: checking for x86_64-unknown-linux-ranlib
# configure:3701: result: no
# configure:3711: checking for ranlib
# configure:3727: found /sysroot/bin/ranlib
# configure:3738: result: ranlib
# configure:3763: checking for x86_64-unknown-linux-strip
# configure:3793: result: no
# configure:3803: checking for strip
# configure:3819: found /sysroot/bin/strip
# configure:3830: result: strip
# configure:3855: checking for x86_64-unknown-linux-install
# configure:3885: result: no
# configure:3895: checking for install
# configure:3911: found /usr/sbin/install
# configure:3922: result: install
# configure:3950: checking how to run the C preprocessor
# configure:3981: clang -E conftest.c
# configure:3981: $? = 0
# configure:3995: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3995: $? = 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:4020: result: clang -E
# configure:4040: clang -E conftest.c
# configure:4040: $? = 0
# configure:4054: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:4054: $? = 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:4083: checking for grep that handles long lines and -e
# configure:4141: result: /usr/sbin/grep
# configure:4146: checking for egrep
# configure:4208: result: /usr/sbin/grep -E
# configure:4213: checking for ANSI C header files
# configure:4233: clang -c -Os -W -Wall -Wno-pointer-sign conftest.c >&5
# configure:4233: $? = 0
# configure:4317: result: yes
# configure:4330: checking for sys/types.h
# configure:4330: clang -c -Os -W -Wall -Wno-pointer-sign conftest.c >&5
# configure:4330: $? = 0
# configure:4330: result: yes
# configure:4330: checking for sys/stat.h
# configure:4330: clang -c -Os -W -Wall -Wno-pointer-sign conftest.c >&5
# configure:4330: $? = 0
# configure:4330: result: yes
# configure:4330: checking for stdlib.h
# configure:4330: clang -c -Os -W -Wall -Wno-pointer-sign conftest.c >&5
# configure:4330: $? = 0
# configure:4330: result: yes
# configure:4330: checking for string.h
# configure:4330: clang -c -Os -W -Wall -Wno-pointer-sign conftest.c >&5
# configure:4330: $? = 0
# configure:4330: result: yes
# configure:4330: checking for memory.h
# configure:4330: clang -c -Os -W -Wall -Wno-pointer-sign conftest.c >&5
# configure:4330: $? = 0
# configure:4330: result: yes
# configure:4330: checking for strings.h
# configure:4330: clang -c -Os -W -Wall -Wno-pointer-sign conftest.c >&5
# configure:4330: $? = 0
# configure:4330: result: yes
# configure:4330: checking for inttypes.h
# configure:4330: clang -c -Os -W -Wall -Wno-pointer-sign conftest.c >&5
# configure:4330: $? = 0
# configure:4330: result: yes
# configure:4330: checking for stdint.h
# configure:4330: clang -c -Os -W -Wall -Wno-pointer-sign conftest.c >&5
# configure:4330: $? = 0
# configure:4330: result: yes
# configure:4330: checking for unistd.h
# configure:4330: clang -c -Os -W -Wall -Wno-pointer-sign conftest.c >&5
# configure:4330: $? = 0
# configure:4330: result: yes
# configure:4342: checking whether __UCLIBC__ is declared
# configure:4342: clang -c -Os -W -Wall -Wno-pointer-sign conftest.c >&5
# conftest.c:59:10: error: use of undeclared identifier '__UCLIBC__'
# (void) __UCLIBC__;
# ^
# 1 error generated.
# configure:4342: $? = 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 ""
# | #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
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int
# | main ()
# | {
# | #ifndef __UCLIBC__
# | #ifdef __cplusplus
# | (void) __UCLIBC__;
# | #else
# | (void) __UCLIBC__;
# | #endif
# | #endif
# |
# | ;
# | return 0;
# | }
# configure:4342: result: no
# configure:4352: checking for crypt
# configure:4352: clang -o conftest -Os -W -Wall -Wno-pointer-sign conftest.c >&5
# configure:4352: $? = 0
# configure:4352: result: yes
# configure:4357: checking for crypt in -lcrypt
# configure:4382: clang -o conftest -Os -W -Wall -Wno-pointer-sign conftest.c -lcrypt >&5
# configure:4382: $? = 0
# configure:4391: result: yes
# configure:4492: checking for deflate in -lz
# configure:4517: clang -o conftest -Os -W -Wall -Wno-pointer-sign conftest.c -lz >&5
# /sysroot/bin/ld: error: cannot find -lz
# /tmp/conftest-876022.o:conftest.c:function main: error: undefined reference to 'deflate'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:4517: $? = 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 ""
# | #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_CRYPT 1
# | /* 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 deflate ();
# | int
# | main ()
# | {
# | return deflate ();
# | ;
# | return 0;
# | }
# configure:4526: result: no
# configure:4536: error: *** zlib missing - install first or check config.log ***
#
# ## ---------------- ##
# ## 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_func_crypt=yes
# ac_cv_have_decl___UCLIBC__=no
# 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_crypt_crypt=yes
# ac_cv_lib_z_deflate=no
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/sbin/grep -E'
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_ac_ct_AR=ar
# ac_cv_prog_ac_ct_INSTALL=install
# 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
# ac_cv_sys_file_offset_bits=no
# ac_cv_sys_largefile_CC=no
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# AR='ar'
# BUNDLED_LIBTOM=''
# CC='clang'
# CFLAGS='-Os -W -Wall -Wno-pointer-sign'
# CPP='clang -E'
# CPPFLAGS=''
# CRYPTLIB='-lcrypt'
# DEFS=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/sbin/grep -E'
# EXEEXT=''
# GREP='/usr/sbin/grep'
# INSTALL='install'
# LD='clang'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LIBTOM_LIBS=''
# LTLIBOBJS=''
# OBJEXT='o'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_URL=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# RANLIB='ranlib'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# ac_ct_CC=''
# bindir='/usr/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}'
# dvidir='${docdir}'
# exec_prefix='NONE'
# 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'
# 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='/usr/bin'
# 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_CRYPT 1
#
# configure: exit 1