Build of linux_logo with musl toolchain

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

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

SLOCLanguage
3,165 ansic
289 sh
244 makefile
7 perl
3,705 total

The process tree of the build process is here.

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

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: linux_logo 5.11-3 (Wed Apr 5 01:45:36 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# /usr/sbin/xgettext
# /usr/sbin/gcc
#
# CONFIGURING LINUX_LOGO
# Detected Architecture: x86_64
# Detected Operating System: Linux
# Install prefix: /usr
# Install program: /usr/sbin/install
# xgettext: xgettext
# libsysinfo: libsysinfo-0.2.2
# C Compiler : gcc
# CFLAGS : -Wall -O2
#
# /usr/sbin/gcc
# /sysroot/bin/ar
#
# CONFIGURING LIBSYSINFO
# Detected Architecture: x86_64
# Detected Operating System: Linux
# C Compiler : gcc
# AR : ar
# CFLAGS : -Wall -O2
#
#
# If cross compiling set the CROSS and ARCH variables
#
# Done configuring, run 'make'
#
# gcc -Wall -O2 -Ilibsysinfo-0.2.2 -c parse_logos.c
# gcc -Wall -O2 -Ilibsysinfo-0.2.2 -o load_logo_native.o -c load_logo.c
# gcc -Wall -O2 -Ilibsysinfo-0.2.2 -c load_logo.c
# cd libsysinfo-0.2.2 && make
# make[1]: Entering directory '/tmp/linux_logo/src/linux_logo-5.11/libsysinfo-0.2.2'
# cd all && make
# make[2]: Entering directory '/tmp/linux_logo/src/linux_logo-5.11/libsysinfo-0.2.2/all'
# gcc -Wall -O2 -I.. -c bogomips.c
# cd po && make
# gcc -Wall -O2 -I.. -c fix_mhz.c
# gcc -Wall -O2 -I.. -c parsing.c
# make[1]: Entering directory '/tmp/linux_logo/src/linux_logo-5.11/po'
# xgettext --default-domain=linux_logo --add-comments --keyword=_ --keyword=S_ ../*.c ../*.h;
# gcc -Wall -O2 -I.. -c sysinfo_common.c
# msgfmt -o da.mo da.po
# if cmp -s linux_logo.po linux_logo.pot; then \
# rm -f linux_logo.po; \
# else \
# mv linux_logo.po linux_logo.pot; \
# fi
# msgfmt -o de.mo de.po
# gcc -Wall -O2 -I.. -c uname.c
# gcc -o parse_logos parse_logos.o load_logo_native.o
# msgfmt -o es.mo es.po
# msgfmt -o fr.mo fr.po
# msgfmt -o nb.mo nb.po
# msgfmt -o nl.mo nl.po
# ./parse_logos
# ./parse_logos: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# make: *** [Makefile:76: load_logos.h] Error 127
# make: *** Waiting for unfinished jobs....
# msgfmt -o it.mo it.po
# msgfmt -o pl.mo pl.po
# msgfmt -o pt_BR.mo pt_BR.po
# msgfmt -o ru.mo ru.po
# msgfmt -o sv.mo sv.po
# msgfmt -o uk.mo uk.po
# make[2]: Leaving directory '/tmp/linux_logo/src/linux_logo-5.11/libsysinfo-0.2.2/all'
# msgfmt -o zh_TW.mo zh_TW.po
# cd Linux && make
# for n in da.mo de.mo es.mo fr.mo nb.mo nl.mo it.mo pl.mo pt_BR.mo ru.mo sv.mo uk.mo zh_TW.mo; do \
# l=`basename $n .mo`; \
# l=$l".po"; \
# mv -f $l $l".bac"; \
# msgmerge -o $l $l".bac" linux_logo.pot; \
# done
# make[2]: Entering directory '/tmp/linux_logo/src/linux_logo-5.11/libsysinfo-0.2.2/Linux'
# gcc -Wall -O2 -o cpuinfo.o -c cpuinfo_x86.c
# gcc -Wall -O2 -c sysinfo_linux.c
# ........cpuinfo_x86.c:477:8: warning: comparison of array 'plain_model' not equal to a null pointer is always true [-Wtautological-pointer-compare]
# if (plain_model!=NULL) {
# ^~~~~~~~~~~ ~~~~
# sysinfo_linux.c:22:9: warning: variable 'uptime_seconds' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
# if (fff!=NULL) {
# ^~~~~~~~~
# sysinfo_linux.c:27:12: note: uninitialized use occurs here
# return uptime_seconds;
# ^~~~~~~~~~~~~~
# sysinfo_linux.c:22:5: note: remove the 'if' if its condition is always true
# if (fff!=NULL) {
# ^~~~~~~~~~~~~~~
# sysinfo_linux.c:18:25: note: initialize the variable 'uptime_seconds' to silence this warning
# float uptime_seconds;
# ^
# = 0.0
# ........ done.
# .......... done.
# 1 warning generated.
# .......... done.
# ........... done.
# ...........1 warning generated.
# ...make[2]: Leaving directory '/tmp/linux_logo/src/linux_logo-5.11/libsysinfo-0.2.2/Linux'
# ar crus libsysinfo.a ./Linux/*.o ./all/*.o
# done.
# /r: `u' modifier ignored since `D' is the default (see `U')
# ............... done.
# make[1]: Leaving directory '/tmp/linux_logo/src/linux_logo-5.11/libsysinfo-0.2.2'
# ............... done.
# ............... done.
# ............... done.
# .......... done.
# ........ done.
# ........... done.
# ..... done.
# make[1]: Leaving directory '/tmp/linux_logo/src/linux_logo-5.11/po'
# ==> ERROR: A failure occurred in build().
# Aborting...