Build of libacpi with clang_glibc toolchain

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

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

SLOCLanguage
840 ansic
122 makefile
962 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: libacpi 0.2-4 (Thu Apr 13 11:39:37 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file libacpi.h
# patching file libacpi.c
# patching file test-libacpi.c
# patching file debian/control
# patching file debian/libacpi-dev.install
# patching file debian/compat
# patching file debian/docs
# patching file debian/changelog
# patching file debian/libacpi0.install
# patching file debian/copyright
# patching file debian/rules
# libacpi build options:
# CFLAGS = -fPIC -g --pedantic -Wall -Wextra
# CC = cc
# SOFLAGS = -shared -Wl,-soname,libacpi.so.0
# LD = cc
# CC libacpi.c
# libacpi.c:212:9: warning: address of array 'ac->state_file' will always evaluate to 'true' [-Wpointer-bool-conversion]
# if(ac->state_file && (buf = get_acpi_content(ac->state_file)) == NULL){
# ~~~~^~~~~~~~~~ ~~
# 1 warning generated.
# CC list.c
# AR libacpi.a
# LD libacpi.so
# CC test-libacpi.c
# test-libacpi.c:87:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# else printf("\n%s:\ttemperature: %d C\n"
# ^~~~
# test-libacpi.c:94:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# printf("Temperature: %d C\n", global->temperature);
# ^~~~
# 2 warnings generated.
# LD test-libacpi
# ==> Entering fakeroot environment...
# ==> Starting package()...
# libacpi build options:
# CFLAGS = -fPIC -g --pedantic -Wall -Wextra
# CC = cc
# SOFLAGS = -shared -Wl,-soname,libacpi.so.0
# LD = cc
# LD libacpi.so
# installing header to /tmp/libacpi/pkg/libacpi/usr/include
# installing library to /tmp/libacpi/pkg/libacpi/usr/lib
# installing test-libacpi to /tmp/libacpi/pkg/libacpi/usr/bin
# installing manual page to /tmp/libacpi/pkg/libacpi/usr/share/man/man3
# installing documentation and misc files to /tmp/libacpi/pkg/libacpi/usr/share/doc/libacpi
# finished installation
# ==> Tidying install...
# -> Removing doc files...
# -> Removing empty directories...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "libacpi"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: libacpi 0.2-4 (Thu Apr 13 11:39:51 UTC 2017)

CMD: pacman --query --file libacpi-0.2-4-x86_64.pkg.tar.xz
# libacpi 0.2-4

Creating hybrid package for 'libacpi'

Trying to find vanilla package 'libacpi'...

CMD: pacman --query --file /mirror/libacpi-0.2-4.pkg.tar.xz
# libacpi 0.2-4

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/test-libacpi
# /usr/share/man/man3/libacpi.3.gz
# /usr/share/doc/libacpi/README
# /usr/share/doc/libacpi/LICENSE
# /usr/share/doc/libacpi/CHANGES
# /usr/share/doc/libacpi/AUTHORS
# /usr/share/doc/libacpi/doc/html/globals.html
# /usr/share/doc/libacpi/doc/html/libacpi_8c_b63d686528f867234559a0bd829f9a33_cgraph.png
# /usr/share/doc/libacpi/doc/html/libacpi_8c_b63d686528f867234559a0bd829f9a33_cgraph.map
# /usr/share/doc/libacpi/doc/html/structbattery__t.html
# /usr/share/doc/libacpi/doc/html/libacpi_8c_027286cd397157bdbf9e551ef510cb59_cgraph.md5
# /usr/share/doc/libacpi/doc/html/graph_legend.html
# /usr/share/doc/libacpi/doc/html/structlist__t__coll__graph.png
# /usr/share/doc/libacpi/doc/html/list_8h_ac821e6d16d9494f9b8ffc3f9cd0aec4_icgraph.md5
# /usr/share/doc/libacpi/doc/html/structbattery__t__coll__graph.map
# /usr/share/doc/libacpi/doc/html/structnode__coll__graph.png
# /usr/share/doc/libacpi/doc/html/list_8h_ac821e6d16d9494f9b8ffc3f9cd0aec4_icgraph.png
# /usr/share/doc/libacpi/doc/html/doxygen.png
# /usr/share/doc/libacpi/doc/html/libacpi_8h_027286cd397157bdbf9e551ef510cb59_cgraph.png
# /usr/share/doc/libacpi/doc/html/libacpi_8h-source.html
# /usr/share/doc/libacpi/doc/html/structthermal__state__t.html
# /usr/share/doc/libacpi/doc/html/list_8c.html
# /usr/share/doc/libacpi/doc/html/libacpi_8h_b46f89c7d7ff338842d7619c7392c0bf_cgraph.png
# /usr/share/doc/libacpi/doc/html/structthermal__t.html
# /usr/share/doc/libacpi/doc/html/functions.html
# /usr/share/doc/libacpi/doc/html/globals_type.html
# /usr/share/doc/libacpi/doc/html/structbattery__t__coll__graph.png
# /usr/share/doc/libacpi/doc/html/libacpi_8h_baf0f122878f23b4cc8a5cb2dea8bf71_icgraph.png
# /usr/share/doc/libacpi/doc/html/libacpi_8h__dep__incl.map
# /usr/share/doc/libacpi/doc/html/index.html
# /usr/share/doc/libacpi/doc/html/libacpi_8c_baf0f122878f23b4cc8a5cb2dea8bf71_icgraph.map
# /usr/share/doc/libacpi/doc/html/structlist__t.html
# /usr/share/doc/libacpi/doc/html/list_8c_8779934af9269ac85b5eda546da2285c_icgraph.md5
# /usr/share/doc/libacpi/doc/html/structfan__t-members.html
# /usr/share/doc/libacpi/doc/html/structadapter__t__coll__graph.md5
# /usr/share/doc/libacpi/doc/html/structlist__t-members.html
# /usr/share/doc/libacpi/doc/html/tab_r.gif
# /usr/share/doc/libacpi/doc/html/libacpi_8c_027286cd397157bdbf9e551ef510cb59_cgraph.map
# /usr/share/doc/libacpi/doc/html/structpower__state__t.html
# /usr/share/doc/libacpi/doc/html/globals_vars.html
# /usr/share/doc/libacpi/doc/html/structthermal__t__coll__graph.png
# /usr/share/doc/libacpi/doc/html/libacpi_8h_027286cd397157bdbf9e551ef510cb59_cgraph.md5
# /usr/share/doc/libacpi/doc/html/list_8h__dep__incl.md5
# /usr/share/doc/libacpi/doc/html/list_8c_8779934af9269ac85b5eda546da2285c_icgraph.map
# /usr/share/doc/libacpi/doc/html/libacpi_8c__incl.map
# /usr/share/doc/libacpi/doc/html/structglobal__t__coll__graph.md5
# /usr/share/doc/libacpi/doc/html/list_8c_ac821e6d16d9494f9b8ffc3f9cd0aec4_icgraph.md5
# /usr/share/doc/libacpi/doc/html/list_8c__incl.png
# /usr/share/doc/libacpi/doc/html/list_8c-source.html
# /usr/share/doc/libacpi/doc/html/list_8h_ac821e6d16d9494f9b8ffc3f9cd0aec4_icgraph.map
# /usr/share/doc/libacpi/doc/html/structthermal__t__coll__graph.map
# /usr/share/doc/libacpi/doc/html/libacpi_8h_b63d686528f867234559a0bd829f9a33_cgraph.png
# /usr/share/doc/libacpi/doc/html/libacpi_8h__dep__incl.png
# /usr/share/doc/libacpi/doc/html/structnode__t.html
# /usr/share/doc/libacpi/doc/html/doxygen.css
# /usr/share/doc/libacpi/doc/html/list_8h.html
# /usr/share/doc/libacpi/doc/html/structcharge__state__t.html
# /usr/share/doc/libacpi/doc/html/tab_l.gif
# /usr/share/doc/libacpi/doc/html/structthermal__t-members.html
# /usr/share/doc/libacpi/doc/html/list_8c__incl.md5
# /usr/share/doc/libacpi/doc/html/structthermal__mode__t.html
# /usr/share/doc/libacpi/doc/html/list_8h_8779934af9269ac85b5eda546da2285c_icgraph.png
# /usr/share/doc/libacpi/doc/html/structadapter__t-members.html
# /usr/share/doc/libacpi/doc/html/list_8h__dep__incl.png
# /usr/share/doc/libacpi/doc/html/libacpi_8h_3ee17a37e660f31b7b7e5f2f0896851b_cgraph.png
# /usr/share/doc/libacpi/doc/html/list_8h_8779934af9269ac85b5eda546da2285c_icgraph.md5
# /usr/share/doc/libacpi/doc/html/structnode-members.html
# /usr/share/doc/libacpi/doc/html/libacpi_8c_027286cd397157bdbf9e551ef510cb59_cgraph.png
# /usr/share/doc/libacpi/doc/html/structnode.html
# /usr/share/doc/libacpi/doc/html/structadapter__t.html
# /usr/share/doc/libacpi/doc/html/libacpi_8c__incl.md5
# /usr/share/doc/libacpi/doc/html/libacpi_8h_b63d686528f867234559a0bd829f9a33_cgraph.map
# /usr/share/doc/libacpi/doc/html/libacpi_8c_baf0f122878f23b4cc8a5cb2dea8bf71_icgraph.png
# /usr/share/doc/libacpi/doc/html/structbattery__t__coll__graph.md5
# /usr/share/doc/libacpi/doc/html/graph_legend.png
# /usr/share/doc/libacpi/doc/html/libacpi_8h_baf0f122878f23b4cc8a5cb2dea8bf71_icgraph.map
# /usr/share/doc/libacpi/doc/html/structthermal__t__coll__graph.md5
# /usr/share/doc/libacpi/doc/html/structnode__coll__graph.map
# /usr/share/doc/libacpi/doc/html/libacpi_8h_b46f89c7d7ff338842d7619c7392c0bf_cgraph.md5
# /usr/share/doc/libacpi/doc/html/list_8h__dep__incl.map
# /usr/share/doc/libacpi/doc/html/structbatt__state__t.html
# /usr/share/doc/libacpi/doc/html/structbattery__t-members.html
# /usr/share/doc/libacpi/doc/html/libacpi_8c_b46f89c7d7ff338842d7619c7392c0bf_cgraph.map
# /usr/share/doc/libacpi/doc/html/tabs.css
# /usr/share/doc/libacpi/doc/html/structlist__t__coll__graph.map
# /usr/share/doc/libacpi/doc/html/globals_defs.html
# /usr/share/doc/libacpi/doc/html/libacpi_8c_3ee17a37e660f31b7b7e5f2f0896851b_cgraph.md5
# /usr/share/doc/libacpi/doc/html/structglobal__t__coll__graph.png
# /usr/share/doc/libacpi/doc/html/list_8c_ac821e6d16d9494f9b8ffc3f9cd0aec4_icgraph.png
# /usr/share/doc/libacpi/doc/html/files.html
# /usr/share/doc/libacpi/doc/html/libacpi_8h_b46f89c7d7ff338842d7619c7392c0bf_cgraph.map
# /usr/share/doc/libacpi/doc/html/structnode__coll__graph.md5
# /usr/share/doc/libacpi/doc/html/structacpi__value__t-members.html
# /usr/share/doc/libacpi/doc/html/list_8c_ac821e6d16d9494f9b8ffc3f9cd0aec4_icgraph.map
# /usr/share/doc/libacpi/doc/html/globals_func.html
# /usr/share/doc/libacpi/doc/html/structlist__t__coll__graph.md5
# /usr/share/doc/libacpi/doc/html/list_8h-source.html
# /usr/share/doc/libacpi/doc/html/globals_enum.html
# /usr/share/doc/libacpi/doc/html/libacpi_8h_3ee17a37e660f31b7b7e5f2f0896851b_cgraph.map
# /usr/share/doc/libacpi/doc/html/functions_vars.html
# /usr/share/doc/libacpi/doc/html/structfan__t.html
# /usr/share/doc/libacpi/doc/html/libacpi_8c_b46f89c7d7ff338842d7619c7392c0bf_cgraph.md5
# /usr/share/doc/libacpi/doc/html/structglobal__t-members.html
# /usr/share/doc/libacpi/doc/html/libacpi_8c.html
# /usr/share/doc/libacpi/doc/html/structadapter__t__coll__graph.map
# /usr/share/doc/libacpi/doc/html/libacpi_8c_b63d686528f867234559a0bd829f9a33_cgraph.md5
# /usr/share/doc/libacpi/doc/html/structglobal__t__coll__graph.map
# /usr/share/doc/libacpi/doc/html/libacpi_8h_baf0f122878f23b4cc8a5cb2dea8bf71_icgraph.md5
# /usr/share/doc/libacpi/doc/html/libacpi_8h_3ee17a37e660f31b7b7e5f2f0896851b_cgraph.md5
# /usr/share/doc/libacpi/doc/html/annotated.html
# /usr/share/doc/libacpi/doc/html/list_8c_8779934af9269ac85b5eda546da2285c_icgraph.png
# /usr/share/doc/libacpi/doc/html/structacpi__value__t.html
# /usr/share/doc/libacpi/doc/html/libacpi_8c_3ee17a37e660f31b7b7e5f2f0896851b_cgraph.png
# /usr/share/doc/libacpi/doc/html/libacpi_8c_b46f89c7d7ff338842d7619c7392c0bf_cgraph.png
# /usr/share/doc/libacpi/doc/html/list_8h_8779934af9269ac85b5eda546da2285c_icgraph.map
# /usr/share/doc/libacpi/doc/html/libacpi_8c_3ee17a37e660f31b7b7e5f2f0896851b_cgraph.map
# /usr/share/doc/libacpi/doc/html/structglobal__t.html
# /usr/share/doc/libacpi/doc/html/libacpi_8c_baf0f122878f23b4cc8a5cb2dea8bf71_icgraph.md5
# /usr/share/doc/libacpi/doc/html/libacpi_8h_b63d686528f867234559a0bd829f9a33_cgraph.md5
# /usr/share/doc/libacpi/doc/html/libacpi_8c-source.html
# /usr/share/doc/libacpi/doc/html/list_8c__incl.map
# /usr/share/doc/libacpi/doc/html/libacpi_8h_027286cd397157bdbf9e551ef510cb59_cgraph.map
# /usr/share/doc/libacpi/doc/html/libacpi_8h.html
# /usr/share/doc/libacpi/doc/html/libacpi_8h__dep__incl.md5
# /usr/share/doc/libacpi/doc/html/libacpi_8c__incl.png
# /usr/share/doc/libacpi/doc/html/globals_eval.html
# /usr/share/doc/libacpi/doc/html/tab_b.gif
# /usr/share/doc/libacpi/doc/html/structadapter__t__coll__graph.png
# /usr/share/doc/libacpi/doc/html/graph_legend.dot
# /usr/lib/libacpi.so.0
# /usr/lib/libacpi.so
# /usr/include/libacpi.h
# /sysroot/usr/lib/libacpi.a
# /sysroot/usr/lib/libacpi.so.0
# /sysroot/usr/lib/libacpi.so
# /sysroot/usr/include/libacpi.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 libacpi.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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