Build of re2 with android toolchain

The build took 00h 01m 18s 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.

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/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
# /toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/SOURCES --> /sysroot/SOURCES
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/COPYING --> /sysroot/COPYING
# /toolchain_root/COPYING3 --> /sysroot/COPYING3
# /toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: re2 20160301-1 (Tue Apr 4 20:15:05 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# arm-linux-androideabi-g++ -c -o obj/util/stringprintf.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG util/stringprintf.cc
# arm-linux-androideabi-g++ -c -o obj/util/hash.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG util/hash.cc
# arm-linux-androideabi-g++ -c -o obj/util/rune.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG util/rune.cc
# arm-linux-androideabi-g++ -c -o obj/util/logging.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG util/logging.cc
# arm-linux-androideabi-g++ -c -o obj/util/strutil.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG util/strutil.cc
# arm-linux-androideabi-g++ -c -o obj/util/valgrind.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG util/valgrind.cc
# arm-linux-androideabi-g++ -c -o obj/re2/bitstate.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/bitstate.cc
# arm-linux-androideabi-g++ -c -o obj/re2/compile.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/compile.cc
# arm-linux-androideabi-g++ -c -o obj/re2/dfa.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/dfa.cc
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -c -o obj/re2/nfa.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/nfa.cc
# arm-linux-androideabi-g++ -c -o obj/re2/onepass.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/onepass.cc
# arm-linux-androideabi-g++ -c -o obj/re2/parse.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/parse.cc
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -c -o obj/re2/prefilter.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/prefilter.cc
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -c -o obj/re2/prog.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/prog.cc
# arm-linux-androideabi-g++ -c -o obj/re2/re2.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/re2.cc
# arm-linux-androideabi-g++ -c -o obj/re2/regexp.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/regexp.cc
# arm-linux-androideabi-g++ -c -o obj/re2/set.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/set.cc
# arm-linux-androideabi-g++ -c -o obj/re2/simplify.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/simplify.cc
# arm-linux-androideabi-g++ -c -o obj/re2/stringpiece.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/stringpiece.cc
# arm-linux-androideabi-g++ -c -o obj/re2/tostring.o -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -DNDEBUG re2/tostring.cc
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# arm-linux-androideabi-g++ -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
# 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
# /r: 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
# arm-linux-androideabi-g++ -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 (Tue Apr 4 20:15:21 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/sysroot/usr/lib/libre2.a
# /sysroot/sysroot/usr/lib/libre2.so.0.0.0
# /sysroot/sysroot/usr/lib/libre2.so.0
# /sysroot/sysroot/usr/lib/libre2.so
# /sysroot/sysroot/usr/lib/pkgconfig/re2.pc
# /sysroot/sysroot/usr/include/re2/filtered_re2.h
# /sysroot/sysroot/usr/include/re2/re2.h
# /sysroot/sysroot/usr/include/re2/set.h
# /sysroot/sysroot/usr/include/re2/stringpiece.h
# /sysroot/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'