Build of ruby-shadow with clang_glibc toolchain

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

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

SLOCLanguage
323 ansic
217 makefile
101 ruby
641 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: ruby-shadow 2.5.0-1 (Thu Apr 13 17:04:45 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking for getspent() in -lshadow... no
# checking for getspent()... yes
# checking for fgetspent()... yes
# checking for setspent()... yes
# checking for endspent()... yes
# checking for lckpwdf()... yes
# checking for ulckpwdf()... yes
# checking for sgetspent()... yes
# checking for ruby/io.h... yes
# creating Makefile
# compiling shadow/shadow.c
# In file included from shadow/shadow.c:10:
# In file included from /usr/include/shadow.h:23:
# /usr/include/features.h:331:4: warning: _FORTIFY_SOURCE requires compiling with optimization (-O) [-W#warnings]
# # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
# ^
# In file included from shadow/shadow.c:11:
# In file included from /usr/include/ruby-2.3.0/ruby.h:33:
# /usr/include/ruby-2.3.0/ruby/ruby.h:933:1: warning: attribute 'deprecated' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes]
# DEPRECATED_TYPE(("RClass is internal use only"),
# ^
# /usr/include/ruby-2.3.0/x86_64-linux/ruby/config.h:128:49: note: expanded from macro 'DEPRECATED_TYPE'
# #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
# ^
# 2 warnings generated.
# linking shared-object shadow.so
# ==> Entering fakeroot environment...
# ==> Starting package()...
# /usr/bin/install -c -m 0755 shadow.so /tmp/ruby-shadow/pkg/ruby-shadow//usr/lib/ruby/vendor_ruby/2.3.0/x86_64-linux
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "ruby-shadow"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: ruby-shadow 2.5.0-1 (Thu Apr 13 17:04:47 UTC 2017)

CMD: pacman --query --file ruby-shadow-2.5.0-1-x86_64.pkg.tar.xz
# ruby-shadow 2.5.0-1

Creating hybrid package for 'ruby-shadow'

Trying to find vanilla package 'ruby-shadow'...

CMD: pacman --query --file /mirror/ruby-shadow-2.5.0-1.pkg.tar.xz
# ruby-shadow 2.5.0-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/lib/ruby/vendor_ruby/2.3.0/x86_64-linux/shadow.so
# /usr/share/licenses/ruby-shadow/LICENSE
# /sysroot/usr/lib/ruby/vendor_ruby/2.3.0/x86_64-linux/shadow.so

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

CMD: bsdtar -tqf ruby-shadow.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/ruby-shadow.pkg.tar.xz

Attempting to access local repository, attempt 1

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