Build of sslscan with clang_glibc toolchain

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

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

SLOCLanguage
1,826 ansic
37 makefile
1,863 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/sbin --> /sysroot/sbin
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/etc --> /sysroot/etc
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/var --> /sysroot/var
# /toolchain_root/usr --> /sysroot/usr
# /toolchain_root/glibc-build --> /sysroot/glibc-build
# /toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/usr/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: sslscan 1.10.2-3 (Thu Apr 13 16:53:36 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -o sslscan sslscan.c -lssl -lcrypto
# sslscan.c:1098:56: warning: implicit declaration of function 'SSLv3_client_method' is invalid in C99 [-Wimplicit-function-declaration]
# if (sslCipherPointer->sslMethod == SSLv3_client_method())
# ^
# sslscan.c:1098:53: warning: comparison between pointer and integer ('const SSL_METHOD *' (aka 'const struct ssl_method_st *') and 'int')
# if (sslCipherPointer->sslMethod == SSLv3_client_method())
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
# sslscan.c:1193:58: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
# int defaultCipher(struct sslCheckOptions *options, const const SSL_METHOD *sslMethod)
# ^
# sslscan.c:1253:43: warning: comparison between pointer and integer ('const SSL_METHOD *' (aka 'const struct ssl_method_st *') and 'int')
# if (sslMethod == SSLv3_client_method())
# ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
# sslscan.c:1941:53: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion]
# status = defaultCipher(options, SSLv3_client_method());
# ^~~~~~~~~~~~~~~~~~~~~
# sslscan.c:1193:76: note: passing argument to parameter 'sslMethod' here
# int defaultCipher(struct sslCheckOptions *options, const const SSL_METHOD *sslMethod)
# ^
# sslscan.c:1960:49: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion]
# status = defaultCipher(options, SSLv3_client_method());
# ^~~~~~~~~~~~~~~~~~~~~
# sslscan.c:1193:76: note: passing argument to parameter 'sslMethod' here
# int defaultCipher(struct sslCheckOptions *options, const const SSL_METHOD *sslMethod)
# ^
# sslscan.c:2302:50: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion]
# populateCipherList(&options, SSLv3_client_method());
# ^~~~~~~~~~~~~~~~~~~~~
# sslscan.c:189:75: note: passing argument to parameter 'sslMethod' here
# int populateCipherList(struct sslCheckOptions *options, const SSL_METHOD *sslMethod)
# ^
# sslscan.c:2317:50: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion]
# populateCipherList(&options, SSLv3_client_method());
# ^~~~~~~~~~~~~~~~~~~~~
# sslscan.c:189:75: note: passing argument to parameter 'sslMethod' here
# int populateCipherList(struct sslCheckOptions *options, const SSL_METHOD *sslMethod)
# ^
# 8 warnings generated.
# /tmp/sslscan-e74f5b.o: In function `testCipher':
# sslscan.c:(.text+0x24a8): undefined reference to `SSLv3_client_method'
# /tmp/sslscan-e74f5b.o: In function `defaultCipher':
# sslscan.c:(.text+0x2a95): undefined reference to `SSLv3_client_method'
# /tmp/sslscan-e74f5b.o: In function `testHost':
# sslscan.c:(.text+0x49ea): undefined reference to `SSLv3_client_method'
# sslscan.c:(.text+0x4a9c): undefined reference to `SSLv3_client_method'
# /tmp/sslscan-e74f5b.o: In function `main':
# sslscan.c:(.text+0x5dd5): undefined reference to `SSLv3_client_method'
# /tmp/sslscan-e74f5b.o:sslscan.c:(.text+0x5e44): more undefined references to `SSLv3_client_method' follow
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# make: *** [Makefile:19: all] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...