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 x86_64 --nodeps /builddir/build/SPECS/setools.spec'], chrootPath='/var/lib/mock/dist-an23-build-273454-64194/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/setools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: line 86: It's not recommended to have unversioned Obsoletes: Obsoletes: setools-libs < 4.0.0, setools-libs-tcl Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1638230400 Wrote: /builddir/build/SRPMS/setools-4.3.0-3.an23.src.rpm RPM build warnings: line 86: It's not recommended to have unversioned Obsoletes: Obsoletes: setools-libs < 4.0.0, setools-libs-tcl Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/setools.spec'], chrootPath='/var/lib/mock/dist-an23-build-273454-64194/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/setools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: line 86: It's not recommended to have unversioned Obsoletes: Obsoletes: setools-libs < 4.0.0, setools-libs-tcl Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1638230400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2mRyIS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf setools-4.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/4.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd setools-4.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'setools-4.3.0 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Support-old-boolean-names-in-policy-queries.patch + /usr/bin/git apply --index --reject -p1 - Checking patch seinfo... Checking patch sesearch... Checking patch setools/policyrep/selinux.pxd... Checking patch setools/policyrep/util.pxi... Applied patch seinfo cleanly. Applied patch sesearch cleanly. Applied patch setools/policyrep/selinux.pxd cleanly. Applied patch setools/policyrep/util.pxi cleanly. + /usr/bin/git commit -q -m 0001-Support-old-boolean-names-in-policy-queries.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Make-seinfo-output-predictable.patch + /usr/bin/git apply --index --reject -p1 - Checking patch setools/policyrep/constraint.pxi... Checking patch setools/policyrep/objclass.pxi... Checking patch setools/policyrep/role.pxi... Checking patch setools/policyrep/user.pxi... Applied patch setools/policyrep/constraint.pxi cleanly. Applied patch setools/policyrep/objclass.pxi cleanly. Applied patch setools/policyrep/role.pxi cleanly. Applied patch setools/policyrep/user.pxi cleanly. + /usr/bin/git commit -q -m 0002-Make-seinfo-output-predictable.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1001-Do-not-use-Werror-during-build.patch + /usr/bin/git apply --index --reject -p1 - Checking patch setup.py... Applied patch setup.py cleanly. + /usr/bin/git commit -q -m 1001-Do-not-use-Werror-during-build.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1002-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch + /usr/bin/git apply --index --reject -p1 - Checking patch sedta... Checking patch seinfoflow... Checking patch setools/__init__.py... Checking patch setoolsgui/apol/dta.py... Checking patch setoolsgui/apol/infoflow.py... Checking patch tests/dta.py... Checking patch tests/infoflow.py... Applied patch sedta cleanly. Applied patch seinfoflow cleanly. Applied patch setools/__init__.py cleanly. Applied patch setoolsgui/apol/dta.py cleanly. Applied patch setoolsgui/apol/infoflow.py cleanly. Applied patch tests/dta.py cleanly. Applied patch tests/infoflow.py cleanly. + /usr/bin/git commit -q -m 1002-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1003-Require-networkx-on-package-level.patch + /usr/bin/git apply --index --reject -p1 - Checking patch setup.py... Applied patch setup.py cleanly. + /usr/bin/git commit -q -m 1003-Require-networkx-on-package-level.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1004-Do-not-use-NoteNotFound-as-it-s-not-implemented-in-n.patch + /usr/bin/git apply --index --reject -p1 - Checking patch setools/dta.py... Checking patch setools/infoflow.py... Applied patch setools/dta.py cleanly. Applied patch setools/infoflow.py cleanly. + /usr/bin/git commit -q -m 1004-Do-not-use-NoteNotFound-as-it-s-not-implemented-in-n.patch --author 'rpm-build ' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4BOy0C + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/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 setools-4.3.0 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/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 + /usr/bin/python3 setup.py build Compiling setools/policyrep.pyx because it changed. [1/1] Cythonizing setools/policyrep.pyx running build running build_py creating build creating build/lib.linux-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/setools copying setools/boolquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/boundsquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/categoryquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/commonquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/constraintquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/defaultquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/descriptors.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/devicetreeconquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/exception.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/fsusequery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/genfsconquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/ibendportconquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/ibpkeyconquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/initsidquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/iomemconquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/ioportconquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/mixins.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/mlsrulequery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/netifconquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/nodeconquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/objclassquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/pcideviceconquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/permmap.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/pirqconquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/polcapquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/portconquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/query.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/rbacrulequery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/rolequery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/sensitivityquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/terulequery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/typeattrquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/typequery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/userquery.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/util.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/__init__.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/dta.py -> build/lib.linux-x86_64-cpython-310/setools copying setools/infoflow.py -> build/lib.linux-x86_64-cpython-310/setools creating build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/__init__.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/bool.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/bounds.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/commons.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/conditional.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/constraints.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/context.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/default.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/descriptors.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/difference.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/fsuse.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/genfscon.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/ibendportcon.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/ibpkeycon.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/initsid.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/mls.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/mlsrules.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/netifcon.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/nodecon.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/objclass.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/polcap.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/portcon.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/properties.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/rbacrules.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/roles.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/terules.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/typeattr.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/types.py -> build/lib.linux-x86_64-cpython-310/setools/diff copying setools/diff/users.py -> build/lib.linux-x86_64-cpython-310/setools/diff creating build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/__init__.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/boolmodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/boundsmodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/commonmodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/constraintmodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/defaultmodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/details.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/fsusemodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/genfsconmodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/getdetailslist.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/ibendportconmodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/ibpkeyconmodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/initsidmodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/listview.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/logtosignal.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/mlsmodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/mlsrulemodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/models.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/netifconmodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/nodeconmodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/objclassmodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/portconmodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/rbacrulemodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/rolemodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/tableview.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/terulemodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/treeview.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/typeattrmodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/typemodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/usermodel.py -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/widget.py -> build/lib.linux-x86_64-cpython-310/setoolsgui creating build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/__init__.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/analysistab.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/boolquery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/boundsquery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/categoryquery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/chooseanalysis.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/commonquery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/config.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/constraintquery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/defaultquery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/exception.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/excludetypes.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/fsusequery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/genfsconquery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/ibendportconquery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/ibpkeyconquery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/initsidquery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/mainwindow.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/mlsrulequery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/netifconquery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/nodeconquery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/objclassquery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/permmapedit.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/portconquery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/queryupdater.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/rbacrulequery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/rolequery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/sensitivityquery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/summary.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/terulequery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/typeattrquery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/typequery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/userquery.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/workspace.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/dta.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/infoflow.py -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setools/perm_map -> build/lib.linux-x86_64-cpython-310/setools copying setoolsgui/detail_popup.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui copying setoolsgui/apol/apol.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/boolquery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/boundsquery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/categoryquery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/choose_analysis.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/commonquery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/constraintquery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/defaultquery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/dta.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/exclude_types.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/fsusequery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/genfsconquery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/ibendportconquery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/ibpkeyconquery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/infoflow.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/initsidquery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/mlsrulequery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/netifconquery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/nodeconquery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/objclassquery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/permmap_editor.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/permmapping.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/portconquery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/rbacrulequery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/rolequery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/sensitivityquery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/summary.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/terulequery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/typeattrquery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/typequery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/userquery.ui -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/apol.qhc -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol copying setoolsgui/apol/apol.qch -> build/lib.linux-x86_64-cpython-310/setoolsgui/apol running build_ext building 'setools.policyrep' extension creating build/temp.linux-x86_64-cpython-310 creating build/temp.linux-x86_64-cpython-310/setools gcc -Wno-unused-result -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.10 -c setools/policyrep.c -o build/temp.linux-x86_64-cpython-310/setools/policyrep.o -Wextra -Waggregate-return -Wfloat-equal -Wformat -Wformat=2 -Winit-self -Wmissing-format-attribute -Wmissing-include-dirs -Wnested-externs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wunknown-pragmas -Wwrite-strings -Wno-unused-parameter -Wno-suggest-attribute=format -Wno-sign-compare -Wno-cast-qual -Wno-unreachable-code -Wno-implicit-fallthrough -Wno-cast-function-type -fno-exceptions setools/policyrep.c:4568:121: error: unknown type name ‘filename_trans_t’; did you mean ‘filename_trans_key_t’? 4568 | struct __pyx_obj_7setools_9policyrep_FileNameTERule *(*factory)(struct __pyx_obj_7setools_9policyrep_SELinuxPolicy *, filename_trans_t *, filename_trans_datum_t *); | ^~~~~~~~~~~~~~~~ | filename_trans_key_t setools/policyrep.c:4569:1: warning: no semicolon at end of struct or union 4569 | }; | ^ setools/policyrep.c:4571:182: error: unknown type name ‘filename_trans_t’; did you mean ‘filename_trans_key_t’? 4571 | static CYTHON_INLINE struct __pyx_obj_7setools_9policyrep_FileNameTERule *__pyx_f_7setools_9policyrep_14FileNameTERule_factory(struct __pyx_obj_7setools_9policyrep_SELinuxPolicy *, filename_trans_t *, filename_trans_datum_t *); | ^~~~~~~~~~~~~~~~ | filename_trans_key_t setools/policyrep.c:5871:196: error: unknown type name ‘filename_trans_t’; did you mean ‘filename_trans_key_t’? 5871 | static CYTHON_INLINE struct __pyx_obj_7setools_9policyrep_FileNameTERule *__pyx_f_7setools_9policyrep_14FileNameTERule_factory(struct __pyx_obj_7setools_9policyrep_SELinuxPolicy *__pyx_v_policy, filename_trans_t *__pyx_v_key, filename_trans_datum_t *__pyx_v_datum); /* proto*/ | ^~~~~~~~~~~~~~~~ | filename_trans_key_t setools/policyrep.c:98480:196: error: unknown type name ‘filename_trans_t’; did you mean ‘filename_trans_key_t’? 98480 | static CYTHON_INLINE struct __pyx_obj_7setools_9policyrep_FileNameTERule *__pyx_f_7setools_9policyrep_14FileNameTERule_factory(struct __pyx_obj_7setools_9policyrep_SELinuxPolicy *__pyx_v_policy, filename_trans_t *__pyx_v_key, filename_trans_datum_t *__pyx_v_datum) { | ^~~~~~~~~~~~~~~~ | filename_trans_key_t setools/policyrep.c: In function ‘__pyx_pf_7setools_9policyrep_22FileNameTERuleIterator___next__’: setools/policyrep.c:102300:28: warning: implicit declaration of function ‘__pyx_f_7setools_9policyrep_14FileNameTERule_factory’; did you mean ‘__pyx_pf_7setools_9policyrep_14FileNameTERule_4expand’? [-Wimplicit-function-declaration] 102300 | __pyx_t_2 = ((PyObject *)__pyx_f_7setools_9policyrep_14FileNameTERule_factory(((struct __pyx_obj_7setools_9policyrep_SELinuxPolicy *)__pyx_t_1), ((filename_trans_t *)__pyx_v_self->__pyx_base.curr->key), ((filename_trans_datum_t *)__pyx_v_self->__pyx_base.curr->datum))); if (unlikely(!__pyx_t_2)) __PYX_ERR(19, 716, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | __pyx_pf_7setools_9policyrep_14FileNameTERule_4expand setools/policyrep.c:102300:28: warning: nested extern declaration of ‘__pyx_f_7setools_9policyrep_14FileNameTERule_factory’ [-Wnested-externs] setools/policyrep.c:102300:150: error: ‘filename_trans_t’ undeclared (first use in this function); did you mean ‘filename_trans_key’? 102300 | __pyx_t_2 = ((PyObject *)__pyx_f_7setools_9policyrep_14FileNameTERule_factory(((struct __pyx_obj_7setools_9policyrep_SELinuxPolicy *)__pyx_t_1), ((filename_trans_t *)__pyx_v_self->__pyx_base.curr->key), ((filename_trans_datum_t *)__pyx_v_self->__pyx_base.curr->datum))); if (unlikely(!__pyx_t_2)) __PYX_ERR(19, 716, __pyx_L1_error) | ^~~~~~~~~~~~~~~~ | filename_trans_key setools/policyrep.c:102300:150: note: each undeclared identifier is reported only once for each function it appears in setools/policyrep.c:102300:168: error: expected expression before ‘)’ token 102300 | __pyx_t_2 = ((PyObject *)__pyx_f_7setools_9policyrep_14FileNameTERule_factory(((struct __pyx_obj_7setools_9policyrep_SELinuxPolicy *)__pyx_t_1), ((filename_trans_t *)__pyx_v_self->__pyx_base.curr->key), ((filename_trans_datum_t *)__pyx_v_self->__pyx_base.curr->datum))); if (unlikely(!__pyx_t_2)) __PYX_ERR(19, 716, __pyx_L1_error) | ^ setools/policyrep.c: In function ‘__Pyx_modinit_type_init_code’: setools/policyrep.c:164061:50: error: ‘struct __pyx_vtabstruct_7setools_9policyrep_FileNameTERule’ has no member named ‘factory’ 164061 | __pyx_vtable_7setools_9policyrep_FileNameTERule.factory = (struct __pyx_obj_7setools_9policyrep_FileNameTERule *(*)(struct __pyx_obj_7setools_9policyrep_SELinuxPolicy *, filename_trans_t *, filename_trans_datum_t *))__pyx_f_7setools_9policyrep_14FileNameTERule_factory; | ^ setools/policyrep.c:164061:173: error: unknown type name ‘filename_trans_t’; did you mean ‘filename_trans_key_t’? 164061 | __pyx_vtable_7setools_9policyrep_FileNameTERule.factory = (struct __pyx_obj_7setools_9policyrep_FileNameTERule *(*)(struct __pyx_obj_7setools_9policyrep_SELinuxPolicy *, filename_trans_t *, filename_trans_datum_t *))__pyx_f_7setools_9policyrep_14FileNameTERule_factory; | ^~~~~~~~~~~~~~~~ | filename_trans_key_t setools/policyrep.c:164061:219: error: expected ‘;’ before ‘__pyx_f_7setools_9policyrep_14FileNameTERule_factory’ 164061 | __pyx_vtable_7setools_9policyrep_FileNameTERule.factory = (struct __pyx_obj_7setools_9policyrep_FileNameTERule *(*)(struct __pyx_obj_7setools_9policyrep_SELinuxPolicy *, filename_trans_t *, filename_trans_datum_t *))__pyx_f_7setools_9policyrep_14FileNameTERule_factory; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ; error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /var/tmp/rpm-tmp.4BOy0C (%build) RPM build warnings: RPM build errors: line 86: It's not recommended to have unversioned Obsoletes: Obsoletes: setools-libs < 4.0.0, setools-libs-tcl Bad exit status from /var/tmp/rpm-tmp.4BOy0C (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/setools.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/setools.spec