Build of hdparm with clang_glibc toolchain

The build took 00h 00m 30s and was SUCCESSFUL.

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

SLOCLanguage
6,158 ansic
1,465 sh
49 makefile
7,672 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: hdparm 9.48-1 (Thu Apr 13 17:40:29 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -c -o hdparm.o hdparm.c
# clang-3.8: warning: optimization flag '-fkeep-inline-functions' is not supported
# In file included from hdparm.c:9:
# In file included from /usr/include/unistd.h:25:
# /usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
# ^
# hdparm.c:1067:19: warning: cast from '__u16 *' (aka 'unsigned short *') to '__u64 *' (aka 'unsigned long long *') increases required alignment from 2 to 8 [-Wcast-align]
# __u64 *maxlba = (__u64 *) &dco[3];
# ^~~~~~~~~~~~~~~~~
# 2 warnings generated.
# clang -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -c -o identify.o identify.c
# clang-3.8: warning: optimization flag '-fkeep-inline-functions' is not supported
# identify.c:328:19: warning: unused variable 'unknown' [-Wunused-const-variable]
# static const char unknown[8] = "obsolete";
# ^
# 1 warning generated.
# clang -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -c -o sgio.o sgio.c
# clang-3.8: warning: optimization flag '-fkeep-inline-functions' is not supported
# clang -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -c -o sysfs.o sysfs.c
# clang-3.8: warning: optimization flag '-fkeep-inline-functions' is not supported
# clang -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -c -o geom.o geom.c
# clang-3.8: warning: optimization flag '-fkeep-inline-functions' is not supported
# clang -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -c -o fallocate.o fallocate.c
# clang-3.8: warning: optimization flag '-fkeep-inline-functions' is not supported
# clang -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -c -o fibmap.o fibmap.c
# clang-3.8: warning: optimization flag '-fkeep-inline-functions' is not supported
# clang -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -c -o fwdownload.o fwdownload.c
# clang-3.8: warning: optimization flag '-fkeep-inline-functions' is not supported
# clang -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -c -o dvdspeed.o dvdspeed.c
# clang-3.8: warning: optimization flag '-fkeep-inline-functions' is not supported
# clang -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -c -o wdidle3.o wdidle3.c
# clang-3.8: warning: optimization flag '-fkeep-inline-functions' is not supported
# clang -s -o hdparm hdparm.o identify.o sgio.o sysfs.o geom.o fallocate.o fibmap.o fwdownload.o dvdspeed.o wdidle3.o
# strip hdparm
# ==> Entering fakeroot environment...
# ==> Starting package()...
# if [ ! -z /tmp/hdparm/pkg/hdparm ]; then install -m 755 -d /tmp/hdparm/pkg/hdparm ; fi
# if [ ! -z /tmp/hdparm/pkg/hdparm/usr/bin ]; then install -m 755 -d /tmp/hdparm/pkg/hdparm/usr/bin ; fi
# if [ ! -z /tmp/hdparm/pkg/hdparm/usr/share/man ]; then install -m 755 -d /tmp/hdparm/pkg/hdparm/usr/share/man ; fi
# if [ ! -z /tmp/hdparm/pkg/hdparm/usr/share/man/man8/ ]; then install -m 755 -d /tmp/hdparm/pkg/hdparm/usr/share/man/man8/ ; fi
# if [ -f /tmp/hdparm/pkg/hdparm/usr/bin/hdparm ]; then rm -f /tmp/hdparm/pkg/hdparm/usr/bin/hdparm ; fi
# if [ -f /tmp/hdparm/pkg/hdparm/usr/share/man/man8/hdparm.8 ]; then rm -f /tmp/hdparm/pkg/hdparm/usr/share/man/man8/hdparm.8 ;\
# elif [ -f /tmp/hdparm/pkg/hdparm/usr/man/man8/hdparm.8 ]; then rm -f /tmp/hdparm/pkg/hdparm/usr/man/man8/hdparm.8 ; fi
# install -D hdparm /tmp/hdparm/pkg/hdparm/usr/bin/hdparm
# if [ -d /tmp/hdparm/pkg/hdparm/usr/share/man ]; then install -m 644 -D hdparm.8 /tmp/hdparm/pkg/hdparm/usr/share/man/man8/hdparm.8 ;\
# elif [ -d /tmp/hdparm/pkg/hdparm/usr/man ]; then install -m 644 -D hdparm.8 /tmp/hdparm/pkg/hdparm/usr/man/man8/hdparm.8 ; fi
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "hdparm"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: hdparm 9.48-1 (Thu Apr 13 17:40:34 UTC 2017)

CMD: pacman --query --file hdparm-9.48-1-x86_64.pkg.tar.xz
# hdparm 9.48-1

Creating hybrid package for 'hdparm'

Trying to find vanilla package 'hdparm'...

CMD: pacman --query --file /mirror/hdparm-9.48-1.pkg.tar.xz
# hdparm 9.48-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/share/licenses/hdparm/LICENSE.TXT
# /usr/share/doc/wiper/README.txt
# /usr/share/man/man8/hdparm.8.gz
# /usr/bin/hdparm
# /usr/bin/wiper.sh
# /usr/bin/ultrabayd
# /usr/bin/idectl

Generating .MTREE

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

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr .MTREE

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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