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-Text-Hunspell-2.160.0-3.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zJ91Oc
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build
+ test -d /home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.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.wWpdm7
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build
+ rm -rf Text-Hunspell-2.16
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Text-Hunspell-2.16.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Text-Hunspell-2.16
+ /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.iyYMI4
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build
+ cd Text-Hunspell-2.16
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
++ sed 's/-l//; s/[[:space:]]*$//'
++ pkg-config --libs hunspell
+ HUNSPELL_LIB_NAME=hunspell-1.7
+ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor LIBS=-lhunspell-1.7 'OPTIMIZE=-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'
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Text::Hunspell
Writing MYMETA.yml and MYMETA.json
+ /usr/bin/make -O -j48 V=1 VERBOSE=1
Running Mkbootstrap for Hunspell ()
chmod 644 "Hunspell.bs"
cp Hunspell.pm blib/lib/Text/Hunspell.pm
"/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Hunspell.bs blib/arch/auto/Text/Hunspell/Hunspell.bs 644
"/usr/bin/perl5.40.0" "/usr/share/perl5/ExtUtils/xsubpp"  -C++ -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build/Text-Hunspell-2.16/perlobject.map' -typemap '/home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build/Text-Hunspell-2.16/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build/Text-Hunspell-2.16/typemap'  Hunspell.xs > Hunspell.xsc
mv Hunspell.xsc Hunspell.c
c++ -c   -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 -I/usr/include/hunspell  -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   -DVERSION=\"2.16\" -DXS_VERSION=\"2.16\" -fPIC "-I/usr/lib64/perl5/CORE"   Hunspell.c
Hunspell.xs: In function 'void XS_Text__Hunspell_check(PerlInterpreter*, CV*)':
Hunspell.xs:69:29: warning: 'int Hunspell::spell(const char*, int*, char**)' is deprecated [-Wdeprecated-declarations]
   69 |         RETVAL = THIS->spell(buf);
      |                  ~~~~~~~~~~~^~~~~
In file included from Hunspell.xs:1:
/usr/include/hunspell/hunspell.hxx:132:20: note: declared here
  132 |   H_DEPRECATED int spell(const char* word, int* info = NULL, char** root = NULL);
      |                    ^~~~~
Hunspell.xs: In function 'void XS_Text__Hunspell_suggest(PerlInterpreter*, CV*)':
Hunspell.xs:81:28: warning: 'int Hunspell::suggest(char***, const char*)' is deprecated [-Wdeprecated-declarations]
   81 |         val = THIS->suggest(&wlsti, buf);
      |               ~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/hunspell/hunspell.hxx:142:20: note: declared here
  142 |   H_DEPRECATED int suggest(char*** slst, const char* word);
      |                    ^~~~~~~
Hunspell.xs:85:24: warning: 'void Hunspell::free_list(char***, int)' is deprecated [-Wdeprecated-declarations]
   85 |         THIS->free_list(&wlsti, val);
      |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/hunspell/hunspell.hxx:156:21: note: declared here
  156 |   H_DEPRECATED void free_list(char*** slst, int n);
      |                     ^~~~~~~~~
Hunspell.xs: In function 'void XS_Text__Hunspell_analyze(PerlInterpreter*, CV*)':
Hunspell.xs:94:28: warning: 'int Hunspell::analyze(char***, const char*)' is deprecated [-Wdeprecated-declarations]
   94 |         val = THIS->analyze(&wlsti, buf);
      |               ~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/hunspell/hunspell.hxx:165:20: note: declared here
  165 |   H_DEPRECATED int analyze(char*** slst, const char* word);
      |                    ^~~~~~~
Hunspell.xs:98:24: warning: 'void Hunspell::free_list(char***, int)' is deprecated [-Wdeprecated-declarations]
   98 |         THIS->free_list(&wlsti, val);
      |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/hunspell/hunspell.hxx:156:21: note: declared here
  156 |   H_DEPRECATED void free_list(char*** slst, int n);
      |                     ^~~~~~~~~
Hunspell.xs: In function 'void XS_Text__Hunspell_stem(PerlInterpreter*, CV*)':
Hunspell.xs:108:25: warning: 'int Hunspell::stem(char***, const char*)' is deprecated [-Wdeprecated-declarations]
  108 |         val = THIS->stem(&wlsti, buf);
      |               ~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/hunspell/hunspell.hxx:169:20: note: declared here
  169 |   H_DEPRECATED int stem(char*** slst, const char* word);
      |                    ^~~~
Hunspell.xs:112:24: warning: 'void Hunspell::free_list(char***, int)' is deprecated [-Wdeprecated-declarations]
  112 |         THIS->free_list(&wlsti, val);
      |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/hunspell/hunspell.hxx:156:21: note: declared here
  156 |   H_DEPRECATED void free_list(char*** slst, int n);
      |                     ^~~~~~~~~
Hunspell.xs: In function 'void XS_Text__Hunspell_generate(PerlInterpreter*, CV*)':
Hunspell.xs:123:29: warning: 'int Hunspell::generate(char***, const char*, const char*)' is deprecated [-Wdeprecated-declarations]
  123 |         val = THIS->generate(&wlsti, buf, sample);
      |               ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/usr/include/hunspell/hunspell.hxx:182:20: note: declared here
  182 |   H_DEPRECATED int generate(char*** slst, const char* word, const char* word2);
      |                    ^~~~~~~~
Hunspell.xs:127:24: warning: 'void Hunspell::free_list(char***, int)' is deprecated [-Wdeprecated-declarations]
  127 |         THIS->free_list(&wlsti, val);
      |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/hunspell/hunspell.hxx:156:21: note: declared here
  156 |   H_DEPRECATED void free_list(char*** slst, int n);
      |                     ^~~~~~~~~
Hunspell.xs: In function 'void XS_Text__Hunspell_generate2(PerlInterpreter*, CV*)':
Hunspell.xs:152:29: warning: 'int Hunspell::generate(char***, const char*, char**, int)' is deprecated [-Wdeprecated-declarations]
  152 |         val = THIS->generate(&wlsti, buf, array,  len);
      |               ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/hunspell/hunspell.hxx:192:20: note: declared here
  192 |   H_DEPRECATED int generate(char*** slst, const char* word, char** desc, int n);
      |                    ^~~~~~~~
Hunspell.xs:157:24: warning: 'void Hunspell::free_list(char***, int)' is deprecated [-Wdeprecated-declarations]
  157 |         THIS->free_list(&wlsti, val);
      |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/hunspell/hunspell.hxx:156:21: note: declared here
  156 |   H_DEPRECATED void free_list(char*** slst, int n);
      |                     ^~~~~~~~~
rm -f blib/arch/auto/Text/Hunspell/Hunspell.so
c++  -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  Hunspell.o  -o blib/arch/auto/Text/Hunspell/Hunspell.so  \
   -lhunspell-1.7 -lperl   \
  
chmod 755 blib/arch/auto/Text/Hunspell/Hunspell.so
Manifying 1 pod document
+ 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.gbIyth
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build
+ mkdir /home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build/BUILDROOT
+ cd Text-Hunspell-2.16
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p'
"/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Hunspell.bs blib/arch/auto/Text/Hunspell/Hunspell.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-Text-Hunspell-2.160.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Text/Hunspell/Hunspell.so
Installing /home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Text/Hunspell.pm
Installing /home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build/BUILDROOT/usr/share/man/man3/Text::Hunspell.3pm
Appending installation info to /home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build/BUILDROOT/usr/lib64/perl5/perllocal.pod
+ /usr/bin/find-debuginfo -j48 --strict-build-id -m -i --build-id-seed 2.160.0-3.mga10 --unique-debug-suffix -2.160.0-3.mga10.x86_64 --unique-debug-src-base perl-Text-Hunspell-2.160.0-3.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build/Text-Hunspell-2.16
find-debuginfo: starting

Extracting debug info from 1 files
objcopy: unable to copy file '/home/pterjan/rpmbuild/BUILD/perl-Text-Hunspell-2.160.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Text/Hunspell/Hunspell.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.gbIyth (%install)

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