D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
warning: /home/pterjan/rpmbuild/SPECS/perl-RPM4.spec line 52: autopatch: no matching patches in range
sh: line 4: [: -j8: integer expected
Installing /home/pterjan/rpmbuild/SRPMS/perl-RPM4-0.47-5.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QAJaK3
sh: line 4: [: -j8: integer expected
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.grSwNJ
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build
+ rm -rf RPM4-0.47
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/RPM4-0.47.tgz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd RPM4-0.47
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expected
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6ouukM
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-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 RPM4-0.47
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor
Prototype mismatch: sub MY::postamble () vs none at /usr/share/perl5/ExtUtils/MakeMaker.pm line 1220.
Checking if your kit is complete...
Looks good
Prototype mismatch: sub MY::postamble: none vs () at ./Makefile.PL line 97.
Prototype mismatch: sub MY::postamble () vs none at /usr/share/perl5/ExtUtils/MakeMaker.pm line 1220.
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for RPM4
Writing MYMETA.yml and MYMETA.json
+ /usr/bin/make -O -j48 V=1 VERBOSE=1
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/src'
Running Mkbootstrap for RPM4 ()
chmod 644 "RPM4.bs"
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/src'
"/usr/bin/perl5.40.1" -MExtUtils::Command::MM -e 'cp_nonempty' -- RPM4.bs ../blib/arch/auto/RPM4/RPM4.bs 644
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/src'
cp lib/RPM4/Index.pm blib/lib/RPM4/Index.pm
cp lib/RPM4/Header/Dependencies.pm blib/lib/RPM4/Header/Dependencies.pm
cp lib/RPM4/Spec.pm blib/lib/RPM4/Spec.pm
cp lib/RPM4/Transaction/Problems.pm blib/lib/RPM4/Transaction/Problems.pm
cp lib/RPM4/Media.pm blib/lib/RPM4/Media.pm
cp lib/RPM4/Sign.pm blib/lib/RPM4/Sign.pm
cp lib/RPM4/Header/Files.pm blib/lib/RPM4/Header/Files.pm
cp lib/RPM4/Header.pm blib/lib/RPM4/Header.pm
cp lib/RPM4.pm blib/lib/RPM4.pm
cp lib/RPM4/Header/Changelogs.pm blib/lib/RPM4/Header/Changelogs.pm
cp lib/RPM4/Transaction.pm blib/lib/RPM4/Transaction.pm
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/src'
"/usr/bin/perl5.40.1" "/usr/share/perl5/ExtUtils/xsubpp"  -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/src/typemap'  RPM4.xs > RPM4.xsc
Please specify prototyping behavior for RPM4.xs (see perlxs manual)
mv RPM4.xsc RPM4.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/src'
gcc -c  -I/usr/include/rpm -D_FILE_OFFSET_BITS=64 -Wall -DHAVE_RPMCONSTANT -DRPM4_20_1 -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=\"0.47\" -DXS_VERSION=\"0.47\" -fPIC "-I/usr/lib64/perl5/CORE"   RPM4.c
In file included from /usr/lib64/perl5/CORE/perl.h:6166,
                 from RPM4.xs:29:
RPM4.xs: In function 'transCallback':
RPM4.xs:249:77: warning: passing argument 1 of 'headerLink' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  249 |                 mXPUSHs(sv_setref_pv(newSVpvs(""), bless_header, headerLink(h)));
      |                                                                             ^
/usr/lib64/perl5/CORE/pp.h:549:35: note: in definition of macro 'PUSHs'
  549 | #  define PUSHs(s)      (*++sp = (s))
      |                                   ^
/usr/lib64/perl5/CORE/pp.h:576:25: note: in expansion of macro 'XPUSHs'
  576 | #define mXPUSHs(s)      XPUSHs(sv_2mortal(s))
      |                         ^~~~~~
/usr/lib64/perl5/CORE/pp.h:576:32: note: in expansion of macro 'sv_2mortal'
  576 | #define mXPUSHs(s)      XPUSHs(sv_2mortal(s))
      |                                ^~~~~~~~~~
RPM4.xs:249:17: note: in expansion of macro 'mXPUSHs'
  249 |                 mXPUSHs(sv_setref_pv(newSVpvs(""), bless_header, headerLink(h)));
      |                 ^~~~~~~
RPM4.xs:249:25: note: in expansion of macro 'sv_setref_pv'
  249 |                 mXPUSHs(sv_setref_pv(newSVpvs(""), bless_header, headerLink(h)));
      |                         ^~~~~~~~~~~~
In file included from /usr/include/rpm/rpmlib.h:12,
                 from /usr/include/rpm/rpmcli.h:12,
                 from /usr/include/rpm/rpmspec.h:10,
                 from RPM4.xs:69:
/usr/include/rpm/header.h:55:26: note: expected 'Header' {aka 'struct headerToken_s *'} but argument is of type 'const void *'
   55 | Header headerLink(Header h);
      |                   ~~~~~~~^
RPM4.xs:228:5: warning: enumeration value 'RPMCALLBACK_REPACKAGE_PROGRESS' not handled in switch [-Wswitch]
  228 |     switch (what) {
      |     ^~~~~~
RPM4.xs:228:5: warning: enumeration value 'RPMCALLBACK_REPACKAGE_START' not handled in switch [-Wswitch]
RPM4.xs:228:5: warning: enumeration value 'RPMCALLBACK_REPACKAGE_STOP' not handled in switch [-Wswitch]
RPM4.xs:228:5: warning: enumeration value 'RPMCALLBACK_SCRIPT_START' not handled in switch [-Wswitch]
RPM4.xs:228:5: warning: enumeration value 'RPMCALLBACK_SCRIPT_STOP' not handled in switch [-Wswitch]
RPM4.xs:228:5: warning: enumeration value 'RPMCALLBACK_INST_STOP' not handled in switch [-Wswitch]
RPM4.xs:228:5: warning: enumeration value 'RPMCALLBACK_ELEM_PROGRESS' not handled in switch [-Wswitch]
RPM4.xs:228:5: warning: enumeration value 'RPMCALLBACK_VERIFY_PROGRESS' not handled in switch [-Wswitch]
RPM4.xs:228:5: warning: enumeration value 'RPMCALLBACK_VERIFY_START' not handled in switch [-Wswitch]
RPM4.xs:228:5: warning: enumeration value 'RPMCALLBACK_VERIFY_STOP' not handled in switch [-Wswitch]
RPM4.c: In function 'XS_RPM4__Transaction_specbuild':
RPM4.c:3561:17: warning: variable 'ts' set but not used [-Wunused-but-set-variable]
 3561 |         rpmts   ts;
      |                 ^~
RPM4.c: In function 'XS_RPM4__Db__Te_DESTROY':
RPM4.c:3631:17: warning: variable 'Te' set but not used [-Wunused-but-set-variable]
 3631 |         rpmte   Te;
      |                 ^~
RPM4.c: In function 'XS_RPM4__Header__Dependencies_newsingle':
RPM4.c:4094:17: warning: unused variable 'perlclass' [-Wunused-variable]
 4094 |         char *  perlclass = (char *)SvPV_nolen(ST(0))
      |                 ^~~~~~~~~
RPM4.c: In function 'XS_RPM4__Spec_new':
RPM4.c:5661:17: warning: unused variable 'perlclass' [-Wunused-variable]
 5661 |         char *  perlclass = (char *)SvPV_nolen(ST(0))
      |                 ^~~~~~~~~
RPM4.c: In function 'XS_RPM4__Db___Problems_new':
RPM4.c:6058:17: warning: unused variable 'perlclass' [-Wunused-variable]
 6058 |         char *  perlclass = (char *)SvPV_nolen(ST(0))
      |                 ^~~~~~~~~
RPM4.c: In function 'XS_RPM4__Db___Problems_isignore':
RPM4.c:6175:17: warning: unused variable 'numpb' [-Wunused-variable]
 6175 |         int     numpb = (int)SvIV(ST(1))
      |                 ^~~~~
RPM4.c:6174:17: warning: variable 'ps' set but not used [-Wunused-but-set-variable]
 6174 |         rpmps   ps;
      |                 ^~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/src'
rm -f ../blib/arch/auto/RPM4/RPM4.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  RPM4.o   -o ../blib/arch/auto/RPM4/RPM4.so  \
   -lrpm -lrpmio -lpopt -lrpmsign -lrpmbuild -lrpmconstant -lperl   \
  
chmod 755 ../blib/arch/auto/RPM4/RPM4.so
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/src'
cp bin/hrpmreb blib/script/hrpmreb
"/usr/bin/perl5.40.1" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/hrpmreb
cp bin/rpm_produced blib/script/rpm_produced
"/usr/bin/perl5.40.1" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/rpm_produced
cp bin/rpmresign blib/script/rpmresign
"/usr/bin/perl5.40.1" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/rpmresign
Manifying 2 pod documents
Manifying 9 pod documents
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expected
sh: line 4: [: -j8: integer expected
sh: line 4: [: -j8: integer expected
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ll6oLw
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build
+ mkdir /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT
+ 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 RPM4-0.47
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT 'INSTALL=/usr/bin/install -p'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/src'
"/usr/bin/perl5.40.1" -MExtUtils::Command::MM -e 'cp_nonempty' -- RPM4.bs ../blib/arch/auto/RPM4/RPM4.bs 644
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/src'
Manifying 2 pod documents
Manifying 9 pod documents
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/RPM4/RPM4.so
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/lib64/perl5/vendor_perl/RPM4.pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/lib64/perl5/vendor_perl/RPM4/Index.pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/lib64/perl5/vendor_perl/RPM4/Header.pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/lib64/perl5/vendor_perl/RPM4/Transaction.pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/lib64/perl5/vendor_perl/RPM4/Media.pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/lib64/perl5/vendor_perl/RPM4/Sign.pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/lib64/perl5/vendor_perl/RPM4/Spec.pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/lib64/perl5/vendor_perl/RPM4/Transaction/Problems.pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/lib64/perl5/vendor_perl/RPM4/Header/Changelogs.pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/lib64/perl5/vendor_perl/RPM4/Header/Files.pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/lib64/perl5/vendor_perl/RPM4/Header/Dependencies.pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/share/man/man1/hrpmreb.1
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/share/man/man1/rpmresign.1
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/share/man/man3/RPM4::Spec.3pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/share/man/man3/RPM4.3pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/share/man/man3/RPM4::Transaction::Problems.3pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/share/man/man3/RPM4::Transaction.3pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/share/man/man3/RPM4::Header::Changelogs.3pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/share/man/man3/RPM4::Header::Files.3pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/share/man/man3/RPM4::Header.3pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/share/man/man3/RPM4::Sign.3pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/share/man/man3/RPM4::Header::Dependencies.3pm
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/bin/rpm_produced
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/bin/rpmresign
Installing /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/bin/hrpmreb
Appending installation info to /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/BUILDROOT/usr/lib64/perl5/perllocal.pod
+ /usr/bin/find-debuginfo -j48 --strict-build-id -m -i --build-id-seed 0.47-5.mga10 --unique-debug-suffix -0.47-5.mga10.x86_64 --unique-debug-src-base perl-RPM4-0.47-5.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47
find-debuginfo: starting

Extracting debug info from 1 files
DWARF-compressing 1 files
sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/perl-RPM4-0.47-5.mga10.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j48
+ /usr/lib/rpm/redhat/brp-python-hardlink
Reading /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/SPECPARTS/rpm-debuginfo.specpart
sh: line 4: [: -j8: integer expected
Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Z78EMi
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-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 RPM4-0.47
+ '[' 1 -eq 1 ']'
+ make test TEST_VERBOSE=1
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/src'
"/usr/bin/perl5.40.1" -MExtUtils::Command::MM -e 'cp_nonempty' -- RPM4.bs ../blib/arch/auto/RPM4/RPM4.bs 644
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/src'
"/usr/bin/perl5.40.1" -MExtUtils::Command::MM -e 'cp_nonempty' -- RPM4.bs ../blib/arch/auto/RPM4/RPM4.bs 644
No tests defined for RPM4 extension.
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/src'
PERL_DL_NONLAZY=1 PERL_USE_UNSAFE_INC=1 "/usr/bin/perl5.40.1" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
>> RPM version: RPM version 4.20.1

t/01compile.t ...... 
1..3
ok 1 - use RPM4;
ok 2 - RPM4->can(...)
ok 3 - RPM4::Transaction->can(...)
ok
t/02header.t ....... 
1..45
ok 1 - 'Creating empty header works' isa 'RPM4::Header'
ok 2 - empty tag return nothings
ok 3 - 'instanciating an header from a source rpm works' isa 'RPM4::Header'
ok 4 - Has tag 1000 (NAME), yes
ok 5 - Has 'NAME', yes
ok 6 - Has tag 1044 (SOURCERPM), yes
ok 7 - can list tag
ok 8 - accessing tag by id works
ok 9 - accessing tag by name works
ok 10 - accessing tag by name works
ok 11 - accessing tag directly works
ok 12 - Queryformat is ok
ok 13 - header->nevr works
ok 14 - scalar fullname works
ok 15 - wantarray fullname works
ok 16 - Is a src, Yes !
ok 17 - sourcerpmname works
ok 18 - Removing a tag
ok 19 - tag is not present
ok 20 - Adding a tag (string type)
ok 21 - Added tag return good value
ok 22 - 'instanciating an header from a binary rpm works' isa 'RPM4::Header'
ok 23 - Has tag 1000 (NAME), yes
ok 24 - can get type of a tag
ok 25 - Has tag 1106 (SOURCEPACKAGE), no
ok 26 - can list tag
ok 27 - accessing tag by id works
ok 28 - accessing tag by name works
ok 29 - accessing tag directly works
ok 30 - Queryformat is ok
ok 31 - scalar fullname works
ok 32 - wantarray fullname works
ok 33 - Is a src, No !
ok 34 - sourcerpmname works
ok 35 - copy works
ok 36 - tag 1000 (NAME) from copy works
ok 37 - Write the header works
ok 38 - Header size works
ok 39 - file size is same than in memory
ok 40 - 'instanciating an header from a stream works' isa 'RPM4::Header'
ok 41 - tag 1000 from header file works
ok 42 - can get header as string
ok 43 - 'can reparse header from a string' isa 'RPM4::Header'
ok 44 - can get header as string
ok 45 - 'can reparse header from a string' isa 'RPM4::Header'
ok
error: This is a rpm debug messaget/03rpmlib.t ....... 
1..52
ok 1 - Set verbosity works
ok 2 - Setting log callback function works
3: This is a rpm debug message
ok 3 - rpmlog function works
ok 4 - rpmlogcallback has been called
ok 5 - remove callback function
ok 6 - set a log file
ok 7 - rpmlog function works
ok 8 - set a log file
ok 9 - Can dumprc
ok 10 - Can dumpmacros
ok 11 - Return OS name
ok 12 - Return arch name
ok 13 - Return buildhost
ok 14 - Getting _target_cpu macro
ok 15 - %test_macro is no set
ok 16 - add_macro works
ok 17 - del_macro works
ok 18 - add_macro works
ok 19 - Reset macro works
ok 20 - Reset rc works
ok 21 - resetmacros works
ok 22 - Checking macros define in our rpmmacros
ok 23 - Add numeric macro
ok 24 - expandnumeric works
ok 25 - Reading alternate config file
ok 26 - Reading conf for xtentas-MandrakeSoft-osf1
ok 27 - the conf is properly load
ok 28 - Re-Reading the conf, reset to default
ok 29 # skip seems there is an internal rpm bug
ok 30 - tagName works
ok 31 - tagValue works
ok 32 - Get tage type value
ok 33 - rpmvercmp with =
ok 34 - rpmvercmp with <
ok 35 - rpmvercmp with >
ok 36 - comparing version only, equal
ok 37 - comparing version only, higther
ok 38 - comparing version only, lesser
ok 39 - comparing version-release only, equal
ok 40 - comparing version-release only, higther
ok 41 - comparing version-release only, lesser
ok 42 - comparing epoch:version-release only, equal
ok 43 - comparing epoch:version-release only, higther
ok 44 - comparing epoch:version-release only, lesser
ok 45 - comparing epoch 0 vs no epoch
ok 46 - comparing epoch 1 vs no epoch
ok 47 - comparing version-release vs version only
ok 48 - comparing epoch:version-release vs no version
ok 49 - get os score
ok 50 - get build os score
ok 51 - get arch score
ok 52 - get arch score
ok
warning: user olivier does not exist - using root
warning: group olivier does not exist - using root
warning: user olivier does not exist - using root
warning: group olivier does not exist - using root
error: source package expected, binary found
error: /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/t/test-rpm-1.0-1mdk.noarch.rpm cannot be installed
error: Binary rpm package found. Expected spec file!
sh: line 4: [: -j8: integer expected
sh: line 4: [: -j8: integer expected
/tmp/or4WxXLE_V/rpm-tmp.47C60J: line 31: cd: /tmp/or4WxXLE_V/test-rpm-1.0-build: No such file or directory
error: Bad exit status from /tmp/or4WxXLE_V/rpm-tmp.47C60J (%prep)
    user olivier does not exist - using root
    group olivier does not exist - using root
    user olivier does not exist - using root
    group olivier does not exist - using root
    source package expected, binary found
    /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/t/test-rpm-1.0-1mdk.noarch.rpm cannot be installed
    Binary rpm package found. Expected spec file!
    Bad exit status from /tmp/or4WxXLE_V/rpm-tmp.47C60J (%prep)

#   Failed test 'simulate rpm -bp (check prep)'
#   at t/04spec.t line 57.
sh: line 4: [: -j8: integer expected
sh: line 4: [: -j8: integer expected
/tmp/or4WxXLE_V/rpm-tmp.AQ6bCJ: line 31: cd: /tmp/or4WxXLE_V/test-rpm-1.0-build: No such file or directory
error: Bad exit status from /tmp/or4WxXLE_V/rpm-tmp.AQ6bCJ (%build)
    user olivier does not exist - using root
    group olivier does not exist - using root
    user olivier does not exist - using root
    group olivier does not exist - using root
    source package expected, binary found
    /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/t/test-rpm-1.0-1mdk.noarch.rpm cannot be installed
    Binary rpm package found. Expected spec file!
    Bad exit status from /tmp/or4WxXLE_V/rpm-tmp.47C60J (%prep)
    Bad exit status from /tmp/or4WxXLE_V/rpm-tmp.AQ6bCJ (%build)

#   Failed test 'simulate rpm -bc'
#   at t/04spec.t line 58.
sh: line 4: [: -j8: integer expected
sh: line 4: [: -j8: integer expected
sh: line 4: [: -j8: integer expected
/tmp/or4WxXLE_V/rpm-tmp.FZup1Z: line 31: cd: /tmp/or4WxXLE_V/test-rpm-1.0-build: No such file or directory
error: Bad exit status from /tmp/or4WxXLE_V/rpm-tmp.FZup1Z (%install)
    user olivier does not exist - using root
    group olivier does not exist - using root
    user olivier does not exist - using root
    group olivier does not exist - using root
    source package expected, binary found
    /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/t/test-rpm-1.0-1mdk.noarch.rpm cannot be installed
    Binary rpm package found. Expected spec file!
    Bad exit status from /tmp/or4WxXLE_V/rpm-tmp.47C60J (%prep)
    Bad exit status from /tmp/or4WxXLE_V/rpm-tmp.AQ6bCJ (%build)
    Bad exit status from /tmp/or4WxXLE_V/rpm-tmp.FZup1Z (%install)

#   Failed test 'simulate rpm -bi'
#   at t/04spec.t line 59.
sh: line 4: [: -j8: integer expected
error: Duplicate Os entries in package: test-rpm
error: Duplicate Sourcerpm entries in package: test-rpm
error: Duplicate Optflags entries in package: test-rpm
error: Duplicate Platform entries in package: test-rpm
error: parsing failed
    user olivier does not exist - using root
    group olivier does not exist - using root
    user olivier does not exist - using root
    group olivier does not exist - using root
    source package expected, binary found
    /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/t/test-rpm-1.0-1mdk.noarch.rpm cannot be installed
    Binary rpm package found. Expected spec file!
    Bad exit status from /tmp/or4WxXLE_V/rpm-tmp.47C60J (%prep)
    Bad exit status from /tmp/or4WxXLE_V/rpm-tmp.AQ6bCJ (%build)
    Bad exit status from /tmp/or4WxXLE_V/rpm-tmp.FZup1Z (%install)
    Duplicate Os entries in package: test-rpm
    Duplicate Sourcerpm entries in package: test-rpm
    Duplicate Optflags entries in package: test-rpm
    Duplicate Platform entries in package: test-rpm
    parsing failed

#   Failed test 'simulate rpm -bl'
#   at t/04spec.t line 62.
sh: line 4: [: -j8: integer expected
    user olivier does not exist - using root
    group olivier does not exist - using root
    user olivier does not exist - using root
    group olivier does not exist - using root
sh: line 4: [: -j8: integer expected
sh: line 4: [: -j8: integer expected
/tmp/or4WxXLE_V/rpm-tmp.pJBPJ2: line 31: cd: /tmp/or4WxXLE_V/test-rpm-1.0-build: No such file or directory
error: Bad exit status from /tmp/or4WxXLE_V/rpm-tmp.pJBPJ2 (rmbuild)
    user olivier does not exist - using root
    group olivier does not exist - using root
    user olivier does not exist - using root
    group olivier does not exist - using root
    source package expected, binary found
    /home/pterjan/rpmbuild/BUILD/perl-RPM4-0.47-build/RPM4-0.47/t/test-rpm-1.0-1mdk.noarch.rpm cannot be installed
    Binary rpm package found. Expected spec file!
    Bad exit status from /tmp/or4WxXLE_V/rpm-tmp.47C60J (%prep)
    Bad exit status from /tmp/or4WxXLE_V/rpm-tmp.AQ6bCJ (%build)
    Bad exit status from /tmp/or4WxXLE_V/rpm-tmp.FZup1Z (%install)
    Duplicate Os entries in package: test-rpm
    Duplicate Sourcerpm entries in package: test-rpm
    Duplicate Optflags entries in package: test-rpm
    Duplicate Platform entries in package: test-rpm
    parsing failed
    Bad exit status from /tmp/or4WxXLE_V/rpm-tmp.pJBPJ2 (rmbuild)

#   Failed test 'simulate cleaning spec, source, build'
#   at t/04spec.t line 66.
# Looks like you failed 5 tests of 27.
t/04spec.t ......... 
1..27
ok 1 - installsrpms works
ok 2 - installsrpms works
ok 3 - installsrpms works
ok 4 - Create an empty spec object don't works
ok 5 - Loading a bad spec file
ok 6 - Loading a spec file
ok 7 - Can find binary package
ok 8 - binrpm return good value
ok 9 - srcrpm return good value
ok 10 - Running spec::check
ok 11 - Geting source header before build
ok 12 - can querying header give by spec
Executing(%prep): /bin/sh -e /tmp/or4WxXLE_V/rpm-tmp.47C60J

RPM build warnings:

RPM build errors:
not ok 13 - simulate rpm -bp (check prep)
Executing(%build): /bin/sh -e /tmp/or4WxXLE_V/rpm-tmp.AQ6bCJ

RPM build warnings:

RPM build errors:
not ok 14 - simulate rpm -bc
Executing(%install): /bin/sh -e /tmp/or4WxXLE_V/rpm-tmp.FZup1Z

RPM build warnings:

RPM build errors:
not ok 15 - simulate rpm -bi
ok 16 - ReLoading the spec file

RPM build warnings:

RPM build errors:
not ok 17 - simulate rpm -bl
Wrote: /tmp/or4WxXLE_V/SRPMS/test-rpm-1.0-1mdk.src.rpm

RPM build warnings:
ok 18 - simulate rpm -bs
Executing(rmbuild): /bin/sh -e /tmp/or4WxXLE_V/rpm-tmp.pJBPJ2

RPM build warnings:

RPM build errors:
not ok 19 - simulate cleaning spec, source, build
ok 20 - Geting source header after build
ok 21 - can querying header give by spec
ok 22 - can get url give by spec
ok 23 - Can get binary header from spec
ok 24 - can querying header give by spec
ok 25 - can load spec
ok 26 - can list source
ok 27 - can list source with url
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/27 subtests 
error: can't create transaction lock on /dev/null/__db.000 (Not a directory)
warning: Certificate 2A97168AA1DF5C48:
  Policy rejects subkey 3542C53CD4A00947: Policy rejected asymmetric algorithm
Transaction problems: test-rpm is needed by test-dep-1.0-1mdk.noarch
 0 / 1
 0 / 1
INST_OPEN_FILE 0 / 0
INST_CLOSE_FILE 0 / 0
 1 / 1
TRANS_START 6 / 1
TRANS_PROGRESS 0 / 1
TRANS_STOP 6 / 1
Transaction problems: test-rpm is needed by test-dep-1.0-1mdk.noarch
 0 / 1
 0 / 1
INST_OPEN_FILE 0 / 0
INST_CLOSE_FILE 0 / 0
 1 / 1
TRANS_START 6 / 1
TRANS_PROGRESS 0 / 1
TRANS_STOP 6 / 1
INST_OPEN_FILE 0 / 0
 0 / 1
INST_START 0 / 284
INST_PROGRESS 0 / 284
INST_PROGRESS 284 / 284
 284 / 284
INST_CLOSE_FILE 0 / 0
TRANS_START 6 / 1
TRANS_PROGRESS 0 / 1
TRANS_STOP 6 / 1
 0 / 1
UNINST_START 0 / 1
UNINST_PROGRESS 0 / 1
UNINST_PROGRESS 1 / 1
UNINST_STOP 1 / 1
t/05transaction.t .. 
ok 1 - Verify non existing database (get error)
ok 2 - initdb works
ok 3 - rebuild database
ok 4 - Verify empty
ok 5 - Create a new transaction
ok 6 - ts->traverse
ok 7 - Importing a public key
ok 8 - Reading the header works
ok 9 - Adding a package to transaction works
ok 10 - Checking transaction works
ok 11 - Run transaction order
ok 12 - 'Can retrieve pb from transaction' isa 'RPM4::Transaction::Problems'
ok 13 - Can get number of problems
ok 14 - Resetting problems counter
ok 15 - Can get problem description
ok 16 - Set transflags
ok 17 - Running test transaction with pkg obsoleting its deps
ok 18 - 'Can retrieve pb from transaction' isa 'RPM4::Transaction::Problems'
ok 19 - Can get number of problems
ok 20 - Resetting problems counter
ok 21 - Can get problem description
ok 22 - Resetting transaction
ok 23 - Reading the header works
ok 24 - Adding a package to transaction works
ok 25 - Can get name from te
ok 26 - Can get files from te
ok 27 - Can get type from te
ok 28 - traverse_transaction works
ok 29 - Checking transaction works
ok 30 - Run transaction order
ok 31 - Set transflags
ok 32 - Running transaction justdb
ok 33 - Running traverse on transaction
ok 34 - Can find header in transaction
ok 35 - Open existing database
ok 36 - Running traverse on DB
ok 37 - The previously installed rpm is found
ok 38 - Retrieve offset db
ok 39 - Try to remove a non existing rpm
ok 40 - Try to remove a rpm
ok 41 - Checking transaction works
ok 42 - Reseting current transaction
ok 43 - Removing pkg from header and offset
ok 44 - Run transaction order
ok 45 - Checking transaction works
ok 46 - Set transflags
ok 47 - Running transaction justdb
ok 48 - Running traverse
ok 49 - The previously removed rpm is not found
ok 50 - Adding a package to transaction with prefix
ok 51 - Run transaction order
ok 52 - Checking transaction works
ok 53 - Reseting current transaction
ok 54 - Adding a package to transaction with relocation works
ok 55 - Run transaction order
ok 56 - Checking transaction works
ok 57 - Reseting current transaction
ok 58 - 'ts->newspec' isa 'RPM4::Spec'
1..58
ok
warning: Certificate 2A97168AA1DF5C48:
  Policy rejects subkey 3542C53CD4A00947: Policy rejected asymmetric algorithm
t/06sign.t ......... 
1..4
ok 1 - Open a new database
ok 2 - checking a rpm, no checking the key
ok 3 - Importing a public key
ok 4 - checking a rpm file
ok
t/07changelogs.t ... 
1..1
ok 1 - 'Get changelogs object' isa 'RPM4::Header::Changelogs'
ok
t/07dep.t .......... 
1..43
ok 1 - 'Can get a dep for rpmlib' isa 'RPM4::Header::Dependencies'
ok 2 - '$htest' isa 'RPM4::Header'
ok 3 - '$hdep' isa 'RPM4::Header'
ok 4 - '$hdep->dep("CONFLICTNAME")' isa 'RPM4::Header::Dependencies'
ok 5 - '$hdep->dep("REQUIRENAME")' isa 'RPM4::Header::Dependencies'
ok 6 - '$hdep->dep("OBSOLETENAME")' isa 'RPM4::Header::Dependencies'
ok 7 - '$hdep->dep("PROVIDENAME")' isa 'RPM4::Header::Dependencies'
ok 8 - fetching triggers returns undef
ok 9 - Compare two header
ok 10 - Compare two header
ok 11 - test-rpm requires test-dep,  no
ok 12 - test-dep requires test-rpm,  yes
ok 13 - test-rpm obsoletes test-dep, no
ok 14 - test-dep obsoletes test-rpm, yes
ok 15 - test-rpm conflics test-dep,  no
ok 16 - test-dep conflicts test-rpm, yes
ok 17 - test-rpm trigger test-dep,   no
ok 18 - test-dep trigger test-rpm,   no
ok 19 - test-rpm provide test-dep,   no
ok 20 - test-dep provide test-rpm,   no
ok 21 - test-dep better than test-rpm: yes
ok 22 - test-rpm better than test-dep: no
ok 23 - 'New REQUIRENAME dependencies' isa 'RPM4::Header::Dependencies'
ok 24 - Build a new dep
ok 25 - Build a new dep
ok 26 - Build a new dep
ok 27 - dependencies number
ok 28 - Can move into dep
ok 29 - no further dependency
ok 30 - Add a dep entry into existing dep
ok 31 - Can get info from RPM4::Header::Dep
ok 32 - Can get info from RPM4::Header::Dep
ok 33 - Get dep name from RPM4::Header::Dep
ok 34 - Get dep flags from RPM4::Header::Dep
ok 35 - Get dep evr from RPM4::Header::Dep
ok 36 - compare two dep
ok 37 - compare two dep
ok 38 - Test single dep PROVIDE
ok 39 - Test single dep REQUIRE
ok 40 - Test single dep PROVIDE
ok 41 - Test single dep REQUIRE
ok 42 - Dependancy match header name: yes
ok 43 - Dependancy match header name: no
ok
t/07files.t ........ 
1..11
ok 1 - '$htest' isa 'RPM4::Header'
ok 2 - '$files' isa 'RPM4::Header::Files'
ok 3 - files count OK
ok 4 - filename OK
ok 5 - dirname OK
ok 6 - Can get Files::basename
ok 7 - Can get Files::fflags
ok 8 - md5 is OK
ok 9 - Can get Files::link
ok 10 - Can get Files::mode
ok 11 - Files::mode is positive value
ok
t/09hdlist.t ....... 
1..6
ok 1 - use RPM4;
ok 2 - use RPM4::Index;
ok 3 - RPM4::parserpms works
ok 4 - Creating a hdlist
ok 5 - Creating a synthesis
ok 6 - Creating a list file
ok
t/11media.t ........ 
1..1
ok 1 - use RPM4::Media;
ok

Test Summary Report
-------------------
t/04spec.t       (Wstat: 1280 (exited 5) Tests: 27 Failed: 5)
  Failed tests:  13-15, 17, 19
  Non-zero exit status: 5
Files=11, Tests=251, 122 wallclock secs ( 0.03 usr  0.03 sys +  0.66 cusr  4.24 csys =  4.96 CPU)
Result: FAIL
Failed 1/11 test programs. 5/251 subtests failed.
make: *** [Makefile:1006: test_dynamic] Error 255
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Z78EMi (%check)

RPM build warnings:
    /home/pterjan/rpmbuild/SPECS/perl-RPM4.spec line 52: autopatch: no matching patches in range

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