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/optipng.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-154943-9986/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fbd9a106ed0>timeout=86400uid=981gid=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/optipng.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/optipng-0.7.8-1.ocs23.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/optipng.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-154943-9986/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fbd9a106ed0>timeout=86400uid=981gid=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/optipng.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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.CxnarT
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf optipng-0.7.8
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/optipng-0.7.8.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd optipng-0.7.8
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ for f in AUTHORS.txt doc/history.txt
+ iconv -f iso-8859-1 -t utf-8 AUTHORS.txt
+ mv AUTHORS.txt.utf8 AUTHORS.txt
+ for f in AUTHORS.txt doc/history.txt
+ iconv -f iso-8859-1 -t utf-8 doc/history.txt
+ mv doc/history.txt.utf8 doc/history.txt
+ rm -rf src/libpng src/zlib
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aIM1AH
+ 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 optipng-0.7.8
+ 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
+ ./configure -prefix=/usr -mandir=/usr/share/man -with-system-zlib -with-system-libpng
Checking for gcc...
Checking for system libpng...
Checking for system zlib...
+ /usr/bin/make -O -j32 V=1 VERBOSE=1
cd src/optipng && \
/usr/bin/make && \
cd ../..
cd ../../src/opngreduc && \
/usr/bin/make -f Makefile libopngreduc.a && \
cd ../../src/optipng
cd ../../src/gifread && \
/usr/bin/make -f Makefile libgifread.a && \
cd ../../src/optipng
cd ../../src/pnmio && \
/usr/bin/make -f Makefile libpnmio.a && \
cd ../../src/optipng
cd ../../src/minitiff && \
/usr/bin/make -f Makefile libminitiff.a && \
cd ../../src/optipng
make[1]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/optipng'
gcc -c  -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../../third_party/cexcept   -I../../src/opngreduc -I../../src/pngxtern -o wildargs.o wildargs.c
make[1]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/optipng'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/pnmio'
gcc -c  -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 -o pnmutil.o pnmutil.c
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/pnmio'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/minitiff'
gcc -c  -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 -o tiffutil.o tiffutil.c
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/minitiff'
make[1]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/optipng'
gcc -c  -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../../third_party/cexcept   -I../../src/opngreduc -I../../src/pngxtern -o bitset.o bitset.c
make[1]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/optipng'
make[1]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/optipng'
gcc -c  -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../../third_party/cexcept   -I../../src/opngreduc -I../../src/pngxtern -o ratio.o ratio.c
make[1]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/optipng'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/pnmio'
gcc -c  -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 -o pnmout.o pnmout.c
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/pnmio'
make[1]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/optipng'
gcc -c  -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../../third_party/cexcept   -I../../src/opngreduc -I../../src/pngxtern -o ioutil.o ioutil.c
make[1]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/optipng'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/pnmio'
gcc -c  -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 -o pnmin.o pnmin.c
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/pnmio'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/pnmio'
ar cru libpnmio.a pnmin.o pnmout.o pnmutil.o
ranlib libpnmio.a
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/pnmio'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/minitiff'
gcc -c  -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 -o tiffread.o tiffread.c
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/minitiff'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/minitiff'
ar cru libminitiff.a tiffread.o tiffutil.o 
ranlib libminitiff.a
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/minitiff'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/gifread'
gcc -c  -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 -o gifread.o gifread.c
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/gifread'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/gifread'
ar cru libgifread.a gifread.o
ranlib libgifread.a
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/gifread'
cd ../../src/pngxtern && \
/usr/bin/make -f Makefile libpngxtern.a && \
cd ../../src/optipng
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
gcc -c  -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../gifread -I../pnmio -I../minitiff -o pngxio.o pngxio.c
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
gcc -c  -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../gifread -I../pnmio -I../minitiff -o pngxset.o pngxset.c
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
gcc -c  -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../gifread -I../pnmio -I../minitiff -o pngxmem.o pngxmem.c
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
gcc -c  -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../gifread -I../pnmio -I../minitiff -o pngxrjpg.o pngxrjpg.c
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
gcc -c  -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../gifread -I../pnmio -I../minitiff -o pngxread.o pngxread.c
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
gcc -c  -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../gifread -I../pnmio -I../minitiff -o pngxrgif.o pngxrgif.c
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
gcc -c  -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../gifread -I../pnmio -I../minitiff -o pngxrtif.o pngxrtif.c
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
gcc -c  -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../gifread -I../pnmio -I../minitiff -o pngxrpnm.o pngxrpnm.c
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/opngreduc'
gcc -c  -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  -o opngreduc.o opngreduc.c
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/opngreduc'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/opngreduc'
ar cru libopngreduc.a opngreduc.o
ranlib libopngreduc.a
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/opngreduc'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
gcc -c  -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../gifread -I../pnmio -I../minitiff -o pngxrbmp.o pngxrbmp.c
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
ar cru libpngxtern.a pngxread.o pngxrbmp.o pngxrgif.o pngxrjpg.o pngxrpnm.o pngxrtif.o pngxio.o pngxmem.o pngxset.o
ranlib libpngxtern.a
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/pngxtern'
make[1]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/optipng'
gcc -c  -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../../third_party/cexcept   -I../../src/opngreduc -I../../src/pngxtern -o optipng.o optipng.c
make[1]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/optipng'
make[1]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/optipng'
gcc -c  -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../../third_party/cexcept   -I../../src/opngreduc -I../../src/pngxtern -o optim.o optim.c
make[1]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/optipng'
make[1]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/optipng'
gcc -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o optipng optipng.o optim.o bitset.o ioutil.o ratio.o wildargs.o ../../src/opngreduc/libopngreduc.a ../../src/pngxtern/libpngxtern.a   ../../src/gifread/libgifread.a ../../src/pnmio/libpnmio.a ../../src/minitiff/libminitiff.a -lpng -lz -lm 
make[1]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/optipng'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Xl0RhD
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64
++ dirname /builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64
+ cd optipng-0.7.8
+ rm -rf /builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64 'INSTALL=/usr/bin/install -p'
cd src/optipng && \
/usr/bin/make install && \
cd ../..
make[1]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/optipng'
mkdir -p /builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64/usr/bin
mkdir -p /builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64/usr/share/man/man1
cp -f -p optipng /builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64/usr/bin
cp -f -p man/optipng.1 /builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64/usr/share/man/man1
make[1]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/optipng'
+ chmod -c 755 /builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64/usr/bin/optipng
+ /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.7.8-1.ocs23 --unique-debug-suffix -0.7.8-1.ocs23.x86_64 --unique-debug-src-base optipng-0.7.8-1.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/optipng-0.7.8
extracting debug info from /builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64/usr/bin/optipng
632 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
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.RxBoEI
+ 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 optipng-0.7.8
+ /usr/bin/make test
cd src/optipng && \
/usr/bin/make test && \
cd ../..
make[1]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/optipng'
gcc -c -I.  -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 -o test/bitset_test.o test/bitset_test.c
gcc -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o test/bitset_test \
  test/bitset_test.o bitset.o 
gcc -c -I.  -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 -o test/ratio_test.o test/ratio_test.c
gcc -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o test/ratio_test \
  test/ratio_test.o ratio.o 
./optipng -o1 -q img/pngtest.png -out=pngtest.out.png
optipng ... ok
test/bitset_test > test/bitset_test.out
bitset_test ... ok
test/ratio_test > test/ratio_test.out
ratio_test ... ok
cd ../../src/gifread && \
/usr/bin/make -f Makefile test && \
cd ../../src/optipng
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/gifread'
gcc -c -I.  -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 -o test/gifdump.o test/gifdump.c
gcc -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o test/gifdump test/gifdump.o libgifread.a 
test/gifdump img/compass.gif > test/compass.gifdump.out
gifdump test ... ok
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/gifread'
cd ../../src/minitiff && \
/usr/bin/make -f Makefile test && \
cd ../../src/optipng
make[2]: Entering directory '/builddir/build/BUILD/optipng-0.7.8/src/minitiff'
gcc -c  -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 -o test/tiff2pnm.o test/tiff2pnm.c
In function 'tiff2pnm',
    inlined from 'main' at test/tiff2pnm.c:105:13:
test/tiff2pnm.c:94:5: warning: pointer used after 'fclose' [-Wuse-after-free]
   94 |     fclose(out_stream);
      |     ^~~~~~~~~~~~~~~~~~
test/tiff2pnm.c:84:9: note: call to 'fclose' here
   84 |         fclose(out_stream);
      |         ^~~~~~~~~~~~~~~~~~
test/tiff2pnm.c:94:5: warning: pointer used after 'fclose' [-Wuse-after-free]
   94 |     fclose(out_stream);
      |     ^~~~~~~~~~~~~~~~~~
test/tiff2pnm.c:84:9: note: call to 'fclose' here
   84 |         fclose(out_stream);
      |         ^~~~~~~~~~~~~~~~~~
test/tiff2pnm.c:94:5: warning: pointer used after 'fclose' [-Wuse-after-free]
   94 |     fclose(out_stream);
      |     ^~~~~~~~~~~~~~~~~~
test/tiff2pnm.c:84:9: note: call to 'fclose' here
   84 |         fclose(out_stream);
      |         ^~~~~~~~~~~~~~~~~~
gcc -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o test/tiff2pnm test/tiff2pnm.o libminitiff.a 
make[2]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/minitiff'
make[1]: Leaving directory '/builddir/build/BUILD/optipng-0.7.8/src/optipng'
+ RPM_EC=0
Processing files: optipng-0.7.8-1.ocs23.x86_64
++ jobs -p
+ exit 0
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TRwYE9
+ umask 022
+ cd /builddir/build/BUILD
+ cd optipng-0.7.8
+ DOCDIR=/builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64/usr/share/doc/optipng
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64/usr/share/doc/optipng
+ cp -pr AUTHORS.txt /builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64/usr/share/doc/optipng
+ cp -pr README.txt /builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64/usr/share/doc/optipng
+ cp -pr doc/history.txt doc/optipng.man.html doc/optipng.man.pdf doc/optipng.man.txt doc/png_optimization.html doc/todo.txt /builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64/usr/share/doc/optipng
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.as39BF
+ umask 022
+ cd /builddir/build/BUILD
+ cd optipng-0.7.8
+ LICENSEDIR=/builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64/usr/share/licenses/optipng
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64/usr/share/licenses/optipng
+ cp -pr LICENSE.txt /builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64/usr/share/licenses/optipng
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: optipng = 0.7.8-1.ocs23 optipng(x86-64) = 0.7.8-1.ocs23
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.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH)
Processing files: optipng-debugsource-0.7.8-1.ocs23.x86_64
Provides: optipng-debugsource = 0.7.8-1.ocs23 optipng-debugsource(x86-64) = 0.7.8-1.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: optipng-debuginfo-0.7.8-1.ocs23.x86_64
Provides: debuginfo(build-id) = f6d25ab34ad0108415285de8b90a07c0e1c8e8c1 optipng-debuginfo = 0.7.8-1.ocs23 optipng-debuginfo(x86-64) = 0.7.8-1.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: optipng-debugsource(x86-64) = 0.7.8-1.ocs23
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/optipng-0.7.8-1.ocs23.x86_64
Wrote: /builddir/build/RPMS/optipng-debugsource-0.7.8-1.ocs23.x86_64.rpm
Wrote: /builddir/build/RPMS/optipng-0.7.8-1.ocs23.x86_64.rpm
Wrote: /builddir/build/RPMS/optipng-debuginfo-0.7.8-1.ocs23.x86_64.rpm
Child return code was: 0