Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-Linux-Inotify2.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-86058-57624/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-Linux-Inotify2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl-Linux-Inotify2-2.3-3.oc9.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/perl-Linux-Inotify2.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-86058-57624/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/perl-Linux-Inotify2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kTdKD9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Linux-Inotify2-2.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Linux-Inotify2-2.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Linux-Inotify2-2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (Linux-Inotify2-2.3-use-File-Temp-for-temporary-dir.patch):' Patch #0 (Linux-Inotify2-2.3-use-File-Temp-for-temporary-dir.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file t/01_inotify.t + find . -type f -exec chmod -c -x '{}' ';' mode of './eg/event' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './eg/simple' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + find eg/ -type f -exec perl -MConfig -pi -e 's|^#!/opt/bin/perl|$Config{startperl}|' '{}' ';' + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/00_load.t + chmod +x t/00_load.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/01_inotify.t + chmod +x t/01_inotify.t + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5YYour + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Linux-Inotify2-2.3 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' NO_PACKLIST=1 NO_PERLLOCAL=1 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Linux::Inotify2 + /usr/bin/make -O -j32 V=1 VERBOSE=1 Running Mkbootstrap for Inotify2 () chmod 644 "Inotify2.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Inotify2.bs blib/arch/auto/Linux/Inotify2/Inotify2.bs 644 cp Inotify2.pm blib/lib/Linux/Inotify2.pm "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' Inotify2.xs > Inotify2.xsc mv Inotify2.xsc Inotify2.c gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DVERSION=\"2.3\" -DXS_VERSION=\"2.3\" -fPIC "-I/usr/lib64/perl5/CORE" Inotify2.c In file included from Inotify2.xs:5: Inotify2.c: In function 'XS_Linux__Inotify2_inotify_blocking': /usr/lib64/perl5/CORE/XSUB.h:189:28: warning: unused variable 'targ' [-Wunused-variable] 189 | #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ | ^~~~ /usr/lib64/perl5/CORE/XSUB.h:189:28: note: in definition of macro 'dXSTARG' 189 | #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ | ^~~~ Inotify2.c:242:17: warning: unused variable 'RETVAL' [-Wunused-variable] 242 | int RETVAL; | ^~~~~~ Inotify2.xs: In function 'XS_Linux__Inotify2_inotify_read': Inotify2.xs:76:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 76 | if (got < 0) | ^ rm -f blib/arch/auto/Linux/Inotify2/Inotify2.so gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/local/lib -fstack-protector-strong Inotify2.o -o blib/arch/auto/Linux/Inotify2/Inotify2.so \ -lperl \ chmod 755 blib/arch/auto/Linux/Inotify2/Inotify2.so Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.A3zkb0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64 + cd Linux-Inotify2-2.3 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64 'INSTALL=/usr/bin/install -p' "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Inotify2.bs blib/arch/auto/Linux/Inotify2/Inotify2.bs 644 Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64/usr/lib64/perl5/vendor_perl/auto/Linux/Inotify2/Inotify2.so Installing /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64/usr/lib64/perl5/vendor_perl/Linux/Inotify2.pm Installing /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64/usr/share/man/man3/Linux::Inotify2.3pm + find /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64 -type f -name '*.bs' -a -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64/usr + mkdir -p /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64/usr/libexec/perl-Linux-Inotify2 + cp -a t /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64/usr/libexec/perl-Linux-Inotify2 + cat + chmod +x /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64/usr/libexec/perl-Linux-Inotify2/test + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.3-3.oc9 --unique-debug-suffix -2.3-3.oc9.x86_64 --unique-debug-src-base perl-Linux-Inotify2-2.3-3.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/Linux-Inotify2-2.3 extracting debug info from /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64/usr/lib64/perl5/vendor_perl/auto/Linux/Inotify2/Inotify2.so 28 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs *** WARNING: ./usr/libexec/perl-Linux-Inotify2/test is executable but has no shebang, removing executable bit + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: perl-Linux-Inotify2-2.3-3.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.aLoCls + umask 022 + cd /builddir/build/BUILD + cd Linux-Inotify2-2.3 + DOCDIR=/builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64/usr/share/doc/perl-Linux-Inotify2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64/usr/share/doc/perl-Linux-Inotify2 + cp -pr Changes /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64/usr/share/doc/perl-Linux-Inotify2 + cp -pr README /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64/usr/share/doc/perl-Linux-Inotify2 + cp -pr eg/ /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64/usr/share/doc/perl-Linux-Inotify2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.bCzn3J + umask 022 + cd /builddir/build/BUILD + cd Linux-Inotify2-2.3 + LICENSEDIR=/builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64/usr/share/licenses/perl-Linux-Inotify2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64/usr/share/licenses/perl-Linux-Inotify2 + cp -pr COPYING /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64/usr/share/licenses/perl-Linux-Inotify2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(Linux::Inotify2) = 2.3 perl(Linux::Inotify2::Event) perl(Linux::Inotify2::Watch) perl-Linux-Inotify2 = 2.3-3.oc9 perl-Linux-Inotify2(x86-64) = 2.3-3.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.4)(64bit) libperl.so.5.36()(64bit) perl(:MODULE_COMPAT_5.36.0) perl(Exporter) perl(Scalar::Util) perl(common::sense) perl-libs rtld(GNU_HASH) Processing files: perl-Linux-Inotify2-tests-2.3-3.oc9.x86_64 Provides: perl-Linux-Inotify2-tests = 2.3-3.oc9 perl-Linux-Inotify2-tests(x86-64) = 2.3-3.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl perl(File::Temp) perl(Linux::Inotify2) perl(Test::Simple) Processing files: perl-Linux-Inotify2-debugsource-2.3-3.oc9.x86_64 Provides: perl-Linux-Inotify2-debugsource = 2.3-3.oc9 perl-Linux-Inotify2-debugsource(x86-64) = 2.3-3.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Linux-Inotify2-debuginfo-2.3-3.oc9.x86_64 Provides: debuginfo(build-id) = 3c53b34ace6af2f60884545d96d31d7875354038 perl-Linux-Inotify2-debuginfo = 2.3-3.oc9 perl-Linux-Inotify2-debuginfo(x86-64) = 2.3-3.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Linux-Inotify2-debugsource(x86-64) = 2.3-3.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Linux-Inotify2-2.3-3.oc9.x86_64 Wrote: /builddir/build/RPMS/perl-Linux-Inotify2-tests-2.3-3.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/perl-Linux-Inotify2-debugsource-2.3-3.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/perl-Linux-Inotify2-debuginfo-2.3-3.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/perl-Linux-Inotify2-2.3-3.oc9.x86_64.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0