Build of paxd with android toolchain

The build took 00h 01m 02s and was NOT successful.

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

SLOCLanguage
260 ansic
24 makefile
284 total

The process tree of the build process is here.

List of Errors

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: paxd 32-1 (Tue Apr 4 21:39:39 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# arm-linux-androideabi-gcc -std=c11 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -flto -fuse-ld=gold -Wall -Wextra -c -o paxd.o paxd.c
# arm-linux-androideabi-gcc -std=c11 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -flto -fuse-ld=gold -Wall -Wextra -c -o flags.o flags.c
# arm-linux-androideabi-gcc -O2 -flto -fuse-ld=gold -Wl,--as-needed,--gc-sections paxd.o flags.o -lglib-2.0 -o paxd
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.gold: error: cannot find -lglib-2.0
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function dir_watch_destroy.4127.4104: error: undefined reference to 'g_hash_table_destroy'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function dir_watch_destroy.4127.4104: error: undefined reference to 'g_free'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function reinitialize.4143.4093: error: undefined reference to 'g_strdup'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function reinitialize.4143.4093: error: undefined reference to 'g_free'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function reinitialize.4143.4093: error: undefined reference to 'g_hash_table_remove_all'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function reinitialize.4143.4093: error: undefined reference to 'g_hash_table_remove_all'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function reinitialize.4143.4093: error: undefined reference to 'g_hash_table_remove_all'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function reinitialize.4143.4093: error: undefined reference to 'g_hash_table_new_full'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function reinitialize.4143.4093: error: undefined reference to 'g_hash_table_new_full'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function reinitialize.4143.4093: error: undefined reference to 'g_hash_table_new_full'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function reinitialize.4143.4093: error: undefined reference to 'g_str_hash'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function reinitialize.4143.4093: error: undefined reference to 'g_str_equal'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function reinitialize.4143.4093: error: undefined reference to 'g_free'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function add_dir_watch.isra.0.4146.4148: error: undefined reference to 'g_hash_table_insert'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function handler.4119.4107: error: undefined reference to 'g_hash_table_contains'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function handler.4119.4107: error: undefined reference to 'g_strndup'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function handler.4119.4107: error: undefined reference to 'g_strdup'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function handler.4119.4107: error: undefined reference to 'g_hash_table_insert'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function handler.4119.4107: error: undefined reference to 'g_strdup'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function handler.4119.4107: error: undefined reference to 'g_strdup'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function handler.4119.4107: error: undefined reference to 'g_hash_table_lookup'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function handler.4119.4107: error: undefined reference to 'g_hash_table_contains'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function handler.4119.4107: error: undefined reference to 'g_hash_table_insert'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function handler.4119.4107: error: undefined reference to 'g_malloc'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function handler.4119.4107: error: undefined reference to 'g_hash_table_insert'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function handler.4119.4107: error: undefined reference to 'g_hash_table_new_full'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function handler.4119.4107: error: undefined reference to 'g_free'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function handler.4119.4107: error: undefined reference to 'g_str_hash'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function handler.4119.4107: error: undefined reference to 'g_str_equal'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function reinitialize_watch_tree.4158.4139: error: undefined reference to 'g_hash_table_lookup_extended'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function reinitialize_watch_tree.4158.4139: error: undefined reference to 'g_hash_table_lookup'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function reinitialize_watch_tree.4158.4139: error: undefined reference to 'g_hash_table_remove'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function reinitialize_watch_tree.4158.4139: error: undefined reference to 'g_hash_table_foreach'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function main: error: undefined reference to 'g_build_filename'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function main: error: undefined reference to 'g_hash_table_lookup'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function main: error: undefined reference to 'g_get_user_config_dir'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function main: error: undefined reference to 'g_build_filename'
# /tmp/ccpki5um.ltrans0.ltrans.o:ccpki5um.ltrans0.o:function main: error: undefined reference to 'g_get_home_dir'
# collect2: error: ld returned 1 exit status
# make: *** [: paxd] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...