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/postgresql-ip4r.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-106084-66708/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/postgresql-ip4r.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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/postgresql-ip4r-2.4.1-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/postgresql-ip4r.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-106084-66708/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 /builddir/build/SPECS/postgresql-ip4r.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 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iCJMCc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ip4r-2.4.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/postgresql-ip4r-2.4.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ip4r-2.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.elSsWz + 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 ip4r-2.4.1 + /usr/bin/make -O -j32 V=1 VERBOSE=1 PG_CONFIG=/usr/bin/pg_server_config gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -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 -fPIC -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o src/ip4r_module.o src/ip4r_module.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -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 -fPIC -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o src/raw_io.o src/raw_io.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -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 -fPIC -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o src/ipaddr.o src/ipaddr.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -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 -fPIC -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o src/ip4r.o src/ip4r.c src/ip4r.c: In function 'ip4r_cast_to_bit': src/ip4r.c:907:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 907 | if (bits > 32) | ^~ src/ip4r.c:910:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 910 | len = VARBITTOTALLEN(bits); | ^~~ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -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 -fPIC -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o src/ip6r.o src/ip6r.c src/ip6r.c: In function 'ip6r_cast_to_bit': src/ip6r.c:981:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 981 | if (bits > 128) | ^~ src/ip6r.c:984:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 984 | len = VARBITTOTALLEN(bits); | ^~~ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -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 -fPIC -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o src/iprange.o src/iprange.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -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 -fPIC -shared -o ip4r.so src/ip4r_module.o src/ip4r.o src/ip6r.o src/ipaddr.o src/iprange.o src/raw_io.o -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--as-needed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uZLkdn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64 + cd ip4r-2.4.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64 'INSTALL=/usr/bin/install -p' PG_CONFIG=/usr/bin/pg_server_config /usr/bin/mkdir -p '/builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64/usr/lib64/pgsql' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64/usr/share/pgsql/extension' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64/usr/share/pgsql/extension' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64/usr/share/doc/pgsql/extension' /usr/bin/install -p -m 755 ip4r.so '/builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64/usr/lib64/pgsql/ip4r.so' /usr/bin/install -p -m 644 .//ip4r.control '/builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64/usr/share/pgsql/extension/' /usr/bin/install -p -m 644 .//scripts/ip4r--2.4.sql .//scripts/ip4r--2.2--2.4.sql .//scripts/ip4r--2.1--2.2.sql .//scripts/ip4r--2.0--2.1.sql .//scripts/ip4r--unpackaged2.1--2.1.sql .//scripts/ip4r--unpackaged2.0--2.0.sql .//scripts/ip4r--unpackaged1--2.0.sql '/builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64/usr/share/pgsql/extension/' /usr/bin/install -p -m 644 .//README.ip4r '/builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64/usr/share/doc/pgsql/extension/' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64/usr/include/pgsql/server/extension/ip4r/' /usr/bin/install -p -m 644 .//src/ipr.h '/builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64/usr/include/pgsql/server/extension/ip4r/' + /usr/bin/rm /builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64/usr/share/doc/pgsql/extension/README.ip4r + /usr/bin/rm -r /builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64/usr/include/pgsql + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.4.1-1.oc9 --unique-debug-suffix -2.4.1-1.oc9.x86_64 --unique-debug-src-base postgresql-ip4r-2.4.1-1.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/ip4r-2.4.1 extracting debug info from /builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64/usr/lib64/pgsql/ip4r.so 401 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 + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: postgresql-ip4r-2.4.1-1.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MUCGuh + umask 022 + cd /builddir/build/BUILD + cd ip4r-2.4.1 + DOCDIR=/builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64/usr/share/doc/postgresql-ip4r + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64/usr/share/doc/postgresql-ip4r + cp -pr README.ip4r /builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64/usr/share/doc/postgresql-ip4r + RPM_EC=0 ++ jobs -p + exit 0 Provides: postgresql-ip4r = 2.4.1-1.oc9 postgresql-ip4r(x86-64) = 2.4.1-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): postgresql-server(:MODULE_COMPAT_15) Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: postgresql-ip4r-debugsource-2.4.1-1.oc9.x86_64 Provides: postgresql-ip4r-debugsource = 2.4.1-1.oc9 postgresql-ip4r-debugsource(x86-64) = 2.4.1-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: postgresql-ip4r-debuginfo-2.4.1-1.oc9.x86_64 Provides: debuginfo(build-id) = 21765e4da14bdaf37d21dde2aea835a9bd039ea3 postgresql-ip4r-debuginfo = 2.4.1-1.oc9 postgresql-ip4r-debuginfo(x86-64) = 2.4.1-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: postgresql-ip4r-debugsource(x86-64) = 2.4.1-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/postgresql-ip4r-2.4.1-1.oc9.x86_64 Wrote: /builddir/build/RPMS/postgresql-ip4r-debugsource-2.4.1-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/postgresql-ip4r-2.4.1-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/postgresql-ip4r-debuginfo-2.4.1-1.oc9.x86_64.rpm Child return code was: 0