Build of efivar with clang_glibc toolchain

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

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

SLOCLanguage
7,755 ansic
261 sh
196 makefile
31 asm
8,243 total

The process tree of the build process is here.

Due to the failure of this package to build, we did not attempt to build several packages that depend on this one. Those packages are:

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: efivar 0.23.37.g8740389-1 (Thu Apr 13 17:18:39 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting pkgver()...
# ==> Starting build()...
# make[1]: Entering directory '/tmp/efivar/src/efivar/src'
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -L. -DEFIVAR_BUILD_ENVIRONMENT -o makeguids makeguids.c guid.c -ldl
# ./makeguids guids.txt guids.bin names.bin \
# guid-symbols.c include/efivar/efivar-guids.h
# 33 lines
# make -f /tmp/efivar/src/efivar/src/Make.deps deps SOURCES="crc32.c creator.c disk.c gpt.c linux.c loadopt.c dp.c dp-acpi.c dp-hw.c dp-media.c dp-message.c efivarfs.c export.c guid.c guids.S guid-symbols.c lib.c vars.c makeguids.c guid.c include/efivar/efivar.h include/efivar/efiboot.h include/efivar/efiboot-loadopt.h include/efivar/efivar-dp.h include/efivar/efiboot-creator.h include/efivar/efivar-guids.h guid-symbols.c efivar.c"
# make[2]: Entering directory '/tmp/efivar/src/efivar/src'
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .crc32.d crc32.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .creator.d creator.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .disk.d disk.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .gpt.d gpt.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .linux.d linux.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .loadopt.d loadopt.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .dp.d dp.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .dp-acpi.d dp-acpi.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .dp-hw.d dp-hw.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .dp-media.d dp-media.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .dp-message.d dp-message.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .efivarfs.d efivarfs.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .export.d export.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .guid.d guid.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .guid-symbols.d guid-symbols.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .lib.d lib.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .vars.d vars.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .makeguids.d makeguids.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .efivar.d efivar.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -MM -MG -MF .guids.d guids.S
# make[2]: Leaving directory '/tmp/efivar/src/efivar/src'
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -fPIC -c -o dp.o dp.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -fPIC -c -o dp-acpi.o dp-acpi.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -fPIC -c -o dp-hw.o dp-hw.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -fPIC -c -o dp-media.o dp-media.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -fPIC -c -o dp-message.o dp-message.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -fPIC -c -o efivarfs.o efivarfs.c
# efivarfs.c:44:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
# static const char const default_efivarfs_path[] = "/sys/firmware/efi/efivars/";
# ^
# efivarfs.c:46:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
# static const char const *
# ^
# efivarfs.c:62:13: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
# const char const *path = get_efivarfs_path();
# ^
# 3 warnings generated.
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -fPIC -c -o export.o export.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -fPIC -c -o guid.o guid.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -fPIC -c -o guids.o guids.S
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -fPIC -c -o guid-symbols.o guid-symbols.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -fPIC -c -o lib.o lib.c
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -fPIC -c -o vars.o vars.c
# vars.c:35:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
# static const char const default_vars_path[] = "/sys/firmware/efi/vars/";
# ^
# vars.c:37:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
# static const char const *
# ^
# 2 warnings generated.
# clang -I/tmp/efivar/src/efivar/src/include/efivar/ -D_GNU_SOURCE -L. -shared \
# -Wl,-soname,libefivar.so.0 \
# -Wl,--version-script=libefivar.map \
# -o libefivar.so dp.o dp-acpi.o dp-hw.o dp-media.o dp-message.o efivarfs.o export.o guid.o guids.o guid-symbols.o lib.o vars.o -ldl
# lib.o:(*IND*+0x0): multiple definition of `efi_set_variable'
# lib.o:lib.c:(.text+0x180): first defined here
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# make[1]: *** [/tmp/efivar/src/efivar/Make.rules:20: libefivar.so] Error 1
# make[1]: Leaving directory '/tmp/efivar/src/efivar/src'
# make: *** [Makefile:11: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...