Build of rkhunter with android toolchain

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

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

SLOCLanguage
13,382 sh
120 perl
13,502 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: rkhunter 1.4.2-2 (Tue Apr 4 20:41:56 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Entering fakeroot environment...
# ==> Starting package()...
#
# Note: Directory /tmp/rkhunter/pkg/rkhunter/usr/bin is not in your PATH
#
# 'unknown': I need something more specific.
# Checking system for:
# Rootkit Hunter installer files: found
# chown: changing ownership of './files': Operation not permitted
# chown: changing ownership of './files/rkhunter.conf': Operation not permitted
# chown: changing ownership of './files/stat.pl': Operation not permitted
# chown: changing ownership of './files/rkhunter.8': Operation not permitted
# chown: changing ownership of './files/programs_bad.dat': Operation not permitted
# chown: changing ownership of './files/filehashsha.pl': Operation not permitted
# chown: changing ownership of './files/backdoorports.dat': Operation not permitted
# chown: changing ownership of './files/signatures': Operation not permitted
# chown: changing ownership of './files/signatures/RKH_libkeyutils1.ldb': Operation not permitted
# chown: changing ownership of './files/signatures/RKH_shv.ldb': Operation not permitted
# chown: changing ownership of './files/signatures/RKH_libncom.ldb': Operation not permitted
# chown: changing ownership of './files/signatures/RKH_turtle.ldb': Operation not permitted
# chown: changing ownership of './files/signatures/RKH_kbeast.ldb': Operation not permitted
# chown: changing ownership of './files/signatures/RKH_jynx.ldb': Operation not permitted
# chown: changing ownership of './files/signatures/RKH_xsyslog.ldb': Operation not permitted
# chown: changing ownership of './files/signatures/RKH_Glubteba.ldb': Operation not permitted
# chown: changing ownership of './files/signatures/RKH_dso.ldb': Operation not permitted
# chown: changing ownership of './files/signatures/RKH_sniffer.ldb': Operation not permitted
# chown: changing ownership of './files/signatures/RKH_pamunixtrojan.ldb': Operation not permitted
# chown: changing ownership of './files/signatures/RKH_libkeyutils.ldb': Operation not permitted
# chown: changing ownership of './files/signatures/RKH_sshd.ldb': Operation not permitted
# chown: changing ownership of './files/LICENSE': Operation not permitted
# chown: changing ownership of './files/rkhunter': Operation not permitted
# chown: changing ownership of './files/contrib': Operation not permitted
# chown: changing ownership of './files/contrib/rkhunter_remote_howto.txt': Operation not permitted
# chown: changing ownership of './files/contrib/run_rkhunter.sh': Operation not permitted
# chown: changing ownership of './files/contrib/README.txt': Operation not permitted
# chown: changing ownership of './files/ACKNOWLEDGMENTS': Operation not permitted
# chown: changing ownership of './files/mirrors.dat': Operation not permitted
# chown: changing ownership of './files/FAQ': Operation not permitted
# chown: changing ownership of './files/i18n': Operation not permitted
# chown: changing ownership of './files/i18n/tr.utf8': Operation not permitted
# chown: changing ownership of './files/i18n/cn': Operation not permitted
# chown: changing ownership of './files/i18n/zh': Operation not permitted
# chown: changing ownership of './files/i18n/en': Operation not permitted
# chown: changing ownership of './files/i18n/de': Operation not permitted
# chown: changing ownership of './files/i18n/zh.utf8': Operation not permitted
# chown: changing ownership of './files/i18n/tr': Operation not permitted
# chown: changing ownership of './files/suspscan.dat': Operation not permitted
# chown: changing ownership of './files/CHANGELOG': Operation not permitted
# chown: changing ownership of './files/check_modules.pl': Operation not permitted
# chown: changing ownership of './files/README': Operation not permitted
# chown: changing ownership of './files/readlink.sh': Operation not permitted
# chown: changing ownership of './files/rkhunter.spec': Operation not permitted
# A web file download command: wget found
# Starting installation:
# Checking installation directory "/tmp/rkhunter/pkg/rkhunter/usr": it exists and is writable.
# Checking installation directories:
# Directory /tmp/rkhunter/pkg/rkhunter/usr/share/doc/rkhunter-1.4.2: creating: OK
# Directory /tmp/rkhunter/pkg/rkhunter/usr/share/man/man8: creating: OK
# Directory /tmp/rkhunter/pkg/rkhunter/usr/etc: creating: OK
# Directory /tmp/rkhunter/pkg/rkhunter/usr/bin: creating: OK
# Directory /tmp/rkhunter/pkg/rkhunter/usr/lib: creating: OK
# Directory /tmp/rkhunter/pkg/rkhunter/usr/var/lib: creating: OK
# Directory /tmp/rkhunter/pkg/rkhunter/usr/lib/rkhunter/scripts: creating: OK
# Directory /tmp/rkhunter/pkg/rkhunter/usr/var/lib/rkhunter/db: creating: OK
# Directory /tmp/rkhunter/pkg/rkhunter/usr/var/lib/rkhunter/tmp: creating: OK
# Directory /tmp/rkhunter/pkg/rkhunter/usr/var/lib/rkhunter/db/i18n: creating: OK
# Directory /tmp/rkhunter/pkg/rkhunter/usr/var/lib/rkhunter/db/signatures: creating: OK
# Installing check_modules.pl: OK
# Installing filehashsha.pl: OK
# Installing stat.pl: OK
# Installing readlink.sh: OK
# Installing backdoorports.dat: OK
# Installing mirrors.dat: OK
# Installing programs_bad.dat: OK
# Installing suspscan.dat: OK
# Installing rkhunter.8: OK
# Installing ACKNOWLEDGMENTS: OK
# Installing CHANGELOG: OK
# Installing FAQ: OK
# Installing LICENSE: OK
# Installing README: OK
# Installing language support files: OK
# Installing ClamAV signatures: OK
# Installing rkhunter: OK
# Installing rkhunter.conf: OK
# Striproot /tmp/rkhunter/pkg/rkhunter/usr/etc/rkhunter.conf: OK
# Striproot /tmp/rkhunter/pkg/rkhunter/usr/bin/rkhunter: OK
# Installation complete
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "rkhunter"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: rkhunter 1.4.2-2 (Tue Apr 4 20:41:56 UTC 2017)

CMD: pacman --query --file rkhunter-1.4.2-2-any.pkg.tar.xz
# rkhunter 1.4.2-2

Creating hybrid package for 'rkhunter'

Trying to find vanilla package 'rkhunter'...

CMD: pacman --query --file /mirror/rkhunter-1.4.2-2.pkg.tar.xz
# rkhunter 1.4.2-2

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /etc/rkhunter.conf
# /usr/share/doc/rkhunter-1.4.2/ACKNOWLEDGMENTS
# /usr/share/doc/rkhunter-1.4.2/CHANGELOG
# /usr/share/doc/rkhunter-1.4.2/FAQ
# /usr/share/doc/rkhunter-1.4.2/LICENSE
# /usr/share/doc/rkhunter-1.4.2/README
# /usr/share/man/man8/rkhunter.8.gz
# /usr/bin/rkhunter
# /usr/lib/rkhunter/scripts/check_modules.pl
# /usr/lib/rkhunter/scripts/filehashsha.pl
# /usr/lib/rkhunter/scripts/stat.pl
# /usr/lib/rkhunter/scripts/readlink.sh
# /var/lib/rkhunter/db/backdoorports.dat
# /var/lib/rkhunter/db/mirrors.dat
# /var/lib/rkhunter/db/programs_bad.dat
# /var/lib/rkhunter/db/suspscan.dat
# /var/lib/rkhunter/db/i18n/zh
# /var/lib/rkhunter/db/i18n/tr
# /var/lib/rkhunter/db/i18n/de
# /var/lib/rkhunter/db/i18n/cn
# /var/lib/rkhunter/db/i18n/zh.utf8
# /var/lib/rkhunter/db/i18n/en
# /var/lib/rkhunter/db/i18n/tr.utf8
# /var/lib/rkhunter/db/signatures/RKH_dso.ldb
# /var/lib/rkhunter/db/signatures/RKH_Glubteba.ldb
# /var/lib/rkhunter/db/signatures/RKH_sniffer.ldb
# /var/lib/rkhunter/db/signatures/RKH_shv.ldb
# /var/lib/rkhunter/db/signatures/RKH_libkeyutils1.ldb
# /var/lib/rkhunter/db/signatures/RKH_libkeyutils.ldb
# /var/lib/rkhunter/db/signatures/RKH_sshd.ldb
# /var/lib/rkhunter/db/signatures/RKH_xsyslog.ldb
# /var/lib/rkhunter/db/signatures/RKH_turtle.ldb
# /var/lib/rkhunter/db/signatures/RKH_kbeast.ldb
# /var/lib/rkhunter/db/signatures/RKH_libncom.ldb
# /var/lib/rkhunter/db/signatures/RKH_pamunixtrojan.ldb
# /var/lib/rkhunter/db/signatures/RKH_jynx.ldb
# /sysroot/sysroot/usr/lib/rkhunter/scripts/check_modules.pl
# /sysroot/sysroot/usr/lib/rkhunter/scripts/filehashsha.pl
# /sysroot/sysroot/usr/lib/rkhunter/scripts/stat.pl
# /sysroot/sysroot/usr/lib/rkhunter/scripts/readlink.sh

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

CMD: bsdtar -tqf rkhunter.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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