Build of i2c-tools with clang_glibc toolchain

The build took 00h 02m 54s and was SUCCESSFUL.

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

SLOCLanguage
3,417 ansic
2,489 perl
28 makefile
11 python
5,945 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: i2c-tools 3.1.1-2 (Thu Apr 13 11:24:27 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cdetect.c -o tools/i2cdetect.o
# clang -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cbusses.c -o tools/i2cbusses.o
# In file included from tools/i2cbusses.c:28:
# In file included from /usr/include/sys/types.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"
# ^
# 1 warning generated.
# clang -o tools/i2cdetect tools/i2cdetect.o tools/i2cbusses.o
# clang -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cdump.c -o tools/i2cdump.o
# clang -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/util.c -o tools/util.o
# clang -o tools/i2cdump tools/i2cdump.o tools/i2cbusses.o tools/util.o
# clang -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cset.c -o tools/i2cset.o
# clang -o tools/i2cset tools/i2cset.o tools/i2cbusses.o tools/util.o
# clang -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cget.c -o tools/i2cget.o
# clang -o tools/i2cget tools/i2cget.o tools/i2cbusses.o tools/util.o
# make: Entering directory '/tmp/i2c-tools/src/i2c-tools-3.1.1/eepromer'
# clang -I../include -c -o eepromer.o eepromer.c
# eepromer.c:247:14: warning: assigning to 'char *' from 'unsigned char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
# msg[0].buf = buff;
# ^ ~~~~
# eepromer.c:253:14: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# msg[1].buf = buf;
# ^ ~~~
# eepromer.c:292:27: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# made_address(eeprom_addr,buff);
# ^~~~
# eepromer.c:43:43: note: passing argument to parameter 'buf' here
# void made_address(int addr,unsigned char *buf);
# ^
# eepromer.c:305:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# msg[1].buf = buf;
# ^ ~~~
# eepromer.c:612:14: warning: assigning to 'char *' from 'unsigned char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
# msg[0].buf = buff;
# ^ ~~~~
# eepromer.c:657:26: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# made_address(START_ADDR,buff);
# ^~~~
# eepromer.c:342:43: note: passing argument to parameter 'buf' here
# void made_address(int addr,unsigned char *buf){
# ^
# 6 warnings generated.
# clang eepromer.o -o eepromer
# clang -I../include -c -o eeprom.o eeprom.c
# eeprom.c:109:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# i2cmsg.buf = buf;
# ^ ~~~
# eeprom.c:239:12: warning: passing 'unsigned char [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if(!fgets(warnbuf,sizeof(warnbuf),stdin)){
# ^~~~~~~
# /usr/include/stdio.h:622:38: note: passing argument to parameter '__s' here
# extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
# ^
# eeprom.c:243:13: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if(strncmp(warnbuf,"yes",3)){
# ^~~~~~~
# /usr/include/string.h:143:33: note: passing argument to parameter '__s1' here
# extern int strncmp (const char *__s1, const char *__s2, size_t __n)
# ^
# 3 warnings generated.
# clang eeprom.o -o eeprom
# clang -I../include -c -o eeprog.o eeprog.c
# clang -I../include -c -o 24cXX.o 24cXX.c
# clang eeprog.o 24cXX.o -o eeprog
# make: Leaving directory '/tmp/i2c-tools/src/i2c-tools-3.1.1/eepromer'
# running build
# running build_ext
# building 'smbus' extension
# creating build
# creating build/temp.linux-x86_64-2.7
# clang -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -I../include -fPIC -I/usr/include/python2.7 -c smbusmodule.c -o build/temp.linux-x86_64-2.7/smbusmodule.o
# creating build/lib.linux-x86_64-2.7
# gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -I../include build/temp.linux-x86_64-2.7/smbusmodule.o -L/usr/lib -lpython2.7 -o build/lib.linux-x86_64-2.7/smbus.so
# ==> Entering fakeroot environment...
# ==> Starting package()...
# install -m 755 -d /tmp/i2c-tools/pkg/i2c-tools/usr/include/linux
# for file in linux/i2c-dev.h ; do \
# install -m 644 include/$file /tmp/i2c-tools/pkg/i2c-tools/usr/include/$file ; done
# install -m 755 -d /tmp/i2c-tools/pkg/i2c-tools/usr/bin /tmp/i2c-tools/pkg/i2c-tools/usr/share/man/man1
# for program in decode-dimms decode-vaio ddcmon decode-edid ; do \
# install -m 755 eeprom/$program /tmp/i2c-tools/pkg/i2c-tools/usr/bin ; done
# for manual in decode-dimms.1 decode-vaio.1 ; do \
# install -m 644 eeprom/$manual /tmp/i2c-tools/pkg/i2c-tools/usr/share/man/man1 ; done
# install -m 755 -d /tmp/i2c-tools/pkg/i2c-tools/usr/bin /tmp/i2c-tools/pkg/i2c-tools/usr/share/man/man8
# install -m 755 stub/i2c-stub-from-dump /tmp/i2c-tools/pkg/i2c-tools/usr/bin
# install -m 644 stub/i2c-stub-from-dump.8 /tmp/i2c-tools/pkg/i2c-tools/usr/share/man/man8
# install -m 755 -d /tmp/i2c-tools/pkg/i2c-tools/usr/bin /tmp/i2c-tools/pkg/i2c-tools/usr/share/man/man8
# for program in i2cdetect i2cdump i2cset i2cget ; do \
# install -m 755 tools/$program /tmp/i2c-tools/pkg/i2c-tools/usr/bin ; \
# install -m 644 tools/$program.8 /tmp/i2c-tools/pkg/i2c-tools/usr/share/man/man8 ; done
# running install
# running build
# running build_ext
# running install_lib
# creating /tmp/i2c-tools/pkg/i2c-tools/usr/lib
# creating /tmp/i2c-tools/pkg/i2c-tools/usr/lib/python2.7
# creating /tmp/i2c-tools/pkg/i2c-tools/usr/lib/python2.7/site-packages
# copying build/lib.linux-x86_64-2.7/smbus.so -> /tmp/i2c-tools/pkg/i2c-tools/usr/lib/python2.7/site-packages
# running install_egg_info
# Writing /tmp/i2c-tools/pkg/i2c-tools/usr/lib/python2.7/site-packages/smbus-1.1-py2.7.egg-info
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "i2c-tools"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: i2c-tools 3.1.1-2 (Thu Apr 13 11:24:41 UTC 2017)

CMD: pacman --query --file i2c-tools-3.1.1-2-x86_64.pkg.tar.xz
# i2c-tools 3.1.1-2

Creating hybrid package for 'i2c-tools'

Trying to find vanilla package 'i2c-tools'...

CMD: pacman --query --file /mirror/i2c-tools-3.1.1-2.pkg.tar.xz
# i2c-tools 3.1.1-2

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/decode-dimms
# /usr/bin/i2c-stub-from-dump
# /usr/bin/decode-vaio
# /usr/bin/ddcmon
# /usr/bin/decode-edid
# /usr/bin/i2cdetect
# /usr/bin/i2cdump
# /usr/bin/i2cset
# /usr/bin/i2cget
# /usr/bin/eeprog
# /usr/bin/eeprom
# /usr/bin/eepromer
# /usr/share/man/man1/decode-dimms.1.gz
# /usr/share/man/man1/decode-vaio.1.gz
# /usr/share/man/man8/i2c-stub-from-dump.8.gz
# /usr/share/man/man8/i2cdetect.8.gz
# /usr/share/man/man8/i2cdump.8.gz
# /usr/share/man/man8/i2cset.8.gz
# /usr/share/man/man8/i2cget.8.gz
# /usr/lib/python2.7/site-packages/smbus-1.1-py2.7.egg-info
# /usr/lib/python2.7/site-packages/smbus.so
# /sysroot/usr/lib/python2.7/site-packages/smbus.so
# /sysroot/usr/lib/python2.7/site-packages/smbus-1.1-py2.7.egg-info

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

CMD: bsdtar -tqf i2c-tools.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/i2c-tools.pkg.tar.xz

Attempting to access local repository, attempt 1

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