Build of perl-curses with clang_glibc toolchain

The build took 00h 02m 08s and was 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:

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: perl-curses 1.33-2 (Thu Apr 13 16:30:12 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
# cp Curses.pm blib/lib/Curses.pm
# Running Mkbootstrap for Curses ()
# chmod 644 "Curses.bs"
# "/usr/bin/perl" test.syms
# 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'
# function 'waddch' found
# function 'wechochar' found
# function 'waddchstr' found
# function 'waddchnstr' found
# function 'waddstr' found
# function 'waddnstr' found
# function 'wattroff' found
# function 'wattron' found
# function 'wattrset' found
# function 'wstandend' found
# function 'wstandout' found
# function 'wattr_get' found
# function 'wattr_off' found
# function 'wattr_on' found
# function 'wattr_set' found
# function 'wchgat' found
# function 'COLOR_PAIR' found
# function 'PAIR_NUMBER' found
# function 'beep' found
# function 'flash' found
# function 'wbkgd' found
# function 'wbkgdset' found
# function 'getbkgd' found
# function 'wborder' found
# function 'box' found
# function 'whline' found
# function 'wvline' found
# function 'werase' found
# function 'wclear' found
# function 'wclrtobot' found
# function 'wclrtoeol' found
# function 'start_color' found
# function 'init_pair' found
# function 'init_color' found
# function 'has_colors' found
# function 'can_change_color' found
# function 'color_content' found
# function 'pair_content' found
# function 'wdelch' found
# function 'wdeleteln' found
# function 'winsdelln' found
# function 'winsertln' found
# function 'wgetch' found
# function 'ungetch' found
# function 'has_key' found
# function 'KEY_F' found
# function 'wgetstr' found
# function 'wgetnstr' found
# function 'getyx' found
# function 'getparyx' found
# function 'getbegyx' found
# function 'getmaxyx' found
# function 'winch' found
# function 'winchstr' found
# function 'winchnstr' found
# function 'initscr' found
# function 'endwin' found
# function 'isendwin' found
# function 'newterm' found
# function 'set_term' found
# function 'delscreen' found
# function 'cbreak' found
# function 'cbreak' returns int
# function 'nocbreak' found
# function 'nocbreak' returns int
# function 'echo' found
# function 'echo' returns int
# function 'noecho' found
# function 'noecho' returns int
# function 'halfdelay' found
# function 'intrflush' found
# function 'keypad' found
# function 'meta' found
# function 'nodelay' found
# function 'notimeout' found
# function 'raw' found
# function 'raw' returns int
# function 'noraw' found
# function 'noraw' returns int
# function 'qiflush' found
# function 'noqiflush' found
# function 'wtimeout' found
# function 'typeahead' found
# function 'winsch' found
# function 'winsstr' found
# function 'winsnstr' found
# function 'winstr' found
# function 'winnstr' found
# function 'def_prog_mode' found
# function 'def_shell_mode' found
# function 'reset_prog_mode' found
# function 'reset_shell_mode' found
# function 'resetty' found
# function 'savetty' found
# function 'getsyx' found
# function 'getsyx' returns void
# function 'setsyx' found
# function 'setsyx' returns void
# function 'curs_set' found
# function 'napms' found
# function 'wmove' found
# function 'clearok' found
# function 'idlok' found
# function 'idlok' returns int
# function 'idcok' found
# function 'immedok' found
# function 'leaveok' found
# function 'wsetscrreg' found
# function 'scrollok' found
# function 'nl' found
# function 'nl' returns int
# function 'nonl' found
# function 'nonl' returns int
# function 'overlay' found
# function 'overwrite' found
# function 'copywin' found
# function 'newpad' found
# function 'subpad' found
# function 'prefresh' found
# function 'pnoutrefresh' found
# function 'pechochar' found
# function 'wrefresh' found
# function 'wnoutrefresh' found
# function 'doupdate' found
# function 'redrawwin' found
# function 'wredrawln' found
# function 'scr_dump' found
# function 'scr_restore' found
# function 'scr_init' found
# function 'scr_set' found
# function 'scroll' found
# function 'wscrl' found
# function 'slk_init' found
# function 'slk_set' found
# function 'slk_refresh' found
# function 'slk_noutrefresh' found
# function 'slk_label' found
# function 'slk_clear' found
# function 'slk_restore' found
# function 'slk_touch' found
# function 'slk_attron' found
# function 'slk_attrset' found
# function 'slk_attr' found
# function 'slk_attroff' found
# function 'slk_color' found
# function 'baudrate' found
# function 'erasechar' found
# function 'has_ic' found
# function 'has_il' found
# function 'killchar' found
# function 'termattrs' found
# function 'termname' found
# function 'touchwin' found
# function 'untouchwin' found
# function 'wtouchln' found
# function 'is_linetouched' found
# function 'is_wintouched' found
# function 'unctrl' found
# function 'keyname' found
# function 'filter' found
# function 'filter' returns void
# function 'use_env' found
# function 'putwin' found
# function 'getwin' found
# function 'delay_output' found
# function 'flushinp' found
# function 'newwin' found
# function 'delwin' found
# function 'mvwin' found
# function 'subwin' found
# function 'derwin' found
# function 'mvderwin' found
# function 'dupwin' found
# function 'wsyncup' found
# function 'syncok' found
# function 'wcursyncup' found
# function 'wsyncdown' found
# function 'getmouse' found
# function 'ungetmouse' found
# function 'mousemask' found
# function 'wenclose' found
# function 'wmouse_trafo' found
# function 'mouseinterval' found
# function 'BUTTON_RELEASE' found
# function 'BUTTON_PRESS' found
# function 'BUTTON_CLICK' found
# function 'BUTTON_DOUBLE_CLICK' found
# function 'BUTTON_TRIPLE_CLICK' found
# function 'BUTTON_RESERVED_EVENT' found
# Negative repeat count does nothing at test.syms line 272, line 196.
# function 'use_default_colors' found
# function 'assume_default_colors' found
# Negative repeat count does nothing at test.syms line 272, line 198.
# function 'define_key' found
# function 'keybound' found
# function 'keyok' found
# function 'resizeterm' found
# function 'wresize' found
# function 'getmaxy' found
# function 'getmaxx' 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' found
# variable 'COLS' found
# variable 'stdscr' found
# variable 'curscr' found
# variable 'COLORS' found
# variable 'COLOR_PAIRS' found
# typedef 'attr_t' found
# typedef 'bool' found
# typedef 'chtype' found
# typedef 'MEVENT' found
# typedef 'mmask_t' found
# typedef 'SCREEN' found
# function 'waddnwstr' found
# function 'wget_wch' found
# function 'wgetn_wstr' found
# function 'winnwstr' found
# function 'wins_nwstr' found
# function 'unget_wch' 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:408:
# ./CursesWide.c:84:15: warning: assigning to 'wint_t *' (aka 'unsigned int *') from 'wchar_t *const' (aka 'int *const') converts between pointers to integer types with different sign [-Wpointer-sign]
# for (ws_p = ws; *ws_p; ws_p++) {
# ^ ~~
# ./CursesWide.c:94:19: warning: assigning to 'wint_t *' (aka 'unsigned int *') from 'wchar_t *const' (aka 'int *const') converts between pointers to integer types with different sign [-Wpointer-sign]
# for (ws_p = ws, u8_p = u8; *ws_p; ws_p++)
# ^ ~~
# ./CursesWide.c:102:19: warning: assigning to 'wint_t *' (aka 'unsigned int *') from 'wchar_t *const' (aka 'int *const') converts between pointers to integer types with different sign [-Wpointer-sign]
# for (ws_p = ws, u8_p = u8; *ws_p; ws_p++, u8_p++)
# ^ ~~
# In file included from Curses.c:421:
# ./CursesFunWide.c:117:26: warning: passing 'wint_t *' (aka 'unsigned int *') to parameter of type 'const wchar_t *' (aka 'const int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# ret = waddnwstr(win, wstr, len);
# ^~~~
# /usr/include/curses.h:1715:63: note: passing argument to parameter here
# extern NCURSES_EXPORT(int) waddnwstr (WINDOW *,const wchar_t *,int); /* implemented */
# ^
# In file included from Curses.c:421:
# ./CursesFunWide.c:153:27: warning: passing 'wint_t *' (aka 'unsigned int *') to parameter of type 'const wchar_t *' (aka 'const int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# ret = wins_nwstr(win, wstr, len);
# ^~~~
# /usr/include/curses.h:1730:65: note: passing argument to parameter here
# extern NCURSES_EXPORT(int) wins_nwstr (WINDOW *, const wchar_t *, int); /* implemented */
# ^
# 5 warnings generated.
# rm -f blib/arch/auto/Curses/Curses.so
# LD_RUN_PATH="/usr/lib" cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector-strong Curses.o -o blib/arch/auto/Curses/Curses.so \
# -lncurses \
#
# chmod 755 blib/arch/auto/Curses/Curses.so
# "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Curses.bs blib/arch/auto/Curses/Curses.bs 644
# Manifying 1 pod document
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Running Mkbootstrap for Curses ()
# chmod 644 "Curses.bs"
# Manifying 1 pod document
# Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
# Installing /tmp/perl-curses/pkg/perl-curses/usr/lib/perl5/vendor_perl/auto/Curses/Curses.so
# Installing /tmp/perl-curses/pkg/perl-curses/usr/lib/perl5/vendor_perl/Curses.pm
# Installing /tmp/perl-curses/pkg/perl-curses/usr/share/man/man3/Curses.3pm
# Appending installation info to /tmp/perl-curses/pkg/perl-curses/usr/lib/perl5/core_perl/perllocal.pod
# ==> Tidying install...
# -> Removing doc files...
# -> Removing empty directories...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "perl-curses"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: perl-curses 1.33-2 (Thu Apr 13 16:31:17 UTC 2017)

CMD: pacman --query --file perl-curses-1.33-2-x86_64.pkg.tar.xz
# perl-curses 1.33-2

Creating hybrid package for 'perl-curses'

Trying to find vanilla package 'perl-curses'...

CMD: pacman --query --file /mirror/perl-curses-ui-poe-0.04-2.pkg.tar.xz
# perl-curses-ui-poe 0.04-2

CMD: pacman --query --file /mirror/perl-curses-1.33-2.pkg.tar.xz
# perl-curses 1.33-2

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/share/man/man3/Curses.3pm.gz
# /usr/lib/perl5/vendor_perl/Curses.pm
# /usr/lib/perl5/vendor_perl/auto/Curses/Curses.so
# /sysroot/usr/lib/perl5/vendor_perl/Curses.pm
# /sysroot/usr/lib/perl5/vendor_perl/auto/Curses/Curses.so

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO .BUILDINFO usr sysroot

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .BUILDINFO usr sysroot .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO .BUILDINFO usr sysroot .MTREE | xz -c -z

CMD: bsdtar -tqf perl-curses.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/perl-curses.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/perl-curses.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/perl-curses.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'