Build of libaio with clang_glibc toolchain

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

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

SLOCLanguage
1,369 ansic
121 makefile
14 sh
1,504 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: libaio 0.3.110-1 (Thu Apr 13 15:35:06 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make[1]: Entering directory '/tmp/libaio/src/libaio-0.3.110/src'
# clang -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_queue_init.ol io_queue_init.c
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_queue_release.ol io_queue_release.c
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_queue_wait.ol io_queue_wait.c
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_queue_run.ol io_queue_run.c
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_getevents.ol io_getevents.c
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_submit.ol io_submit.c
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_cancel.ol io_cancel.c
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_setup.ol io_setup.c
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_destroy.ol io_destroy.c
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o raw_syscall.ol raw_syscall.c
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o compat-0_1.ol compat-0_1.c
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# rm -f libaio.a
# ar r libaio.a io_queue_init.ol io_queue_release.ol io_queue_wait.ol io_queue_run.ol io_getevents.ol io_submit.ol io_cancel.ol io_setup.ol io_destroy.ol raw_syscall.ol compat-0_1.ol
# ar: creating libaio.a
# ranlib libaio.a
# clang -shared -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_queue_init.os io_queue_init.c
# clang-3.8: warning: argument unused during compilation: '-shared'
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -shared -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_queue_release.os io_queue_release.c
# clang-3.8: warning: argument unused during compilation: '-shared'
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -shared -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_queue_wait.os io_queue_wait.c
# clang-3.8: warning: argument unused during compilation: '-shared'
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -shared -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_queue_run.os io_queue_run.c
# clang-3.8: warning: argument unused during compilation: '-shared'
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -shared -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_getevents.os io_getevents.c
# clang-3.8: warning: argument unused during compilation: '-shared'
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -shared -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_submit.os io_submit.c
# clang-3.8: warning: argument unused during compilation: '-shared'
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -shared -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_cancel.os io_cancel.c
# clang-3.8: warning: argument unused during compilation: '-shared'
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -shared -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_setup.os io_setup.c
# clang-3.8: warning: argument unused during compilation: '-shared'
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -shared -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_destroy.os io_destroy.c
# clang-3.8: warning: argument unused during compilation: '-shared'
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -shared -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o raw_syscall.os raw_syscall.c
# clang-3.8: warning: argument unused during compilation: '-shared'
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -shared -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -c -o compat-0_1.os compat-0_1.c
# clang-3.8: warning: argument unused during compilation: '-shared'
# clang-3.8: warning: argument unused during compilation: '-nostartfiles'
# clang -shared -march=x86-64 -mtune=generic -O2 -pipe -nostdlib -nostartfiles -Wall -I. -fPIC -Wl,--version-script=libaio.map -Wl,-soname=libaio.so.1 -o libaio.so.1.0.1 io_queue_init.os io_queue_release.os io_queue_wait.os io_queue_run.os io_getevents.os io_submit.os io_cancel.os io_setup.os io_destroy.os raw_syscall.os compat-0_1.os
# make[1]: Leaving directory '/tmp/libaio/src/libaio-0.3.110/src'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# make[1]: Entering directory '/tmp/libaio/src/libaio-0.3.110/src'
# install -D -m 644 libaio.h /tmp/libaio/pkg/libaio/usr/include/libaio.h
# install -D -m 644 libaio.a /tmp/libaio/pkg/libaio/usr/lib/libaio.a
# install -D -m 755 libaio.so.1.0.1 /tmp/libaio/pkg/libaio/usr/lib/libaio.so.1.0.1
# ln -sf libaio.so.1.0.1 /tmp/libaio/pkg/libaio/usr/lib/libaio.so.1
# ln -sf libaio.so.1.0.1 /tmp/libaio/pkg/libaio/usr/lib/libaio.so
# make[1]: Leaving directory '/tmp/libaio/src/libaio-0.3.110/src'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "libaio"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: libaio 0.3.110-1 (Thu Apr 13 15:35:12 UTC 2017)

CMD: pacman --query --file libaio-0.3.110-1-x86_64.pkg.tar.xz
# libaio 0.3.110-1

Creating hybrid package for 'libaio'

Trying to find vanilla package 'libaio'...

CMD: pacman --query --file /mirror/libaio-0.3.110-1.pkg.tar.xz
# libaio 0.3.110-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/include/libaio.h
# /usr/lib/libaio.so.1
# /usr/lib/libaio.so
# /usr/lib/libaio.so.1.0.1
# /sysroot/usr/lib/libaio.a
# /sysroot/usr/lib/libaio.so.1.0.1
# /sysroot/usr/lib/libaio.so.1
# /sysroot/usr/lib/libaio.so
# /sysroot/usr/include/libaio.h

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

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

Attempting to access local repository, attempt 1

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