Build of dtc with musl toolchain

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

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

SLOCLanguage
8,766 ansic
780 sh
629 asm
497 lex
378 yacc
184 makefile
74 perl
11,308 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...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/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: dtc 1.4.1-1 (Tue Apr 4 23:28:54 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# DEP tests/trees.S
# DEP tests/dumptrees.c
# DEP tests/value-labels.c
# DEP tests/testutils.c
# DEP tests/asm_tree_dump.c
# DEP tests/truncated_property.c
# DEP tests/subnode_iterate.c
# DEP tests/integer-expressions.c
# DEP tests/utilfdt_test.c
# DEP tests/path_offset_aliases.c
# DEP tests/add_subnode_with_nops.c
# DEP tests/dtbs_equal_unordered.c
# DEP tests/dtb_reverse.c
# DEP tests/dtbs_equal_ordered.c
# DEP tests/extra-terminating-null.c
# DEP tests/incbin.c
# DEP tests/boot-cpuid.c
# DEP tests/phandle_format.c
# DEP tests/path-references.c
# DEP tests/references.c
# DEP tests/string_escapes.c
# DEP tests/propname_escapes.c
# DEP tests/appendprop2.c
# DEP tests/appendprop1.c
# DEP tests/del_node.c
# DEP tests/del_property.c
# DEP tests/setprop.c
# DEP tests/set_name.c
# DEP tests/rw_tree1.c
# DEP tests/open_pack.c
# DEP tests/nopulate.c
# DEP tests/mangle-layout.c
# DEP tests/move_and_save.c
# DEP tests/sw_tree1.c
# DEP tests/nop_node.c
# DEP tests/nop_property.c
# DEP tests/setprop_inplace.c
# DEP tests/addr_size_cells.c
# DEP tests/notfound.c
# DEP tests/sized_cells.c
# DEP tests/char_literal.c
# DEP tests/get_alias.c
# DEP tests/node_offset_by_compatible.c
# DEP tests/node_check_compatible.c
# DEP tests/node_offset_by_phandle.c
# DEP tests/node_offset_by_prop_value.c
# DEP tests/parent_offset.c
# DEP tests/supernode_atdepth_offset.c
# DEP tests/get_path.c
# DEP tests/get_phandle.c
# DEP tests/getprop.c
# DEP tests/get_name.c
# DEP tests/path_offset.c
# DEP tests/subnode_offset.c
# DEP tests/find_property.c
# DEP tests/root_node.c
# DEP tests/get_mem_rsv.c
# DEP libfdt/fdt_addresses.c
# DEP libfdt/fdt_empty_tree.c
# DEP libfdt/fdt_strerror.c
# DEP libfdt/fdt_rw.c
# DEP libfdt/fdt_sw.c
# DEP libfdt/fdt_wip.c
# DEP libfdt/fdt_ro.c
# DEP libfdt/fdt.c
# DEP util.c
# DEP fdtput.c
# DEP fdtget.c
# DEP fdtdump.c
# LEX convert-dtsv0-lexer.lex.c
# DEP srcpos.c
# BISON dtc-parser.tab.c
# LEX dtc-lexer.lex.c
# DEP treesource.c
# DEP livetree.c
# DEP flattree.c
# DEP fstree.c
# DEP dtc.c
# DEP data.c
# DEP checks.c
# CHK version_gen.h
# BISON dtc-parser.tab.c
# DEP convert-dtsv0-lexer.lex.c
# DEP dtc-lexer.lex.c
# UPD version_gen.h
# DEP util.c
# BISON dtc-parser.tab.c
# CHK version_gen.h
# CC convert-dtsv0-lexer.lex.o
# CC srcpos.o
# CC util.o
# CC dtc.o
# CC checks.o
# CC data.o
# CC flattree.o
# CC fstree.o
# CC livetree.o
# CC treesource.o
# make: *** No rule to make target 'dtc-parser.tab.c', needed by 'dtc-parser.tab.o'. Stop.
# make: *** Waiting for unfinished jobs....
# CC dtc-lexer.lex.o
# ==> ERROR: A failure occurred in build().
# Aborting...