Build of perl-curses with musl toolchain

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

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

SLOCLanguage
9,480 ansic
1,409 perl
742 makefile
11,631 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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...

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: perl-curses 1.33-2 (Wed Apr 5 00:29:46 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# GEN function: not applicable
# PANELS functions: not enabled
# MENUS functions: not enabled
# FORMS functions: not enabled
#
# Making a guess for -I and -L/-l options...
# Guesses:
# includes: ''
# libs: '-lncurses'
# Curses type: ncurses
# Making a guess for "c-config.h"...
# Choosing hints file 'hints/c-linux.ncurses.h'
# Checking if your kit is complete...
# Looks good
# Generating a Unix-style Makefile
# Writing Makefile for Curses
# Writing MYMETA.yml and MYMETA.json
# "/usr/bin/perl" test.syms
# Running Mkbootstrap for Curses ()
# Checking capabilities of the Ncurses libraries.
# Set CURSES_VERBOSE environment variable to see the details of the tests.
#
# Doing test compiles with the compile command 'cc -DSYM="_C_SYM_" -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o _C_FILE_ _C_FILE_.c -L/usr/local/lib -lncurses>/dev/null 2>&1'
# chmod 644 "Curses.bs"
# cp Curses.pm blib/lib/Curses.pm
# function 'waddch' NOT found
# function 'wechochar' NOT found
# function 'waddchstr' NOT found
# function 'waddchnstr' NOT found
# function 'waddstr' NOT found
# function 'waddnstr' NOT found
# function 'wattroff' NOT found
# function 'wattron' NOT found
# function 'wattrset' NOT found
# function 'wstandend' NOT found
# function 'wstandout' NOT found
# function 'wattr_get' NOT found
# function 'wattr_off' NOT found
# function 'wattr_on' NOT found
# function 'wattr_set' NOT found
# function 'wchgat' NOT found
# function 'COLOR_PAIR' NOT found
# function 'PAIR_NUMBER' NOT found
# function 'beep' NOT found
# function 'flash' NOT found
# function 'wbkgd' NOT found
# function 'wbkgdset' NOT found
# function 'getbkgd' NOT found
# function 'wborder' NOT found
# function 'box' NOT found
# function 'whline' NOT found
# function 'wvline' NOT found
# function 'werase' NOT found
# function 'wclear' NOT found
# function 'wclrtobot' NOT found
# function 'wclrtoeol' NOT found
# function 'start_color' NOT found
# function 'init_pair' NOT found
# function 'init_color' NOT found
# function 'has_colors' NOT found
# function 'can_change_color' NOT found
# function 'color_content' NOT found
# function 'pair_content' NOT found
# function 'wdelch' NOT found
# function 'wdeleteln' NOT found
# function 'winsdelln' NOT found
# function 'winsertln' NOT found
# function 'wgetch' NOT found
# function 'ungetch' NOT found
# function 'has_key' NOT found
# function 'KEY_F' NOT found
# function 'wgetstr' NOT found
# function 'wgetnstr' NOT found
# function 'getyx' NOT found
# function 'getparyx' NOT found
# function 'getbegyx' NOT found
# function 'getmaxyx' NOT found
# function 'winch' NOT found
# function 'winchstr' NOT found
# function 'winchnstr' NOT found
# function 'initscr' NOT found
# function 'endwin' NOT found
# function 'isendwin' NOT found
# function 'newterm' NOT found
# function 'set_term' NOT found
# function 'delscreen' NOT found
# function 'cbreak' NOT found
# function 'cbreak' returns void
# function 'nocbreak' NOT found
# function 'nocbreak' returns void
# function 'echo' NOT found
# function 'echo' returns void
# function 'noecho' NOT found
# function 'noecho' returns void
# function 'halfdelay' NOT found
# function 'intrflush' NOT found
# function 'keypad' NOT found
# function 'meta' NOT found
# function 'nodelay' NOT found
# function 'notimeout' NOT found
# function 'raw' NOT found
# function 'raw' returns void
# function 'noraw' NOT found
# function 'noraw' returns void
# function 'qiflush' NOT found
# function 'noqiflush' NOT found
# function 'wtimeout' NOT found
# function 'typeahead' NOT found
# function 'winsch' NOT found
# function 'winsstr' NOT found
# function 'winsnstr' NOT found
# function 'winstr' NOT found
# function 'winnstr' NOT found
# function 'def_prog_mode' NOT found
# function 'def_shell_mode' NOT found
# function 'reset_prog_mode' NOT found
# function 'reset_shell_mode' NOT found
# function 'resetty' NOT found
# function 'savetty' NOT found
# function 'getsyx' NOT found
# function 'getsyx' returns void
# function 'setsyx' NOT found
# function 'setsyx' returns void
# function 'curs_set' NOT found
# function 'napms' NOT found
# function 'wmove' NOT found
# function 'clearok' NOT found
# function 'idlok' NOT found
# function 'idlok' returns void
# function 'idcok' NOT found
# function 'immedok' NOT found
# function 'leaveok' NOT found
# function 'wsetscrreg' NOT found
# function 'scrollok' NOT found
# function 'nl' NOT found
# function 'nl' returns void
# function 'nonl' NOT found
# function 'nonl' returns void
# function 'overlay' NOT found
# function 'overwrite' NOT found
# function 'copywin' NOT found
# function 'newpad' NOT found
# function 'subpad' NOT found
# function 'prefresh' NOT found
# function 'pnoutrefresh' NOT found
# function 'pechochar' NOT found
# function 'wrefresh' NOT found
# function 'wnoutrefresh' NOT found
# function 'doupdate' NOT found
# function 'redrawwin' NOT found
# function 'wredrawln' NOT found
# function 'scr_dump' NOT found
# function 'scr_restore' NOT found
# function 'scr_init' NOT found
# function 'scr_set' NOT found
# function 'scroll' NOT found
# function 'wscrl' NOT found
# function 'slk_init' NOT found
# function 'slk_set' NOT found
# function 'slk_refresh' NOT found
# function 'slk_noutrefresh' NOT found
# function 'slk_label' NOT found
# function 'slk_clear' NOT found
# function 'slk_restore' NOT found
# function 'slk_touch' NOT found
# function 'slk_attron' NOT found
# function 'slk_attrset' NOT found
# function 'slk_attr' NOT found
# function 'slk_attroff' NOT found
# function 'slk_color' NOT found
# function 'baudrate' NOT found
# function 'erasechar' NOT found
# function 'has_ic' NOT found
# function 'has_il' NOT found
# function 'killchar' NOT found
# function 'termattrs' NOT found
# function 'termname' NOT found
# function 'touchwin' NOT found
# function 'untouchwin' NOT found
# function 'wtouchln' NOT found
# function 'is_linetouched' NOT found
# function 'is_wintouched' NOT found
# function 'unctrl' NOT found
# function 'keyname' NOT found
# function 'filter' NOT found
# function 'filter' returns void
# function 'use_env' NOT found
# function 'putwin' NOT found
# function 'getwin' NOT found
# function 'delay_output' NOT found
# function 'flushinp' NOT found
# function 'newwin' NOT found
# function 'delwin' NOT found
# function 'mvwin' NOT found
# function 'subwin' NOT found
# function 'derwin' NOT found
# function 'mvderwin' NOT found
# function 'dupwin' NOT found
# function 'wsyncup' NOT found
# function 'syncok' NOT found
# function 'wcursyncup' NOT found
# function 'wsyncdown' NOT found
# function 'getmouse' NOT found
# function 'ungetmouse' NOT found
# function 'mousemask' NOT found
# function 'wenclose' NOT found
# function 'wmouse_trafo' NOT found
# function 'mouseinterval' NOT found
# function 'BUTTON_RELEASE' NOT found
# function 'BUTTON_PRESS' NOT found
# function 'BUTTON_CLICK' NOT found
# function 'BUTTON_DOUBLE_CLICK' NOT found
# function 'BUTTON_TRIPLE_CLICK' NOT found
# function 'BUTTON_RESERVED_EVENT' NOT found
# Negative repeat count does nothing at test.syms line 272, line 196.
# function 'use_default_colors' NOT found
# function 'assume_default_colors' NOT found
# Negative repeat count does nothing at test.syms line 272, line 198.
# function 'define_key' NOT found
# function 'keybound' NOT found
# function 'keyok' NOT found
# function 'resizeterm' NOT found
# function 'wresize' NOT found
# function 'getmaxy' NOT found
# function 'getmaxx' NOT found
# function 'flusok' NOT found
# function 'getcap' NOT found
# function 'touchoverlap' NOT found
# function 'new_panel' NOT found
# function 'bottom_panel' NOT found
# function 'top_panel' NOT found
# function 'show_panel' NOT found
# function 'update_panels' NOT found
# function 'hide_panel' NOT found
# function 'panel_window' NOT found
# function 'replace_panel' NOT found
# function 'move_panel' NOT found
# function 'panel_hidden' NOT found
# function 'panel_above' NOT found
# function 'panel_below' NOT found
# function 'set_panel_userptr' NOT found
# function 'panel_userptr' NOT found
# function 'del_panel' NOT found
# function 'set_menu_fore' NOT found
# function 'menu_fore' NOT found
# function 'set_menu_back' NOT found
# function 'menu_back' NOT found
# function 'set_menu_grey' NOT found
# function 'menu_grey' NOT found
# function 'set_menu_pad' NOT found
# function 'menu_pad' NOT found
# function 'pos_menu_cursor' NOT found
# function 'menu_driver' NOT found
# function 'set_menu_format' NOT found
# function 'menu_format' NOT found
# function 'set_menu_items' NOT found
# function 'menu_items' NOT found
# function 'item_count' NOT found
# function 'set_menu_mark' NOT found
# function 'menu_mark' NOT found
# function 'new_menu' NOT found
# function 'free_menu' NOT found
# function 'menu_opts' NOT found
# function 'set_menu_opts' NOT found
# function 'menu_opts_on' NOT found
# function 'menu_opts_off' NOT found
# function 'set_menu_pattern' NOT found
# function 'menu_pattern' NOT found
# function 'post_menu' NOT found
# function 'unpost_menu' NOT found
# function 'set_menu_userptr' NOT found
# function 'menu_userptr' NOT found
# function 'set_menu_win' NOT found
# function 'menu_win' NOT found
# function 'set_menu_sub' NOT found
# function 'menu_sub' NOT found
# function 'scale_menu' NOT found
# function 'set_current_item' NOT found
# function 'current_item' NOT found
# function 'set_top_row' NOT found
# function 'top_row' NOT found
# function 'item_index' NOT found
# function 'item_name' NOT found
# function 'item_description' NOT found
# function 'new_item' NOT found
# function 'free_item' NOT found
# function 'set_item_opts' NOT found
# function 'item_opts_on' NOT found
# function 'item_opts_off' NOT found
# function 'item_opts' NOT found
# function 'item_userptr' NOT found
# function 'set_item_userptr' NOT found
# function 'set_item_value' NOT found
# function 'item_value' NOT found
# function 'item_visible' NOT found
# function 'menu_request_name' NOT found
# function 'menu_request_by_name' NOT found
# Negative repeat count does nothing at test.syms line 272, line 277.
# function 'set_menu_spacing' NOT found
# function 'menu_spacing' NOT found
# function 'pos_form_cursor' NOT found
# function 'data_ahead' NOT found
# function 'data_behind' NOT found
# function 'form_driver' NOT found
# function 'set_form_fields' NOT found
# function 'form_fields' NOT found
# function 'field_count' NOT found
# function 'move_field' NOT found
# function 'new_form' NOT found
# function 'free_form' NOT found
# function 'set_new_page' NOT found
# function 'new_page' NOT found
# function 'set_form_opts' NOT found
# function 'form_opts_on' NOT found
# function 'form_opts_off' NOT found
# function 'form_opts' NOT found
# function 'set_current_field' NOT found
# function 'current_field' NOT found
# function 'set_form_page' NOT found
# function 'form_page' NOT found
# function 'field_index' NOT found
# function 'post_form' NOT found
# function 'unpost_form' NOT found
# function 'set_form_userptr' NOT found
# function 'form_userptr' NOT found
# function 'set_form_win' NOT found
# function 'form_win' NOT found
# function 'set_form_sub' NOT found
# function 'form_sub' NOT found
# function 'scale_form' NOT found
# function 'set_field_fore' NOT found
# function 'field_fore' NOT found
# function 'set_field_back' NOT found
# function 'field_back' NOT found
# function 'set_field_pad' NOT found
# function 'field_pad' NOT found
# function 'set_field_buffer' NOT found
# function 'field_buffer' NOT found
# function 'set_field_status' NOT found
# function 'field_status' NOT found
# function 'set_max_field' NOT found
# function 'field_info' NOT found
# function 'dynamic_field_info' NOT found
# function 'set_field_just' NOT found
# function 'field_just' NOT found
# function 'new_field' NOT found
# function 'dup_field' NOT found
# function 'link_field' NOT found
# function 'free_field' NOT found
# function 'set_field_opts' NOT found
# function 'field_opts_on' NOT found
# function 'field_opts_off' NOT found
# function 'field_opts' NOT found
# function 'set_field_userptr' NOT found
# function 'field_userptr' NOT found
# function 'field_arg' NOT found
# function 'form_request_name' NOT found
# function 'form_request_by_name' NOT found
# Negative repeat count does nothing at test.syms line 272, line 337.
# variable 'LINES' NOT found
# variable 'COLS' NOT found
# variable 'stdscr' NOT found
# variable 'curscr' NOT found
# variable 'COLORS' NOT found
# variable 'COLOR_PAIRS' NOT found
# typedef 'attr_t' NOT found
# typedef 'bool' NOT found
# typedef 'chtype' NOT found
# typedef 'MEVENT' NOT found
# typedef 'mmask_t' NOT found
# typedef 'SCREEN' NOT found
# function 'waddnwstr' NOT found
# function 'wget_wch' NOT found
# function 'wgetn_wstr' NOT found
# function 'winnwstr' NOT found
# function 'wins_nwstr' NOT found
# function 'unget_wch' NOT found
# cc -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"1.33\" -DXS_VERSION=\"1.33\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" Curses.c
# In file included from Curses.c:13:
# ./c-config.h:7:10: fatal error: 'ncurses.h' file not found
# #include
# ^
# 1 error generated.
# make: *** [Makefile:361: Curses.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...