Build of crypto++ with musl toolchain

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

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

SLOCLanguage
59,918 cpp
4,090 asm
596 sh
9 ansic
64,613 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: crypto++ 5.6.3-1 (Wed Apr 5 02:20:42 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# WARNING: CRYPTOPP_NO_UNALIGNED_DATA_ACCESS is not defined in config.h.
# WARNING: CRYPTOPP_INIT_PRIORITY is not defined in config.h.
# WARNING: CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562 is defined in config.h.
# WARNING: You should make these changes in config.h, and not CXXFLAGS.
# WARNING: You can 'mv config.recommend config.h', but it breaks versioning.
# WARNING: See http://cryptopp.com/wiki/config.h for more details.
#
# clang++ -DNDEBUG -fPIC -march=native -c cryptlib.cpp
# clang++ -DNDEBUG -fPIC -march=native -c cpu.cpp
# clang++ -DNDEBUG -fPIC -march=native -c integer.cpp
# clang++ -DNDEBUG -fPIC -march=native -c wake.cpp
# clang++ -DNDEBUG -fPIC -march=native -c default.cpp
# clang++ -DNDEBUG -fPIC -march=native -c skipjack.cpp
# In file included from default.cpp:13:
# ./default.h:164:43: warning: 'DefaultDecryptor' is deprecated: DefaultDecryptor will be changing in the near future because the algorithms are no longer secure [-Wdeprecated-declarations]
# class MACBadErr : public DefaultDecryptor::Err {public: MACBadErr() : DefaultDecryptor::Err("DefaultDecryptorWithMAC: MAC check failed") {}};
# ^
# clang++ -DNDEBUG -fPIC -march=native -c osrng.cpp
# clang++ -DNDEBUG -fPIC -march=native -c arc4.cpp
# clang++ -DNDEBUG -fPIC -march=native -c hex.cpp
# clang++ -DNDEBUG -fPIC -march=native -c esign.cpp
# clang++ -DNDEBUG -fPIC -march=native -c randpool.cpp
# ./default.h:63:7: note: 'DefaultDecryptor' has been explicitly marked deprecated here
# class DefaultDecryptor : public ProxyFilter
# ^
# ./default.h:179:18: warning: 'DefaultDecryptor' is deprecated: DefaultDecryptor will be changing in the near future because the algorithms are no longer secure [-Wdeprecated-declarations]
# DefaultDecryptor::State CurrentState() const;
# ^
# ./default.h:63:7: note: 'DefaultDecryptor' has been explicitly marked deprecated here
# class DefaultDecryptor : public ProxyFilter
# ^
# clang++ -DNDEBUG -fPIC -march=native -c sharkbox.cpp
# 2 warnings generated.
# clang++ -DNDEBUG -fPIC -march=native -c blowfish.cpp
# clang++ -DNDEBUG -fPIC -march=native -c base32.cpp
# clang++ -DNDEBUG -fPIC -march=native -c files.cpp
# clang++ -DNDEBUG -fPIC -march=native -c dessp.cpp
# clang++ -DNDEBUG -fPIC -march=native -c seal.cpp
# clang++ -DNDEBUG -fPIC -march=native -c mars.cpp
# clang++ -DNDEBUG -fPIC -march=native -c misc.cpp
# clang++ -DNDEBUG -fPIC -march=native -c twofish.cpp
# clang++ -DNDEBUG -fPIC -march=native -c sha.cpp
# clang++ -DNDEBUG -fPIC -march=native -c dsa.cpp
# clang++ -DNDEBUG -fPIC -march=native -c polynomi.cpp
# clang++ -DNDEBUG -fPIC -march=native -c eprecomp.cpp
# clang++ -DNDEBUG -fPIC -march=native -c vmac.cpp
# clang++ -DNDEBUG -fPIC -march=native -c fipstest.cpp
# clang++ -DNDEBUG -fPIC -march=native -c rc5.cpp
# clang++ -DNDEBUG -fPIC -march=native -c ida.cpp
# clang++ -DNDEBUG -fPIC -march=native -c queue.cpp
# clang++ -DNDEBUG -fPIC -march=native -c xtrcrypt.cpp
# clang++ -DNDEBUG -fPIC -march=native -c gf256.cpp
# clang++ -DNDEBUG -fPIC -march=native -c hmac.cpp
# clang++ -DNDEBUG -fPIC -march=native -c authenc.cpp
# clang++ -DNDEBUG -fPIC -march=native -c idea.cpp
# clang++ -DNDEBUG -fPIC -march=native -c squaretb.cpp
# clang++ -DNDEBUG -fPIC -march=native -c pkcspad.cpp
# clang++ -DNDEBUG -fPIC -march=native -c emsa2.cpp
# clang++ -DNDEBUG -fPIC -march=native -c network.cpp
# clang++ -DNDEBUG -fPIC -march=native -c eax.cpp
# clang++ -DNDEBUG -fPIC -march=native -c luc.cpp
# clang++ -DNDEBUG -fPIC -march=native -c crc.cpp
# clang++ -DNDEBUG -fPIC -march=native -c elgamal.cpp
# clang++ -DNDEBUG -fPIC -march=native -c zlib.cpp
# clang++ -DNDEBUG -fPIC -march=native -c dh2.cpp
# clang++ -DNDEBUG -fPIC -march=native -c strciphr.cpp
# clang++ -DNDEBUG -fPIC -march=native -c ecp.cpp
# clang++ -DNDEBUG -fPIC -march=native -c tea.cpp
# clang++ -DNDEBUG -fPIC -march=native -c marss.cpp
# clang++ -DNDEBUG -fPIC -march=native -c algparam.cpp
# clang++ -DNDEBUG -fPIC -march=native -c wait.cpp
# clang++ -DNDEBUG -fPIC -march=native -c iterhash.cpp
# clang++ -DNDEBUG -fPIC -march=native -c safer.cpp
# clang++ -DNDEBUG -fPIC -march=native -c camellia.cpp
# clang++ -DNDEBUG -fPIC -march=native -c oaep.cpp
# clang++ -DNDEBUG -fPIC -march=native -c square.cpp
# clang++ -DNDEBUG -fPIC -march=native -c gf2n.cpp
# clang++ -DNDEBUG -fPIC -march=native -c shark.cpp
# clang++ -DNDEBUG -fPIC -march=native -c seed.cpp
# clang++ -DNDEBUG -fPIC -march=native -c shacal2.cpp
# clang++ -DNDEBUG -fPIC -march=native -c cmac.cpp
# clang++ -DNDEBUG -fPIC -march=native -c serpent.cpp
# clang++ -DNDEBUG -fPIC -march=native -c eccrypto.cpp
# clang++ -DNDEBUG -fPIC -march=native -c ripemd.cpp
# clang++ -DNDEBUG -fPIC -march=native -c gcm.cpp
# clang++ -DNDEBUG -fPIC -march=native -c pubkey.cpp
# clang++ -DNDEBUG -fPIC -march=native -c trdlocal.cpp
# clang++ -DNDEBUG -fPIC -march=native -c salsa.cpp
# clang++ -DNDEBUG -fPIC -march=native -c hrtimer.cpp
# clang++ -DNDEBUG -fPIC -march=native -c ttmac.cpp
# clang++ -DNDEBUG -fPIC -march=native -c rc2.cpp
# clang++ -DNDEBUG -fPIC -march=native -c mqv.cpp
# clang++ -DNDEBUG -fPIC -march=native -c md2.cpp
# clang++ -DNDEBUG -fPIC -march=native -c ccm.cpp
# clang++ -DNDEBUG -fPIC -march=native -c md4.cpp
# clang++ -DNDEBUG -fPIC -march=native -c whrlpool.cpp
# clang++ -DNDEBUG -fPIC -march=native -c asn.cpp
# clang++ -DNDEBUG -fPIC -march=native -c rw.cpp
# clang++ -DNDEBUG -fPIC -march=native -c cast.cpp
# clang++ -DNDEBUG -fPIC -march=native -c tiger.cpp
# clang++ -DNDEBUG -fPIC -march=native -c rng.cpp
# clang++ -DNDEBUG -fPIC -march=native -c channels.cpp
# clang++ -DNDEBUG -fPIC -march=native -c zinflate.cpp
# clang++ -DNDEBUG -fPIC -march=native -c dll.cpp
# clang++ -DNDEBUG -fPIC -march=native -c pssr.cpp
# clang++ -DNDEBUG -fPIC -march=native -c algebra.cpp
# clang++ -DNDEBUG -fPIC -march=native -c mqueue.cpp
# clang++ -DNDEBUG -fPIC -march=native -c rc6.cpp
# clang++ -DNDEBUG -fPIC -march=native -c base64.cpp
# clang++ -DNDEBUG -fPIC -march=native -c zdeflate.cpp
# clang++ -DNDEBUG -fPIC -march=native -c basecode.cpp
# clang++ -DNDEBUG -fPIC -march=native -c des.cpp
# clang++ -DNDEBUG -fPIC -march=native -c blumshub.cpp
# clang++ -DNDEBUG -fPIC -march=native -c ec2n.cpp
# clang++ -DNDEBUG -fPIC -march=native -c casts.cpp
# clang++ -DNDEBUG -fPIC -march=native -c gfpcrypt.cpp
# clang++ -DNDEBUG -fPIC -march=native -c gost.cpp
# clang++ -DNDEBUG -fPIC -march=native -c rijndael.cpp
# clang++ -DNDEBUG -fPIC -march=native -c modes.cpp
# clang++ -DNDEBUG -fPIC -march=native -c sha3.cpp
# clang++ -DNDEBUG -fPIC -march=native -c panama.cpp
# clang++ -DNDEBUG -fPIC -march=native -c nbtheory.cpp
# clang++ -DNDEBUG -fPIC -march=native -c md5.cpp
# clang++ -DNDEBUG -fPIC -march=native -c tftables.cpp
# clang++ -DNDEBUG -fPIC -march=native -c socketft.cpp
# clang++ -DNDEBUG -fPIC -march=native -c rdtables.cpp
# clang++ -DNDEBUG -fPIC -march=native -c tigertab.cpp
# clang++ -DNDEBUG -fPIC -march=native -c cbcmac.cpp
# clang++ -DNDEBUG -fPIC -march=native -c rsa.cpp
# clang++ -DNDEBUG -fPIC -march=native -c rdrand.cpp
# clang++ -DNDEBUG -fPIC -march=native -c adler32.cpp
# clang++ -DNDEBUG -fPIC -march=native -c sosemanuk.cpp
# clang++ -DNDEBUG -fPIC -march=native -c 3way.cpp
# clang++ -DNDEBUG -fPIC -march=native -c gf2_32.cpp
# clang++ -DNDEBUG -fPIC -march=native -c gzip.cpp
# clang++ -DNDEBUG -fPIC -march=native -c rabin.cpp
# clang++ -DNDEBUG -fPIC -march=native -c bfinit.cpp
# clang++ -DNDEBUG -fPIC -march=native -c filters.cpp
# clang++ -DNDEBUG -fPIC -march=native -c fips140.cpp
# clang++ -DNDEBUG -fPIC -march=native -c dh.cpp
# clang++ -DNDEBUG -fPIC -march=native -c xtr.cpp
# clang++ -DNDEBUG -fPIC -march=native -c bench.cpp
# clang++ -DNDEBUG -fPIC -march=native -c bench2.cpp
# clang++ -DNDEBUG -fPIC -march=native -c test.cpp
# In file included from test.cpp:14:
# ./default.h:164:43: warning: 'DefaultDecryptor' is deprecated: DefaultDecryptor will be changing in the near future because the algorithms are no longer secure [-Wdeprecated-declarations]
# class MACBadErr : public DefaultDecryptor::Err {public: MACBadErr() : DefaultDecryptor::Err("DefaultDecryptorWithMAC: MAC check failed") {}};
# ^
# ./default.h:63:7: note: 'DefaultDecryptor' has been explicitly marked deprecated here
# class DefaultDecryptor : public ProxyFilter
# ^
# ./default.h:179:18: warning: 'DefaultDecryptor' is deprecated: DefaultDecryptor will be changing in the near future because the algorithms are no longer secure [-Wdeprecated-declarations]
# DefaultDecryptor::State CurrentState() const;
# ^
# ./default.h:63:7: note: 'DefaultDecryptor' has been explicitly marked deprecated here
# class DefaultDecryptor : public ProxyFilter
# ^
# test.cpp:590:2: warning: 'DefaultEncryptorWithMAC' is deprecated: DefaultEncryptorWithMAC will be changing in the near future because the algorithms are no longer secure [-Wdeprecated-declarations]
# DefaultEncryptorWithMAC encryptor(passPhrase, new HexEncoder(new StringSink(outstr)));
# ^
# ./default.h:121:7: note: 'DefaultEncryptorWithMAC' has been explicitly marked deprecated here
# class DefaultEncryptorWithMAC : public ProxyFilter
# ^
# test.cpp:601:27: warning: 'DefaultDecryptorWithMAC' is deprecated: DefaultDecryptorWithMAC will be changing in the near future because the algorithms are no longer secure [-Wdeprecated-declarations]
# HexDecoder decryptor(new DefaultDecryptorWithMAC(passPhrase, new StringSink(outstr)));
# ^
# ./default.h:159:7: note: 'DefaultDecryptorWithMAC' has been explicitly marked deprecated here
# class DefaultDecryptorWithMAC : public ProxyFilter
# ^
# test.cpp:610:29: warning: 'DefaultEncryptorWithMAC' is deprecated: DefaultEncryptorWithMAC will be changing in the near future because the algorithms are no longer secure [-Wdeprecated-declarations]
# FileSource f(in, true, new DefaultEncryptorWithMAC(passPhrase, new FileSink(out)));
# ^
# ./default.h:121:7: note: 'DefaultEncryptorWithMAC' has been explicitly marked deprecated here
# class DefaultEncryptorWithMAC : public ProxyFilter
# ^
# test.cpp:615:29: warning: 'DefaultDecryptorWithMAC' is deprecated: DefaultDecryptorWithMAC will be changing in the near future because the algorithms are no longer secure [-Wdeprecated-declarations]
# FileSource f(in, true, new DefaultDecryptorWithMAC(passPhrase, new FileSink(out)));
# ^
# ./default.h:159:7: note: 'DefaultDecryptorWithMAC' has been explicitly marked deprecated here
# class DefaultDecryptorWithMAC : public ProxyFilter
# ^
# clang++ -DNDEBUG -fPIC -march=native -c validat1.cpp
# clang++ -DNDEBUG -fPIC -march=native -c validat2.cpp
# validat2.cpp:674:2: warning: 'ECIES, false>' is deprecated: ECIES will be changing in the near future due to (1) an implementation bug and (2) an interop issue. [-Wdeprecated-declarations]
# ECIES::Encryptor cpub(cpriv);
# ^
# ./eccrypto.h:290:8: note: 'ECIES, false>' has been explicitly marked deprecated here
# struct ECIES
# ^
# validat2.cpp:723:2: warning: 'ECIES, false>' is deprecated: ECIES will be changing in the near future due to (1) an implementation bug and (2) an interop issue. [-Wdeprecated-declarations]
# ECIES::Encryptor cpub(cpriv);
# ^
# ./eccrypto.h:290:8: note: 'ECIES, false>' has been explicitly marked deprecated here
# struct ECIES
# ^
# 6 warnings generated.
# clang++ -DNDEBUG -fPIC -march=native -c validat3.cpp
# cp adhoc.cpp.proto adhoc.cpp
# clang++ -DNDEBUG -fPIC -march=native -c datatest.cpp
# clang++ -DNDEBUG -fPIC -march=native -c regtest.cpp
# clang++ -DNDEBUG -fPIC -march=native -c fipsalgt.cpp
# clang++ -DNDEBUG -fPIC -march=native -c dlltest.cpp
# 2 warnings generated.
# ar r libcryptopp.a cryptlib.o cpu.o integer.o wake.o default.o skipjack.o osrng.o arc4.o hex.o esign.o randpool.o sharkbox.o blowfish.o base32.o files.o dessp.o seal.o mars.o misc.o twofish.o sha.o dsa.o polynomi.o eprecomp.o vmac.o fipstest.o rc5.o ida.o queue.o xtrcrypt.o gf256.o hmac.o authenc.o idea.o squaretb.o pkcspad.o emsa2.o network.o eax.o luc.o crc.o elgamal.o zlib.o dh2.o strciphr.o ecp.o tea.o marss.o algparam.o wait.o iterhash.o safer.o camellia.o oaep.o square.o gf2n.o shark.o seed.o shacal2.o cmac.o serpent.o eccrypto.o ripemd.o gcm.o pubkey.o trdlocal.o salsa.o hrtimer.o ttmac.o rc2.o mqv.o md2.o ccm.o md4.o whrlpool.o asn.o rw.o cast.o tiger.o rng.o channels.o zinflate.o dll.o pssr.o algebra.o mqueue.o rc6.o base64.o zdeflate.o basecode.o des.o blumshub.o ec2n.o casts.o gfpcrypt.o gost.o rijndael.o modes.o sha3.o panama.o nbtheory.o md5.o tftables.o socketft.o rdtables.o tigertab.o cbcmac.o rsa.o rdrand.o adler32.o sosemanuk.o 3way.o gf2_32.o gzip.o rabin.o bfinit.o filters.o fips140.o dh.o xtr.o
# /r: creating libcryptopp.a
# clang++ -DNDEBUG -fPIC -march=native -c adhoc.cpp
# ranlib libcryptopp.a
# clang++ -o cryptest.exe -DNDEBUG -fPIC -march=native bench.o bench2.o test.o validat1.o validat2.o validat3.o adhoc.o datatest.o regtest.o fipsalgt.o dlltest.o ./libcryptopp.a -pthread
# bench.o:bench.cpp:function CryptoPP::ObjectFactoryRegistry::Registry(): error: undefined reference to '__dso_handle'
# bench.o:bench.cpp:function CryptoPP::ObjectFactoryRegistry::Registry(): error: undefined reference to '__dso_handle'
# bench.o:bench.cpp:function CryptoPP::ObjectFactoryRegistry::Registry(): error: undefined reference to '__dso_handle'
# bench.o:bench.cpp:function CryptoPP::ObjectFactoryRegistry::Registry(): error: undefined reference to '__dso_handle'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# make: *** [GNUmakefile:384: cryptest.exe] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...