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-build-python3.11-loongarch64-372603-71506/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.69eti6nn:/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.69eti6nn:/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', '372d7688bccc490592eef390061201e9', '-D', '/var/lib/mock/dist-an23-build-python3.11-loongarch64-372603-71506/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.69eti6nn:/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=1710979200 Wrote: /builddir/build/SRPMS/python-ethtool-0.15-2.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-build-python3.11-loongarch64-372603-71506/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.69eti6nn:/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.69eti6nn:/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', '1652d18680a64504bd4fe2ea86634cce', '-D', '/var/lib/mock/dist-an23-build-python3.11-loongarch64-372603-71506/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.69eti6nn:/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=1710979200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EMcILE + 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.KNOhiV + 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-311 creating build/temp.linux-loongarch64-cpython-311/python-ethtool gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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.11 -c python-ethtool/etherinfo.c -o build/temp.linux-loongarch64-cpython-311/python-ethtool/etherinfo.o -fno-strict-aliasing -Wno-unused-function gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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.11 -c python-ethtool/etherinfo_obj.c -o build/temp.linux-loongarch64-cpython-311/python-ethtool/etherinfo_obj.o -fno-strict-aliasing -Wno-unused-function gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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.11 -c python-ethtool/ethtool.c -o build/temp.linux-loongarch64-cpython-311/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 -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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.11 -c python-ethtool/netlink-address.c -o build/temp.linux-loongarch64-cpython-311/python-ethtool/netlink-address.o -fno-strict-aliasing -Wno-unused-function gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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.11 -c python-ethtool/netlink.c -o build/temp.linux-loongarch64-cpython-311/python-ethtool/netlink.o -fno-strict-aliasing -Wno-unused-function creating build/lib.linux-loongarch64-cpython-311 gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -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-311/python-ethtool/etherinfo.o build/temp.linux-loongarch64-cpython-311/python-ethtool/etherinfo_obj.o build/temp.linux-loongarch64-cpython-311/python-ethtool/ethtool.o build/temp.linux-loongarch64-cpython-311/python-ethtool/netlink-address.o build/temp.linux-loongarch64-cpython-311/python-ethtool/netlink.o -L/usr/lib64 -lnl-3 -lnl-route-3 -o build/lib.linux-loongarch64-cpython-311/ethtool.cpython-311-loongarch64-linux-gnu.so running build_scripts creating build/scripts-3.11 copying and adjusting scripts/pethtool -> build/scripts-3.11 copying and adjusting scripts/pifconfig -> build/scripts-3.11 changing mode of build/scripts-3.11/pethtool from 644 to 755 changing mode of build/scripts-3.11/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.K5Xub4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64 ++ dirname /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-ethtool-0.15-2.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-2.an23.loongarch64 running install /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr creating /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/lib64 creating /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/lib64/python3.11/site-packages copying build/lib.linux-loongarch64-cpython-311/ethtool.cpython-311-loongarch64-linux-gnu.so -> /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/lib64/python3.11/site-packages writing byte-compilation script '/tmp/tmp0uaygwhl.py' /usr/bin/python3 /tmp/tmp0uaygwhl.py removing /tmp/tmp0uaygwhl.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-2.an23.loongarch64/usr/lib64/python3.11/site-packages/ethtool-0.15-py3.11.egg-info running install_scripts creating /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/bin copying build/scripts-3.11/pethtool -> /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/bin copying build/scripts-3.11/pifconfig -> /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/bin changing mode of /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/bin/pethtool to 755 changing mode of /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/bin/pifconfig to 755 + rm -rfv /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/bin/__pycache__ + mkdir -p /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/sbin + mv /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/bin/pifconfig /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/sbin/pifconfig + mv /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/bin/pethtool /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/sbin/pethtool + mkdir -p /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/share/man/man8/ + cp -p man/pethtool.8 man/pifconfig.8 /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/share/man/man8/ + /usr/lib/rpm/anolis/generate-compatibility-deps python-ethtool ~/build/BUILDROOT/python-ethtool-0.15-2.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-2.an23.loongarch64/usr/lib/compatibility/python-ethtool ~/build/BUILD/python-ethtool-0.15 ~/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/lib/compatibility/python-ethtool ~/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/lib/compatibility/python-ethtool ~/build/BUILD/python-ethtool-0.15 ~/build/BUILDROOT/python-ethtool-0.15-2.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-2.an23 --unique-debug-suffix -0.15-2.an23.loongarch64 --unique-debug-src-base python-ethtool-0.15-2.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-2.an23.loongarch64/usr/lib64/python3.11/site-packages/ethtool.cpython-311-loongarch64-linux-gnu.so original debug info size: 332kB, size after compression: 316kB /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 Warning: undefined symbols in /usr/lib64/python3.11/site-packages/ethtool.cpython-311-loongarch64-linux-gnu.so: PyExc_RuntimeError PyExc_OSError PyExc_IOError _Py_NoneStruct PyExc_AttributeError PyExc_LookupError PyUnicode_FromFormat PyList_New PyDict_SetItemString PyModule_AddIntConstant PyErr_SetFromErrno _Py_Dealloc PyErr_SetString PySequence_Contains PyTuple_GetItem PyObject_Free PyType_Ready PyLong_FromLong PyErr_Clear PyList_Append Py_BuildValue PyErr_Occurred PyModule_Create2 PyLong_AsLong PyDict_GetItemString PyArg_ParseTuple PyList_Size PyDict_New PyUnicode_AsUTF8 _PyObject_New PyUnicode_FromString PyModule_AddStringConstant PyModule_AddObject PyTuple_Size PyErr_Format PyUnicode_Concat PyList_GetItem + /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-2.an23.loongarch64/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/lib/debug/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.i7jGdW + 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-2.an23.loongarch64/usr/lib64/python3.11/site-packages + PYTHONPATH=/builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/lib64/python3.11/site-packages + /usr/bin/python3 tests/parse_ifconfig.py -v test_full (__main__.ParserTests.test_full) ... ok test_local (__main__.ParserTests.test_local) ... ok test_parse_ip4addr (__main__.ParserTests.test_parse_ip4addr) ... ok test_parsing_device_line (__main__.ParserTests.test_parsing_device_line) ... ok test_parsing_flags_line (__main__.ParserTests.test_parsing_flags_line) ... ok test_parsing_ip (__main__.ParserTests.test_parsing_ip) ... ok ---------------------------------------------------------------------- Ran 6 tests in 0.014s OK + /usr/bin/python3 -m unittest discover -v test_etherinfo_objects (tests.test_ethtool.EthtoolTests.test_etherinfo_objects) ... ok test_get_active_devices (tests.test_ethtool.EthtoolTests.test_get_active_devices) ... ok test_get_interface_info_active (tests.test_ethtool.EthtoolTests.test_get_interface_info_active) ... ok test_get_interface_info_all (tests.test_ethtool.EthtoolTests.test_get_interface_info_all) ... ok test_get_interface_info_invalid (tests.test_ethtool.EthtoolTests.test_get_interface_info_invalid) ... ok test_invalid_devices (tests.test_ethtool.EthtoolTests.test_invalid_devices) ... ok test_driver_lo (tests.test_scripts.ScriptsTests.test_driver_lo) ... ok test_flags2str (tests.test_scripts.ScriptsTests.test_flags2str) ... ok test_show_coalesce_lo (tests.test_scripts.ScriptsTests.test_show_coalesce_lo) ... ok test_show_offload_lo (tests.test_scripts.ScriptsTests.test_show_offload_lo) ... ok test_show_ring_lo (tests.test_scripts.ScriptsTests.test_show_ring_lo) ... ok ---------------------------------------------------------------------- Device(name='lo', flagsint=73, flagsstr='UP,LOOPBACK,RUNNING', mtu=65536) Ran 11 tests in 0.003s OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-ethtool-0.15-2.an23.loongarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ZlYDKY + umask 022 + cd /builddir/build/BUILD + cd python-ethtool-0.15 + LICENSEDIR=/builddir/build/BUILDROOT/python-ethtool-0.15-2.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-2.an23.loongarch64/usr/share/licenses/python3-ethtool + cp -pr COPYING /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/share/licenses/python3-ethtool + RPM_EC=0 ++ jobs -p + exit 0 Provides: abi(python3-ethtool) = 0.15 python-ethtool = 0.15-2.an23 python3-ethtool = 0.15-2.an23 python3-ethtool(loongarch-64) = 0.15-2.an23 python3.11-ethtool = 0.15-2.an23 python3.11dist(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) libc.so.6(GLIBC_2.38)(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) python(abi) = 3.11 rtld(GNU_HASH) Obsoletes: python-ethtool < 0.15-2.an23 Processing files: python3-ethtool-doc-0.15-2.an23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.x01TPV + umask 022 + cd /builddir/build/BUILD + cd python-ethtool-0.15 + DOCDIR=/builddir/build/BUILDROOT/python-ethtool-0.15-2.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-2.an23.loongarch64/usr/share/doc/python3-ethtool-doc + cp -pr README.rst /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/share/doc/python3-ethtool-doc + cp -pr CHANGES.rst /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64/usr/share/doc/python3-ethtool-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: python3-ethtool-doc = 0.15-2.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-2.an23.loongarch64 Provides: python-ethtool-debugsource = 0.15-2.an23 python-ethtool-debugsource(loongarch-64) = 0.15-2.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-2.an23.loongarch64 Provides: debuginfo(build-id) = 33e20ec621b5e87cabfa6039bad39cf255204a2a python-ethtool-debuginfo = 0.15-2.an23 python3-ethtool-debuginfo = 0.15-2.an23 python3-ethtool-debuginfo(loongarch-64) = 0.15-2.an23 python3.11-ethtool-debuginfo = 0.15-2.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-2.an23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-ethtool-0.15-2.an23.loongarch64 Wrote: /builddir/build/RPMS/python3-ethtool-doc-0.15-2.an23.noarch.rpm Wrote: /builddir/build/RPMS/python-ethtool-debugsource-0.15-2.an23.loongarch64.rpm Wrote: /builddir/build/RPMS/python3-ethtool-debuginfo-0.15-2.an23.loongarch64.rpm Wrote: /builddir/build/RPMS/python3-ethtool-0.15-2.an23.loongarch64.rpm Child return code was: 0