Build of sc with clang_glibc toolchain

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

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

SLOCLanguage
14,758 ansic
1,315 yacc
209 makefile
99 lisp
4 sed
16,385 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: sc 7.16-6 (Thu Apr 13 16:30:39 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file sc.h
# patching file cmds.c
# patching file abbrev.c
# patching file range.c
# patching file vi.c
# patching file vmtbl.c
# patching file Makefile
# patching file color.c
# patching file debian/sc.dirs
# patching file debian/control
# patching file debian/compat
# patching file debian/changelog
# patching file debian/copyright
# patching file debian/rules
# patching file debian/sc.docs
# patching file debian/sc.install
# patching file debian/sc.manpages
# patching file frame.c
# patching file sc.c
# patching file sort.c
# patching file xmalloc.c
# patching file screen.c
# patching file lex.c
# patching file interp.c
# patching file help.c
# gcc -DSYSV3 -O2 -pipe -DDFLT_PAGER=\"less\" -c abbrev.c
# In file included from abbrev.c:24:
# ./sc.h:307:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined]
# #define is_cleared 0200
# ^
# /usr/include/curses.h:1339:9: note: previous definition is here
# #define is_cleared(win) ((win) ? (win)->_clear : FALSE)
# ^
# 1 warning generated.
# gcc -DSYSV3 -O2 -pipe -DDOBACKUPS -c cmds.c
# In file included from cmds.c:31:
# ./sc.h:307:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined]
# #define is_cleared 0200
# ^
# /usr/include/curses.h:1339:9: note: previous definition is here
# #define is_cleared(win) ((win) ? (win)->_clear : FALSE)
# ^
# 1 warning generated.
# gcc -DSYSV3 -O2 -pipe -c -o color.o color.c
# In file included from color.c:23:
# ./sc.h:307:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined]
# #define is_cleared 0200
# ^
# /usr/include/curses.h:1339:9: note: previous definition is here
# #define is_cleared(win) ((win) ? (win)->_clear : FALSE)
# ^
# 1 warning generated.
# gcc -DSYSV3 -O2 -pipe -DDOBACKUPS -c crypt.c
# gcc -DSYSV3 -O2 -pipe -c -o format.o format.c
# gcc -DSYSV3 -O2 -pipe -c -o frame.o frame.c
# In file included from frame.c:24:
# ./sc.h:307:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined]
# #define is_cleared 0200
# ^
# /usr/include/curses.h:1339:9: note: previous definition is here
# #define is_cleared(win) ((win) ? (win)->_clear : FALSE)
# ^
# 1 warning generated.
# bison -y -d gram.y
# make: *** [Makefile:365: gram.c] Segmentation fault (core dumped)
# ==> ERROR: A failure occurred in build().
# Aborting...