D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
sh: line 4: [: -j8: integer expression expected
sh: line 4: [: -j8: integer expression expected
Installing /home/pterjan/rpmbuild/SRPMS/perl-Curses-1.450.0-2.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HikFmo
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build
+ test -d /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9xXCAO
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build
+ rm -rf Curses-1.45
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Curses-1.45.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Curses-1.45
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yvdzs3
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build
+ cd Curses-1.45
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor MENUS PANELS FORMS
GEN    function:  not applicable
PANELS functions: enabled
MENUS  functions: enabled
FORMS  functions: enabled

Making a guess for -I and -L/-l options...
Guesses:
  includes:    '-I/usr/include/ncursesw'
  libs:        '-lncursesw'
  Curses type: ncursesw
Making a guess for "c-config.h"...
Choosing hints file 'hints/c-linux.ncurses.h'
WARNING: Your Curses form.h file appears to be in the default
system search path, which will not work for us because of
the conflicting Perl form.h file.  This means your 'make' will
probably fail unless you fix this, as described in the INSTALL
file.
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/make -O -j48 V=1 VERBOSE=1 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
./makeConfig  PANELS  MENUS  FORMS  >config.h
Running Mkbootstrap for Curses ()
chmod 644 "Curses.bs"
"/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Curses.bs blib/arch/auto/Curses/Curses.bs 644
cp Curses.pm blib/lib/Curses.pm
CC='gcc' \
INC='-I/usr/include/ncursesw' \
CCFLAGS='-D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' \
LDLOADLIBS='-lpanelw -lmenuw -lformw -lncursesw' \
LDDLFLAGS='-lpthread -shared -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong' \
"/usr/bin/perl5.40.0" testsyms 
Doing test compiles with the compile command 'gcc -DSYM="_C_SYM_" -I/usr/include/ncursesw -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o _C_FILE_ _C_FILE_.c  -L/usr/local/lib -lpanelw -lmenuw -lformw -lncursesw>/dev/null 2>&1'
Checking capabilities of the Ncurses libraries.
Set CURSES_VERBOSE environment variable to see the details of the tests.

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' NOT 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' NOT found
function 'pair_content' NOT 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
function 'use_default_colors' found
function 'assume_default_colors' found
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' found
function 'bottom_panel' found
function 'top_panel' found
function 'show_panel' found
function 'update_panels' found
function 'hide_panel' found
function 'panel_window' found
function 'replace_panel' found
function 'move_panel' found
function 'panel_hidden' found
function 'panel_above' found
function 'panel_below' found
function 'set_panel_userptr' found
function 'panel_userptr' found
function 'del_panel' found
function 'set_menu_fore' found
function 'menu_fore' found
function 'set_menu_back' found
function 'menu_back' found
function 'set_menu_grey' found
function 'menu_grey' found
function 'set_menu_pad' found
function 'menu_pad' found
function 'pos_menu_cursor' found
function 'menu_driver' found
function 'set_menu_format' found
function 'menu_format' found
function 'set_menu_items' found
function 'menu_items' found
function 'item_count' found
function 'set_menu_mark' found
function 'menu_mark' found
function 'new_menu' found
function 'free_menu' found
function 'menu_opts' found
function 'set_menu_opts' found
function 'menu_opts_on' found
function 'menu_opts_off' found
function 'set_menu_pattern' found
function 'menu_pattern' found
function 'post_menu' found
function 'unpost_menu' found
function 'set_menu_userptr' found
function 'menu_userptr' found
function 'set_menu_win' found
function 'menu_win' found
function 'set_menu_sub' found
function 'menu_sub' found
function 'scale_menu' found
function 'set_current_item' found
function 'current_item' found
function 'set_top_row' found
function 'top_row' found
function 'item_index' found
function 'item_name' found
function 'item_description' found
function 'new_item' found
function 'free_item' found
function 'set_item_opts' found
function 'item_opts_on' found
function 'item_opts_off' found
function 'item_opts' found
function 'item_userptr' found
function 'set_item_userptr' found
function 'set_item_value' found
function 'item_value' found
function 'item_visible' found
function 'menu_request_name' found
function 'menu_request_by_name' found
function 'set_menu_spacing' found
function 'menu_spacing' found
function 'pos_form_cursor' found
function 'data_ahead' found
function 'data_behind' found
function 'form_driver' found
function 'set_form_fields' found
function 'form_fields' found
function 'field_count' found
function 'move_field' found
function 'new_form' found
function 'free_form' found
function 'set_new_page' found
function 'new_page' found
function 'set_form_opts' found
function 'form_opts_on' found
function 'form_opts_off' found
function 'form_opts' found
function 'set_current_field' found
function 'current_field' found
function 'set_form_page' found
function 'form_page' found
function 'field_index' found
function 'post_form' found
function 'unpost_form' found
function 'set_form_userptr' found
function 'form_userptr' found
function 'set_form_win' found
function 'form_win' found
function 'set_form_sub' found
function 'form_sub' found
function 'scale_form' found
function 'set_field_fore' found
function 'field_fore' found
function 'set_field_back' found
function 'field_back' found
function 'set_field_pad' found
function 'field_pad' found
function 'set_field_buffer' found
function 'field_buffer' found
function 'set_field_status' found
function 'field_status' found
function 'set_max_field' found
function 'field_info' found
function 'dynamic_field_info' found
function 'set_field_just' found
function 'field_just' found
function 'new_field' found
function 'dup_field' found
function 'link_field' found
function 'free_field' found
function 'set_field_opts' found
function 'field_opts_on' found
function 'field_opts_off' found
function 'field_opts' found
function 'set_field_userptr' found
function 'field_userptr' found
function 'field_arg' found
function 'form_request_name' found
function 'form_request_by_name' found
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
gcc -c  -I/usr/include/ncursesw -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g   -DVERSION=\"1.45\" -DXS_VERSION=\"1.45\" -fPIC "-I/usr/lib64/perl5/CORE"   Curses.c
rm -f blib/arch/auto/Curses/Curses.so
gcc  -lpthread -shared -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong  Curses.o  -o blib/arch/auto/Curses/Curses.so  \
   -lpanelw -lmenuw -lformw -lncursesw -lperl   \
  
chmod 755 blib/arch/auto/Curses/Curses.so
Manifying 1 pod document
+ chmod 644 Artistic Copying INSTALL README HISTORY MAINTENANCE
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
sh: line 4: [: -j8: integer expression expected
sh: line 4: [: -j8: integer expression expected
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RRGpoe
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build
+ mkdir /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build/BUILDROOT
+ cd Curses-1.45
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p'
"/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Curses.bs blib/arch/auto/Curses/Curses.bs 644
Manifying 1 pod document
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Curses/Curses.so
Installing /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Curses.pm
Installing /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build/BUILDROOT/usr/share/man/man3/Curses.3pm
Appending installation info to /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build/BUILDROOT/usr/lib64/perl5/perllocal.pod
+ /usr/bin/find-debuginfo -j48 --strict-build-id -m -i --build-id-seed 1.450.0-2.mga10 --unique-debug-suffix -1.450.0-2.mga10.x86_64 --unique-debug-src-base perl-Curses-1.450.0-2.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build/Curses-1.45
find-debuginfo: starting

Extracting debug info from 1 files
objcopy: unable to copy file '/home/pterjan/rpmbuild/BUILD/perl-Curses-1.450.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Curses/Curses.so'; reason: Permission denied
*** ERROR:: GDB exited with exit status 1 during index generation
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.RRGpoe (%install)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.RRGpoe (%install)
I: [iurt_root_command] ERROR: chroot