Build of keyutils with vanilla toolchain

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

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

SLOCLanguage
3,044 sh
2,946 ansic
209 makefile
6,199 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...

CMD: sudo -u tuscan red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: keyutils 1.5.9-1 (Wed Aug 24 13:38:39 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# grep: /etc/rpm/macros.dist: No such file or directory
# cc -I. -DPKGBUILD="\"2016-08-24\"" -DPKGVERSION="\"keyutils-1.5.9\"" -DAPIVERSION="\"libkeyutils-1.5\"" -fPIC -o keyutils.os -c keyutils.c
# cc -I. -o keyctl.o -c keyctl.c
# cc -I. -o request-key.o -c request-key.c
# cc -I. -o key.dns_resolver.o -c key.dns_resolver.c
# cc -I. -DPKGBUILD="\"2016-08-24\"" -DPKGVERSION="\"keyutils-1.5.9\"" -DAPIVERSION="\"libkeyutils-1.5\"" -UNO_GLIBC_KEYERR -o keyutils.o -c keyutils.c
# cc -fPIC -shared -Wl,-soname,libkeyutils.so.1 -Wl,--version-script,version.lds -o libkeyutils.so.1.5 keyutils.os
# ln -sf libkeyutils.so.1.5 libkeyutils.so.1
# ln -sf libkeyutils.so.1 libkeyutils.so
# cc -L. -o keyctl keyctl.o -lkeyutils
# cc -L. -o request-key request-key.o -lkeyutils
# cc -L. -o key.dns_resolver key.dns_resolver.o -lkeyutils -lresolv
# ar rcs libkeyutils.a keyutils.o
# ==> Entering fakeroot environment...
# ==> Starting package()...
# grep: /etc/rpm/macros.dist: No such file or directory
# install -D -m 0644 libkeyutils.a /tmp/keyutils/pkg/keyutils/usr/lib/libkeyutils.a
# install -D libkeyutils.so.1.5 /tmp/keyutils/pkg/keyutils/usr/lib/libkeyutils.so.1.5
# ln -sf libkeyutils.so.1.5 /tmp/keyutils/pkg/keyutils/usr/lib/libkeyutils.so.1
# mkdir -p /tmp/keyutils/pkg/keyutils/usr/lib
# ln -sf /usr/lib/libkeyutils.so.1 /tmp/keyutils/pkg/keyutils/usr/lib/libkeyutils.so
# install -D keyctl /tmp/keyutils/pkg/keyutils/usr/bin/keyctl
# install -D request-key /tmp/keyutils/pkg/keyutils/usr/bin/request-key
# install -D request-key-debug.sh /tmp/keyutils/pkg/keyutils/usr/share/keyutils/request-key-debug.sh
# install -D key.dns_resolver /tmp/keyutils/pkg/keyutils/usr/bin/key.dns_resolver
# install -D -m 0644 request-key.conf /tmp/keyutils/pkg/keyutils/etc/request-key.conf
# mkdir -p /tmp/keyutils/pkg/keyutils/etc/request-key.d
# mkdir -p /tmp/keyutils/pkg/keyutils/usr/share/man/man1
# install -m 0644 man/keyctl.1 /tmp/keyutils/pkg/keyutils/usr/share/man/man1
# mkdir -p /tmp/keyutils/pkg/keyutils/usr/share/man/man3
# install -m 0644 man/keyctl_get_keyring_ID.3 man/keyctl.3 man/keyctl_chown.3 man/keyctl_revoke.3 man/keyctl_get_security.3 man/keyctl_session_to_parent.3 man/keyctl_describe.3 man/keyctl_set_timeout.3 man/find_key_by_type_and_name.3 man/keyctl_join_session_keyring.3 man/keyctl_invalidate.3 man/keyctl_set_reqkey_keyring.3 man/keyctl_instantiate.3 man/keyctl_clear.3 man/keyctl_link.3 man/keyctl_search.3 man/keyctl_setperm.3 man/keyctl_update.3 man/keyctl_read.3 man/keyctl_get_persistent.3 man/recursive_key_scan.3 /tmp/keyutils/pkg/keyutils/usr/share/man/man3
# mkdir -p /tmp/keyutils/pkg/keyutils/usr/share/man/man5
# install -m 0644 man/request-key.conf.5 /tmp/keyutils/pkg/keyutils/usr/share/man/man5
# mkdir -p /tmp/keyutils/pkg/keyutils/usr/share/man/man7
# install -m 0644 man/persistent-keyring.7 man/process-keyring.7 man/keyutils.7 man/thread-keyring.7 man/keyrings.7 man/user-session-keyring.7 man/session-keyring.7 man/user-keyring.7 /tmp/keyutils/pkg/keyutils/usr/share/man/man7
# mkdir -p /tmp/keyutils/pkg/keyutils/usr/share/man/man8
# install -m 0644 man/request-key.8 man/key.dns_resolver.8 /tmp/keyutils/pkg/keyutils/usr/share/man/man8
# ln -sf keyctl_describe.3 /tmp/keyutils/pkg/keyutils/usr/share/man/man3/keyctl_describe_alloc.3
# ln -sf keyctl_get_security.3 /tmp/keyutils/pkg/keyutils/usr/share/man/man3/keyctl_get_security_alloc.3
# ln -sf keyctl_instantiate.3 /tmp/keyutils/pkg/keyutils/usr/share/man/man3/keyctl_instantiate_iov.3
# ln -sf keyctl_instantiate.3 /tmp/keyutils/pkg/keyutils/usr/share/man/man3/keyctl_reject.3
# ln -sf keyctl_instantiate.3 /tmp/keyutils/pkg/keyutils/usr/share/man/man3/keyctl_negate.3
# ln -sf keyctl_instantiate.3 /tmp/keyutils/pkg/keyutils/usr/share/man/man3/keyctl_assume_authority.3
# ln -sf keyctl_link.3 /tmp/keyutils/pkg/keyutils/usr/share/man/man3/keyctl_unlink.3
# ln -sf keyctl_read.3 /tmp/keyutils/pkg/keyutils/usr/share/man/man3/keyctl_read_alloc.3
# ln -sf recursive_key_scan.3 /tmp/keyutils/pkg/keyutils/usr/share/man/man3/recursive_session_key_scan.3
# install -D -m 0644 keyutils.h /tmp/keyutils/pkg/keyutils/usr/include/keyutils.h
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "keyutils"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: keyutils 1.5.9-1 (Wed Aug 24 13:38:40 UTC 2016)

CMD: pacman --query --file keyutils-1.5.9-1-x86_64.pkg.tar.xz
# keyutils 1.5.9-1

Creating hybrid package for 'keyutils'

Trying to find vanilla package 'keyutils'...

CMD: pacman --query --file /mirror/keyutils-1.5.9-1.pkg.tar.xz
# keyutils 1.5.9-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /etc/request-key.conf
# /usr/lib/libkeyutils.so.1
# /usr/lib/libkeyutils.so
# /usr/lib/libkeyutils.so.1.5
# /usr/bin/keyctl
# /usr/bin/request-key
# /usr/bin/key.dns_resolver
# /usr/share/keyutils/request-key-debug.sh
# /usr/share/man/man1/keyctl.1.gz
# /usr/share/man/man3/keyctl_get_keyring_ID.3.gz
# /usr/share/man/man3/keyctl.3.gz
# /usr/share/man/man3/keyctl_chown.3.gz
# /usr/share/man/man3/keyctl_revoke.3.gz
# /usr/share/man/man3/keyctl_get_security_alloc.3.gz
# /usr/share/man/man3/keyctl_get_security.3.gz
# /usr/share/man/man3/keyctl_session_to_parent.3.gz
# /usr/share/man/man3/keyctl_set_timeout.3.gz
# /usr/share/man/man3/find_key_by_type_and_name.3.gz
# /usr/share/man/man3/keyctl_join_session_keyring.3.gz
# /usr/share/man/man3/keyctl_invalidate.3.gz
# /usr/share/man/man3/keyctl_set_reqkey_keyring.3.gz
# /usr/share/man/man3/keyctl_instantiate_iov.3.gz
# /usr/share/man/man3/keyctl_reject.3.gz
# /usr/share/man/man3/keyctl_negate.3.gz
# /usr/share/man/man3/keyctl_assume_authority.3.gz
# /usr/share/man/man3/keyctl_instantiate.3.gz
# /usr/share/man/man3/keyctl_clear.3.gz
# /usr/share/man/man3/keyctl_unlink.3.gz
# /usr/share/man/man3/keyctl_link.3.gz
# /usr/share/man/man3/keyctl_search.3.gz
# /usr/share/man/man3/keyctl_setperm.3.gz
# /usr/share/man/man3/keyctl_update.3.gz
# /usr/share/man/man3/keyctl_describe_alloc.3.gz
# /usr/share/man/man3/keyctl_describe.3.gz
# /usr/share/man/man3/keyctl_read_alloc.3.gz
# /usr/share/man/man3/keyctl_read.3.gz
# /usr/share/man/man3/keyctl_get_persistent.3.gz
# /usr/share/man/man3/recursive_session_key_scan.3.gz
# /usr/share/man/man3/recursive_key_scan.3.gz
# /usr/share/man/man5/request-key.conf.5.gz
# /usr/share/man/man7/persistent-keyring.7.gz
# /usr/share/man/man7/keyutils.7.gz
# /usr/share/man/man7/process-keyring.7.gz
# /usr/share/man/man7/thread-keyring.7.gz
# /usr/share/man/man7/keyrings.7.gz
# /usr/share/man/man7/session-keyring.7.gz
# /usr/share/man/man7/user-session-keyring.7.gz
# /usr/share/man/man7/user-keyring.7.gz
# /usr/share/man/man8/request-key.8.gz
# /usr/share/man/man8/key.dns_resolver.8.gz
# /usr/include/keyutils.h
# /sysroot/usr/lib/libkeyutils.a
# /sysroot/usr/lib/libkeyutils.so.1.5
# /sysroot/usr/lib/libkeyutils.so.1
# /sysroot/usr/lib/libkeyutils.so
# /sysroot/usr/include/keyutils.h

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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