D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: line 17: It's not recommended to have unversioned Obsoletes: Obsoletes: perl-Term-Readline-Gnu sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/perl-Term-ReadLine-Gnu-1.460.0-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.G2csIX sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zFrEWo + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Term-ReadLine-Gnu-1.460.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-Term-ReadLine-Gnu-1.460.0-build + rm -rf Term-ReadLine-Gnu-1.46 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Term-ReadLine-Gnu-1.46.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Term-ReadLine-Gnu-1.46 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + perl -pi -e 's!/usr/local/bin/perl!/usr/bin/perl!g' Gnu/euc_jp.pm Gnu/XS.pm Can't open Gnu/euc_jp.pm: No such file or directory. + 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.pgkl32 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Term-ReadLine-Gnu-1.460.0-build + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 ' + export FFLAGS + FCFLAGS='-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 ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Term-ReadLine-Gnu-1.46 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor <<>> Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Term::ReadLine::Gnu 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' Running Mkbootstrap for Gnu () chmod 644 "Gnu.bs" cp Gnu.pm blib/lib/Term/ReadLine/Gnu.pm cp Gnu/XS.pm blib/lib/Term/ReadLine/Gnu/XS.pm AutoSplitting blib/lib/Term/ReadLine/Gnu/XS.pm (blib/lib/auto/Term/ReadLine/Gnu/XS) blib/lib/Term/ReadLine/Gnu/XS.pm: some names are not unique when truncated to 8 characters: directory blib/lib/auto/Term/ReadLine/Gnu/XS: rl_bind_key.al, rl_bind_key_if_unbound.al, rl_bind_keyseq.al, rl_bind_keyseq_if_unbound.al truncate to rl_bind_ rl_set_keymap.al, rl_set_key.al truncate to rl_set_k "/usr/bin/perl5.40.1" -MExtUtils::Command::MM -e 'cp_nonempty' -- Gnu.bs blib/arch/auto/Term/ReadLine/Gnu/Gnu.bs 644 "/usr/bin/perl5.40.1" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/perl-Term-ReadLine-Gnu-1.460.0-build/Term-ReadLine-Gnu-1.46/typemap' Gnu.xs > Gnu.xsc mv Gnu.xsc Gnu.c gcc -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 -g -DVERSION=\"1.46\" -DXS_VERSION=\"1.46\" -fPIC "-I/usr/lib64/perl5/CORE" -O -DTRG_READLINE_VERSION=0x0802 Gnu.c Gnu.xs:625:5: error: initialization of 'int (**)(void)' from incompatible pointer type 'int (**)(FILE *)' [-Wincompatible-pointer-types] 625 | { &rl_getc_function, rl_getc, getc_function_wrapper, NULL }, /* 2 */ | ^ Gnu.xs:625:5: note: (near initialization for 'fn_tbl[2].rlfuncp') Gnu.xs:625:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(FILE *)' [-Wincompatible-pointer-types] 625 | { &rl_getc_function, rl_getc, getc_function_wrapper, NULL }, /* 2 */ | ^~~~~~~ Gnu.xs:625:25: note: (near initialization for 'fn_tbl[2].defaultfn') In file included from Gnu.xs:29: /usr/include/readline/readline.h:451:12: note: 'rl_getc' declared here 451 | extern int rl_getc (FILE *); | ^~~~~~~ Gnu.xs:625:34: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(PerlIOl **)' {aka 'int (*)(struct _PerlIO **)'} [-Wincompatible-pointer-types] 625 | { &rl_getc_function, rl_getc, getc_function_wrapper, NULL }, /* 2 */ | ^~~~~~~~~~~~~~~~~~~~~ Gnu.xs:625:34: note: (near initialization for 'fn_tbl[2].wrapper') Gnu.xs:583:12: note: 'getc_function_wrapper' declared here 583 | static int getc_function_wrapper (PerlIO *); | ^~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:354: Gnu.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.pgkl32 (%build) RPM build warnings: line 17: It's not recommended to have unversioned Obsoletes: Obsoletes: perl-Term-Readline-Gnu RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.pgkl32 (%build) I: [iurt_root_command] ERROR: chroot