Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/miniupnpc.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1622674318.160474/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lyrtrylj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lyrtrylj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3d76b14c632b44819c905c768f0991d4', '-D', '/var/lib/mock/epel-7-x86_64-1622674318.160474/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lyrtrylj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/miniupnpc.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/miniupnpc-2.2.2-1.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/miniupnpc.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1622674318.160474/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lyrtrylj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lyrtrylj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7a5fb21a30b54e10825987383f3af7e9', '-D', '/var/lib/mock/epel-7-x86_64-1622674318.160474/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lyrtrylj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/miniupnpc.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CTSpHK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf miniupnpc-2.2.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/miniupnpc-2.2.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd miniupnpc-2.2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/USAGE . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PflE7Q + umask 022 + cd /builddir/build/BUILD + cd miniupnpc-2.2.2 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + LDFLAGS='-Wl,-z,relro ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_ext /bin/sh updateminiupnpcstrings.sh which: no lsb_release in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin) Detected OS [Linux] version [5.11.20-300.fc34.x86_64] MiniUPnPc version [2.2.2] setting OS_STRING macro value to Linux/5.11.20-300.fc34.x86_64 in miniupnpcstrings.h. setting MINIUPNPC_VERSION_STRING macro value to 2.2.2 in miniupnpcstrings.h. cc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o miniwget.o miniwget.c cc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o minixml.o minixml.c cc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o igd_desc_parse.o igd_desc_parse.c cc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o minisoap.o minisoap.c cc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o miniupnpc.o miniupnpc.c cc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o upnpreplyparse.o upnpreplyparse.c cc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o upnpcommands.o upnpcommands.c cc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o upnperrors.o upnperrors.c cc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o connecthostport.o connecthostport.c cc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o portlistingparse.o portlistingparse.c cc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o receivedata.o receivedata.c cc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o upnpdev.o upnpdev.c cc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o addr_is_reserved.o addr_is_reserved.c cc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o minissdpc.o minissdpc.c ar crs libminiupnpc.a miniwget.o minixml.o igd_desc_parse.o minisoap.o miniupnpc.o upnpreplyparse.o upnpcommands.o upnperrors.o connecthostport.o portlistingparse.o receivedata.o upnpdev.o addr_is_reserved.o minissdpc.o building 'miniupnpc' extension creating build creating build/temp.linux-x86_64-3.6 gcc -pthread -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I/usr/include/python3.6m -c miniupnpcmodule.c -o build/temp.linux-x86_64-3.6/miniupnpcmodule.o creating build/lib.linux-x86_64-3.6 gcc -pthread -shared -Wl,-z,relro -g -Wl,-z,relro -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic build/temp.linux-x86_64-3.6/miniupnpcmodule.o libminiupnpc.a -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/miniupnpc.cpython-36m-x86_64-linux-gnu.so + sleep 1 + /usr/bin/make -j2 cc -fPIC -O -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o upnpc.o upnpc.c cc -fPIC -O -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o listdevices.o listdevices.c cc -shared -Wl,-soname,libminiupnpc.so.17 -o libminiupnpc.so miniwget.o minixml.o igd_desc_parse.o minisoap.o miniupnpc.o upnpreplyparse.o upnpcommands.o upnperrors.o connecthostport.o portlistingparse.o receivedata.o upnpdev.o addr_is_reserved.o minissdpc.o cc listdevices.o libminiupnpc.a -o listdevices cc -o upnpc-static upnpc.o libminiupnpc.a cc -o upnpc-shared upnpc.o libminiupnpc.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.X2FH04 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64 + cd miniupnpc-2.2.2 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + LDFLAGS='-Wl,-z,relro ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr creating /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/lib64/python3.6 creating /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/lib64/python3.6/site-packages copying build/lib.linux-x86_64-3.6/miniupnpc.cpython-36m-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/lib64/python3.6/site-packages writing byte-compilation script '/tmp/tmpwwkyuzu_.py' /usr/bin/python3 /tmp/tmpwwkyuzu_.py removing /tmp/tmpwwkyuzu_.py running install_egg_info running egg_info creating miniupnpc.egg-info writing miniupnpc.egg-info/PKG-INFO writing dependency_links to miniupnpc.egg-info/dependency_links.txt writing top-level names to miniupnpc.egg-info/top_level.txt writing manifest file 'miniupnpc.egg-info/SOURCES.txt' reading manifest file 'miniupnpc.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'miniupnpc.egg-info/SOURCES.txt' Copying miniupnpc.egg-info to /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/lib64/python3.6/site-packages/miniupnpc-2.2.2-py3.6.egg-info running install_scripts + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64 INSTALLPREFIX=/usr LIBDIR=lib64 cp miniupnpc.h miniupnpc.h.bak sed 's/\(.*MINIUPNPC_API_VERSION\s\+\)[0-9]\+/\117/' < miniupnpc.h.bak > miniupnpc.h rm -f miniupnpc.pc echo "prefix=/usr" >> miniupnpc.pc echo "exec_prefix=\${prefix}" >> miniupnpc.pc echo "libdir=\${exec_prefix}/lib64" >> miniupnpc.pc echo "includedir=\${prefix}/include" >> miniupnpc.pc echo "" >> miniupnpc.pc echo "Name: miniUPnPc" >> miniupnpc.pc echo "Description: UPnP IGD client lightweight library" >> miniupnpc.pc echo "Version: 2.2.2" >> miniupnpc.pc echo "Libs: -L\${libdir} -lminiupnpc" >> miniupnpc.pc echo "Cflags: -I\${includedir}" >> miniupnpc.pc install -d /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/include/miniupnpc install -m 644 miniupnpc.h miniwget.h upnpcommands.h igd_desc_parse.h upnpreplyparse.h upnperrors.h miniupnpctypes.h portlistingparse.h upnpdev.h miniupnpc_declspec.h /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/include/miniupnpc install -d /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/lib64 install -m 644 libminiupnpc.a /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/lib64 install -m 644 libminiupnpc.so /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/lib64/libminiupnpc.so.17 ln -fs libminiupnpc.so.17 /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/lib64/libminiupnpc.so install -d /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/lib64/pkgconfig install -m 644 miniupnpc.pc /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/lib64/pkgconfig install -d /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/bin install -m 755 upnpc-shared /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/bin/upnpc install -m 755 external-ip.sh /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/bin/external-ip install -d /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/share/man/man3 install -m 644 man3/miniupnpc.3 /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/share/man/man3/miniupnpc.3 gzip -f /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/share/man/man3/miniupnpc.3 + chmod +x /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/lib64/libminiupnpc.so.17 + rm /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/lib64/libminiupnpc.a + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/miniupnpc-2.2.2 extracting debug info from /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/bin/upnpc extracting debug info from /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/lib64/libminiupnpc.so.17 extracting debug info from /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/lib64/python3.6/site-packages/miniupnpc.cpython-36m-x86_64-linux-gnu.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 1 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/libminiupnpc.so.17.debug to /usr/lib/debug/usr/lib64/libminiupnpc.so.debug 375 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/lib/debug/usr/lib64/python3.6 using /usr/bin/python3.6 Bytecompiling .py files below /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/lib64/python3.6 using /usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.iZuW7k + umask 022 + cd /builddir/build/BUILD + cd miniupnpc-2.2.2 + make 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DMINIUPNPC_SET_SOCKET_TIMEOUT' check cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o minixmlvalid.o minixmlvalid.c cc minixmlvalid.o minixml.o -o minixmlvalid minixml validation test ./minixmlvalid 17 events touch validateminixml cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o testminiwget.o testminiwget.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o minissdpc.o minissdpc.c cc testminiwget.o miniwget.o connecthostport.o receivedata.o minissdpc.o -o testminiwget cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o minihttptestserver.o minihttptestserver.c cc minihttptestserver.o -o minihttptestserver miniwget validation test ./testminiwget.sh which: no ifconfig in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin) which: no ip in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin) ./testminiwget.sh: line 36: /sbin/ifconfig: No such file or directory Test HTTP server is listening on 43783 standard test ... local address : 127.0.0.1 got 16384 bytes 16384 bytes written to /tmp/miniwgetPzTDq9OEik/downloadedfile.1 ok chunked transfert encoding test ... local address : 127.0.0.1 got 16384 bytes 16384 bytes written to /tmp/miniwgetPzTDq9OEik/downloadedfile.2 ok response too long test ... local address : 127.0.0.1 got 16384 bytes 16384 bytes written to /tmp/miniwgetPzTDq9OEik/downloadedfile.3 ok malformed response test ... Error -1 fetching http://localhost:43783/malformed ./testminiwget.sh: line 108: 467 Terminated ./minihttptestserver $SERVERARGS -e $EXPECTEDFILE > $HTTPSERVEROUT touch validateminiwget cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o testupnpreplyparse.o testupnpreplyparse.c cc testupnpreplyparse.o minixml.o upnpreplyparse.o -o testupnpreplyparse upnpreplyparse validation test ./testupnpreplyparse.sh testreplyparse/DeletePortMapping.xml : passed testreplyparse/GetExternalIPAddress.xml : passed testreplyparse/GetSpecificPortMappingEntryReq.xml : passed testreplyparse/GetSpecificPortMappingEntryResp.xml : passed testreplyparse/SetDefaultConnectionService.xml : passed touch validateupnpreplyparse cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o testportlistingparse.o testportlistingparse.c cc testportlistingparse.o minixml.o portlistingparse.o -o testportlistingparse portlistingparse validation test ./testportlistingparse 0 TCP 12345->192.168.1.137:12345 'dooom A' '134.231.2.11' 347 1 TCP 2345->192.168.1.137:2349 'dooom' '202.233.2.1' 346 2 UDP 5002->192.168.1.123:4001 'xxx' '' 0 test of portlistingparse OK touch validateportlistingparse cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o testigddescparse.o testigddescparse.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o miniupnpc.o miniupnpc.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o upnpcommands.o upnpcommands.c cc testigddescparse.o igd_desc_parse.o minixml.o miniupnpc.o miniwget.o upnpcommands.o upnpreplyparse.o minisoap.o connecthostport.o receivedata.o portlistingparse.o addr_is_reserved.o minissdpc.o -o testigddescparse igd desc parse validation test ./testigddescparse testdesc/new_LiveBox_desc.xml testdesc/new_LiveBox_desc.values ipcondescURL='http://fake/87895a19/gateconnSCPD_PPP.xml' controlURL='http://fake/87895a19/upnp/control/WANIPConn1' controlURL_CIF='http://fake/87895a19/upnp/control/WANCommonIFC1' ./testigddescparse testdesc/linksys_WAG200G_desc.xml testdesc/linksys_WAG200G_desc.values ipcondescURL='http://192.168.1.1:49152/pppcfg.xml' controlURL='http://192.168.1.1:49152/upnp/control/WANPPPConn1' controlURL_CIF='http://192.168.1.1:49152/upnp/control/WANCommonIFC1' touch validateigddescparse cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o testaddr_is_reserved.o testaddr_is_reserved.c cc testaddr_is_reserved.o addr_is_reserved.o -o testaddr_is_reserved addr_is_reserved() validation test ./testaddr_is_reserved testing 0.0.0.0 1 1 testing 8.8.8.8 0 0 testing 192.168.1.1 1 1 testing 10.250.42.12 1 1 testing 11.250.42.12 0 0 testing 172.31.1.1 1 1 testing 172.32.1.1 0 0 testing 169.254.42.42 1 1 testing 192.0.0.11 1 1 testing 198.0.0.11 0 0 testing 198.18.0.11 1 1 testing 100.64.1.1 1 1 testing 100.127.1.1 1 1 testing 100.128.1.1 0 0 touch validateaddr_is_reserved + exit 0 Processing files: miniupnpc-2.2.2-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1htvQ7 + umask 022 + cd /builddir/build/BUILD + cd miniupnpc-2.2.2 + DOCDIR=/builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/share/doc/miniupnpc-2.2.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/share/doc/miniupnpc-2.2.2 + cp -pr Changelog.txt /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/share/doc/miniupnpc-2.2.2 + cp -pr LICENSE /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/share/doc/miniupnpc-2.2.2 + cp -pr README /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/share/doc/miniupnpc-2.2.2 + cp -pr USAGE /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64/usr/share/doc/miniupnpc-2.2.2 + exit 0 Provides: libminiupnpc.so.17()(64bit) miniupnpc = 2.2.2-1.el7 miniupnpc(x86-64) = 2.2.2-1.el7 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.17)(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.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libminiupnpc.so.17()(64bit) rtld(GNU_HASH) Processing files: miniupnpc-devel-2.2.2-1.el7.x86_64 Provides: miniupnpc-devel = 2.2.2-1.el7 miniupnpc-devel(x86-64) = 2.2.2-1.el7 pkgconfig(miniupnpc) = 2.2.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libminiupnpc.so.17()(64bit) Processing files: python3-miniupnpc-2.2.2-1.el7.x86_64 Provides: python3-miniupnpc = 2.2.2-1.el7 python3-miniupnpc(x86-64) = 2.2.2-1.el7 python3.6dist(miniupnpc) = 2.2.2 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.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.17)(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.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpython3.6m.so.1.0()(64bit) python(abi) = 3.6 rtld(GNU_HASH) Processing files: miniupnpc-debuginfo-2.2.2-1.el7.x86_64 Provides: miniupnpc-debuginfo = 2.2.2-1.el7 miniupnpc-debuginfo(x86-64) = 2.2.2-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64 Wrote: /builddir/build/RPMS/miniupnpc-2.2.2-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/miniupnpc-devel-2.2.2-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/python3-miniupnpc-2.2.2-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/miniupnpc-debuginfo-2.2.2-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ppdxDE + umask 022 + cd /builddir/build/BUILD + cd miniupnpc-2.2.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/miniupnpc-2.2.2-1.el7.x86_64 + exit 0 Child return code was: 0