Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/python-ethtool.spec'], chrootPath='/var/lib/mock/dist-an23-loongarch-build-314576-67390/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=988gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.77tcwzvc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.77tcwzvc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '1b31014f88ef4de2ac98c497b1d6d9a7', '-D', '/var/lib/mock/dist-an23-loongarch-build-314576-67390/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.77tcwzvc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/python-ethtool.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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1671148800 Wrote: /builddir/build/SRPMS/python-ethtool-0.15-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/python-ethtool.spec'], chrootPath='/var/lib/mock/dist-an23-loongarch-build-314576-67390/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=988gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.77tcwzvc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.77tcwzvc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'bd70419a8d004c419b2f8790dbad5b2f', '-D', '/var/lib/mock/dist-an23-loongarch-build-314576-67390/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.77tcwzvc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/python-ethtool.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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1671148800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EtL8II + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-ethtool-0.15 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-ethtool-0.15.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-ethtool-0.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1001-skip-test_show_coalesce_eth.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf ethtool.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fUt9wM + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 python-ethtool-0.15 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_ext building 'ethtool' extension creating build creating build/temp.linux-loongarch64-cpython-310 creating build/temp.linux-loongarch64-cpython-310/python-ethtool gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION=\"0.15\" -I/usr/include/libnl3 -I/usr/include/python3.10 -c python-ethtool/etherinfo.c -o build/temp.linux-loongarch64-cpython-310/python-ethtool/etherinfo.o -fno-strict-aliasing -Wno-unused-function gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION=\"0.15\" -I/usr/include/libnl3 -I/usr/include/python3.10 -c python-ethtool/etherinfo_obj.c -o build/temp.linux-loongarch64-cpython-310/python-ethtool/etherinfo_obj.o -fno-strict-aliasing -Wno-unused-function gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION=\"0.15\" -I/usr/include/libnl3 -I/usr/include/python3.10 -c python-ethtool/ethtool.c -o build/temp.linux-loongarch64-cpython-310/python-ethtool/ethtool.o -fno-strict-aliasing -Wno-unused-function python-ethtool/ethtool.c: In function ‘get_interfaces_info’: python-ethtool/ethtool.c:232:27: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 232 | fetch_devs[0] = PyStr_AsString(inargs); | ^ python-ethtool/ethtool.c:243:37: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 243 | fetch_devs[j++] = PyStr_AsString(elmt); | ^ python-ethtool/ethtool.c:256:37: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 256 | fetch_devs[j++] = PyStr_AsString(elmt); | ^ gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION=\"0.15\" -I/usr/include/libnl3 -I/usr/include/python3.10 -c python-ethtool/netlink-address.c -o build/temp.linux-loongarch64-cpython-310/python-ethtool/netlink-address.o -fno-strict-aliasing -Wno-unused-function gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION=\"0.15\" -I/usr/include/libnl3 -I/usr/include/python3.10 -c python-ethtool/netlink.c -o build/temp.linux-loongarch64-cpython-310/python-ethtool/netlink.o -fno-strict-aliasing -Wno-unused-function creating build/lib.linux-loongarch64-cpython-310 gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-loongarch64-cpython-310/python-ethtool/etherinfo.o build/temp.linux-loongarch64-cpython-310/python-ethtool/etherinfo_obj.o build/temp.linux-loongarch64-cpython-310/python-ethtool/ethtool.o build/temp.linux-loongarch64-cpython-310/python-ethtool/netlink-address.o build/temp.linux-loongarch64-cpython-310/python-ethtool/netlink.o -L/usr/lib64 -lnl-3 -lnl-route-3 -lpython3.10 -o build/lib.linux-loongarch64-cpython-310/ethtool.cpython-310-loongarch64-linux-gnu.so running build_scripts creating build/scripts-3.10 copying and adjusting scripts/pethtool -> build/scripts-3.10 copying and adjusting scripts/pifconfig -> build/scripts-3.10 changing mode of build/scripts-3.10/pethtool from 644 to 755 changing mode of build/scripts-3.10/pifconfig from 644 to 755 + a2x -d manpage -f manpage man/pethtool.8.asciidoc + a2x -d manpage -f manpage man/pifconfig.8.asciidoc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mwTPuZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64 ++ dirname /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 python-ethtool-0.15 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64 running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr creating /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/lib64 creating /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/lib64/python3.10 creating /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/lib64/python3.10/site-packages copying build/lib.linux-loongarch64-cpython-310/ethtool.cpython-310-loongarch64-linux-gnu.so -> /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/lib64/python3.10/site-packages writing byte-compilation script '/tmp/tmpkom_n9pm.py' /usr/bin/python3 /tmp/tmpkom_n9pm.py removing /tmp/tmpkom_n9pm.py running install_egg_info running egg_info creating ethtool.egg-info writing ethtool.egg-info/PKG-INFO writing dependency_links to ethtool.egg-info/dependency_links.txt writing top-level names to ethtool.egg-info/top_level.txt writing manifest file 'ethtool.egg-info/SOURCES.txt' reading manifest file 'ethtool.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'COPYING' writing manifest file 'ethtool.egg-info/SOURCES.txt' Copying ethtool.egg-info to /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/lib64/python3.10/site-packages/ethtool-0.15-py3.10.egg-info running install_scripts creating /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/bin copying build/scripts-3.10/pethtool -> /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/bin copying build/scripts-3.10/pifconfig -> /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/bin changing mode of /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/bin/pethtool to 755 changing mode of /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/bin/pifconfig to 755 + rm -rfv /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/bin/__pycache__ + mkdir -p /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/sbin + mv /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/bin/pifconfig /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/sbin/pifconfig + mv /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/bin/pethtool /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/sbin/pethtool + mkdir -p /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/share/man/man8/ + cp -p man/pethtool.8 man/pifconfig.8 /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/share/man/man8/ + /usr/lib/rpm/anolis/generate-compatibility-deps python-ethtool ~/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/lib/compatibility/python-ethtool ~/build/BUILD/python-ethtool-0.15 ~/build/BUILD/python-ethtool-0.15 ~/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/lib/compatibility/python-ethtool ~/build/BUILD/python-ethtool-0.15 ~/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/lib/compatibility/python-ethtool ~/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/lib/compatibility/python-ethtool ~/build/BUILD/python-ethtool-0.15 ~/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/lib/compatibility/python-ethtool ~/build/BUILD/python-ethtool-0.15 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.15-1.an23 --unique-debug-suffix -0.15-1.an23.loongarch64 --unique-debug-src-base python-ethtool-0.15-1.an23.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-ethtool-0.15 extracting debug info from /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/lib64/python3.10/site-packages/ethtool.cpython-310-loongarch64-linux-gnu.so original debug info size: 304kB, size after compression: 284kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 143 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/lib64/python3.10 using python3.10 Bytecompiling .py files below /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/lib/debug/usr/lib64/python3.10 using python3.10 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.5cRF5q + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 python-ethtool-0.15 + export PYTHONPATH=/builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/lib64/python3.10/site-packages + PYTHONPATH=/builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/lib64/python3.10/site-packages + /usr/bin/python3 tests/parse_ifconfig.py -v test_full (__main__.ParserTests) ... ok test_local (__main__.ParserTests) ... ok test_parse_ip4addr (__main__.ParserTests) ... ok test_parsing_device_line (__main__.ParserTests) ... ok test_parsing_flags_line (__main__.ParserTests) ... ok test_parsing_ip (__main__.ParserTests) ... ok ---------------------------------------------------------------------- Ran 6 tests in 0.021s OK + /usr/bin/python3 -m unittest discover -v test_etherinfo_objects (tests.test_ethtool.EthtoolTests) ... ok test_get_active_devices (tests.test_ethtool.EthtoolTests) ... ok test_get_interface_info_active (tests.test_ethtool.EthtoolTests) ... ok test_get_interface_info_all (tests.test_ethtool.EthtoolTests) ... ok test_get_interface_info_invalid (tests.test_ethtool.EthtoolTests) ... ok test_invalid_devices (tests.test_ethtool.EthtoolTests) ... ok test_driver_lo (tests.test_scripts.ScriptsTests) ... ok test_flags2str (tests.test_scripts.ScriptsTests) ... ok test_show_coalesce_lo (tests.test_scripts.ScriptsTests) ... ok test_show_offload_lo (tests.test_scripts.ScriptsTests) ... ok test_show_ring_lo (tests.test_scripts.ScriptsTests) ... ok ---------------------------------------------------------------------- Ran 11 tests in 0.022s Device(name='lo', flagsint=73, flagsstr='UP,LOOPBACK,RUNNING', mtu=65536) OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-ethtool-0.15-1.an23.loongarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2MF3Wn + umask 022 + cd /builddir/build/BUILD + cd python-ethtool-0.15 + LICENSEDIR=/builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/share/licenses/python3-ethtool + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/share/licenses/python3-ethtool + cp -pr COPYING /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/share/licenses/python3-ethtool + RPM_EC=0 ++ jobs -p + exit 0 Provides: abi(python3-ethtool) = 0.15 python-ethtool = 0.15-1.an23 python3-ethtool = 0.15-1.an23 python3-ethtool(loongarch-64) = 0.15-1.an23 python3.10-ethtool = 0.15-1.an23 python3.10dist(ethtool) = 0.15 python3dist(ethtool) = 0.15 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libnl-3.so.200()(64bit) libnl-3.so.200(libnl_3)(64bit) libnl-route-3.so.200()(64bit) libnl-route-3.so.200(libnl_3)(64bit) libpython3.10.so.1.0()(64bit) python(abi) = 3.10 rtld(GNU_HASH) Obsoletes: python-ethtool < 0.15-1.an23 Processing files: python3-ethtool-doc-0.15-1.an23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vIAQ6S + umask 022 + cd /builddir/build/BUILD + cd python-ethtool-0.15 + DOCDIR=/builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/share/doc/python3-ethtool-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/share/doc/python3-ethtool-doc + cp -pr README.rst /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/share/doc/python3-ethtool-doc + cp -pr CHANGES.rst /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64/usr/share/doc/python3-ethtool-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: python3-ethtool-doc = 0.15-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python-ethtool-debugsource-0.15-1.an23.loongarch64 Provides: python-ethtool-debugsource = 0.15-1.an23 python-ethtool-debugsource(loongarch-64) = 0.15-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-ethtool-debuginfo-0.15-1.an23.loongarch64 Provides: debuginfo(build-id) = b96b1f8a2d95ee30b02c0df10d58f4201eff4c60 python-ethtool-debuginfo = 0.15-1.an23 python3-ethtool-debuginfo = 0.15-1.an23 python3-ethtool-debuginfo(loongarch-64) = 0.15-1.an23 python3.10-ethtool-debuginfo = 0.15-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-ethtool-debugsource(loongarch-64) = 0.15-1.an23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-ethtool-0.15-1.an23.loongarch64 Wrote: /builddir/build/RPMS/python3-ethtool-doc-0.15-1.an23.noarch.rpm Wrote: /builddir/build/RPMS/python-ethtool-debugsource-0.15-1.an23.loongarch64.rpm Wrote: /builddir/build/RPMS/python3-ethtool-debuginfo-0.15-1.an23.loongarch64.rpm Wrote: /builddir/build/RPMS/python3-ethtool-0.15-1.an23.loongarch64.rpm Child return code was: 0