+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/perl-PkgConfig-LibPkgConf.spec            --define "debug_package %{nil}"            --undefine _annotated_build            --define "_missing_doc_files_terminate_build %{nil}"            --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d"            --define "_emacs_sitelispdir /usr/share/emacs/site-lisp"            --nocheck   ' mockbuild
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bxhtnf
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf PkgConfig-LibPkgConf-0.07
+ /usr/bin/gzip -dc /builddir/build/SOURCES/PkgConfig-LibPkgConf-0.07.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd PkgConfig-LibPkgConf-0.07
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GHoTy3
+ umask 022
+ cd /builddir/build/BUILD
+ cd PkgConfig-LibPkgConf-0.07
+ unset FFI_PLATYPUS_DEBUG
+ perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' NO_PACKLIST=1
Probe with Alien::pkgconf
(-I/usr/include/pkgconf , -lpkgconf , 1.4.1)
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for PkgConfig::LibPkgConf
Writing MYMETA.yml and MYMETA.json
+ make -j4
Running Mkbootstrap for LibPkgConf ()
"/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp"  -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/PkgConfig-LibPkgConf-0.07/typemap'  LibPkgConf.xs > LibPkgConf.xsc
chmod 644 "LibPkgConf.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- LibPkgConf.bs blib/arch/auto/PkgConfig/LibPkgConf/LibPkgConf.bs 644
cp lib/PkgConfig/LibPkgConf/Client.pm blib/lib/PkgConfig/LibPkgConf/Client.pm
cp lib/PkgConfig/LibPkgConf/Package.pm blib/lib/PkgConfig/LibPkgConf/Package.pm
cp lib/PkgConfig/LibPkgConf.pm blib/lib/PkgConfig/LibPkgConf.pm
cp lib/PkgConfig/LibPkgConf/Fragment.pm blib/lib/PkgConfig/LibPkgConf/Fragment.pm
cp lib/PkgConfig/LibPkgConf/Util.pm blib/lib/PkgConfig/LibPkgConf/Util.pm
cp lib/PkgConfig/LibPkgConf/Test.pm blib/lib/PkgConfig/LibPkgConf/Test.pm
cp lib/PkgConfig/LibPkgConf/XS.pm blib/lib/PkgConfig/LibPkgConf/XS.pm
Please specify prototyping behavior for LibPkgConf.xs (see perlxs manual)
mv LibPkgConf.xsc LibPkgConf.c
gcc -c   -I/usr/include/pkgconf  -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMY_PKGCONF_VERSION=1.4.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1    -DVERSION=\"0.07\" -DXS_VERSION=\"0.07\" -fPIC "-I/usr/lib64/perl5/CORE"   LibPkgConf.c
LibPkgConf.xs: In function 'XS_PkgConfig__LibPkgConf__Package__get_string':
LibPkgConf.xs:411:11: error: too few arguments to function 'pkgconf_fragment_render_len'
     len = pkgconf_fragment_render_len(&filtered_list, escape);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from LibPkgConf.xs:5:0:
/usr/include/pkgconf/libpkgconf/libpkgconf.h:292:20: note: declared here
 PKGCONF_API size_t pkgconf_fragment_render_len(const pkgconf_list_t *list, bool escape, const pkgconf_fragment_render_ops_t *ops);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
LibPkgConf.xs:415:5: error: too few arguments to function 'pkgconf_fragment_render_buf'
     pkgconf_fragment_render_buf(&filtered_list, SvPVX(RETVAL), len, escape);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from LibPkgConf.xs:5:0:
/usr/include/pkgconf/libpkgconf/libpkgconf.h:293:18: note: declared here
 PKGCONF_API void pkgconf_fragment_render_buf(const pkgconf_list_t *list, char *buf, size_t len, bool escape, const pkgconf_fragment_render_ops_t *ops);
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
LibPkgConf.c: In function 'XS_PkgConfig__LibPkgConf__Package__get_variable':
LibPkgConf.c:1048:16: warning: variable 'client' set but not used [-Wunused-but-set-variable]
  my_client_t * client;
                ^~~~~~
make: *** [Makefile:354: LibPkgConf.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.GHoTy3 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.GHoTy3 (%build)
++ cleanup
++ set +e
++ sync
++ sleep 5
++ sync
++ poweroff
Terminated
+++ cleanup
+++ set +e
+++ sync
Terminated
++++ cleanup
++++ set +e
++++ sync
++++ sleep 5
++++ sync
++++ poweroff