Build of mcdp with clang_glibc toolchain

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

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

SLOCLanguage
1,812 ansic
32 makefile
5 sh
1,849 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: mcdp 0.4b-3 (Thu Apr 13 14:16:47 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) dietlibc-0.33-4
#
# Total Installed Size: 2.29 MiB
#
# :: Proceed with installation? [Y/n]
# checking keyring...
# checking package integrity...
# loading package files...
# checking for file conflicts...
# checking available disk space...
# :: Processing package changes...
# installing dietlibc...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# diet gcc -Os -Wall -pipe -fomit-frame-pointer -Wno-sequence-point -Wno-pointer-sign -Wno-array-bounds -c cddb.c -o cddb.o
# cddb.c: In function 'cddb_getentries':
# cddb.c:169:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if ((len=cddb_readsocket(h.msg, BUFSIZE, &h.fd))<0)
# ^~
# cddb.c:171:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# if (strncmp("230",h.msg,3))
# ^~
# diet gcc -Os -Wall -pipe -fomit-frame-pointer -Wno-sequence-point -Wno-pointer-sign -Wno-array-bounds -c cddev.c -o cddev.o
# diet gcc -Os -Wall -pipe -fomit-frame-pointer -Wno-sequence-point -Wno-pointer-sign -Wno-array-bounds -c draw.c -o draw.o
# diet gcc -Os -Wall -pipe -fomit-frame-pointer -Wno-sequence-point -Wno-pointer-sign -Wno-array-bounds -c formats.c -o formats.o
# formats.c: In function '_vsnprintf':
# formats.c:127:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if (str) str[apos]=ch; ++apos;
# ^~
# formats.c:127:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# if (str) str[apos]=ch; ++apos;
# ^~
# formats.c:225:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if (str) str[apos]=ch; apos++;
# ^~
# formats.c:225:30: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# if (str) str[apos]=ch; apos++;
# ^~~~
# diet gcc -Os -Wall -pipe -fomit-frame-pointer -Wno-sequence-point -Wno-pointer-sign -Wno-array-bounds -c mcdp.c -o mcdp.o
# diet gcc -Os -Wall -pipe -fomit-frame-pointer -Wno-sequence-point -Wno-pointer-sign -Wno-array-bounds -c misc.c -o misc.o
# diet gcc -Os -Wall -pipe -fomit-frame-pointer -Wno-sequence-point -Wno-pointer-sign -Wno-array-bounds -c str.c -o str.o
# diet gcc -Os -Wall -pipe -fomit-frame-pointer -Wno-sequence-point -Wno-pointer-sign -Wno-array-bounds -c tty.c -o tty.o
# diet gcc -Os -Wall -pipe -fomit-frame-pointer -Wno-sequence-point -Wno-pointer-sign -Wno-array-bounds -c workman.c -o workman.o
# strip -x -R .note -R .comment cddb.o cddev.o draw.o formats.o mcdp.o misc.o str.o tty.o workman.o
# diet gcc -Os -Wall -pipe -fomit-frame-pointer -Wno-sequence-point -Wno-pointer-sign -Wno-array-bounds -o mcdp cddb.o cddev.o draw.o formats.o mcdp.o misc.o str.o tty.o workman.o
# mcdp.o: In function `main':
# mcdp.c:(.text.startup+0x1b8): warning: warning: system() is a security risk. Use fork and execvp instead!
# strip -R .note -R .comment mcdp
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "mcdp"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: mcdp 0.4b-3 (Thu Apr 13 14:16:50 UTC 2017)

CMD: pacman --query --file mcdp-0.4b-3-x86_64.pkg.tar.xz
# mcdp 0.4b-3

Creating hybrid package for 'mcdp'

Trying to find vanilla package 'mcdp'...

CMD: pacman --query --file /mirror/mcdp-0.4b-3.pkg.tar.xz
# mcdp 0.4b-3

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/share/man/man1/mcdp.1.gz
# /usr/bin/mcdp

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 mcdp.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/mcdp.pkg.tar.xz
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# ==> ERROR: Held by process 550

Attempting to access local repository, attempt 2

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