+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/perl-Event-Lib.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.NUVXPW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Event-Lib-1.03 + /usr/bin/gzip -dc /builddir/build/SOURCES/Event-Lib-1.03.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Event-Lib-1.03 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (lib-event.patch):' Patch #0 (lib-event.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .orig --fuzz=0 patching file Lib.xs + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WAxnzJ + umask 022 + cd /builddir/build/BUILD + cd Event-Lib-1.03 + /usr/bin/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 ' INC=-I/usr/include 'LIBS=-L/usr/lib64 -levent' Checking existance of libevent...yes Checking capabilities... event_set_log_callback...yes event_priority_init...yes Additional defines: -DHAVE_LOG_CALLBACKS -DHAVE_PRIORITIES Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Event::Lib Writing MYMETA.yml and MYMETA.json + make -j4 Running Mkbootstrap for Lib () "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/Event-Lib-1.03/typemap' Lib.xs > Lib.xsc chmod 644 "Lib.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Lib.bs blib/arch/auto/Event/Lib/Lib.bs 644 cp lib/Event/Lib.pm blib/lib/Event/Lib.pm mv Lib.xsc Lib.c gcc -c -I/usr/include -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 -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=\"1.03\" -DXS_VERSION=\"1.03\" -fPIC "-I/usr/lib64/perl5/CORE" -DHAVE_CONFIG_H -DHAVE_LOG_CALLBACKS -DHAVE_PRIORITIES Lib.c Lib.xs: In function 'refresh_event': Lib.xs:131:14: error: 'struct event' has no member named 'ev_arg'; did you mean 'ev_fd'? args->ev.ev_arg = (void*)sv; ^~~~~~ ev_fd In file included from /usr/lib64/perl5/CORE/perl.h:2698:0, from Lib.xs:9: Lib.xs: In function 'do_callback': Lib.xs:211:33: error: 'struct event' has no member named 'ev_arg'; did you mean 'ev_fd'? SvREFCNT_dec((SV*)args->ev.ev_arg); ^ /usr/lib64/perl5/CORE/handy.h:64:41: note: in definition of macro 'MUTABLE_PTR' # define MUTABLE_PTR(p) ({ void *_p = (p); _p; }) ^ /usr/lib64/perl5/CORE/sv.h:349:47: note: in expansion of macro 'MUTABLE_SV' #define SvREFCNT_dec(sv) S_SvREFCNT_dec(aTHX_ MUTABLE_SV(sv)) ^~~~~~~~~~ Lib.xs:211:6: note: in expansion of macro 'SvREFCNT_dec' SvREFCNT_dec((SV*)args->ev.ev_arg); ^~~~~~~~~~~~ In file included from Lib.xs:10:0: Lib.c: In function 'XS_Event__Lib_event_get_method': /usr/lib64/perl5/CORE/XSUB.h:191:20: warning: unused variable 'ix' [-Wunused-variable] #define dXSI32 I32 ix = XSANY.any_i32 ^ Lib.c:573:5: note: in expansion of macro 'dXSI32' dXSI32; ^~~~~~ Lib.c: In function 'XS_Event__Lib_event_get_version': /usr/lib64/perl5/CORE/XSUB.h:191:20: warning: unused variable 'ix' [-Wunused-variable] #define dXSI32 I32 ix = XSANY.any_i32 ^ Lib.c:591:5: note: in expansion of macro 'dXSI32' dXSI32; ^~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:2698:0, from Lib.xs:9: Lib.xs: In function 'XS_Event__Lib_event_add': Lib.xs:585:29: error: 'struct event' has no member named 'ev_arg'; did you mean 'ev_fd'? SvREFCNT_inc((SV*)args->ev.ev_arg); ^ /usr/lib64/perl5/CORE/handy.h:64:41: note: in definition of macro 'MUTABLE_PTR' # define MUTABLE_PTR(p) ({ void *_p = (p); _p; }) ^ /usr/lib64/perl5/CORE/sv.h:338:42: note: in expansion of macro 'MUTABLE_SV' #define SvREFCNT_inc(sv) S_SvREFCNT_inc(MUTABLE_SV(sv)) ^~~~~~~~~~ Lib.xs:585:2: note: in expansion of macro 'SvREFCNT_inc' SvREFCNT_inc((SV*)args->ev.ev_arg); ^~~~~~~~~~~~ Lib.xs: In function 'XS_Event__Lib__base_remove': Lib.xs:692:33: error: 'struct event' has no member named 'ev_arg'; did you mean 'ev_fd'? SvREFCNT_dec((SV*)args->ev.ev_arg); ^ /usr/lib64/perl5/CORE/handy.h:64:41: note: in definition of macro 'MUTABLE_PTR' # define MUTABLE_PTR(p) ({ void *_p = (p); _p; }) ^ /usr/lib64/perl5/CORE/sv.h:349:47: note: in expansion of macro 'MUTABLE_SV' #define SvREFCNT_dec(sv) S_SvREFCNT_dec(aTHX_ MUTABLE_SV(sv)) ^~~~~~~~~~ Lib.xs:692:6: note: in expansion of macro 'SvREFCNT_dec' SvREFCNT_dec((SV*)args->ev.ev_arg); ^~~~~~~~~~~~ make: *** [Makefile:345: Lib.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.WAxnzJ (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.WAxnzJ (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff