Build of aiccu with clang_glibc toolchain

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

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

SLOCLanguage
4,660 ansic
372 makefile
369 sh
5,401 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: aiccu 20070115-6 (Thu Apr 13 17:45:10 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Building : aiccu - Automatic IPv6 Connectivity Configuration Utility
# Copyright : SixXS
# Version : 2007.01.15
# make[1]: Entering directory '/tmp/aiccu/src/aiccu/unix-console'
# In file included from main.c:13:
# In file included from ./../common/aiccu.h:17:
# ./../common/common.h:384:2: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations]
# gnutls_session session; /* The GnuTLS sesision */
# ^
# /usr/include/gnutls/compat.h:78:26: note: 'gnutls_session' has been explicitly marked deprecated here
# typedef gnutls_session_t gnutls_session _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# In file included from main.c:13:
# ./../common/aiccu.h:114:2: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations]
# gnutls_certificate_credentials tls_cred; /* GNUTLS credentials */
# ^
# /usr/include/gnutls/compat.h:95:5: note: 'gnutls_certificate_credentials' has been explicitly marked deprecated here
# gnutls_certificate_credentials _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# 2 warnings generated.
# In file included from ../common/tun.c:13:
# In file included from ../common/tun.h:16:
# ../common/common.h:384:2: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations]
# gnutls_session session; /* The GnuTLS sesision */
# ^
# /usr/include/gnutls/compat.h:78:26: note: 'gnutls_session' has been explicitly marked deprecated here
# typedef gnutls_session_t gnutls_session _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# In file included from ../common/tun.c:14:
# ../common/aiccu.h:114:2: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations]
# gnutls_certificate_credentials tls_cred; /* GNUTLS credentials */
# ^
# /usr/include/gnutls/compat.h:95:5: note: 'gnutls_certificate_credentials' has been explicitly marked deprecated here
# gnutls_certificate_credentials _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# 2 warnings generated.
# In file included from ../common/aiccu.c:13:
# In file included from ../common/aiccu.h:17:
# ../common/common.h:384:2: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations]
# gnutls_session session; /* The GnuTLS sesision */
# ^
# /usr/include/gnutls/compat.h:78:26: note: 'gnutls_session' has been explicitly marked deprecated here
# typedef gnutls_session_t gnutls_session _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# In file included from ../common/aiccu.c:13:
# ../common/aiccu.h:114:2: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations]
# gnutls_certificate_credentials tls_cred; /* GNUTLS credentials */
# ^
# /usr/include/gnutls/compat.h:95:5: note: 'gnutls_certificate_credentials' has been explicitly marked deprecated here
# gnutls_certificate_credentials _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# 2 warnings generated.
# In file included from ../common/hash_md5.c:23:
# In file included from ../common/aiccu.h:17:
# ../common/common.h:384:2: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations]
# gnutls_session session; /* The GnuTLS sesision */
# ^
# /usr/include/gnutls/compat.h:78:26: note: 'gnutls_session' has been explicitly marked deprecated here
# typedef gnutls_session_t gnutls_session _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# In file included from ../common/hash_md5.c:23:
# ../common/aiccu.h:114:2: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations]
# gnutls_certificate_credentials tls_cred; /* GNUTLS credentials */
# ^
# /usr/include/gnutls/compat.h:95:5: note: 'gnutls_certificate_credentials' has been explicitly marked deprecated here
# gnutls_certificate_credentials _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# ../common/hash_md5.c:134:24: warning: 'memset' call operates on objects of type 'struct MD5Context' while the size is based on a different type 'struct MD5Context *' [-Wsizeof-pointer-memaccess]
# memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
# ~~~ ^~~
# ../common/hash_md5.c:134:24: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)?
# memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
# ^~~
# 3 warnings generated.
# In file included from ../common/hash_sha1.c:26:
# In file included from ../common/hash_sha1.h:30:
# ../common/common.h:384:2: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations]
# gnutls_session session; /* The GnuTLS sesision */
# ^
# /usr/include/gnutls/compat.h:78:26: note: 'gnutls_session' has been explicitly marked deprecated here
# typedef gnutls_session_t gnutls_session _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# ../common/hash_sha1.c:64:10: warning: cast from 'const sha1_byte *' (aka 'const unsigned char *') to 'BYTE64QUAD16 *' (aka 'union _BYTE64QUAD16 *') increases required alignment from 1 to 4 [-Wcast-align]
# block = (BYTE64QUAD16*)buffer;
# ^~~~~~~~~~~~~~~~~~~~~
# 2 warnings generated.
# In file included from ../common/common.c:22:
# In file included from ../common/aiccu.h:17:
# ../common/common.h:384:2: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations]
# gnutls_session session; /* The GnuTLS sesision */
# ^
# /usr/include/gnutls/compat.h:78:26: note: 'gnutls_session' has been explicitly marked deprecated here
# typedef gnutls_session_t gnutls_session _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# In file included from ../common/common.c:22:
# ../common/aiccu.h:114:2: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations]
# gnutls_certificate_credentials tls_cred; /* GNUTLS credentials */
# ^
# /usr/include/gnutls/compat.h:95:5: note: 'gnutls_certificate_credentials' has been explicitly marked deprecated here
# gnutls_certificate_credentials _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# ../common/common.c:194:58: warning: for loop has empty body [-Wempty-body]
# for (i=0; (i < (*filled-1)) && (rbuf[i] != '\n'); i++);
# ^
# ../common/common.c:194:58: note: put the semicolon on a separate line to silence this warning
# ../common/common.c:303:2: warning: implicit declaration of function 'gnutls_certificate_type_set_priority' is invalid in C99 [-Wimplicit-function-declaration]
# gnutls_certificate_type_set_priority(sock->session, cert_type_priority);
# ^
# ../common/common.c:477:43: warning: 'gnutls_transport_ptr' is deprecated [-Wdeprecated-declarations]
# gnutls_transport_set_ptr(sock->session, (gnutls_transport_ptr)sock->socket);
# ^
# /usr/include/gnutls/compat.h:113:32: note: 'gnutls_transport_ptr' has been explicitly marked deprecated here
# typedef gnutls_transport_ptr_t gnutls_transport_ptr
# ^
# ../common/common.c:477:42: warning: cast to 'gnutls_transport_ptr' (aka 'void *') from smaller integer type 'SOCKET' (aka 'int') [-Wint-to-void-pointer-cast]
# gnutls_transport_set_ptr(sock->session, (gnutls_transport_ptr)sock->socket);
# ^
# 6 warnings generated.
# In file included from ../common/heartbeat.c:13:
# In file included from ../common/heartbeat.h:16:
# ../common/common.h:384:2: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations]
# gnutls_session session; /* The GnuTLS sesision */
# ^
# /usr/include/gnutls/compat.h:78:26: note: 'gnutls_session' has been explicitly marked deprecated here
# typedef gnutls_session_t gnutls_session _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# In file included from ../common/heartbeat.c:14:
# ../common/aiccu.h:114:2: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations]
# gnutls_certificate_credentials tls_cred; /* GNUTLS credentials */
# ^
# /usr/include/gnutls/compat.h:95:5: note: 'gnutls_certificate_credentials' has been explicitly marked deprecated here
# gnutls_certificate_credentials _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# 2 warnings generated.
# In file included from ../common/tic.c:13:
# ../common/common.h:384:2: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations]
# gnutls_session session; /* The GnuTLS sesision */
# ^
# /usr/include/gnutls/compat.h:78:26: note: 'gnutls_session' has been explicitly marked deprecated here
# typedef gnutls_session_t gnutls_session _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# In file included from ../common/tic.c:14:
# ../common/aiccu.h:114:2: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations]
# gnutls_certificate_credentials tls_cred; /* GNUTLS credentials */
# ^
# /usr/include/gnutls/compat.h:95:5: note: 'gnutls_certificate_credentials' has been explicitly marked deprecated here
# gnutls_certificate_credentials _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# 2 warnings generated.
# In file included from ../common/ayiya.c:13:
# In file included from ../common/aiccu.h:17:
# ../common/common.h:384:2: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations]
# gnutls_session session; /* The GnuTLS sesision */
# ^
# /usr/include/gnutls/compat.h:78:26: note: 'gnutls_session' has been explicitly marked deprecated here
# typedef gnutls_session_t gnutls_session _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# In file included from ../common/ayiya.c:13:
# ../common/aiccu.h:114:2: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations]
# gnutls_certificate_credentials tls_cred; /* GNUTLS credentials */
# ^
# /usr/include/gnutls/compat.h:95:5: note: 'gnutls_certificate_credentials' has been explicitly marked deprecated here
# gnutls_certificate_credentials _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# ../common/ayiya.c:69:3: warning: address of array 'clientservice' will always evaluate to 'true' [-Wpointer-bool-conversion]
# clientservice ? clientservice : "");
# ^~~~~~~~~~~~~ ~
# ../common/ayiya.c:84:25: warning: cast from 'char *' to 'struct pseudo_ayh *' increases required alignment from 1 to 4 [-Wcast-align]
# struct pseudo_ayh *s = (struct pseudo_ayh *)buf, s2;
# ^~~~~~~~~~~~~~~~~~~~~~~~
# ../common/ayiya.c:159:25: warning: cast from 'unsigned char *' to 'struct pseudo_ayh *' increases required alignment from 1 to 4 [-Wcast-align]
# struct pseudo_ayh *s = (struct pseudo_ayh *)buf;
# ^~~~~~~~~~~~~~~~~~~~~~~~
# ../common/ayiya.c:377:29: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 2 to 4 [-Wcast-align]
# memcpy(&ayiya_ipv4_pop, &((struct sockaddr_in *)res->ai_addr)->sin_addr, 4);
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ../common/ayiya.c:402:31: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 2 to 4 [-Wcast-align]
# memcpy(&ayiya_ipv6_local, &((struct sockaddr_in6 *)res->ai_addr)->sin6_addr, 16);
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ../common/ayiya.c:427:29: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 2 to 4 [-Wcast-align]
# memcpy(&ayiya_ipv6_pop, &((struct sockaddr_in6 *)res->ai_addr)->sin6_addr, 16);
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 8 warnings generated.
# In file included from ../common/aiccu_test.c:13:
# In file included from ../common/aiccu.h:17:
# ../common/common.h:384:2: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations]
# gnutls_session session; /* The GnuTLS sesision */
# ^
# /usr/include/gnutls/compat.h:78:26: note: 'gnutls_session' has been explicitly marked deprecated here
# typedef gnutls_session_t gnutls_session _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# In file included from ../common/aiccu_test.c:13:
# ../common/aiccu.h:114:2: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations]
# gnutls_certificate_credentials tls_cred; /* GNUTLS credentials */
# ^
# /usr/include/gnutls/compat.h:95:5: note: 'gnutls_certificate_credentials' has been explicitly marked deprecated here
# gnutls_certificate_credentials _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# 2 warnings generated.
# In file included from ../common/resolver.c:18:
# In file included from ../common/resolver.h:16:
# ../common/common.h:384:2: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations]
# gnutls_session session; /* The GnuTLS sesision */
# ^
# /usr/include/gnutls/compat.h:78:26: note: 'gnutls_session' has been explicitly marked deprecated here
# typedef gnutls_session_t gnutls_session _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# ../common/resolver.c:33:21: warning: cast from 'unsigned char *' to 'HEADER *' increases required alignment from 1 to 4 [-Wcast-align]
# HEADER *header = (HEADER *)answer;
# ^~~~~~~~~~~~~~~~
# 2 warnings generated.
# In file included from ../common/aiccu_linux.c:13:
# In file included from ../common/aiccu.h:17:
# ../common/common.h:384:2: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations]
# gnutls_session session; /* The GnuTLS sesision */
# ^
# /usr/include/gnutls/compat.h:78:26: note: 'gnutls_session' has been explicitly marked deprecated here
# typedef gnutls_session_t gnutls_session _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# In file included from ../common/aiccu_linux.c:13:
# ../common/aiccu.h:114:2: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations]
# gnutls_certificate_credentials tls_cred; /* GNUTLS credentials */
# ^
# /usr/include/gnutls/compat.h:95:5: note: 'gnutls_certificate_credentials' has been explicitly marked deprecated here
# gnutls_certificate_credentials _GNUTLS_GCC_ATTR_DEPRECATED;
# ^
# ../common/aiccu_linux.c:110:10: warning: explicitly assigning value of variable of type 'struct TIC_Tunnel *' to itself [-Wself-assign]
# hTunnel = hTunnel;
# ~~~~~~~ ^ ~~~~~~~
# 3 warnings generated.
# ../common/common.o: In function `sock_alloc':
# ../common/common.c:(.text+0x57c): undefined reference to `gnutls_certificate_type_set_priority'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# make[1]: *** [Makefile:147: aiccu] Error 1
# make[1]: Leaving directory '/tmp/aiccu/src/aiccu/unix-console'
# make: *** [Makefile:70: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...