Build of re2 with clang_glibc toolchain

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

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

SLOCLanguage
23,143 cpp
281 python
245 makefile
224 perl
193 sh
9 ansic
24,095 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: re2 20160301-1 (Thu Apr 13 13:34:16 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang++ -c -o obj/util/hash.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG util/hash.cc
# clang++ -c -o obj/util/logging.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG util/logging.cc
# clang++ -c -o obj/util/rune.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG util/rune.cc
# clang++ -c -o obj/util/stringprintf.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG util/stringprintf.cc
# clang++ -c -o obj/util/strutil.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG util/strutil.cc
# clang++ -c -o obj/util/valgrind.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG util/valgrind.cc
# clang++ -c -o obj/re2/bitstate.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/bitstate.cc
# clang++ -c -o obj/re2/compile.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/compile.cc
# clang++ -c -o obj/re2/dfa.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/dfa.cc
# clang++ -c -o obj/re2/filtered_re2.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/filtered_re2.cc
# clang++ -c -o obj/re2/mimics_pcre.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/mimics_pcre.cc
# clang++ -c -o obj/re2/nfa.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/nfa.cc
# clang++ -c -o obj/re2/onepass.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/onepass.cc
# clang++ -c -o obj/re2/parse.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/parse.cc
# clang++ -c -o obj/re2/perl_groups.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/perl_groups.cc
# clang++ -c -o obj/re2/prefilter.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/prefilter.cc
# clang++ -c -o obj/re2/prefilter_tree.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/prefilter_tree.cc
# clang++ -c -o obj/re2/prog.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/prog.cc
# clang++ -c -o obj/re2/re2.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/re2.cc
# clang++ -c -o obj/re2/regexp.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/regexp.cc
# clang++ -c -o obj/re2/set.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/set.cc
# clang++ -c -o obj/re2/simplify.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/simplify.cc
# clang++ -c -o obj/re2/stringpiece.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/stringpiece.cc
# clang++ -c -o obj/re2/tostring.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/tostring.cc
# clang++ -c -o obj/re2/unicode_casefold.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/unicode_casefold.cc
# clang++ -c -o obj/re2/unicode_groups.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/unicode_groups.cc
# ar rv obj/libre2.a obj/util/hash.o obj/util/logging.o obj/util/rune.o obj/util/stringprintf.o obj/util/strutil.o obj/util/valgrind.o obj/re2/bitstate.o obj/re2/compile.o obj/re2/dfa.o obj/re2/filtered_re2.o obj/re2/mimics_pcre.o obj/re2/nfa.o obj/re2/onepass.o obj/re2/parse.o obj/re2/perl_groups.o obj/re2/prefilter.o obj/re2/prefilter_tree.o obj/re2/prog.o obj/re2/re2.o obj/re2/regexp.o obj/re2/set.o obj/re2/simplify.o obj/re2/stringpiece.o obj/re2/tostring.o obj/re2/unicode_casefold.o obj/re2/unicode_groups.o
# ar: creating obj/libre2.a
# a - obj/util/hash.o
# a - obj/util/logging.o
# a - obj/util/rune.o
# a - obj/util/stringprintf.o
# a - obj/util/strutil.o
# a - obj/util/valgrind.o
# a - obj/re2/bitstate.o
# a - obj/re2/compile.o
# a - obj/re2/dfa.o
# a - obj/re2/filtered_re2.o
# a - obj/re2/mimics_pcre.o
# a - obj/re2/nfa.o
# a - obj/re2/onepass.o
# a - obj/re2/parse.o
# a - obj/re2/perl_groups.o
# a - obj/re2/prefilter.o
# a - obj/re2/prefilter_tree.o
# a - obj/re2/prog.o
# a - obj/re2/re2.o
# a - obj/re2/regexp.o
# a - obj/re2/set.o
# a - obj/re2/simplify.o
# a - obj/re2/stringpiece.o
# a - obj/re2/tostring.o
# a - obj/re2/unicode_casefold.o
# a - obj/re2/unicode_groups.o
# clang++ -c -o obj/so/util/hash.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG util/hash.cc
# clang++ -c -o obj/so/util/logging.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG util/logging.cc
# clang++ -c -o obj/so/util/rune.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG util/rune.cc
# clang++ -c -o obj/so/util/stringprintf.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG util/stringprintf.cc
# clang++ -c -o obj/so/util/strutil.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG util/strutil.cc
# clang++ -c -o obj/so/util/valgrind.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG util/valgrind.cc
# clang++ -c -o obj/so/re2/bitstate.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/bitstate.cc
# clang++ -c -o obj/so/re2/compile.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/compile.cc
# clang++ -c -o obj/so/re2/dfa.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/dfa.cc
# clang++ -c -o obj/so/re2/filtered_re2.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/filtered_re2.cc
# clang++ -c -o obj/so/re2/mimics_pcre.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/mimics_pcre.cc
# clang++ -c -o obj/so/re2/nfa.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/nfa.cc
# clang++ -c -o obj/so/re2/onepass.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/onepass.cc
# clang++ -c -o obj/so/re2/parse.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/parse.cc
# clang++ -c -o obj/so/re2/perl_groups.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/perl_groups.cc
# clang++ -c -o obj/so/re2/prefilter.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/prefilter.cc
# clang++ -c -o obj/so/re2/prefilter_tree.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/prefilter_tree.cc
# clang++ -c -o obj/so/re2/prog.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/prog.cc
# clang++ -c -o obj/so/re2/re2.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/re2.cc
# clang++ -c -o obj/so/re2/regexp.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/regexp.cc
# clang++ -c -o obj/so/re2/set.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/set.cc
# clang++ -c -o obj/so/re2/simplify.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/simplify.cc
# clang++ -c -o obj/so/re2/stringpiece.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/stringpiece.cc
# clang++ -c -o obj/so/re2/tostring.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/tostring.cc
# clang++ -c -o obj/so/re2/unicode_casefold.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/unicode_casefold.cc
# clang++ -c -o obj/so/re2/unicode_groups.o -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/unicode_groups.cc
# clang++ -shared -Wl,-soname,libre2.so.0,--version-script,libre2.symbols -pthread -o obj/so/libre2.so.0 obj/so/util/hash.o obj/so/util/logging.o obj/so/util/rune.o obj/so/util/stringprintf.o obj/so/util/strutil.o obj/so/util/valgrind.o obj/so/re2/bitstate.o obj/so/re2/compile.o obj/so/re2/dfa.o obj/so/re2/filtered_re2.o obj/so/re2/mimics_pcre.o obj/so/re2/nfa.o obj/so/re2/onepass.o obj/so/re2/parse.o obj/so/re2/perl_groups.o obj/so/re2/prefilter.o obj/so/re2/prefilter_tree.o obj/so/re2/prog.o obj/so/re2/re2.o obj/so/re2/regexp.o obj/so/re2/set.o obj/so/re2/simplify.o obj/so/re2/stringpiece.o obj/so/re2/tostring.o obj/so/re2/unicode_casefold.o obj/so/re2/unicode_groups.o
# ln -sf libre2.so.0 obj/so/libre2.so
# ==> Entering fakeroot environment...
# ==> Starting package()...
# mkdir -p /tmp/re2/pkg/re2/usr/include/re2 /tmp/re2/pkg/re2/usr/lib/pkgconfig
# install -m 644 re2/filtered_re2.h re2/re2.h re2/set.h re2/stringpiece.h re2/variadic_function.h /tmp/re2/pkg/re2/usr/include/re2
# install obj/libre2.a /tmp/re2/pkg/re2/usr/lib/libre2.a
# install obj/so/libre2.so /tmp/re2/pkg/re2/usr/lib/libre2.so.0.0.0
# ln -sf libre2.so.0.0.0 /tmp/re2/pkg/re2/usr/lib/libre2.so.0
# ln -sf libre2.so.0.0.0 /tmp/re2/pkg/re2/usr/lib/libre2.so
# sed -e "s#@prefix@#/usr#" re2.pc >/tmp/re2/pkg/re2/usr/lib/pkgconfig/re2.pc
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "re2"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: re2 20160301-1 (Thu Apr 13 13:34:56 UTC 2017)

CMD: pacman --query --file re2-20160301-1-x86_64.pkg.tar.xz
# re2 20160301-1

Creating hybrid package for 're2'

Trying to find vanilla package 're2'...

CMD: pacman --query --file /mirror/java-rxtx-2.2pre2-2.pkg.tar.xz
# java-rxtx 2.2pre2-2

CMD: pacman --query --file /mirror/pcre2-10.21-1.pkg.tar.xz
# pcre2 10.21-1

CMD: pacman --query --file /mirror/re2c-0.16-1.pkg.tar.xz
# re2c 0.16-1

CMD: pacman --query --file /mirror/re2-20160301-1.pkg.tar.xz
# re2 20160301-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/lib/libre2.so.0
# /usr/lib/libre2.so.0.0.0
# /usr/lib/libre2.so
# /usr/lib/pkgconfig/re2.pc
# /usr/share/licenses/re2/LICENSE
# /usr/include/re2/re2.h
# /usr/include/re2/stringpiece.h
# /usr/include/re2/filtered_re2.h
# /usr/include/re2/variadic_function.h
# /usr/include/re2/set.h
# /sysroot/usr/lib/libre2.a
# /sysroot/usr/lib/libre2.so.0.0.0
# /sysroot/usr/lib/libre2.so.0
# /sysroot/usr/lib/libre2.so
# /sysroot/usr/lib/pkgconfig/re2.pc
# /sysroot/usr/include/re2/filtered_re2.h
# /sysroot/usr/include/re2/re2.h
# /sysroot/usr/include/re2/set.h
# /sysroot/usr/include/re2/stringpiece.h
# /sysroot/usr/include/re2/variadic_function.h

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

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

Attempting to access local repository, attempt 1

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