Build of time with clang_glibc toolchain

The build took 00h 01m 46s and was SUCCESSFUL.

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

SLOCLanguage
1,395 ansic
232 sh
1,627 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: time 1.7-8 (Thu Apr 13 18:46:51 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# creating cache ./config.cache
# checking for gcc... clang
# checking whether we are using GNU C... yes
# checking how to run the C preprocessor... clang -E
# checking for a BSD compatible install... /usr/bin/install -c
# checking whether cross-compiling... no
# checking for ANSI C header files... yes
# checking for sys/wait.h that is POSIX.1 compatible... yes
# checking for unistd.h... yes
# checking for string.h... yes
# checking for sys/rusage.h... no
# checking for working const... yes
# checking for pid_t... yes
# checking for size_t... yes
# checking return type of signal handlers... void
# checking for struct timeval in sys/time.h... yes
# checking for vprintf... yes
# checking for wait3 that fills in rusage... yes
# checking for strerror... yes
# checking for getpagesize... yes
# updating cache ./config.cache
# creating ./config.status
# creating Makefile
# clang -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_WAIT3=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -I. -I. time.c
# time.c:631:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
# void
# ^
# time.c:631:1: note: change return type to 'int'
# void
# ^~~~
# int
# time.c:640:16: warning: passing 'const char **' to parameter of type 'char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
# run_command (command_line, &res);
# ^~~~~~~~~~~~
# 2 warnings generated.
# clang -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_WAIT3=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -I. -I. getopt.c
# clang -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_WAIT3=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -I. -I. getopt1.c
# clang -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_WAIT3=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -I. -I. error.c
# clang -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_WAIT3=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -I. -I. resuse.c
# rm -f t-version.c
# echo 'const char *version_string = "'GNU time 1.7'";' \
# > t-version.c
# if cmp -s version.c t-version.c; then \
# rm t-version.c; \
# else \
# mv t-version.c version.c; \
# fi
# echo timestamp > stamp-v
# clang -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_WAIT3=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -I. -I. version.c
# clang -o time time.o getopt.o getopt1.o error.o resuse.o version.o
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ./mkinstalldirs /tmp/time/pkg/time/usr/bin
# mkdir /tmp/time/pkg/time/usr
# mkdir /tmp/time/pkg/time/usr/bin
# list="time"; for p in $list; do \
# if test -f $p; then \
# /usr/bin/install -c $p /tmp/time/pkg/time/usr/bin/`echo $p|sed 's,x,x,'`; \
# else :; fi; \
# done
# ./mkinstalldirs /tmp/time/pkg/time/usr/share/info
# mkdir /tmp/time/pkg/time/usr/share
# mkdir /tmp/time/pkg/time/usr/share/info
# for file in time.info; do \
# for ifile in `cd . && echo $file*`; do \
# /usr/bin/install -c -m 644 ./$ifile /tmp/time/pkg/time/usr/share/info/$ifile; \
# done; \
# done
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "time"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: time 1.7-8 (Thu Apr 13 18:47:00 UTC 2017)

CMD: pacman --query --file time-1.7-8-x86_64.pkg.tar.xz
# time 1.7-8

Creating hybrid package for 'time'

Trying to find vanilla package 'time'...

CMD: pacman --query --file /mirror/kdepim-runtime-16.04.2-1.pkg.tar.xz
# kdepim-runtime 16.04.2-1

CMD: pacman --query --file /mirror/xfce4-datetime-plugin-0.6.2-4.pkg.tar.xz
# xfce4-datetime-plugin 0.6.2-4

CMD: pacman --query --file /mirror/haskell-unix-time-0.3.6-2.pkg.tar.xz
# haskell-unix-time 0.3.6-2

CMD: pacman --query --file /mirror/kdemultimedia-juk-16.04.2-1.pkg.tar.xz
# kdemultimedia-juk 16.04.2-1

CMD: pacman --query --file /mirror/uptimed-0.4.0-1.pkg.tar.xz
# uptimed 0.4.0-1

CMD: pacman --query --file /mirror/perl-timedate-2.30-2.pkg.tar.xz
# perl-timedate 2.30-2

CMD: pacman --query --file /mirror/java-runtime-common-2-2.pkg.tar.xz
# java-runtime-common 2-2

CMD: pacman --query --file /mirror/python2-pytest-timeout-1.0.0-1.pkg.tar.xz
# python2-pytest-timeout 1.0.0-1

CMD: pacman --query --file /mirror/hamster-time-tracker-1.04-2.pkg.tar.xz
# hamster-time-tracker 1.04-2

CMD: pacman --query --file /mirror/perl-datetime-timezone-1.95-1.pkg.tar.xz
# perl-datetime-timezone 1.95-1

CMD: pacman --query --file /mirror/perl-time-modules-2013.0912-1.pkg.tar.xz
# perl-time-modules 2013.0912-1

CMD: pacman --query --file /mirror/perl-time-duration-1:1.20-1.pkg.tar.xz
# perl-time-duration 1:1.20-1

CMD: pacman --query --file /mirror/kteatime-16.04.2-1.pkg.tar.xz
# kteatime 16.04.2-1

CMD: pacman --query --file /mirror/notmuch-runtime-0.22-1.pkg.tar.xz
# notmuch-runtime 0.22-1

CMD: pacman --query --file /mirror/perl-datetime-cron-simple-0.2-6.pkg.tar.xz
# perl-datetime-cron-simple 0.2-6

CMD: pacman --query --file /mirror/perl-datetime-format-builder-0.8100-1.pkg.tar.xz
# perl-datetime-format-builder 0.8100-1

CMD: pacman --query --file /mirror/perl-datetime-event-ical-0.13-1.pkg.tar.xz
# perl-datetime-event-ical 0.13-1

CMD: pacman --query --file /mirror/kdemultimedia-mplayerthumbs-16.04.2-1.pkg.tar.xz
# kdemultimedia-mplayerthumbs 16.04.2-1

CMD: pacman --query --file /mirror/xfce4-time-out-plugin-1.0.2-2.pkg.tar.xz
# xfce4-time-out-plugin 1.0.2-2

CMD: pacman --query --file /mirror/ktimer-16.04.2-1.pkg.tar.xz
# ktimer 16.04.2-1

CMD: pacman --query --file /mirror/gambas3-runtime-3.8.4-3.pkg.tar.xz
# gambas3-runtime 3.8.4-3

CMD: pacman --query --file /mirror/perl-datetime-format-strptime-1.64-1.pkg.tar.xz
# perl-datetime-format-strptime 1.64-1

CMD: pacman --query --file /mirror/haskell-old-time-1.1.0.3-8.pkg.tar.xz
# haskell-old-time 1.1.0.3-8

CMD: pacman --query --file /mirror/qt5-multimedia-5.7.0-1.pkg.tar.xz
# qt5-multimedia 5.7.0-1

CMD: pacman --query --file /mirror/perl-datetime-set-0.3600-1.pkg.tar.xz
# perl-datetime-set 0.3600-1

CMD: pacman --query --file /mirror/libfaketime-0.9.6-2.pkg.tar.xz
# libfaketime 0.9.6-2

CMD: pacman --query --file /mirror/perl-datetime-format-w3cdtf-0.06-2.pkg.tar.xz
# perl-datetime-format-w3cdtf 0.06-2

CMD: pacman --query --file /mirror/perl-datetime-format-mail-0.402-1.pkg.tar.xz
# perl-datetime-format-mail 0.402-1

CMD: pacman --query --file /mirror/perl-datetime-locale-1.02-1.pkg.tar.xz
# perl-datetime-locale 1.02-1

CMD: pacman --query --file /mirror/kde-meta-kdemultimedia-16.04-1.pkg.tar.xz
# kde-meta-kdemultimedia 16.04-1

CMD: pacman --query --file /mirror/perl-datetime-format-ical-0.09-4.pkg.tar.xz
# perl-datetime-format-ical 0.09-4

CMD: pacman --query --file /mirror/kdemultimedia-audiocd-kio-16.04.2-1.pkg.tar.xz
# kdemultimedia-audiocd-kio 16.04.2-1

CMD: pacman --query --file /mirror/vim-runtime-7.4.1910-1.pkg.tar.xz
# vim-runtime 7.4.1910-1

CMD: pacman --query --file /mirror/kdebase-runtime-16.04.2-1.pkg.tar.xz
# kdebase-runtime 16.04.2-1

CMD: pacman --query --file /mirror/python2-parsedatetime-2.1-1.pkg.tar.xz
# python2-parsedatetime 2.1-1

CMD: pacman --query --file /mirror/python-pytest-timeout-1.0.0-1.pkg.tar.xz
# python-pytest-timeout 1.0.0-1

CMD: pacman --query --file /mirror/kdemultimedia-kscd-16.04.2-1.pkg.tar.xz
# kdemultimedia-kscd 16.04.2-1

CMD: pacman --query --file /mirror/perl-time-format-1.12-2.pkg.tar.xz
# perl-time-format 1.12-2

CMD: pacman --query --file /mirror/time-1.7-8.pkg.tar.xz
# time 1.7-8

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/share/info/time.info.gz
# /usr/bin/time

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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

Attempting to access local repository, attempt 2

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

Attempting to access local repository, attempt 3

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

Printing config logfiles

CMD: config logfiles '/tmp/time/src/time-1.7/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# configure:627: clang -E conftest.c
# configure:685: clang -E conftest.c >/dev/null 2>conftest.out
# configure:812: clang -o conftest conftest.c 1>&5
# configure:809:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(){return(0);}
# ^
# 1 warning generated.
# configure:838: clang -E conftest.c >/dev/null 2>conftest.out
# configure:903: clang -o conftest conftest.c 1>&5
# configure:898:67: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
# ^
# configure:898:67: note: include the header or explicitly provide a declaration for 'exit'
# 1 warning generated.
# configure:944: clang -c conftest.c 1>&5
# configure:976: clang -E conftest.c >/dev/null 2>conftest.out
# configure:976: clang -E conftest.c >/dev/null 2>conftest.out
# configure:976: clang -E conftest.c >/dev/null 2>conftest.out
# configure:972:10: fatal error: 'sys/rusage.h' file not found
# #include
# ^
# 1 error generated.
# configure:1056: clang -c conftest.c 1>&5
# configure:1162: clang -c conftest.c 1>&5
# configure:1231: clang -o conftest conftest.c 1>&5
# configure:1214:6: warning: incompatible redeclaration of library function 'vprintf' [-Wincompatible-library-redeclaration]
# char vprintf();
# ^
# configure:1214:6: note: 'vprintf' is a builtin with type 'int (const char *, struct __va_list_tag *)'
# 1 warning generated.
# configure:1342: clang -o conftest conftest.c 1>&5
# configure:1317:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main() {
# ^
# configure:1328:11: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration]
# switch (fork()) {
# ^
# configure:1330:5: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration]
# sleep(1); /* Give up the CPU. */
# ^
# configure:1331:5: warning: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# _exit(0);
# ^
# configure:1331:5: note: include the header or explicitly provide a declaration for '_exit'
# configure:1334:5: warning: implicit declaration of function 'wait3' is invalid in C99 [-Wimplicit-function-declaration]
# wait3(&i, 0, &r);
# ^
# configure:1336:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0
# ^
# configure:1336:5: note: include the header or explicitly provide a declaration for 'exit'
# 6 warnings generated.
# configure:1391: clang -o conftest conftest.c 1>&5
# configure:1374:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
# char strerror();
# ^
# configure:1374:6: note: 'strerror' is a builtin with type 'char *(int)'
# 1 warning generated.
# configure:1424: clang -o conftest conftest.c 1>&5
# configure:1420:1: warning: implicit declaration of function 'getpagesize' is invalid in C99 [-Wimplicit-function-declaration]
# getpagesize();
# ^
# 1 warning generated.