Build of mcelog with clang_glibc toolchain

The build took 00h 03m 56s and was SUCCESSFUL.

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

SLOCLanguage
8,283 ansic
554 sh
105 makefile
60 python
9,002 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...

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: mcelog 1:136-1 (Thu Apr 13 14:18:26 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang -MM -I. p4.c k8.c mcelog.c dmi.c tsc.c core2.c bitfield.c intel.c nehalem.c dunnington.c tulsa.c config.c memutil.c msg.c eventloop.c leaky-bucket.c memdb.c server.c trigger.c client.c cache.c sysfs.c yellow.c page.c rbtree.c xeon75xx.c sandy-bridge.c ivy-bridge.c haswell.c broadwell_de.c broadwell_epex.c skylake_xeon.c msr.c bus.c unknown.c > .depend.X && mv .depend.X .depend
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o mcelog.o mcelog.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o p4.o p4.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o k8.o k8.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o dmi.o dmi.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o tsc.o tsc.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o core2.o core2.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o bitfield.o bitfield.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o intel.o intel.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o nehalem.o nehalem.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o dunnington.o dunnington.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o tulsa.o tulsa.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o config.o config.c
# config.c:98:6: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
# if (!empty(s) != 0)
# ^ ~~
# config.c:98:6: note: add parentheses after the '!' to evaluate the comparison first
# if (!empty(s) != 0)
# ^
# ( )
# config.c:98:6: note: add parentheses around left hand side expression to silence this warning
# if (!empty(s) != 0)
# ^
# ( )
# 1 warning generated.
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o memutil.o memutil.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o msg.o msg.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o eventloop.o eventloop.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o leaky-bucket.o leaky-bucket.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o memdb.o memdb.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o server.o server.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o trigger.o trigger.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o client.o client.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o cache.o cache.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o sysfs.o sysfs.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o yellow.o yellow.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o page.o page.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o rbtree.o rbtree.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o xeon75xx.o xeon75xx.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o sandy-bridge.o sandy-bridge.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o ivy-bridge.o ivy-bridge.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o haswell.o haswell.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o broadwell_de.o broadwell_de.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o broadwell_epex.o broadwell_epex.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o skylake_xeon.o skylake_xeon.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o msr.o msr.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o bus.o bus.c
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o unknown.o unknown.c
# ( echo -n "char version[] = \"" ; \
# if type -p git >/dev/null; then \
# if [ -d .git ] ; then \
# git describe --tags HEAD | tr -d '\n'; \
# else \
# echo -n "unknown" ; \
# fi ; \
# else echo -n "unknown" ; fi ; \
# echo '";' \
# ) > version.tmp
# cmp version.tmp version.c || mv version.tmp version.c
# cmp: version.c: No such file or directory
# clang -c -g -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o version.o version.c
# clang mcelog.o p4.o k8.o dmi.o tsc.o core2.o bitfield.o intel.o nehalem.o dunnington.o tulsa.o config.o memutil.o msg.o eventloop.o leaky-bucket.o memdb.o server.o trigger.o client.o cache.o sysfs.o yellow.o page.o rbtree.o xeon75xx.o sandy-bridge.o ivy-bridge.o haswell.o broadwell_de.o broadwell_epex.o skylake_xeon.o msr.o bus.o unknown.o version.o -o mcelog
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ( echo -n "char version[] = \"" ; \
# if type -p git >/dev/null; then \
# if [ -d .git ] ; then \
# git describe --tags HEAD | tr -d '\n'; \
# else \
# echo -n "unknown" ; \
# fi ; \
# else echo -n "unknown" ; fi ; \
# echo '";' \
# ) > version.tmp
# cmp version.tmp version.c || mv version.tmp version.c
# mkdir -p /tmp/mcelog/pkg/mcelog/etc/mcelog /tmp/mcelog/pkg/mcelog/usr/sbin /tmp/mcelog/pkg/mcelog/usr/share/man/man5 /tmp/mcelog/pkg/mcelog/usr/share/man/man8
# install -m 755 -p mcelog /tmp/mcelog/pkg/mcelog/usr/sbin/mcelog
# install -m 644 -p mcelog.8 /tmp/mcelog/pkg/mcelog/usr/share/man/man8
# install -m 644 -p mcelog.conf.5 /tmp/mcelog/pkg/mcelog/usr/share/man/man5
# install -m 644 -p mcelog.triggers.5 /tmp/mcelog/pkg/mcelog/usr/share/man/man5
# install -m 644 -p -b mcelog.conf /tmp/mcelog/pkg/mcelog/etc/mcelog/mcelog.conf
# for i in cache-error-trigger dimm-error-trigger page-error-trigger socket-memory-error-trigger bus-error-trigger iomca-error-trigger unknown-error-trigger ; do \
# install -m 755 -p -b triggers/$i /tmp/mcelog/pkg/mcelog/etc/mcelog ; \
# done
# echo
#
# echo "Consider defining DOCDIR to install additional documentation"
# Consider defining DOCDIR to install additional documentation
# ==> Tidying install...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "mcelog"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: mcelog 1:136-1 (Thu Apr 13 14:18:39 UTC 2017)

CMD: pacman --query --file mcelog-1:136-1-x86_64.pkg.tar.xz
# mcelog 1:136-1

Creating hybrid package for 'mcelog'

Trying to find vanilla package 'mcelog'...

CMD: pacman --query --file /mirror/mcelog-1:136-1.pkg.tar.xz
# mcelog 1:136-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /etc/mcelog/dimm-error-trigger
# /etc/mcelog/cache-error-trigger
# /etc/mcelog/iomca-error-trigger
# /etc/mcelog/unknown-error-trigger
# /etc/mcelog/socket-memory-error-trigger
# /etc/mcelog/mcelog.conf
# /etc/mcelog/page-error-trigger
# /etc/mcelog/bus-error-trigger
# /etc/logrotate.d/mcelog.logrotate
# /usr/bin/mcelog.cron
# /usr/bin/mcelog
# /usr/share/man/man5/mcelog.conf.5.gz
# /usr/share/man/man5/mcelog.triggers.5.gz
# /usr/share/man/man8/mcelog.8.gz
# /usr/share/doc/mcelog/mce.pdf
# /usr/share/doc/mcelog/lk10-mcelog.pdf
# /usr/share/doc/mcelog/README
# /usr/lib/systemd/system/mcelog.service
# /sysroot/usr/lib/systemd/system/mcelog.service

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO .BUILDINFO etc usr sysroot

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .BUILDINFO etc usr sysroot .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO .BUILDINFO etc usr sysroot .MTREE | xz -c -z

CMD: bsdtar -tqf mcelog.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/mcelog.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/mcelog.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/mcelog.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'