Build of isdn4k-utils with clang_glibc toolchain

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

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

SLOCLanguage
101,104 ansic
27,961 sh
4,923 perl
2,708 cpp
905 makefile
22 tcl
137,623 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/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: isdn4k-utils 3.27-2 (Thu Apr 13 17:57:25 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make[1]: Entering directory '/tmp/isdn4k-utils/src/isdn4k-utils/scripts/lxdialog'
# gcc -O2 -Wall -fomit-frame-pointer -DLOCALE -DCURSES_LOC="" -c -o lxdialog.o lxdialog.c
# lxdialog.c:225:15: warning: passing 'unsigned char [2049]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# fputs(escaped_result, stderr);
# ^~~~~~~~~~~~~~
# /usr/include/stdio.h:689:42: note: passing argument to parameter '__s' here
# extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
# ^
# 1 warning generated.
# gcc -O2 -Wall -fomit-frame-pointer -DLOCALE -DCURSES_LOC="" -c -o checklist.o checklist.c
# gcc -O2 -Wall -fomit-frame-pointer -DLOCALE -DCURSES_LOC="" -c -o menubox.o menubox.c
# gcc -O2 -Wall -fomit-frame-pointer -DLOCALE -DCURSES_LOC="" -c -o textbox.o textbox.c
# gcc -O2 -Wall -fomit-frame-pointer -DLOCALE -DCURSES_LOC="" -c -o yesno.o yesno.c
# gcc -O2 -Wall -fomit-frame-pointer -DLOCALE -DCURSES_LOC="" -c -o inputbox.o inputbox.c
# inputbox.c:100:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcpy (instr, init);
# ^~~~~
# /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here
# extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
# ^
# inputbox.c:102:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# input_x = strlen (instr);
# ^~~~~
# /usr/include/string.h:394:35: note: passing argument to parameter '__s' here
# extern size_t strlen (const char *__s)
# ^
# inputbox.c:110:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# waddstr (dialog, instr);
# ^~~~~
# /usr/include/curses.h:1182:39: note: expanded from macro 'waddstr'
# #define waddstr(win,str) waddnstr(win,str,-1)
# ^~~
# /usr/include/curses.h:795:59: note: passing argument to parameter here
# extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */
# ^
# inputbox.c:140:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# input_x = strlen (instr) - scroll;
# ^~~~~
# /usr/include/string.h:394:35: note: passing argument to parameter '__s' here
# extern size_t strlen (const char *__s)
# ^
# inputbox.c:234:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcpy (instr, init);
# ^~~~~
# /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here
# extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
# ^
# 5 warnings generated.
# gcc -O2 -Wall -fomit-frame-pointer -DLOCALE -DCURSES_LOC="" -c -o util.o util.c
# gcc -O2 -Wall -fomit-frame-pointer -DLOCALE -DCURSES_LOC="" -c -o msgbox.o msgbox.c
# gcc -s -L . lxdialog.o checklist.o menubox.o textbox.o yesno.o inputbox.o util.o msgbox.o -lncurses -o lxdialog
# make[1]: Leaving directory '/tmp/isdn4k-utils/src/isdn4k-utils/scripts/lxdialog'
# #
# # Using defaults found in scripts/defconfig
# #
# Error opening terminal: unknown.
# Error opening terminal: unknown.
# 'unknown': I need something more specific.
# Your configuration changes were NOT saved.
#
# make -f Makefile.tmp subconfig
# make[1]: Entering directory '/tmp/isdn4k-utils/src/isdn4k-utils'
# make[1]: *** No rule to make target '.config', needed by 'scripts/autoconf.h'. Stop.
# make[1]: Leaving directory '/tmp/isdn4k-utils/src/isdn4k-utils'
# make: *** [Makefile:222: menuconfig] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...