Build of tlp with android toolchain

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

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

SLOCLanguage
3,534 sh
511 perl
139 makefile
4,184 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/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: tlp 0.8-1 (Tue Apr 4 21:07:00 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Entering fakeroot environment...
# ==> Starting package_tlp()...
# # Package tlp
# install -D -m 755 tlp /tmp/tlp/pkg/tlp/usr/bin/tlp
# install -D -m 755 tlp-rf /tmp/tlp/pkg/tlp/usr/bin/bluetooth
# ln -sf bluetooth /tmp/tlp/pkg/tlp/usr/bin/wifi
# ln -sf bluetooth /tmp/tlp/pkg/tlp/usr/bin/wwan
# install -m 755 tlp-run-on /tmp/tlp/pkg/tlp/usr/bin/run-on-ac
# ln -sf run-on-ac /tmp/tlp/pkg/tlp/usr/bin/run-on-bat
# install -m 755 tlp-stat /tmp/tlp/pkg/tlp/usr/bin/
# install -m 755 tlp-usblist /tmp/tlp/pkg/tlp/usr/bin/
# install -m 755 tlp-pcilist /tmp/tlp/pkg/tlp/usr/bin/
# install -D -m 755 tpacpi-bat /tmp/tlp/pkg/tlp/usr/lib/tlp-pm/tpacpi-bat
# install -D -m 755 tlp-functions /tmp/tlp/pkg/tlp/usr/lib/tlp-pm/tlp-functions
# install -m 755 tlp-rf-func /tmp/tlp/pkg/tlp/usr/lib/tlp-pm/
# install -m 755 tlp-nop /tmp/tlp/pkg/tlp/usr/lib/tlp-pm/
# install -D -m 755 tlp-usb-udev /tmp/tlp/pkg/tlp/usr/lib/udev/tlp-usb-udev
# install -D -m 644 tlp.rules /tmp/tlp/pkg/tlp/usr/lib/udev/rules.d/85-tlp.rules
# [ -f /tmp/tlp/pkg/tlp/etc/default/tlp ] || install -D -m 644 default /tmp/tlp/pkg/tlp/etc/default/tlp
# install -D -m 644 tlp.service /tmp/tlp/pkg/tlp/usr/lib/systemd/system/tlp.service
# install -m 644 tlp-sleep.service /tmp/tlp/pkg/tlp/usr/lib/systemd/system/
# install -D -m 644 thinkpad-radiosw /tmp/tlp/pkg/tlp/etc/acpi/events/thinkpad-radiosw
# install -m 755 thinkpad-radiosw.sh /tmp/tlp/pkg/tlp/etc/acpi/
# install -D -m 644 tlp.bash_completion /tmp/tlp/pkg/tlp/usr/share/bash-completion/completions/tlp
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "tlp"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Starting package_tlp-rdw()...
# # Package tlp-rdw
# install -D -m 644 tlp-rdw.rules /tmp/tlp/pkg/tlp-rdw/usr/lib/udev/rules.d/85-tlp-rdw.rules
# install -D -m 755 tlp-rdw-udev /tmp/tlp/pkg/tlp-rdw/usr/lib/udev/tlp-rdw-udev
# install -D -m 755 tlp-rdw-nm /tmp/tlp/pkg/tlp-rdw/etc/NetworkManager/dispatcher.d/99tlp-rdw-nm
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "tlp-rdw"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: tlp 0.8-1 (Tue Apr 4 21:07:01 UTC 2017)

CMD: pacman --query --file tlp-0.8-1-any.pkg.tar.xz
# tlp 0.8-1

Creating hybrid package for 'tlp'

Trying to find vanilla package 'tlp'...

CMD: pacman --query --file /mirror/tlp-0.8-1.pkg.tar.xz
# tlp 0.8-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /etc/acpi/thinkpad-radiosw.sh
# /etc/acpi/events/thinkpad-radiosw
# /etc/default/tlp
# /usr/lib/udev/tlp-usb-udev
# /usr/lib/udev/rules.d/85-tlp.rules
# /usr/lib/systemd/system/tlp.service
# /usr/lib/systemd/system/tlp-sleep.service
# /usr/lib/tlp-pm/tpacpi-bat
# /usr/lib/tlp-pm/tlp-rf-func
# /usr/lib/tlp-pm/tlp-nop
# /usr/lib/tlp-pm/tlp-functions
# /usr/bin/tlp-usblist
# /usr/bin/run-on-bat
# /usr/bin/wwan
# /usr/bin/tlp-pcilist
# /usr/bin/tlp
# /usr/bin/run-on-ac
# /usr/bin/bluetooth
# /usr/bin/wifi
# /usr/bin/tlp-stat
# /usr/share/man/man8/tlp.8.gz
# /usr/share/man/man8/tlp-stat.8.gz
# /usr/share/man/man1/run-on-ac.1.gz
# /usr/share/man/man1/run-on-bat.1.gz
# /usr/share/man/man1/bluetooth.1.gz
# /usr/share/man/man1/wifi.1.gz
# /usr/share/man/man1/wwan.1.gz
# /usr/share/bash-completion/completions/tlp
# /sysroot/sysroot/usr/lib/tlp-pm/tpacpi-bat
# /sysroot/sysroot/usr/lib/tlp-pm/tlp-functions
# /sysroot/sysroot/usr/lib/tlp-pm/tlp-rf-func
# /sysroot/sysroot/usr/lib/tlp-pm/tlp-nop
# /sysroot/sysroot/usr/lib/udev/tlp-usb-udev
# /sysroot/sysroot/usr/lib/udev/rules.d/85-tlp.rules
# /sysroot/sysroot/usr/lib/systemd/system/tlp.service
# /sysroot/sysroot/usr/lib/systemd/system/tlp-sleep.service

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

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

CMD: pacman --query --file tlp-rdw-0.8-1-any.pkg.tar.xz
# tlp-rdw 0.8-1

Creating hybrid package for 'tlp-rdw'

Trying to find vanilla package 'tlp-rdw'...

CMD: pacman --query --file /mirror/tlp-rdw-0.8-1.pkg.tar.xz
# tlp-rdw 0.8-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /etc/NetworkManager/dispatcher.d/99tlp-rdw-nm
# /usr/lib/udev/tlp-rdw-udev
# /usr/lib/udev/rules.d/85-tlp-rdw.rules
# /sysroot/sysroot/usr/lib/udev/tlp-rdw-udev
# /sysroot/sysroot/usr/lib/udev/rules.d/85-tlp-rdw.rules

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

Created package at path /var/cache/pacman/pkg/tlp-rdw.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/tlp.pkg.tar.xz
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# ==> ERROR: Held by process 489

Attempting to access local repository, attempt 2

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

Attempting to access local repository, attempt 1

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