Warning: Permanently added '18.234.95.237' (ED25519) to the list of known hosts. Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-a4d34ktm/python-extractcode/python-extractcode.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-a4d34ktm/python-extractcode --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1747799150.322040 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.1 starting (python version = 3.13.0, NVR = mock-6.1-1.fc41), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-a4d34ktm/python-extractcode/python-extractcode.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-a4d34ktm/python-extractcode --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1747799150.322040 -r /var/lib/copr-rpmbuild/results/configs/child.cfg Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-a4d34ktm/python-extractcode/python-extractcode.spec) Config(fedora-rawhide-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 6.1 INFO: Mock Version: 6.1 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1747799150.322040/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using container image: registry.fedoraproject.org/fedora:rawhide INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide INFO: Tagging container image as mock-bootstrap-4cacf6bc-8526-47d3-8abe-daf3a2e9da41 INFO: Checking that 01cfee340548f6c314fc2b605c19dc46795e4aa84aabe26ac6acb92cb635ce66 image matches host's architecture INFO: Copy content of container 01cfee340548f6c314fc2b605c19dc46795e4aa84aabe26ac6acb92cb635ce66 to /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1747799150.322040/root INFO: mounting 01cfee340548f6c314fc2b605c19dc46795e4aa84aabe26ac6acb92cb635ce66 with podman image mount INFO: image 01cfee340548f6c314fc2b605c19dc46795e4aa84aabe26ac6acb92cb635ce66 as /var/lib/containers/storage/overlay/f46be9eeb331e413a041b7f69e4b2940fe93033b389821b0157f2931687fcceb/merged INFO: umounting image 01cfee340548f6c314fc2b605c19dc46795e4aa84aabe26ac6acb92cb635ce66 (/var/lib/containers/storage/overlay/f46be9eeb331e413a041b7f69e4b2940fe93033b389821b0157f2931687fcceb/merged) with podman image umount INFO: Removing image mock-bootstrap-4cacf6bc-8526-47d3-8abe-daf3a2e9da41 INFO: Package manager dnf5 detected and used (fallback) INFO: Not updating bootstrap chroot, bootstrap_image_ready=True Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1747799150.322040/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-5.99.90-5.fc43.x86_64 rpm-sequoia-1.8.0-1.fc43.x86_64 dnf5-5.2.13.1-2.fc43.x86_64 dnf5-plugins-5.2.13.1-2.fc43.x86_64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: Additional repo http_kojipkgs_fedorapr 100% | 147.3 KiB/s | 3.8 KiB | 00m00s fedora 100% | 216.9 KiB/s | 28.2 KiB | 00m00s Copr repository 100% | 84.7 KiB/s | 1.5 KiB | 00m00s Copr repository 100% | 1.7 MiB/s | 82.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash x86_64 5.2.37-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 8.2 MiB bzip2 x86_64 1.0.8-20.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 99.3 KiB coreutils x86_64 9.7-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 5.4 MiB cpio x86_64 2.15-2.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 MiB diffutils x86_64 3.12-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB fedora-release-common noarch 43-0.15 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 20.4 KiB findutils x86_64 1:4.10.0-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 MiB gawk x86_64 5.3.2-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 MiB glibc-minimal-langpack x86_64 2.41.9000-13.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 0.0 B grep x86_64 3.12-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB gzip x86_64 1.13-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 392.9 KiB info x86_64 7.2-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 357.9 KiB patch x86_64 2.8-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 226.8 KiB redhat-rpm-config noarch 343-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 181.5 KiB rpm-build x86_64 5.99.90-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 281.7 KiB sed x86_64 4.9-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 857.3 KiB shadow-utils x86_64 2:4.17.4-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.0 MiB tar x86_64 2:1.35-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.0 MiB unzip x86_64 6.0-66.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 390.3 KiB util-linux x86_64 2.40.4-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.4 MiB which x86_64 2.23-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 83.4 KiB xz x86_64 1:5.8.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.3 MiB Installing dependencies: add-determinism x86_64 0.6.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.5 MiB alternatives x86_64 1.33-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 62.2 KiB ansible-srpm-macros noarch 1-17.1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 35.7 KiB audit-libs x86_64 4.0.3-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 351.3 KiB binutils x86_64 2.44-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 25.9 MiB build-reproducibility-srpm-macros noarch 0.6.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 735.0 B bzip2-libs x86_64 1.0.8-20.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 84.6 KiB ca-certificates noarch 2024.2.69_v8.0.401-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.6 MiB coreutils-common x86_64 9.7-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 11.3 MiB crypto-policies noarch 20250402-2.git86c0178.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 141.5 KiB curl x86_64 8.14.0~rc1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 473.2 KiB cyrus-sasl-lib x86_64 2.1.28-30.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.3 MiB debugedit x86_64 5.1-6.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 192.7 KiB dwz x86_64 0.15-9.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 291.0 KiB ed x86_64 1.21-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 146.5 KiB efi-srpm-macros noarch 6-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 40.1 KiB elfutils x86_64 0.193-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.9 MiB elfutils-debuginfod-client x86_64 0.193-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 83.9 KiB elfutils-default-yama-scope noarch 0.193-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 KiB elfutils-libelf x86_64 0.193-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.2 MiB elfutils-libs x86_64 0.193-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 683.4 KiB fedora-gpg-keys noarch 43-0.2 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 129.0 KiB fedora-release noarch 43-0.15 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 0.0 B fedora-release-identity-basic noarch 43-0.15 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 664.0 B fedora-repos noarch 43-0.2 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.9 KiB fedora-repos-rawhide noarch 43-0.2 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.2 KiB file x86_64 5.46-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 100.2 KiB file-libs x86_64 5.46-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 11.9 MiB filesystem x86_64 3.18-44.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 112.0 B filesystem-srpm-macros noarch 3.18-44.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 38.2 KiB fonts-srpm-macros noarch 1:2.0.5-21.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 55.8 KiB forge-srpm-macros noarch 0.4.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 38.9 KiB fpc-srpm-macros noarch 1.3-14.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 144.0 B gdb-minimal x86_64 16.3-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 13.2 MiB gdbm-libs x86_64 1:1.23-9.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 129.9 KiB ghc-srpm-macros noarch 1.9.2-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 779.0 B glibc x86_64 2.41.9000-13.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.7 MiB glibc-common x86_64 2.41.9000-13.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB glibc-gconv-extra x86_64 2.41.9000-13.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 7.2 MiB gmp x86_64 1:6.3.0-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 819.2 KiB gnat-srpm-macros noarch 6-7.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 KiB gnupg2 x86_64 2.4.8-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 9.8 MiB gnutls x86_64 3.8.9-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.6 MiB go-srpm-macros noarch 3.6.0-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 60.8 KiB gpgverify noarch 2.1-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 8.7 KiB ima-evm-utils-libs x86_64 1.6.2-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 60.7 KiB jansson x86_64 2.14-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 93.1 KiB json-c x86_64 0.18-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 86.7 KiB kernel-srpm-macros noarch 1.0-25.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 KiB keyutils-libs x86_64 1.6.3-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 58.3 KiB krb5-libs x86_64 1.21.3-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.3 MiB libacl x86_64 2.3.2-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 38.3 KiB libarchive x86_64 3.7.7-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 930.6 KiB libassuan x86_64 2.5.7-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 167.8 KiB libattr x86_64 2.5.2-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 27.1 KiB libblkid x86_64 2.40.4-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 262.4 KiB libbrotli x86_64 1.1.0-6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 841.3 KiB libcap x86_64 2.76-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 209.2 KiB libcap-ng x86_64 0.8.5-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 72.9 KiB libcom_err x86_64 1.47.2-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 67.1 KiB libcurl x86_64 8.14.0~rc1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 891.0 KiB libeconf x86_64 0.7.6-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 64.6 KiB libevent x86_64 2.1.12-15.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 903.1 KiB libfdisk x86_64 2.40.4-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 372.3 KiB libffi x86_64 3.4.8-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 83.0 KiB libfsverity x86_64 1.6-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 32.5 KiB libgcc x86_64 15.1.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 266.6 KiB libgcrypt x86_64 1.11.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB libgomp x86_64 15.1.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 538.5 KiB libgpg-error x86_64 1.55-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 915.3 KiB libidn2 x86_64 2.3.8-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 552.5 KiB libksba x86_64 1.6.7-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 402.5 KiB libmount x86_64 2.40.4-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 356.2 KiB libnghttp2 x86_64 1.65.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 162.2 KiB libpkgconf x86_64 2.3.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 78.1 KiB libpsl x86_64 0.21.5-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 76.4 KiB libselinux x86_64 3.8-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 193.1 KiB libsemanage x86_64 3.8-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 308.4 KiB libsepol x86_64 3.8-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 826.0 KiB libsmartcols x86_64 2.40.4-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 180.4 KiB libssh x86_64 0.11.1-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 565.5 KiB libssh-config noarch 0.11.1-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 277.0 B libstdc++ x86_64 15.1.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.8 MiB libtasn1 x86_64 4.20.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 176.3 KiB libtool-ltdl x86_64 2.5.4-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 70.1 KiB libunistring x86_64 1.1-9.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.7 MiB libusb1 x86_64 1.0.28-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 171.0 KiB libuuid x86_64 2.40.4-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 37.3 KiB libverto x86_64 0.3.2-10.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 25.4 KiB libxcrypt x86_64 4.4.38-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 284.5 KiB libxml2 x86_64 2.12.10-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.7 MiB libzstd x86_64 1.5.7-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 807.8 KiB lua-libs x86_64 5.4.7-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 276.9 KiB lua-srpm-macros noarch 1-15.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.3 KiB lz4-libs x86_64 1.10.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 157.4 KiB mpfr x86_64 4.2.2-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 828.8 KiB ncurses-base noarch 6.5-5.20250125.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 326.8 KiB ncurses-libs x86_64 6.5-5.20250125.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 946.3 KiB nettle x86_64 3.10.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 790.5 KiB npth x86_64 1.8-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 49.6 KiB ocaml-srpm-macros noarch 10-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 KiB openblas-srpm-macros noarch 2-19.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 112.0 B openldap x86_64 2.6.9-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 655.1 KiB openssl-libs x86_64 1:3.5.0-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 8.9 MiB p11-kit x86_64 0.25.5-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.2 MiB p11-kit-trust x86_64 0.25.5-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 395.5 KiB package-notes-srpm-macros noarch 0.5-13.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 KiB pam-libs x86_64 1.7.0-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 126.7 KiB pcre2 x86_64 10.45-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 697.7 KiB pcre2-syntax noarch 10.45-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 273.9 KiB perl-srpm-macros noarch 1-57.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 861.0 B pkgconf x86_64 2.3.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 88.5 KiB pkgconf-m4 noarch 2.3.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 14.4 KiB pkgconf-pkg-config x86_64 2.3.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 989.0 B popt x86_64 1.19-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 132.8 KiB publicsuffix-list-dafsa noarch 20250116-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 68.5 KiB pyproject-srpm-macros noarch 1.18.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 KiB python-srpm-macros noarch 3.13-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 51.7 KiB qt5-srpm-macros noarch 5.15.16-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 500.0 B qt6-srpm-macros noarch 6.9.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 464.0 B readline x86_64 8.2-13.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 485.0 KiB rpm x86_64 5.99.90-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.1 MiB rpm-build-libs x86_64 5.99.90-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 264.4 KiB rpm-libs x86_64 5.99.90-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 929.8 KiB rpm-sequoia x86_64 1.8.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.5 MiB rpm-sign-libs x86_64 5.99.90-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 39.7 KiB rust-srpm-macros noarch 26.3-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.8 KiB setup noarch 2.15.0-25.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 725.0 KiB sqlite-libs x86_64 3.49.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.5 MiB systemd-libs x86_64 257.5-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.2 MiB systemd-standalone-sysusers x86_64 257.5-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 277.3 KiB tpm2-tss x86_64 4.1.3-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB tree-sitter-srpm-macros noarch 0.2.4-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 7.5 KiB util-linux-core x86_64 2.40.4-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.4 MiB xxhash-libs x86_64 0.8.3-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 90.2 KiB xz-libs x86_64 1:5.8.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 217.8 KiB zig-srpm-macros noarch 1-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 KiB zip x86_64 3.0-43.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 698.5 KiB zlib-ng-compat x86_64 2.2.4-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 137.6 KiB zstd x86_64 1.5.7-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.7 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 162 packages Total size of inbound packages is 58 MiB. Need to download 0 B. After this operation, 198 MiB extra will be used (install 198 MiB, remove 0 B). [ 1/162] tar-2:1.35-5.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/162] bzip2-0:1.0.8-20.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/162] redhat-rpm-config-0:343-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/162] rpm-build-0:5.99.90-5.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/162] unzip-0:6.0-66.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/162] cpio-0:2.15-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/162] which-0:2.23-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/162] bash-0:5.2.37-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/162] coreutils-0:9.7-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/162] grep-0:3.12-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/162] patch-0:2.8-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/162] sed-0:4.9-4.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/162] shadow-utils-2:4.17.4-1.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/162] util-linux-0:2.40.4-7.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/162] diffutils-0:3.12-2.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/162] fedora-release-common-0:43-0. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/162] findutils-1:4.10.0-5.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/162] gawk-0:5.3.2-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/162] glibc-minimal-langpack-0:2.41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/162] gzip-0:1.13-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/162] info-0:7.2-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/162] xz-1:5.8.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/162] glibc-0:2.41.9000-13.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/162] xz-libs-1:5.8.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/162] audit-libs-0:4.0.3-2.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/162] filesystem-0:3.18-44.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/162] libblkid-0:2.40.4-7.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/162] libcap-ng-0:0.8.5-4.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/162] libfdisk-0:2.40.4-7.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/162] libmount-0:2.40.4-7.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/162] libselinux-0:3.8-1.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/162] libsmartcols-0:2.40.4-7.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/162] libuuid-0:2.40.4-7.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/162] ncurses-libs-0:6.5-5.20250125 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/162] pam-libs-0:1.7.0-4.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/162] readline-0:8.2-13.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/162] systemd-libs-0:257.5-5.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/162] util-linux-core-0:2.40.4-7.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 39/162] zlib-ng-compat-0:2.2.4-2.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 40/162] bzip2-libs-0:1.0.8-20.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 41/162] libacl-0:2.3.2-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 42/162] libcap-0:2.76-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/162] libgcc-0:15.1.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/162] libeconf-0:0.7.6-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/162] libsemanage-0:3.8-1.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/162] libxcrypt-0:4.4.38-7.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/162] setup-0:2.15.0-25.fc43.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/162] binutils-0:2.44-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/162] debugedit-0:5.1-6.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/162] elfutils-0:0.193-2.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/162] elfutils-libelf-0:0.193-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/162] file-0:5.46-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/162] libarchive-0:3.7.7-4.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/162] libstdc++-0:15.1.1-1.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/162] pkgconf-pkg-config-0:2.3.0-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 56/162] popt-0:1.19-8.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 57/162] rpm-0:5.99.90-5.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 58/162] rpm-build-libs-0:5.99.90-5.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 59/162] rpm-libs-0:5.99.90-5.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 60/162] zstd-0:1.5.7-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 61/162] curl-0:8.14.0~rc1-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 62/162] glibc-gconv-extra-0:2.41.9000 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 63/162] ansible-srpm-macros-0:1-17.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 64/162] build-reproducibility-srpm-ma 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 65/162] dwz-0:0.15-9.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 66/162] efi-srpm-macros-0:6-3.fc43.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 67/162] filesystem-srpm-macros-0:3.18 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 68/162] fonts-srpm-macros-1:2.0.5-21. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 69/162] forge-srpm-macros-0:0.4.0-2.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 70/162] fpc-srpm-macros-0:1.3-14.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 71/162] ghc-srpm-macros-0:1.9.2-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 72/162] gnat-srpm-macros-0:6-7.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 73/162] go-srpm-macros-0:3.6.0-7.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 74/162] kernel-srpm-macros-0:1.0-25.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 75/162] lua-srpm-macros-0:1-15.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 76/162] ocaml-srpm-macros-0:10-4.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 77/162] openblas-srpm-macros-0:2-19.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 78/162] package-notes-srpm-macros-0:0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 79/162] perl-srpm-macros-0:1-57.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 80/162] pyproject-srpm-macros-0:1.18. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 81/162] python-srpm-macros-0:3.13-5.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 82/162] qt5-srpm-macros-0:5.15.16-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 83/162] qt6-srpm-macros-0:6.9.0-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 84/162] rust-srpm-macros-0:26.3-4.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 85/162] tree-sitter-srpm-macros-0:0.2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 86/162] zig-srpm-macros-0:1-4.fc42.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 87/162] zip-0:3.0-43.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 88/162] pkgconf-0:2.3.0-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 89/162] pkgconf-m4-0:2.3.0-2.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 90/162] libpkgconf-0:2.3.0-2.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 91/162] ed-0:1.21-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 92/162] libattr-0:2.5.2-5.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 93/162] ncurses-base-0:6.5-5.20250125 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 94/162] libsepol-0:3.8-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 95/162] pcre2-0:10.45-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 96/162] libxml2-0:2.12.10-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 97/162] libzstd-0:1.5.7-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 98/162] lz4-libs-0:1.10.0-2.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 99/162] openssl-libs-1:3.5.0-3.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [100/162] glibc-common-0:2.41.9000-13.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [101/162] gmp-1:6.3.0-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [102/162] mpfr-0:4.2.2-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [103/162] file-libs-0:5.46-1.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [104/162] fedora-repos-0:43-0.2.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [105/162] elfutils-debuginfod-client-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [106/162] elfutils-libs-0:0.193-2.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [107/162] coreutils-common-0:9.7-2.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [108/162] add-determinism-0:0.6.0-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [109/162] alternatives-0:1.33-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [110/162] jansson-0:2.14-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [111/162] lua-libs-0:5.4.7-3.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [112/162] rpm-sequoia-0:1.8.0-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [113/162] sqlite-libs-0:3.49.1-1.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [114/162] libgomp-0:15.1.1-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [115/162] rpm-sign-libs-0:5.99.90-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [116/162] pcre2-syntax-0:10.45-1.fc43.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [117/162] ca-certificates-0:2024.2.69_v 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [118/162] crypto-policies-0:20250402-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [119/162] fedora-gpg-keys-0:43-0.2.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [120/162] fedora-repos-rawhide-0:43-0.2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [121/162] elfutils-default-yama-scope-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [122/162] json-c-0:0.18-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [123/162] libffi-0:3.4.8-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [124/162] p11-kit-0:0.25.5-5.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [125/162] p11-kit-trust-0:0.25.5-5.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [126/162] gnupg2-0:2.4.8-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [127/162] ima-evm-utils-libs-0:1.6.2-5. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [128/162] libfsverity-0:1.6-2.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [129/162] gpgverify-0:2.1-3.fc43.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [130/162] libtasn1-0:4.20.0-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [131/162] tpm2-tss-0:4.1.3-7.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [132/162] gnutls-0:3.8.9-5.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [133/162] libassuan-0:2.5.7-3.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [134/162] libgcrypt-0:1.11.1-1.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [135/162] libgpg-error-0:1.55-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [136/162] libksba-0:1.6.7-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [137/162] npth-0:1.8-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [138/162] openldap-0:2.6.9-5.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [139/162] libusb1-0:1.0.28-2.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [140/162] cyrus-sasl-lib-0:2.1.28-30.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [141/162] libevent-0:2.1.12-15.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [142/162] libtool-ltdl-0:2.5.4-4.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [143/162] libidn2-0:2.3.8-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [144/162] libunistring-0:1.1-9.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [145/162] nettle-0:3.10.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [146/162] gdbm-libs-1:1.23-9.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [147/162] fedora-release-0:43-0.15.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [148/162] systemd-standalone-sysusers-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [149/162] gdb-minimal-0:16.3-1.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [150/162] xxhash-libs-0:0.8.3-2.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [151/162] fedora-release-identity-basic 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [152/162] libcurl-0:8.14.0~rc1-1.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [153/162] krb5-libs-0:1.21.3-5.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [154/162] libbrotli-0:1.1.0-6.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [155/162] libnghttp2-0:1.65.0-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [156/162] libpsl-0:0.21.5-5.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [157/162] libssh-0:0.11.1-4.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [158/162] keyutils-libs-0:1.6.3-5.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [159/162] libcom_err-0:1.47.2-3.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [160/162] libverto-0:0.3.2-10.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [161/162] libssh-config-0:0.11.1-4.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [162/162] publicsuffix-list-dafsa-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [162/162] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/164] Verify package files 100% | 1.8 KiB/s | 162.0 B | 00m00s [ 2/164] Prepare transaction 100% | 4.1 KiB/s | 162.0 B | 00m00s [ 3/164] Installing libgcc-0:15.1.1-1. 100% | 262.0 MiB/s | 268.3 KiB | 00m00s [ 4/164] Installing publicsuffix-list- 100% | 0.0 B/s | 69.2 KiB | 00m00s [ 5/164] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 6/164] Installing fedora-release-ide 100% | 0.0 B/s | 920.0 B | 00m00s [ 7/164] Installing fedora-repos-rawhi 100% | 0.0 B/s | 2.4 KiB | 00m00s [ 8/164] Installing fedora-gpg-keys-0: 100% | 42.9 MiB/s | 175.9 KiB | 00m00s [ 9/164] Installing fedora-repos-0:43- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 10/164] Installing fedora-release-com 100% | 24.1 MiB/s | 24.7 KiB | 00m00s [ 11/164] Installing fedora-release-0:4 100% | 17.3 KiB/s | 124.0 B | 00m00s >>> Running sysusers scriptlet: setup-0:2.15.0-25.fc43.noarch >>> Finished sysusers scriptlet: setup-0:2.15.0-25.fc43.noarch >>> Scriptlet output: >>> Creating group 'adm' with GID 4. >>> Creating group 'audio' with GID 63. >>> Creating group 'cdrom' with GID 11. >>> Creating group 'clock' with GID 103. >>> Creating group 'dialout' with GID 18. >>> Creating group 'disk' with GID 6. >>> Creating group 'floppy' with GID 19. >>> Creating group 'ftp' with GID 50. >>> Creating group 'games' with GID 20. >>> Creating group 'input' with GID 104. >>> Creating group 'kmem' with GID 9. >>> Creating group 'kvm' with GID 36. >>> Creating group 'lock' with GID 54. >>> Creating group 'lp' with GID 7. >>> Creating group 'mail' with GID 12. >>> Creating group 'man' with GID 15. >>> Creating group 'mem' with GID 8. >>> Creating group 'nobody' with GID 65534. >>> Creating group 'render' with GID 105. >>> Creating group 'root' with GID 0. >>> Creating group 'sgx' with GID 106. >>> Creating group 'sys' with GID 3. >>> Creating group 'tape' with GID 33. >>> Creating group 'tty' with GID 5. >>> Creating group 'users' with GID 100. >>> Creating group 'utmp' with GID 22. >>> Creating group 'video' with GID 39. >>> Creating group 'wheel' with GID 10. >>> Creating user 'adm' (adm) with UID 3 and GID 4. >>> Creating group 'bin' with GID 1. >>> Creating user 'bin' (bin) with UID 1 and GID 1. >>> Creating group 'daemon' with GID 2. >>> Creating user 'daemon' (daemon) with UID 2 and GID 2. >>> Creating user 'ftp' (FTP User) with UID 14 and GID 50. >>> Creating user 'games' (games) with UID 12 and GID 100. >>> Creating user 'halt' (halt) with UID 7 and GID 0. >>> Creating user 'lp' (lp) with UID 4 and GID 7. >>> Creating user 'mail' (mail) with UID 8 and GID 12. >>> Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534. >>> Creating user 'operator' (operator) with UID 11 and GID 0. >>> Creating user 'root' (Super User) with UID 0 and GID 0. >>> Creating user 'shutdown' (shutdown) with UID 6 and GID 0. >>> Creating user 'sync' (sync) with UID 5 and GID 0. >>> [ 12/164] Installing setup-0:2.15.0-25. 100% | 54.9 MiB/s | 730.6 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 13/164] Installing filesystem-0:3.18- 100% | 2.9 MiB/s | 212.5 KiB | 00m00s [ 14/164] Installing pcre2-syntax-0:10. 100% | 269.9 MiB/s | 276.4 KiB | 00m00s [ 15/164] Installing coreutils-common-0 100% | 403.3 MiB/s | 11.3 MiB | 00m00s [ 16/164] Installing ncurses-base-0:6.5 100% | 86.0 MiB/s | 352.2 KiB | 00m00s [ 17/164] Installing bash-0:5.2.37-3.fc 100% | 292.2 MiB/s | 8.2 MiB | 00m00s [ 18/164] Installing glibc-common-0:2.4 100% | 68.0 MiB/s | 1.0 MiB | 00m00s [ 19/164] Installing glibc-gconv-extra- 100% | 292.4 MiB/s | 7.3 MiB | 00m00s [ 20/164] Installing glibc-0:2.41.9000- 100% | 202.4 MiB/s | 6.7 MiB | 00m00s [ 21/164] Installing ncurses-libs-0:6.5 100% | 310.1 MiB/s | 952.8 KiB | 00m00s [ 22/164] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 23/164] Installing zlib-ng-compat-0:2 100% | 0.0 B/s | 138.4 KiB | 00m00s [ 24/164] Installing bzip2-libs-0:1.0.8 100% | 0.0 B/s | 85.7 KiB | 00m00s [ 25/164] Installing libstdc++-0:15.1.1 100% | 405.2 MiB/s | 2.8 MiB | 00m00s [ 26/164] Installing xz-libs-1:5.8.1-1. 100% | 213.8 MiB/s | 218.9 KiB | 00m00s [ 27/164] Installing libuuid-0:2.40.4-7 100% | 0.0 B/s | 38.4 KiB | 00m00s [ 28/164] Installing gmp-1:6.3.0-3.fc43 100% | 401.1 MiB/s | 821.5 KiB | 00m00s [ 29/164] Installing readline-0:8.2-13. 100% | 475.7 MiB/s | 487.1 KiB | 00m00s [ 30/164] Installing popt-0:1.19-8.fc42 100% | 68.1 MiB/s | 139.4 KiB | 00m00s [ 31/164] Installing libblkid-0:2.40.4- 100% | 257.2 MiB/s | 263.4 KiB | 00m00s [ 32/164] Installing libxcrypt-0:4.4.38 100% | 280.4 MiB/s | 287.2 KiB | 00m00s [ 33/164] Installing libzstd-0:1.5.7-1. 100% | 395.1 MiB/s | 809.1 KiB | 00m00s [ 34/164] Installing elfutils-libelf-0: 100% | 388.8 MiB/s | 1.2 MiB | 00m00s [ 35/164] Installing libgpg-error-0:1.5 100% | 69.2 MiB/s | 921.1 KiB | 00m00s [ 36/164] Installing libattr-0:2.5.2-5. 100% | 0.0 B/s | 28.1 KiB | 00m00s [ 37/164] Installing libacl-0:2.3.2-3.f 100% | 0.0 B/s | 39.2 KiB | 00m00s [ 38/164] Installing libtasn1-0:4.20.0- 100% | 173.9 MiB/s | 178.1 KiB | 00m00s [ 39/164] Installing libunistring-0:1.1 100% | 431.7 MiB/s | 1.7 MiB | 00m00s [ 40/164] Installing libidn2-0:2.3.8-1. 100% | 68.2 MiB/s | 558.7 KiB | 00m00s [ 41/164] Installing crypto-policies-0: 100% | 40.7 MiB/s | 166.6 KiB | 00m00s [ 42/164] Installing dwz-0:0.15-9.fc42. 100% | 23.8 MiB/s | 292.4 KiB | 00m00s [ 43/164] Installing mpfr-0:4.2.2-1.fc4 100% | 270.3 MiB/s | 830.4 KiB | 00m00s [ 44/164] Installing gawk-0:5.3.2-1.fc4 100% | 106.8 MiB/s | 1.8 MiB | 00m00s [ 45/164] Installing unzip-0:6.0-66.fc4 100% | 32.0 MiB/s | 393.8 KiB | 00m00s [ 46/164] Installing file-libs-0:5.46-1 100% | 658.7 MiB/s | 11.9 MiB | 00m00s [ 47/164] Installing file-0:5.46-1.fc42 100% | 9.0 MiB/s | 101.7 KiB | 00m00s [ 48/164] Installing libcap-ng-0:0.8.5- 100% | 0.0 B/s | 74.8 KiB | 00m00s [ 49/164] Installing audit-libs-0:4.0.3 100% | 345.1 MiB/s | 353.4 KiB | 00m00s [ 50/164] Installing libsmartcols-0:2.4 100% | 177.3 MiB/s | 181.5 KiB | 00m00s [ 51/164] Installing libeconf-0:0.7.6-1 100% | 0.0 B/s | 66.2 KiB | 00m00s [ 52/164] Installing pam-libs-0:1.7.0-4 100% | 126.1 MiB/s | 129.1 KiB | 00m00s [ 53/164] Installing libcap-0:2.76-1.fc 100% | 19.0 MiB/s | 214.3 KiB | 00m00s [ 54/164] Installing systemd-libs-0:257 100% | 372.0 MiB/s | 2.2 MiB | 00m00s [ 55/164] Installing libsepol-0:3.8-1.f 100% | 403.8 MiB/s | 827.0 KiB | 00m00s [ 56/164] Installing pcre2-0:10.45-1.fc 100% | 341.4 MiB/s | 699.1 KiB | 00m00s [ 57/164] Installing libselinux-0:3.8-1 100% | 189.8 MiB/s | 194.3 KiB | 00m00s [ 58/164] Installing grep-0:3.12-1.fc43 100% | 71.6 MiB/s | 1.0 MiB | 00m00s [ 59/164] Installing sed-0:4.9-4.fc42.x 100% | 60.4 MiB/s | 865.5 KiB | 00m00s [ 60/164] Installing findutils-1:4.10.0 100% | 117.1 MiB/s | 1.9 MiB | 00m00s [ 61/164] Installing xz-1:5.8.1-1.fc43. 100% | 88.8 MiB/s | 1.3 MiB | 00m00s [ 62/164] Installing libmount-0:2.40.4- 100% | 349.0 MiB/s | 357.4 KiB | 00m00s [ 63/164] Installing lz4-libs-0:1.10.0- 100% | 154.7 MiB/s | 158.5 KiB | 00m00s [ 64/164] Installing alternatives-0:1.3 100% | 6.2 MiB/s | 63.8 KiB | 00m00s [ 65/164] Installing lua-libs-0:5.4.7-3 100% | 271.5 MiB/s | 278.1 KiB | 00m00s [ 66/164] Installing sqlite-libs-0:3.49 100% | 377.1 MiB/s | 1.5 MiB | 00m00s [ 67/164] Installing json-c-0:0.18-2.fc 100% | 0.0 B/s | 88.0 KiB | 00m00s [ 68/164] Installing libffi-0:3.4.8-1.f 100% | 82.4 MiB/s | 84.3 KiB | 00m00s [ 69/164] Installing p11-kit-0:0.25.5-5 100% | 121.3 MiB/s | 2.2 MiB | 00m00s [ 70/164] Installing p11-kit-trust-0:0. 100% | 22.8 MiB/s | 397.2 KiB | 00m00s [ 71/164] Installing openssl-libs-1:3.5 100% | 404.0 MiB/s | 8.9 MiB | 00m00s [ 72/164] Installing coreutils-0:9.7-2. 100% | 181.5 MiB/s | 5.4 MiB | 00m00s [ 73/164] Installing ca-certificates-0: 100% | 2.1 MiB/s | 2.4 MiB | 00m01s [ 74/164] Installing gzip-0:1.13-3.fc42 100% | 29.9 MiB/s | 398.4 KiB | 00m00s [ 75/164] Installing rpm-sequoia-0:1.8. 100% | 357.7 MiB/s | 2.5 MiB | 00m00s [ 76/164] Installing libfsverity-0:1.6- 100% | 0.0 B/s | 33.5 KiB | 00m00s [ 77/164] Installing libevent-0:2.1.12- 100% | 295.2 MiB/s | 906.9 KiB | 00m00s [ 78/164] Installing zstd-0:1.5.7-1.fc4 100% | 114.0 MiB/s | 1.7 MiB | 00m00s [ 79/164] Installing util-linux-core-0: 100% | 89.2 MiB/s | 1.4 MiB | 00m00s [ 80/164] Installing tar-2:1.35-5.fc42. 100% | 164.6 MiB/s | 3.0 MiB | 00m00s [ 81/164] Installing libsemanage-0:3.8- 100% | 302.9 MiB/s | 310.2 KiB | 00m00s [ 82/164] Installing systemd-standalone 100% | 24.7 MiB/s | 277.8 KiB | 00m00s [ 83/164] Installing rpm-libs-0:5.99.90 100% | 303.2 MiB/s | 931.3 KiB | 00m00s [ 84/164] Installing libusb1-0:1.0.28-2 100% | 21.1 MiB/s | 172.7 KiB | 00m00s >>> Running sysusers scriptlet: tpm2-tss-0:4.1.3-7.fc43.x86_64 >>> Finished sysusers scriptlet: tpm2-tss-0:4.1.3-7.fc43.x86_64 >>> Scriptlet output: >>> Creating group 'tss' with GID 59. >>> Creating user 'tss' (Account used for TPM access) with UID 59 and GID 59. >>> [ 85/164] Installing tpm2-tss-0:4.1.3-7 100% | 313.6 MiB/s | 1.6 MiB | 00m00s [ 86/164] Installing ima-evm-utils-libs 100% | 0.0 B/s | 62.0 KiB | 00m00s [ 87/164] Installing zip-0:3.0-43.fc42. 100% | 49.0 MiB/s | 702.4 KiB | 00m00s [ 88/164] Installing libpsl-0:0.21.5-5. 100% | 75.7 MiB/s | 77.5 KiB | 00m00s [ 89/164] Installing libassuan-0:2.5.7- 100% | 165.6 MiB/s | 169.6 KiB | 00m00s [ 90/164] Installing libgcrypt-0:1.11.1 100% | 393.8 MiB/s | 1.6 MiB | 00m00s [ 91/164] Installing libksba-0:1.6.7-3. 100% | 395.6 MiB/s | 405.1 KiB | 00m00s [ 92/164] Installing libfdisk-0:2.40.4- 100% | 364.7 MiB/s | 373.5 KiB | 00m00s [ 93/164] Installing nettle-0:3.10.1-1. 100% | 387.5 MiB/s | 793.6 KiB | 00m00s [ 94/164] Installing gnutls-0:3.8.9-5.f 100% | 397.1 MiB/s | 3.6 MiB | 00m00s [ 95/164] Installing libxml2-0:2.12.10- 100% | 113.1 MiB/s | 1.7 MiB | 00m00s [ 96/164] Installing libarchive-0:3.7.7 100% | 303.6 MiB/s | 932.6 KiB | 00m00s [ 97/164] Installing bzip2-0:1.0.8-20.f 100% | 9.2 MiB/s | 103.8 KiB | 00m00s [ 98/164] Installing add-determinism-0: 100% | 154.1 MiB/s | 2.5 MiB | 00m00s [ 99/164] Installing build-reproducibil 100% | 0.0 B/s | 1.0 KiB | 00m00s [100/164] Installing cpio-0:2.15-2.fc41 100% | 78.6 MiB/s | 1.1 MiB | 00m00s [101/164] Installing diffutils-0:3.12-2 100% | 104.1 MiB/s | 1.6 MiB | 00m00s [102/164] Installing libpkgconf-0:2.3.0 100% | 0.0 B/s | 79.2 KiB | 00m00s [103/164] Installing pkgconf-0:2.3.0-2. 100% | 8.1 MiB/s | 91.0 KiB | 00m00s [104/164] Installing ed-0:1.21-2.fc42.x 100% | 13.2 MiB/s | 148.8 KiB | 00m00s [105/164] Installing patch-0:2.8-1.fc43 100% | 20.3 MiB/s | 228.3 KiB | 00m00s [106/164] Installing jansson-0:2.14-2.f 100% | 92.2 MiB/s | 94.4 KiB | 00m00s [107/164] Installing libgomp-0:15.1.1-1 100% | 263.6 MiB/s | 539.9 KiB | 00m00s [108/164] Installing npth-0:1.8-2.fc42. 100% | 0.0 B/s | 50.7 KiB | 00m00s [109/164] Installing libtool-ltdl-0:2.5 100% | 0.0 B/s | 71.2 KiB | 00m00s [110/164] Installing gdbm-libs-1:1.23-9 100% | 128.5 MiB/s | 131.6 KiB | 00m00s [111/164] Installing cyrus-sasl-lib-0:2 100% | 144.0 MiB/s | 2.3 MiB | 00m00s [112/164] Installing openldap-0:2.6.9-5 100% | 214.5 MiB/s | 658.9 KiB | 00m00s [113/164] Installing gnupg2-0:2.4.8-1.f 100% | 273.5 MiB/s | 9.8 MiB | 00m00s [114/164] Installing rpm-sign-libs-0:5. 100% | 0.0 B/s | 40.5 KiB | 00m00s [115/164] Installing gpgverify-0:2.1-3. 100% | 0.0 B/s | 9.4 KiB | 00m00s [116/164] Installing xxhash-libs-0:0.8. 100% | 89.4 MiB/s | 91.6 KiB | 00m00s [117/164] Installing libbrotli-0:1.1.0- 100% | 274.6 MiB/s | 843.6 KiB | 00m00s [118/164] Installing libnghttp2-0:1.65. 100% | 159.5 MiB/s | 163.3 KiB | 00m00s [119/164] Installing keyutils-libs-0:1. 100% | 0.0 B/s | 59.7 KiB | 00m00s [120/164] Installing libcom_err-0:1.47. 100% | 0.0 B/s | 68.2 KiB | 00m00s [121/164] Installing libverto-0:0.3.2-1 100% | 26.6 MiB/s | 27.2 KiB | 00m00s [122/164] Installing krb5-libs-0:1.21.3 100% | 328.5 MiB/s | 2.3 MiB | 00m00s [123/164] Installing libssh-0:0.11.1-4. 100% | 277.1 MiB/s | 567.5 KiB | 00m00s [124/164] Installing libcurl-0:8.14.0~r 100% | 435.6 MiB/s | 892.1 KiB | 00m00s [125/164] Installing curl-0:8.14.0~rc1- 100% | 23.2 MiB/s | 476.0 KiB | 00m00s [126/164] Installing rpm-0:5.99.90-5.fc 100% | 83.6 MiB/s | 2.5 MiB | 00m00s [127/164] Installing efi-srpm-macros-0: 100% | 40.2 MiB/s | 41.1 KiB | 00m00s [128/164] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [129/164] Installing tree-sitter-srpm-m 100% | 0.0 B/s | 8.6 KiB | 00m00s [130/164] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.7 KiB | 00m00s [131/164] Installing filesystem-srpm-ma 100% | 0.0 B/s | 38.9 KiB | 00m00s [132/164] Installing elfutils-default-y 100% | 510.7 KiB/s | 2.0 KiB | 00m00s [133/164] Installing elfutils-libs-0:0. 100% | 223.1 MiB/s | 685.2 KiB | 00m00s [134/164] Installing elfutils-debuginfo 100% | 7.0 MiB/s | 86.2 KiB | 00m00s [135/164] Installing binutils-0:2.44-3. 100% | 350.0 MiB/s | 25.9 MiB | 00m00s [136/164] Installing elfutils-0:0.193-2 100% | 162.4 MiB/s | 2.9 MiB | 00m00s [137/164] Installing gdb-minimal-0:16.3 100% | 315.4 MiB/s | 13.2 MiB | 00m00s [138/164] Installing debugedit-0:5.1-6. 100% | 17.3 MiB/s | 195.4 KiB | 00m00s [139/164] Installing rpm-build-libs-0:5 100% | 259.0 MiB/s | 265.2 KiB | 00m00s [140/164] Installing pkgconf-m4-0:2.3.0 100% | 0.0 B/s | 14.8 KiB | 00m00s [141/164] Installing pkgconf-pkg-config 100% | 177.3 KiB/s | 1.8 KiB | 00m00s [142/164] Installing rust-srpm-macros-0 100% | 0.0 B/s | 5.6 KiB | 00m00s [143/164] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 740.0 B | 00m00s [144/164] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [145/164] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [146/164] Installing package-notes-srpm 100% | 0.0 B/s | 2.0 KiB | 00m00s [147/164] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [148/164] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.2 KiB | 00m00s [149/164] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [150/164] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [151/164] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [152/164] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [153/164] Installing ansible-srpm-macro 100% | 0.0 B/s | 36.2 KiB | 00m00s [154/164] Installing rpm-build-0:5.99.9 100% | 23.6 MiB/s | 290.3 KiB | 00m00s [155/164] Installing pyproject-srpm-mac 100% | 0.0 B/s | 2.5 KiB | 00m00s [156/164] Installing redhat-rpm-config- 100% | 183.6 MiB/s | 188.0 KiB | 00m00s [157/164] Installing forge-srpm-macros- 100% | 0.0 B/s | 40.3 KiB | 00m00s [158/164] Installing fonts-srpm-macros- 100% | 0.0 B/s | 57.0 KiB | 00m00s [159/164] Installing go-srpm-macros-0:3 100% | 0.0 B/s | 62.0 KiB | 00m00s [160/164] Installing python-srpm-macros 100% | 51.8 MiB/s | 53.0 KiB | 00m00s [161/164] Installing util-linux-0:2.40. 100% | 111.7 MiB/s | 3.5 MiB | 00m00s [162/164] Installing shadow-utils-2:4.1 100% | 144.8 MiB/s | 4.1 MiB | 00m00s [163/164] Installing which-0:2.23-1.fc4 100% | 7.6 MiB/s | 85.6 KiB | 00m00s [164/164] Installing info-0:7.2-3.fc42. 100% | 240.0 KiB/s | 358.3 KiB | 00m01s Warning: skipped OpenPGP checks for 162 packages from repository: http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch Complete! Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: add-determinism-0.6.0-1.fc43.x86_64 alternatives-1.33-1.fc43.x86_64 ansible-srpm-macros-1-17.1.fc42.noarch audit-libs-4.0.3-2.fc42.x86_64 bash-5.2.37-3.fc43.x86_64 binutils-2.44-3.fc43.x86_64 build-reproducibility-srpm-macros-0.6.0-1.fc43.noarch bzip2-1.0.8-20.fc42.x86_64 bzip2-libs-1.0.8-20.fc42.x86_64 ca-certificates-2024.2.69_v8.0.401-5.fc42.noarch coreutils-9.7-2.fc43.x86_64 coreutils-common-9.7-2.fc43.x86_64 cpio-2.15-2.fc41.x86_64 crypto-policies-20250402-2.git86c0178.fc43.noarch curl-8.14.0~rc1-1.fc43.x86_64 cyrus-sasl-lib-2.1.28-30.fc42.x86_64 debugedit-5.1-6.fc43.x86_64 diffutils-3.12-2.fc43.x86_64 dwz-0.15-9.fc42.x86_64 ed-1.21-2.fc42.x86_64 efi-srpm-macros-6-3.fc43.noarch elfutils-0.193-2.fc43.x86_64 elfutils-debuginfod-client-0.193-2.fc43.x86_64 elfutils-default-yama-scope-0.193-2.fc43.noarch elfutils-libelf-0.193-2.fc43.x86_64 elfutils-libs-0.193-2.fc43.x86_64 fedora-gpg-keys-43-0.2.noarch fedora-release-43-0.15.noarch fedora-release-common-43-0.15.noarch fedora-release-identity-basic-43-0.15.noarch fedora-repos-43-0.2.noarch fedora-repos-rawhide-43-0.2.noarch file-5.46-1.fc42.x86_64 file-libs-5.46-1.fc42.x86_64 filesystem-3.18-44.fc43.x86_64 filesystem-srpm-macros-3.18-44.fc43.noarch findutils-4.10.0-5.fc42.x86_64 fonts-srpm-macros-2.0.5-21.fc42.noarch forge-srpm-macros-0.4.0-2.fc42.noarch fpc-srpm-macros-1.3-14.fc42.noarch gawk-5.3.2-1.fc43.x86_64 gdb-minimal-16.3-1.fc43.x86_64 gdbm-libs-1.23-9.fc42.x86_64 ghc-srpm-macros-1.9.2-2.fc42.noarch glibc-2.41.9000-13.fc43.x86_64 glibc-common-2.41.9000-13.fc43.x86_64 glibc-gconv-extra-2.41.9000-13.fc43.x86_64 glibc-minimal-langpack-2.41.9000-13.fc43.x86_64 gmp-6.3.0-3.fc43.x86_64 gnat-srpm-macros-6-7.fc42.noarch gnupg2-2.4.8-1.fc43.x86_64 gnutls-3.8.9-5.fc43.x86_64 go-srpm-macros-3.6.0-7.fc43.noarch gpgverify-2.1-3.fc43.noarch grep-3.12-1.fc43.x86_64 gzip-1.13-3.fc42.x86_64 ima-evm-utils-libs-1.6.2-5.fc43.x86_64 info-7.2-3.fc42.x86_64 jansson-2.14-2.fc42.x86_64 json-c-0.18-2.fc42.x86_64 kernel-srpm-macros-1.0-25.fc42.noarch keyutils-libs-1.6.3-5.fc42.x86_64 krb5-libs-1.21.3-5.fc42.x86_64 libacl-2.3.2-3.fc42.x86_64 libarchive-3.7.7-4.fc43.x86_64 libassuan-2.5.7-3.fc42.x86_64 libattr-2.5.2-5.fc42.x86_64 libblkid-2.40.4-7.fc43.x86_64 libbrotli-1.1.0-6.fc42.x86_64 libcap-2.76-1.fc43.x86_64 libcap-ng-0.8.5-4.fc42.x86_64 libcom_err-1.47.2-3.fc42.x86_64 libcurl-8.14.0~rc1-1.fc43.x86_64 libeconf-0.7.6-1.fc43.x86_64 libevent-2.1.12-15.fc42.x86_64 libfdisk-2.40.4-7.fc43.x86_64 libffi-3.4.8-1.fc43.x86_64 libfsverity-1.6-2.fc42.x86_64 libgcc-15.1.1-1.fc43.x86_64 libgcrypt-1.11.1-1.fc43.x86_64 libgomp-15.1.1-1.fc43.x86_64 libgpg-error-1.55-1.fc43.x86_64 libidn2-2.3.8-1.fc43.x86_64 libksba-1.6.7-3.fc42.x86_64 libmount-2.40.4-7.fc43.x86_64 libnghttp2-1.65.0-1.fc43.x86_64 libpkgconf-2.3.0-2.fc42.x86_64 libpsl-0.21.5-5.fc42.x86_64 libselinux-3.8-1.fc42.x86_64 libsemanage-3.8-1.fc42.x86_64 libsepol-3.8-1.fc42.x86_64 libsmartcols-2.40.4-7.fc43.x86_64 libssh-0.11.1-4.fc42.x86_64 libssh-config-0.11.1-4.fc42.noarch libstdc++-15.1.1-1.fc43.x86_64 libtasn1-4.20.0-1.fc43.x86_64 libtool-ltdl-2.5.4-4.fc42.x86_64 libunistring-1.1-9.fc42.x86_64 libusb1-1.0.28-2.fc43.x86_64 libuuid-2.40.4-7.fc43.x86_64 libverto-0.3.2-10.fc42.x86_64 libxcrypt-4.4.38-7.fc43.x86_64 libxml2-2.12.10-1.fc43.x86_64 libzstd-1.5.7-1.fc43.x86_64 lua-libs-5.4.7-3.fc43.x86_64 lua-srpm-macros-1-15.fc42.noarch lz4-libs-1.10.0-2.fc42.x86_64 mpfr-4.2.2-1.fc43.x86_64 ncurses-base-6.5-5.20250125.fc42.noarch ncurses-libs-6.5-5.20250125.fc42.x86_64 nettle-3.10.1-1.fc43.x86_64 npth-1.8-2.fc42.x86_64 ocaml-srpm-macros-10-4.fc42.noarch openblas-srpm-macros-2-19.fc42.noarch openldap-2.6.9-5.fc43.x86_64 openssl-libs-3.5.0-3.fc43.x86_64 p11-kit-0.25.5-5.fc42.x86_64 p11-kit-trust-0.25.5-5.fc42.x86_64 package-notes-srpm-macros-0.5-13.fc42.noarch pam-libs-1.7.0-4.fc42.x86_64 patch-2.8-1.fc43.x86_64 pcre2-10.45-1.fc43.x86_64 pcre2-syntax-10.45-1.fc43.noarch perl-srpm-macros-1-57.fc42.noarch pkgconf-2.3.0-2.fc42.x86_64 pkgconf-m4-2.3.0-2.fc42.noarch pkgconf-pkg-config-2.3.0-2.fc42.x86_64 popt-1.19-8.fc42.x86_64 publicsuffix-list-dafsa-20250116-1.fc42.noarch pyproject-srpm-macros-1.18.1-1.fc43.noarch python-srpm-macros-3.13-5.fc43.noarch qt5-srpm-macros-5.15.16-1.fc43.noarch qt6-srpm-macros-6.9.0-2.fc43.noarch readline-8.2-13.fc43.x86_64 redhat-rpm-config-343-5.fc43.noarch rpm-5.99.90-5.fc43.x86_64 rpm-build-5.99.90-5.fc43.x86_64 rpm-build-libs-5.99.90-5.fc43.x86_64 rpm-libs-5.99.90-5.fc43.x86_64 rpm-sequoia-1.8.0-1.fc43.x86_64 rpm-sign-libs-5.99.90-5.fc43.x86_64 rust-srpm-macros-26.3-4.fc42.noarch sed-4.9-4.fc42.x86_64 setup-2.15.0-25.fc43.noarch shadow-utils-4.17.4-1.fc43.x86_64 sqlite-libs-3.49.1-1.fc43.x86_64 systemd-libs-257.5-5.fc43.x86_64 systemd-standalone-sysusers-257.5-5.fc43.x86_64 tar-1.35-5.fc42.x86_64 tpm2-tss-4.1.3-7.fc43.x86_64 tree-sitter-srpm-macros-0.2.4-1.fc43.noarch unzip-6.0-66.fc42.x86_64 util-linux-2.40.4-7.fc43.x86_64 util-linux-core-2.40.4-7.fc43.x86_64 which-2.23-1.fc42.x86_64 xxhash-libs-0.8.3-2.fc42.x86_64 xz-5.8.1-1.fc43.x86_64 xz-libs-5.8.1-1.fc43.x86_64 zig-srpm-macros-1-4.fc42.noarch zip-3.0-43.fc42.x86_64 zlib-ng-compat-2.2.4-2.fc43.x86_64 zstd-1.5.7-1.fc43.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1737158400 Wrote: /builddir/build/SRPMS/python-extractcode-31.0.0-6.fc43.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1747799150.322040/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-a4d34ktm/python-extractcode/python-extractcode.spec) Config(child) 0 minutes 10 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/python-extractcode-31.0.0-6.fc43.src.rpm) Config(fedora-rawhide-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1747799150.322040/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1747799150.322040/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1747799150.322040/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-5.99.90-5.fc43.x86_64 rpm-sequoia-1.8.0-1.fc43.x86_64 dnf5-5.2.13.1-2.fc43.x86_64 dnf5-plugins-5.2.13.1-2.fc43.x86_64 Finish: chroot init Start: build phase for python-extractcode-31.0.0-6.fc43.src.rpm Start: build setup for python-extractcode-31.0.0-6.fc43.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1737158400 Wrote: /builddir/build/SRPMS/python-extractcode-31.0.0-6.fc43.src.rpm Updating and loading repositories: Additional repo http_kojipkgs_fedorapr 100% | 29.0 KiB/s | 3.8 KiB | 00m00s fedora 100% | 81.3 KiB/s | 28.2 KiB | 00m00s Copr repository 100% | 84.7 KiB/s | 1.5 KiB | 00m00s Copr repository 100% | 2.3 MiB/s | 85.3 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-devel x86_64 3.13.3-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 MiB python3-extractcode-7z noarch 21.5.31-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 21.2 KiB python3-extractcode-libarchive noarch 21.5.31-6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 24.6 KiB python3-pytest noarch 8.3.5-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 21.0 MiB python3-sphinx noarch 1:8.2.3-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 11.4 MiB python3-sphinx_rtd_theme noarch 3.0.2-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 327.3 KiB python3-typecode-libmagic noarch 21.5.31-7.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 9.0 KiB Installing dependencies: 7zip x86_64 24.09-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.2 MiB expat x86_64 2.7.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 294.2 KiB file-devel x86_64 5.46-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 10.2 KiB fontawesome4-fonts noarch 1:4.7.0-24.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 296.6 KiB fonts-filesystem noarch 1:2.0.5-21.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 0.0 B google-roboto-slab-fonts noarch 1.100263-0.25.20150923git.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 699.6 KiB lato-fonts noarch 2.015-23.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 11.3 MiB libarchive-devel x86_64 3.7.7-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 179.3 KiB libb2 x86_64 0.98.1-13.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 46.1 KiB mpdecimal x86_64 4.0.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 217.2 KiB openssl-devel x86_64 1:3.5.0-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.6 MiB pyproject-rpm-macros noarch 1.18.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 114.5 KiB python-pip-wheel noarch 25.1.1-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.2 MiB python-rpm-macros noarch 3.13-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 22.1 KiB python3 x86_64 3.13.3-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 28.7 KiB python3-babel noarch 2.17.0-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 30.2 MiB python3-charset-normalizer noarch 3.4.2-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 330.1 KiB python3-docutils noarch 0.21.2-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.9 MiB python3-idna noarch 3.10-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 628.0 KiB python3-imagesize noarch 1.4.1-10.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 35.3 KiB python3-iniconfig noarch 1.1.1-25.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 20.6 KiB python3-jinja2 noarch 3.1.6-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.9 MiB python3-libs x86_64 3.13.3-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 39.9 MiB python3-markupsafe x86_64 3.0.2-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 55.8 KiB python3-packaging noarch 25.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 563.4 KiB python3-pluggy noarch 1.5.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 192.7 KiB python3-pygments noarch 2.19.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 10.8 MiB python3-requests noarch 2.32.3-12.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 483.4 KiB python3-roman-numerals-py noarch 3.1.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 38.7 KiB python3-rpm-generators noarch 14-12.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 81.7 KiB python3-rpm-macros noarch 3.13-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.4 KiB python3-snowballstemmer noarch 3.0.1-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 MiB python3-sphinx-theme-alabaster noarch 0.7.16-6.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 41.9 KiB python3-sphinxcontrib-jquery noarch 4.1-10.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 381.8 KiB python3-urllib3 noarch 2.4.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB tzdata noarch 2025b-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB Transaction Summary: Installing: 43 packages Total size of inbound packages is 36 MiB. Need to download 19 MiB. After this operation, 153 MiB extra will be used (install 153 MiB, remove 0 B). [ 1/43] python3-devel-0:3.13.3-3.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/43] python3-pytest-0:8.3.5-2.fc43.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/43] python3-0:3.13.3-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/43] python3-jinja2-0:3.1.6-1.fc43.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/43] python3-packaging-0:25.0-1.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/43] python3-pygments-0:2.19.1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/43] python3-requests-0:2.32.3-12.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/43] python3-charset-normalizer-0:3. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/43] python3-idna-0:3.10-2.fc42.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/43] python3-urllib3-0:2.4.0-1.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/43] python3-iniconfig-0:1.1.1-25.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/43] python3-pluggy-0:1.5.0-2.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/43] python3-markupsafe-0:3.0.2-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/43] python3-libs-0:3.13.3-3.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/43] fonts-filesystem-1:2.0.5-21.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [16/43] expat-0:2.7.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [17/43] libb2-0:0.98.1-13.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [18/43] mpdecimal-0:4.0.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [19/43] python-pip-wheel-0:25.1.1-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [20/43] tzdata-0:2025b-1.fc43.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [21/43] pyproject-rpm-macros-0:1.18.1-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [22/43] python-rpm-macros-0:3.13-5.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [23/43] python3-rpm-generators-0:14-12. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [24/43] python3-rpm-macros-0:3.13-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [25/43] python3-extractcode-7z-0:21.5.3 100% | 514.4 KiB/s | 18.5 KiB | 00m00s [26/43] python3-extractcode-libarchive- 100% | 443.3 KiB/s | 19.1 KiB | 00m00s [27/43] python3-sphinx_rtd_theme-0:3.0. 100% | 12.3 MiB/s | 75.6 KiB | 00m00s [28/43] python3-typecode-libmagic-0:21. 100% | 1.9 MiB/s | 13.8 KiB | 00m00s [29/43] file-devel-0:5.46-1.fc42.x86_64 100% | 1.7 MiB/s | 15.6 KiB | 00m00s [30/43] python3-sphinx-1:8.2.3-5.fc43.n 100% | 42.4 MiB/s | 2.6 MiB | 00m00s [31/43] fontawesome4-fonts-1:4.7.0-24.f 100% | 16.6 MiB/s | 204.5 KiB | 00m00s [32/43] google-roboto-slab-fonts-0:1.10 100% | 23.3 MiB/s | 238.8 KiB | 00m00s [33/43] python3-sphinxcontrib-jquery-0: 100% | 12.4 MiB/s | 114.1 KiB | 00m00s [34/43] python3-docutils-0:0.21.2-2.fc4 100% | 101.5 MiB/s | 1.0 MiB | 00m00s [35/43] python3-imagesize-0:1.4.1-10.fc 100% | 4.3 MiB/s | 22.0 KiB | 00m00s [36/43] python3-roman-numerals-py-0:3.1 100% | 3.8 MiB/s | 19.3 KiB | 00m00s [37/43] python3-snowballstemmer-0:3.0.1 100% | 42.9 MiB/s | 263.3 KiB | 00m00s [38/43] lato-fonts-0:2.015-23.fc42.noar 100% | 88.5 MiB/s | 3.1 MiB | 00m00s [39/43] python3-sphinx-theme-alabaster- 100% | 4.7 MiB/s | 24.3 KiB | 00m00s [40/43] python3-babel-0:2.17.0-1.fc42.n 100% | 204.3 MiB/s | 6.7 MiB | 00m00s [41/43] libarchive-devel-0:3.7.7-4.fc43 100% | 13.7 MiB/s | 126.7 KiB | 00m00s [42/43] 7zip-0:24.09-4.fc43.x86_64 100% | 82.6 MiB/s | 1.2 MiB | 00m00s [43/43] openssl-devel-1:3.5.0-3.fc43.x8 100% | 95.9 MiB/s | 2.9 MiB | 00m00s -------------------------------------------------------------------------------- [43/43] Total 100% | 122.4 MiB/s | 18.7 MiB | 00m00s Running transaction [ 1/45] Verify package files 100% | 843.0 B/s | 43.0 B | 00m00s [ 2/45] Prepare transaction 100% | 605.0 B/s | 43.0 B | 00m00s [ 3/45] Installing python-rpm-macros-0: 100% | 0.0 B/s | 22.8 KiB | 00m00s [ 4/45] Installing fonts-filesystem-1:2 100% | 0.0 B/s | 788.0 B | 00m00s [ 5/45] Installing python3-rpm-macros-0 100% | 0.0 B/s | 6.7 KiB | 00m00s [ 6/45] Installing pyproject-rpm-macros 100% | 113.7 MiB/s | 116.4 KiB | 00m00s [ 7/45] Installing fontawesome4-fonts-1 100% | 290.8 MiB/s | 297.8 KiB | 00m00s [ 8/45] Installing google-roboto-slab-f 100% | 342.5 MiB/s | 701.4 KiB | 00m00s [ 9/45] Installing lato-fonts-0:2.015-2 100% | 343.5 MiB/s | 11.3 MiB | 00m00s [10/45] Installing tzdata-0:2025b-1.fc4 100% | 63.1 MiB/s | 1.9 MiB | 00m00s [11/45] Installing python-pip-wheel-0:2 100% | 622.5 MiB/s | 1.2 MiB | 00m00s [12/45] Installing mpdecimal-0:4.0.1-1. 100% | 213.7 MiB/s | 218.8 KiB | 00m00s [13/45] Installing libb2-0:0.98.1-13.fc 100% | 0.0 B/s | 47.2 KiB | 00m00s [14/45] Installing expat-0:2.7.1-1.fc43 100% | 19.3 MiB/s | 296.3 KiB | 00m00s [15/45] Installing python3-libs-0:3.13. 100% | 347.3 MiB/s | 40.3 MiB | 00m00s [16/45] Installing python3-0:3.13.3-3.f 100% | 2.5 MiB/s | 30.4 KiB | 00m00s [17/45] Installing python3-packaging-0: 100% | 187.5 MiB/s | 575.9 KiB | 00m00s [18/45] Installing python3-docutils-0:0 100% | 166.3 MiB/s | 5.0 MiB | 00m00s [19/45] Installing python3-idna-0:3.10- 100% | 309.7 MiB/s | 634.3 KiB | 00m00s [20/45] Installing python3-urllib3-0:2. 100% | 255.3 MiB/s | 1.0 MiB | 00m00s [21/45] Installing python3-rpm-generato 100% | 40.5 MiB/s | 82.9 KiB | 00m00s [22/45] Installing python3-babel-0:2.17 100% | 362.0 MiB/s | 30.4 MiB | 00m00s [23/45] Installing python3-imagesize-0: 100% | 18.7 MiB/s | 38.3 KiB | 00m00s [24/45] Installing python3-pygments-0:2 100% | 234.8 MiB/s | 11.0 MiB | 00m00s [25/45] Installing python3-roman-numera 100% | 40.7 MiB/s | 41.6 KiB | 00m00s [26/45] Installing python3-snowballstem 100% | 367.6 MiB/s | 1.8 MiB | 00m00s [27/45] Installing python3-sphinx-theme 100% | 45.3 MiB/s | 46.4 KiB | 00m00s [28/45] Installing python3-charset-norm 100% | 27.7 MiB/s | 340.2 KiB | 00m00s [29/45] Installing python3-requests-0:2 100% | 242.0 MiB/s | 495.7 KiB | 00m00s [30/45] Installing python3-iniconfig-0: 100% | 23.0 MiB/s | 23.5 KiB | 00m00s [31/45] Installing python3-pluggy-0:1.5 100% | 194.3 MiB/s | 199.0 KiB | 00m00s [32/45] Installing python3-markupsafe-0 100% | 58.5 MiB/s | 59.9 KiB | 00m00s [33/45] Installing python3-jinja2-0:3.1 100% | 323.7 MiB/s | 2.9 MiB | 00m00s [34/45] Installing python3-sphinx-1:8.2 100% | 200.1 MiB/s | 11.6 MiB | 00m00s [35/45] Installing python3-sphinxcontri 100% | 62.7 MiB/s | 385.0 KiB | 00m00s [36/45] Installing openssl-devel-1:3.5. 100% | 67.3 MiB/s | 5.6 MiB | 00m00s [37/45] Installing libarchive-devel-0:3 100% | 181.5 MiB/s | 185.9 KiB | 00m00s [38/45] Installing 7zip-0:24.09-4.fc43. 100% | 162.3 MiB/s | 3.2 MiB | 00m00s [39/45] Installing file-devel-0:5.46-1. 100% | 0.0 B/s | 10.9 KiB | 00m00s [40/45] Installing python3-typecode-lib 100% | 11.4 MiB/s | 11.7 KiB | 00m00s [41/45] Installing python3-extractcode- 100% | 24.0 MiB/s | 24.6 KiB | 00m00s [42/45] Installing python3-extractcode- 100% | 27.3 MiB/s | 27.9 KiB | 00m00s [43/45] Installing python3-sphinx_rtd_t 100% | 68.0 MiB/s | 348.0 KiB | 00m00s [44/45] Installing python3-pytest-0:8.3 100% | 357.9 MiB/s | 21.1 MiB | 00m00s [45/45] Installing python3-devel-0:3.13 100% | 41.4 MiB/s | 1.8 MiB | 00m00s Warning: skipped OpenPGP checks for 43 packages from repository: http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch Complete! Finish: build setup for python-extractcode-31.0.0-6.fc43.src.rpm Start: rpmbuild python-extractcode-31.0.0-6.fc43.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1737158400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.CxmJac Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TjizGR + umask 022 + cd /builddir/build/BUILD/python-extractcode-31.0.0-build + cd /builddir/build/BUILD/python-extractcode-31.0.0-build + rm -rf extractcode-31.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/extractcode-31.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd extractcode-31.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/6270a8805c7fb964e545a56ca8a92829d240a96a.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/55.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/56.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's|\(fallback_version = "\)[^"]*|\131.0.0|' pyproject.toml + sed -i 's|extractcode-7z >= 16.5.210525|extractcode-7z-system-provided|' setup.cfg + sed -i 's|extractcode_libarchive >= 3.5.1.210525|extractcode_libarchive-system-provided|' setup.cfg + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Ya3flk + umask 022 + cd /builddir/build/BUILD/python-extractcode-31.0.0-build + cd extractcode-31.0.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir + RPM_TOXENV=py313 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/pyproject-wheeldir --output /builddir/build/BUILD/python-extractcode-31.0.0-build/python-extractcode-31.0.0-6.fc43.x86_64-pyproject-buildrequires Handling setuptools >= 50 from build-system.requires Requirement not satisfied: setuptools >= 50 Handling wheel from build-system.requires Requirement not satisfied: wheel Handling setuptools_scm[toml] >= 6 from build-system.requires Requirement not satisfied: setuptools_scm[toml] >= 6 Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-extractcode-31.0.0-build/python-extractcode-31.0.0-6.fc43.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-extractcode-31.0.0-6.fc43.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: Additional repo http_kojipkgs_fedorapr 100% | 153.2 KiB/s | 3.8 KiB | 00m00s fedora 100% | 433.8 KiB/s | 28.2 KiB | 00m00s Copr repository 100% | 58.7 KiB/s | 1.5 KiB | 00m00s Copr repository 100% | 3.0 MiB/s | 85.8 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.18.1-1.fc43.noarch" is already installed. Package "python3-devel-3.13.3-3.fc43.x86_64" is already installed. Package "python3-extractcode-7z-21.5.31-7.fc43.noarch" is already installed. Package "python3-extractcode-libarchive-21.5.31-6.fc42.noarch" is already installed. Package "python3-packaging-25.0-1.fc43.noarch" is already installed. Package "python3-pytest-8.3.5-2.fc43.noarch" is already installed. Package "python3-sphinx-1:8.2.3-5.fc43.noarch" is already installed. Package "python3-sphinx_rtd_theme-3.0.2-2.fc42.noarch" is already installed. Package "python3-typecode-libmagic-21.5.31-7.fc42.noarch" is already installed. Package Arch Version Repository Size Installing: python3-pip noarch 25.1.1-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 11.6 MiB python3-setuptools noarch 78.1.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 8.6 MiB python3-setuptools_scm noarch 8.3.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 320.3 KiB python3-setuptools_scm+toml noarch 8.3.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 9.8 KiB python3-wheel noarch 1:0.45.1-13.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 540.8 KiB Transaction Summary: Installing: 5 packages Total size of inbound packages is 5 MiB. Need to download 112 KiB. After this operation, 21 MiB extra will be used (install 21 MiB, remove 0 B). [1/5] python3-pip-0:25.1.1-3.fc43.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/5] python3-setuptools-0:78.1.1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/5] python3-wheel-1:0.45.1-13.fc43.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [4/5] python3-setuptools_scm+toml-0:8.3 100% | 413.9 KiB/s | 9.9 KiB | 00m00s [5/5] python3-setuptools_scm-0:8.3.1-1. 100% | 3.8 MiB/s | 102.1 KiB | 00m00s -------------------------------------------------------------------------------- [5/5] Total 100% | 3.6 MiB/s | 112.1 KiB | 00m00s Running transaction [1/7] Verify package files 100% | 833.0 B/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 263.0 B/s | 5.0 B | 00m00s [3/7] Installing python3-setuptools-0:7 100% | 230.7 MiB/s | 8.8 MiB | 00m00s [4/7] Installing python3-setuptools_scm 100% | 110.8 MiB/s | 340.3 KiB | 00m00s [5/7] Installing python3-setuptools_scm 100% | 0.0 B/s | 124.0 B | 00m00s [6/7] Installing python3-wheel-1:0.45.1 100% | 34.2 MiB/s | 560.8 KiB | 00m00s [7/7] Installing python3-pip-0:25.1.1-3 100% | 155.6 MiB/s | 11.8 MiB | 00m00s Warning: skipped OpenPGP checks for 5 packages from repository: http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1737158400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.70pFDI + umask 022 + cd /builddir/build/BUILD/python-extractcode-31.0.0-build + cd extractcode-31.0.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir + RPM_TOXENV=py313 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/pyproject-wheeldir --output /builddir/build/BUILD/python-extractcode-31.0.0-build/python-extractcode-31.0.0-6.fc43.x86_64-pyproject-buildrequires Handling setuptools >= 50 from build-system.requires Requirement satisfied: setuptools >= 50 (installed: setuptools 78.1.1) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.45.1) Handling setuptools_scm[toml] >= 6 from build-system.requires Requirement satisfied: setuptools_scm[toml] >= 6 (installed: setuptools_scm 8.3.1) (extras are currently not checked) running egg_info creating src/extractcode.egg-info writing src/extractcode.egg-info/PKG-INFO writing dependency_links to src/extractcode.egg-info/dependency_links.txt writing entry points to src/extractcode.egg-info/entry_points.txt writing requirements to src/extractcode.egg-info/requires.txt writing top-level names to src/extractcode.egg-info/top_level.txt writing manifest file 'src/extractcode.egg-info/SOURCES.txt' reading manifest file 'src/extractcode.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[co]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.*~' found anywhere in distribution adding license file 'apache-2.0.LICENSE' adding license file 'NOTICE' adding license file 'AUTHORS.rst' adding license file 'CHANGELOG.rst' adding license file 'CODE_OF_CONDUCT.rst' writing manifest file 'src/extractcode.egg-info/SOURCES.txt' running dist_info creating extractcode.egg-info writing extractcode.egg-info/PKG-INFO writing dependency_links to extractcode.egg-info/dependency_links.txt writing entry points to extractcode.egg-info/entry_points.txt writing requirements to extractcode.egg-info/requires.txt writing top-level names to extractcode.egg-info/top_level.txt writing manifest file 'extractcode.egg-info/SOURCES.txt' reading manifest file 'extractcode.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[co]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.*~' found anywhere in distribution adding license file 'apache-2.0.LICENSE' adding license file 'NOTICE' adding license file 'AUTHORS.rst' adding license file 'CHANGELOG.rst' adding license file 'CODE_OF_CONDUCT.rst' writing manifest file 'extractcode.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/extractcode-31.0.0.dist-info' Handling attrs!=20.1.0,>=18.1 from hook generated metadata: Requires-Dist (extractcode) Requirement not satisfied: attrs!=20.1.0,>=18.1 Handling commoncode>=30.2.0 from hook generated metadata: Requires-Dist (extractcode) Requirement not satisfied: commoncode>=30.2.0 Handling plugincode>=21.1.21 from hook generated metadata: Requires-Dist (extractcode) Requirement not satisfied: plugincode>=21.1.21 Handling typecode>=21.6.1 from hook generated metadata: Requires-Dist (extractcode) Requirement not satisfied: typecode>=21.6.1 Handling six from hook generated metadata: Requires-Dist (extractcode) Requirement not satisfied: six Handling extractcode-7z-system-provided; extra == "full" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: extractcode-7z-system-provided; extra == "full" Handling extractcode_libarchive-system-provided; extra == "full" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: extractcode_libarchive-system-provided; extra == "full" Handling typecode[full]>=21.6.1; extra == "full" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: typecode[full]>=21.6.1; extra == "full" Handling patch-ng>=1.17; extra == "patch" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: patch-ng>=1.17; extra == "patch" Handling pytest!=7.0.0,>=6; extra == "testing" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: pytest!=7.0.0,>=6; extra == "testing" Handling pytest-xdist>=2; extra == "testing" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: pytest-xdist>=2; extra == "testing" Handling aboutcode-toolkit>=7.0.2; extra == "testing" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: aboutcode-toolkit>=7.0.2; extra == "testing" Handling twine; extra == "testing" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: twine; extra == "testing" Handling black; extra == "testing" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: black; extra == "testing" Handling isort; extra == "testing" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: isort; extra == "testing" Handling Sphinx>=3.3.1; extra == "docs" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: Sphinx>=3.3.1; extra == "docs" Handling sphinx-rtd-theme>=0.5.0; extra == "docs" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: sphinx-rtd-theme>=0.5.0; extra == "docs" Handling doc8>=0.8.1; extra == "docs" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: doc8>=0.8.1; extra == "docs" + cat /builddir/build/BUILD/python-extractcode-31.0.0-build/python-extractcode-31.0.0-6.fc43.x86_64-pyproject-buildrequires + rm -rfv extractcode-31.0.0.dist-info/ removed 'extractcode-31.0.0.dist-info/entry_points.txt' removed 'extractcode-31.0.0.dist-info/top_level.txt' removed 'extractcode-31.0.0.dist-info/METADATA' removed 'extractcode-31.0.0.dist-info/licenses/apache-2.0.LICENSE' removed 'extractcode-31.0.0.dist-info/licenses/NOTICE' removed 'extractcode-31.0.0.dist-info/licenses/AUTHORS.rst' removed 'extractcode-31.0.0.dist-info/licenses/CHANGELOG.rst' removed 'extractcode-31.0.0.dist-info/licenses/CODE_OF_CONDUCT.rst' removed directory 'extractcode-31.0.0.dist-info/licenses' removed directory 'extractcode-31.0.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-extractcode-31.0.0-6.fc43.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: Additional repo http_kojipkgs_fedorapr 100% | 159.5 KiB/s | 3.8 KiB | 00m00s fedora 100% | 687.7 KiB/s | 28.2 KiB | 00m00s Copr repository 100% | 52.6 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.18.1-1.fc43.noarch" is already installed. Package "python3-devel-3.13.3-3.fc43.x86_64" is already installed. Package "python3-extractcode-7z-21.5.31-7.fc43.noarch" is already installed. Package "python3-extractcode-libarchive-21.5.31-6.fc42.noarch" is already installed. Package "python3-packaging-25.0-1.fc43.noarch" is already installed. Package "python3-pip-25.1.1-3.fc43.noarch" is already installed. Package "python3-pytest-8.3.5-2.fc43.noarch" is already installed. Package "python3-setuptools-78.1.1-1.fc43.noarch" is already installed. Package "python3-setuptools_scm-8.3.1-1.fc43.noarch" is already installed. Package "python3-setuptools_scm+toml-8.3.1-1.fc43.noarch" is already installed. Package "python3-sphinx-1:8.2.3-5.fc43.noarch" is already installed. Package "python3-sphinx_rtd_theme-3.0.2-2.fc42.noarch" is already installed. Package "python3-typecode-libmagic-21.5.31-7.fc42.noarch" is already installed. Package "python3-wheel-1:0.45.1-13.fc43.noarch" is already installed. Package Arch Version Repository Size Installing: python3-attrs noarch 25.3.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 402.5 KiB python3-commoncode noarch 32.2.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 680.9 KiB python3-plugincode noarch 32.0.0-6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 70.4 KiB python3-six noarch 1.17.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 116.9 KiB python3-typecode noarch 30.0.1-7.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 344.8 KiB Installing dependencies: libxslt x86_64 1.1.43-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 456.1 KiB libyaml x86_64 0.2.5-16.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 134.7 KiB python3-beautifulsoup4 noarch 4.13.4-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 MiB python3-binaryornot noarch 0.4.4-26.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 24.1 KiB python3-cffi x86_64 1.17.1-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.3 MiB python3-chardet noarch 5.2.0-18.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.1 MiB python3-click noarch 8.2.1-1.fc43 copr_base 1.1 MiB python3-cryptography x86_64 44.0.0-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 5.1 MiB python3-lxml x86_64 5.4.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 5.1 MiB python3-pdfminer noarch 20250506-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 8.5 MiB python3-ply noarch 3.11-26.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 565.1 KiB python3-pycparser noarch 2.22-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 897.0 KiB python3-pyyaml x86_64 6.0.2-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 781.0 KiB python3-saneyaml noarch 0.6.0-6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 56.7 KiB python3-soupsieve noarch 2.7-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 298.2 KiB python3-text-unidecode noarch 1.3-19.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 315.5 KiB python3-typing-extensions noarch 4.13.2-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 566.7 KiB Transaction Summary: Installing: 22 packages Total size of inbound packages is 11 MiB. Need to download 8 MiB. After this operation, 31 MiB extra will be used (install 31 MiB, remove 0 B). [ 1/22] python3-attrs-0:25.3.0-1.fc43.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/22] python3-six-0:1.17.0-2.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/22] python3-click-0:8.2.1-1.fc43.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/22] python3-cryptography-0:44.0.0-5 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/22] python3-cffi-0:1.17.1-2.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/22] python3-pycparser-0:2.22-1.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/22] python3-typing-extensions-0:4.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/22] python3-pyyaml-0:6.0.2-2.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/22] libyaml-0:0.2.5-16.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/22] python3-ply-0:3.11-26.fc42.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/22] python3-plugincode-0:32.0.0-6.f 100% | 1.3 MiB/s | 32.0 KiB | 00m00s [12/22] python3-typecode-0:30.0.1-7.fc4 100% | 3.2 MiB/s | 97.5 KiB | 00m00s [13/22] python3-binaryornot-0:0.4.4-26. 100% | 2.7 MiB/s | 19.5 KiB | 00m00s [14/22] python3-commoncode-0:32.2.1-1.f 100% | 4.6 MiB/s | 167.9 KiB | 00m00s [15/22] python3-beautifulsoup4-0:4.13.4 100% | 47.7 MiB/s | 390.5 KiB | 00m00s [16/22] python3-saneyaml-0:0.6.0-6.fc42 100% | 6.1 MiB/s | 25.1 KiB | 00m00s [17/22] python3-chardet-0:5.2.0-18.fc43 100% | 38.0 MiB/s | 272.1 KiB | 00m00s [18/22] python3-text-unidecode-0:1.3-19 100% | 9.5 MiB/s | 67.9 KiB | 00m00s [19/22] python3-soupsieve-0:2.7-1.fc43. 100% | 10.2 MiB/s | 94.2 KiB | 00m00s [20/22] python3-lxml-0:5.4.0-1.fc43.x86 100% | 117.7 MiB/s | 1.4 MiB | 00m00s [21/22] libxslt-0:1.1.43-1.fc43.x86_64 100% | 16.1 MiB/s | 181.6 KiB | 00m00s [22/22] python3-pdfminer-0:20250506-1.f 100% | 58.4 MiB/s | 5.5 MiB | 00m00s -------------------------------------------------------------------------------- [22/22] Total 100% | 64.2 MiB/s | 8.3 MiB | 00m00s Running transaction [ 1/24] Verify package files 100% | 1.4 KiB/s | 22.0 B | 00m00s [ 2/24] Prepare transaction 100% | 956.0 B/s | 22.0 B | 00m00s [ 3/24] Installing python3-click-0:8.2. 100% | 272.5 MiB/s | 1.1 MiB | 00m00s [ 4/24] Installing python3-attrs-0:25.3 100% | 203.5 MiB/s | 416.7 KiB | 00m00s [ 5/24] Installing libxslt-0:1.1.43-1.f 100% | 34.5 MiB/s | 459.2 KiB | 00m00s [ 6/24] Installing python3-lxml-0:5.4.0 100% | 299.2 MiB/s | 5.1 MiB | 00m00s [ 7/24] Installing python3-ply-0:3.11-2 100% | 278.5 MiB/s | 570.3 KiB | 00m00s [ 8/24] Installing python3-pycparser-0: 100% | 295.8 MiB/s | 908.7 KiB | 00m00s [ 9/24] Installing python3-cffi-0:1.17. 100% | 331.3 MiB/s | 1.3 MiB | 00m00s [10/24] Installing python3-cryptography 100% | 270.5 MiB/s | 5.1 MiB | 00m00s [11/24] Installing python3-pdfminer-0:2 100% | 259.1 MiB/s | 8.6 MiB | 00m00s [12/24] Installing libyaml-0:0.2.5-16.f 100% | 132.9 MiB/s | 136.0 KiB | 00m00s [13/24] Installing python3-pyyaml-0:6.0 100% | 258.7 MiB/s | 794.8 KiB | 00m00s [14/24] Installing python3-saneyaml-0:0 100% | 58.5 MiB/s | 59.9 KiB | 00m00s [15/24] Installing python3-typing-exten 100% | 556.0 MiB/s | 569.3 KiB | 00m00s [16/24] Installing python3-soupsieve-0: 100% | 148.6 MiB/s | 304.3 KiB | 00m00s [17/24] Installing python3-beautifulsou 100% | 322.1 MiB/s | 1.9 MiB | 00m00s [18/24] Installing python3-chardet-0:5. 100% | 123.1 MiB/s | 2.1 MiB | 00m00s [19/24] Installing python3-binaryornot- 100% | 27.5 MiB/s | 28.1 KiB | 00m00s [20/24] Installing python3-text-unideco 100% | 310.7 MiB/s | 318.2 KiB | 00m00s [21/24] Installing python3-commoncode-0 100% | 227.6 MiB/s | 699.1 KiB | 00m00s [22/24] Installing python3-plugincode-0 100% | 75.6 MiB/s | 77.4 KiB | 00m00s [23/24] Installing python3-typecode-0:3 100% | 173.1 MiB/s | 354.4 KiB | 00m00s [24/24] Installing python3-six-0:1.17.0 100% | 8.9 MiB/s | 119.0 KiB | 00m00s Warning: skipped OpenPGP checks for 22 packages from repositories: copr_base, http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1737158400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.4pmIfh + umask 022 + cd /builddir/build/BUILD/python-extractcode-31.0.0-build + cd extractcode-31.0.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir + RPM_TOXENV=py313 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/pyproject-wheeldir --output /builddir/build/BUILD/python-extractcode-31.0.0-build/python-extractcode-31.0.0-6.fc43.x86_64-pyproject-buildrequires Handling setuptools >= 50 from build-system.requires Requirement satisfied: setuptools >= 50 (installed: setuptools 78.1.1) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.45.1) Handling setuptools_scm[toml] >= 6 from build-system.requires Requirement satisfied: setuptools_scm[toml] >= 6 (installed: setuptools_scm 8.3.1) (extras are currently not checked) running egg_info writing src/extractcode.egg-info/PKG-INFO writing dependency_links to src/extractcode.egg-info/dependency_links.txt writing entry points to src/extractcode.egg-info/entry_points.txt writing requirements to src/extractcode.egg-info/requires.txt writing top-level names to src/extractcode.egg-info/top_level.txt reading manifest file 'src/extractcode.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[co]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.*~' found anywhere in distribution adding license file 'apache-2.0.LICENSE' adding license file 'NOTICE' adding license file 'AUTHORS.rst' adding license file 'CHANGELOG.rst' adding license file 'CODE_OF_CONDUCT.rst' writing manifest file 'src/extractcode.egg-info/SOURCES.txt' running dist_info writing extractcode.egg-info/PKG-INFO writing dependency_links to extractcode.egg-info/dependency_links.txt writing entry points to extractcode.egg-info/entry_points.txt writing requirements to extractcode.egg-info/requires.txt writing top-level names to extractcode.egg-info/top_level.txt reading manifest file 'extractcode.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[co]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.*~' found anywhere in distribution adding license file 'apache-2.0.LICENSE' adding license file 'NOTICE' adding license file 'AUTHORS.rst' adding license file 'CHANGELOG.rst' adding license file 'CODE_OF_CONDUCT.rst' writing manifest file 'extractcode.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/extractcode-31.0.0.dist-info' Handling attrs!=20.1.0,>=18.1 from hook generated metadata: Requires-Dist (extractcode) Requirement satisfied: attrs!=20.1.0,>=18.1 (installed: attrs 25.3.0) Handling commoncode>=30.2.0 from hook generated metadata: Requires-Dist (extractcode) Requirement satisfied: commoncode>=30.2.0 (installed: commoncode 32.2.1) Handling plugincode>=21.1.21 from hook generated metadata: Requires-Dist (extractcode) Requirement satisfied: plugincode>=21.1.21 (installed: plugincode 32.0.0) Handling typecode>=21.6.1 from hook generated metadata: Requires-Dist (extractcode) Requirement satisfied: typecode>=21.6.1 (installed: typecode 30.0.1) Handling six from hook generated metadata: Requires-Dist (extractcode) Requirement satisfied: six (installed: six 1.17.0) Handling extractcode-7z-system-provided; extra == "full" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: extractcode-7z-system-provided; extra == "full" Handling extractcode_libarchive-system-provided; extra == "full" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: extractcode_libarchive-system-provided; extra == "full" Handling typecode[full]>=21.6.1; extra == "full" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: typecode[full]>=21.6.1; extra == "full" Handling patch-ng>=1.17; extra == "patch" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: patch-ng>=1.17; extra == "patch" Handling pytest!=7.0.0,>=6; extra == "testing" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: pytest!=7.0.0,>=6; extra == "testing" Handling pytest-xdist>=2; extra == "testing" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: pytest-xdist>=2; extra == "testing" Handling aboutcode-toolkit>=7.0.2; extra == "testing" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: aboutcode-toolkit>=7.0.2; extra == "testing" Handling twine; extra == "testing" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: twine; extra == "testing" Handling black; extra == "testing" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: black; extra == "testing" Handling isort; extra == "testing" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: isort; extra == "testing" Handling Sphinx>=3.3.1; extra == "docs" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: Sphinx>=3.3.1; extra == "docs" Handling sphinx-rtd-theme>=0.5.0; extra == "docs" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: sphinx-rtd-theme>=0.5.0; extra == "docs" Handling doc8>=0.8.1; extra == "docs" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: doc8>=0.8.1; extra == "docs" + cat /builddir/build/BUILD/python-extractcode-31.0.0-build/python-extractcode-31.0.0-6.fc43.x86_64-pyproject-buildrequires + rm -rfv extractcode-31.0.0.dist-info/ removed 'extractcode-31.0.0.dist-info/entry_points.txt' removed 'extractcode-31.0.0.dist-info/top_level.txt' removed 'extractcode-31.0.0.dist-info/METADATA' removed 'extractcode-31.0.0.dist-info/licenses/apache-2.0.LICENSE' removed 'extractcode-31.0.0.dist-info/licenses/NOTICE' removed 'extractcode-31.0.0.dist-info/licenses/AUTHORS.rst' removed 'extractcode-31.0.0.dist-info/licenses/CHANGELOG.rst' removed 'extractcode-31.0.0.dist-info/licenses/CODE_OF_CONDUCT.rst' removed directory 'extractcode-31.0.0.dist-info/licenses' removed directory 'extractcode-31.0.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-extractcode-31.0.0-6.fc43.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: Additional repo http_kojipkgs_fedorapr 100% | 147.3 KiB/s | 3.8 KiB | 00m00s fedora 100% | 909.6 KiB/s | 28.2 KiB | 00m00s Copr repository 100% | 38.1 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Nothing to do. Package "pyproject-rpm-macros-1.18.1-1.fc43.noarch" is already installed. Package "python3-devel-3.13.3-3.fc43.x86_64" is already installed. Package "python3-commoncode-32.2.1-1.fc43.noarch" is already installed. Package "python3-extractcode-7z-21.5.31-7.fc43.noarch" is already installed. Package "python3-extractcode-libarchive-21.5.31-6.fc42.noarch" is already installed. Package "python3-packaging-25.0-1.fc43.noarch" is already installed. Package "python3-pip-25.1.1-3.fc43.noarch" is already installed. Package "python3-plugincode-32.0.0-6.fc42.noarch" is already installed. Package "python3-pytest-8.3.5-2.fc43.noarch" is already installed. Package "python3-setuptools-78.1.1-1.fc43.noarch" is already installed. Package "python3-setuptools_scm-8.3.1-1.fc43.noarch" is already installed. Package "python3-setuptools_scm+toml-8.3.1-1.fc43.noarch" is already installed. Package "python3-six-1.17.0-2.fc42.noarch" is already installed. Package "python3-sphinx-1:8.2.3-5.fc43.noarch" is already installed. Package "python3-sphinx_rtd_theme-3.0.2-2.fc42.noarch" is already installed. Package "python3-typecode-30.0.1-7.fc42.noarch" is already installed. Package "python3-typecode-libmagic-21.5.31-7.fc42.noarch" is already installed. Package "python3-wheel-1:0.45.1-13.fc43.noarch" is already installed. Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1737158400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.dybzHl + umask 022 + cd /builddir/build/BUILD/python-extractcode-31.0.0-build + cd extractcode-31.0.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir + RPM_TOXENV=py313 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/pyproject-wheeldir --output /builddir/build/BUILD/python-extractcode-31.0.0-build/python-extractcode-31.0.0-6.fc43.x86_64-pyproject-buildrequires Handling setuptools >= 50 from build-system.requires Requirement satisfied: setuptools >= 50 (installed: setuptools 78.1.1) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.45.1) Handling setuptools_scm[toml] >= 6 from build-system.requires Requirement satisfied: setuptools_scm[toml] >= 6 (installed: setuptools_scm 8.3.1) (extras are currently not checked) running egg_info writing src/extractcode.egg-info/PKG-INFO writing dependency_links to src/extractcode.egg-info/dependency_links.txt writing entry points to src/extractcode.egg-info/entry_points.txt writing requirements to src/extractcode.egg-info/requires.txt writing top-level names to src/extractcode.egg-info/top_level.txt reading manifest file 'src/extractcode.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[co]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.*~' found anywhere in distribution adding license file 'apache-2.0.LICENSE' adding license file 'NOTICE' adding license file 'AUTHORS.rst' adding license file 'CHANGELOG.rst' adding license file 'CODE_OF_CONDUCT.rst' writing manifest file 'src/extractcode.egg-info/SOURCES.txt' running dist_info writing extractcode.egg-info/PKG-INFO writing dependency_links to extractcode.egg-info/dependency_links.txt writing entry points to extractcode.egg-info/entry_points.txt writing requirements to extractcode.egg-info/requires.txt writing top-level names to extractcode.egg-info/top_level.txt reading manifest file 'extractcode.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[co]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.*~' found anywhere in distribution adding license file 'apache-2.0.LICENSE' adding license file 'NOTICE' adding license file 'AUTHORS.rst' adding license file 'CHANGELOG.rst' adding license file 'CODE_OF_CONDUCT.rst' writing manifest file 'extractcode.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/extractcode-31.0.0.dist-info' Handling attrs!=20.1.0,>=18.1 from hook generated metadata: Requires-Dist (extractcode) Requirement satisfied: attrs!=20.1.0,>=18.1 (installed: attrs 25.3.0) Handling commoncode>=30.2.0 from hook generated metadata: Requires-Dist (extractcode) Requirement satisfied: commoncode>=30.2.0 (installed: commoncode 32.2.1) Handling plugincode>=21.1.21 from hook generated metadata: Requires-Dist (extractcode) Requirement satisfied: plugincode>=21.1.21 (installed: plugincode 32.0.0) Handling typecode>=21.6.1 from hook generated metadata: Requires-Dist (extractcode) Requirement satisfied: typecode>=21.6.1 (installed: typecode 30.0.1) Handling six from hook generated metadata: Requires-Dist (extractcode) Requirement satisfied: six (installed: six 1.17.0) Handling extractcode-7z-system-provided; extra == "full" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: extractcode-7z-system-provided; extra == "full" Handling extractcode_libarchive-system-provided; extra == "full" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: extractcode_libarchive-system-provided; extra == "full" Handling typecode[full]>=21.6.1; extra == "full" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: typecode[full]>=21.6.1; extra == "full" Handling patch-ng>=1.17; extra == "patch" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: patch-ng>=1.17; extra == "patch" Handling pytest!=7.0.0,>=6; extra == "testing" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: pytest!=7.0.0,>=6; extra == "testing" Handling pytest-xdist>=2; extra == "testing" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: pytest-xdist>=2; extra == "testing" Handling aboutcode-toolkit>=7.0.2; extra == "testing" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: aboutcode-toolkit>=7.0.2; extra == "testing" Handling twine; extra == "testing" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: twine; extra == "testing" Handling black; extra == "testing" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: black; extra == "testing" Handling isort; extra == "testing" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: isort; extra == "testing" Handling Sphinx>=3.3.1; extra == "docs" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: Sphinx>=3.3.1; extra == "docs" Handling sphinx-rtd-theme>=0.5.0; extra == "docs" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: sphinx-rtd-theme>=0.5.0; extra == "docs" Handling doc8>=0.8.1; extra == "docs" from hook generated metadata: Requires-Dist (extractcode) Ignoring alien requirement: doc8>=0.8.1; extra == "docs" + cat /builddir/build/BUILD/python-extractcode-31.0.0-build/python-extractcode-31.0.0-6.fc43.x86_64-pyproject-buildrequires + rm -rfv extractcode-31.0.0.dist-info/ removed 'extractcode-31.0.0.dist-info/entry_points.txt' removed 'extractcode-31.0.0.dist-info/top_level.txt' removed 'extractcode-31.0.0.dist-info/METADATA' removed 'extractcode-31.0.0.dist-info/licenses/apache-2.0.LICENSE' removed 'extractcode-31.0.0.dist-info/licenses/NOTICE' removed 'extractcode-31.0.0.dist-info/licenses/AUTHORS.rst' removed 'extractcode-31.0.0.dist-info/licenses/CHANGELOG.rst' removed 'extractcode-31.0.0.dist-info/licenses/CODE_OF_CONDUCT.rst' removed directory 'extractcode-31.0.0.dist-info/licenses' removed directory 'extractcode-31.0.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MXbiWo + umask 022 + cd /builddir/build/BUILD/python-extractcode-31.0.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd extractcode-31.0.0 + mkdir -p /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/pyproject-wheeldir Processing /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir/pip-modern-metadata-dcyifar7/extractcode.egg-info writing /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir/pip-modern-metadata-dcyifar7/extractcode.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir/pip-modern-metadata-dcyifar7/extractcode.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir/pip-modern-metadata-dcyifar7/extractcode.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir/pip-modern-metadata-dcyifar7/extractcode.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir/pip-modern-metadata-dcyifar7/extractcode.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir/pip-modern-metadata-dcyifar7/extractcode.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir/pip-modern-metadata-dcyifar7/extractcode.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[co]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.*~' found anywhere in distribution adding license file 'apache-2.0.LICENSE' adding license file 'NOTICE' adding license file 'AUTHORS.rst' adding license file 'CHANGELOG.rst' adding license file 'CODE_OF_CONDUCT.rst' writing manifest file '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir/pip-modern-metadata-dcyifar7/extractcode.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir/pip-modern-metadata-dcyifar7/extractcode-31.0.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: extractcode Building wheel for extractcode (pyproject.toml): started Running command Building wheel for extractcode (pyproject.toml) running bdist_wheel running build running build_py creating build/lib/extractcode copying src/extractcode/__init__.py -> build/lib/extractcode copying src/extractcode/api.py -> build/lib/extractcode copying src/extractcode/archive.py -> build/lib/extractcode copying src/extractcode/cli.py -> build/lib/extractcode copying src/extractcode/extract.py -> build/lib/extractcode copying src/extractcode/libarchive2.py -> build/lib/extractcode copying src/extractcode/patch.py -> build/lib/extractcode copying src/extractcode/sevenzip.py -> build/lib/extractcode copying src/extractcode/uncompress.py -> build/lib/extractcode copying src/extractcode/vmimage.py -> build/lib/extractcode running egg_info writing src/extractcode.egg-info/PKG-INFO writing dependency_links to src/extractcode.egg-info/dependency_links.txt writing entry points to src/extractcode.egg-info/entry_points.txt writing requirements to src/extractcode.egg-info/requires.txt writing top-level names to src/extractcode.egg-info/top_level.txt reading manifest file 'src/extractcode.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[co]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.*~' found anywhere in distribution adding license file 'apache-2.0.LICENSE' adding license file 'NOTICE' adding license file 'AUTHORS.rst' adding license file 'CHANGELOG.rst' adding license file 'CODE_OF_CONDUCT.rst' writing manifest file 'src/extractcode.egg-info/SOURCES.txt' copying src/extractcode/NOTICE -> build/lib/extractcode installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/extractcode copying build/lib/extractcode/__init__.py -> build/bdist.linux-x86_64/wheel/./extractcode copying build/lib/extractcode/api.py -> build/bdist.linux-x86_64/wheel/./extractcode copying build/lib/extractcode/archive.py -> build/bdist.linux-x86_64/wheel/./extractcode copying build/lib/extractcode/cli.py -> build/bdist.linux-x86_64/wheel/./extractcode copying build/lib/extractcode/extract.py -> build/bdist.linux-x86_64/wheel/./extractcode copying build/lib/extractcode/libarchive2.py -> build/bdist.linux-x86_64/wheel/./extractcode copying build/lib/extractcode/patch.py -> build/bdist.linux-x86_64/wheel/./extractcode copying build/lib/extractcode/sevenzip.py -> build/bdist.linux-x86_64/wheel/./extractcode copying build/lib/extractcode/uncompress.py -> build/bdist.linux-x86_64/wheel/./extractcode copying build/lib/extractcode/vmimage.py -> build/bdist.linux-x86_64/wheel/./extractcode copying build/lib/extractcode/NOTICE -> build/bdist.linux-x86_64/wheel/./extractcode running install_egg_info Copying src/extractcode.egg-info to build/bdist.linux-x86_64/wheel/./extractcode-31.0.0-py3.13.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/extractcode-31.0.0.dist-info/WHEEL creating '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir/pip-wheel-25xkob83/.tmp-xmsv3rxv/extractcode-31.0.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'extractcode/NOTICE' adding 'extractcode/__init__.py' adding 'extractcode/api.py' adding 'extractcode/archive.py' adding 'extractcode/cli.py' adding 'extractcode/extract.py' adding 'extractcode/libarchive2.py' adding 'extractcode/patch.py' adding 'extractcode/sevenzip.py' adding 'extractcode/uncompress.py' adding 'extractcode/vmimage.py' adding 'extractcode-31.0.0.dist-info/licenses/AUTHORS.rst' adding 'extractcode-31.0.0.dist-info/licenses/CHANGELOG.rst' adding 'extractcode-31.0.0.dist-info/licenses/CODE_OF_CONDUCT.rst' adding 'extractcode-31.0.0.dist-info/licenses/NOTICE' adding 'extractcode-31.0.0.dist-info/licenses/apache-2.0.LICENSE' adding 'extractcode-31.0.0.dist-info/METADATA' adding 'extractcode-31.0.0.dist-info/WHEEL' adding 'extractcode-31.0.0.dist-info/entry_points.txt' adding 'extractcode-31.0.0.dist-info/top_level.txt' adding 'extractcode-31.0.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for extractcode (pyproject.toml): finished with status 'done' Created wheel for extractcode: filename=extractcode-31.0.0-py3-none-any.whl size=56511 sha256=c5034baf20b1350ca4bef4afad48167fdd841e461e193ae5a13064421d7810f2 Stored in directory: /builddir/.cache/pip/wheels/8b/9d/e9/ff1b52e494a0a5c04e2df1d7fe6cfe934edee8332d52b441a3 Successfully built extractcode + sphinx-build-3 -b html docs/source html Running Sphinx v8.2.3 loading translations [en]... done making output directory... done loading intersphinx inventory 'aboutcode' from https://aboutcode.readthedocs.io/en/latest/objects.inv ... loading intersphinx inventory 'scancode-workbench' from https://scancode-workbench.readthedocs.io/en/develop/objects.inv ... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://aboutcode.readthedocs.io/en/latest/objects.inv' not fetchable due to : HTTPSConnectionPool(host='aboutcode.readthedocs.io', port=443): Max retries exceeded with url: /en/latest/objects.inv (Caused by NameResolutionError(": Failed to resolve 'aboutcode.readthedocs.io' ([Errno -3] Temporary failure in name resolution)")) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://scancode-workbench.readthedocs.io/en/develop/objects.inv' not fetchable due to : HTTPSConnectionPool(host='scancode-workbench.readthedocs.io', port=443): Max retries exceeded with url: /en/develop/objects.inv (Caused by NameResolutionError(": Failed to resolve 'scancode-workbench.readthedocs.io' ([Errno -3] Temporary failure in name resolution)")) building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 2 source files that are out of date updating environment: [new config] 2 added, 0 changed, 0 removed reading sources... [ 50%] contribute/contrib_doc reading sources... [100%] index looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... Writing evaluated template result to /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/html/_static/basic.css Writing evaluated template result to /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/html/_static/documentation_options.js Writing evaluated template result to /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/html/_static/language_data.js Writing evaluated template result to /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/html/_static/js/versions.js copying static files: done copying extra files... copying extra files: done copying assets: done writing output... [ 50%] contribute/contrib_doc writing output... [100%] index generating indices... genindex done writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 2 warnings. The HTML pages are in html. + rm -rf html/.doctrees html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.D07kDJ + umask 022 + cd /builddir/build/BUILD/python-extractcode-31.0.0-build + '[' /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-extractcode-31.0.0-build + mkdir /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd extractcode-31.0.0 ++ ls /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/pyproject-wheeldir/extractcode-31.0.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=extractcode==31.0.0 + '[' -z extractcode==31.0.0 ']' + TMPDIR=/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/pyproject-wheeldir extractcode==31.0.0 Using pip 25.1.1 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/pyproject-wheeldir Processing ./pyproject-wheeldir/extractcode-31.0.0-py3-none-any.whl Installing collected packages: extractcode Creating /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/bin changing mode of /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/bin/extractcode to 755 Successfully installed extractcode-31.0.0 + '[' -d /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/bin/extractcode /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/bin/extractcode: updating + rm -rfv /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-extractcode-31.0.0-build/python-extractcode-31.0.0-6.fc43.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + site_dirs+=("/usr/lib/python3.13/site-packages") + '[' /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.13/site-packages/extractcode-31.0.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode-31.0.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT --record /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode-31.0.0.dist-info/RECORD --output /builddir/build/BUILD/python-extractcode-31.0.0-build/python-extractcode-31.0.0-6.fc43.x86_64-pyproject-record + rm -fv /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode-31.0.0.dist-info/RECORD removed '/builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode-31.0.0.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode-31.0.0.dist-info/REQUESTED removed '/builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode-31.0.0.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-extractcode-31.0.0-build/python-extractcode-31.0.0-6.fc43.x86_64-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-extractcode-31.0.0-build/python-extractcode-31.0.0-6.fc43.x86_64-pyproject-files --output-modules /builddir/build/BUILD/python-extractcode-31.0.0-build/python-extractcode-31.0.0-6.fc43.x86_64-pyproject-modules --buildroot /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT --sitelib /usr/lib/python3.13/site-packages --sitearch /usr/lib64/python3.13/site-packages --python-version 3.13 --pyproject-record /builddir/build/BUILD/python-extractcode-31.0.0-build/python-extractcode-31.0.0-6.fc43.x86_64-pyproject-record --prefix /usr extractcode + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 Bytecompiling .py files below /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode/__pycache__/api.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode/__pycache__/__init__.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode/__pycache__/extract.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode/__pycache__/patch.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode/__pycache__/cli.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode/__pycache__/uncompress.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode/__pycache__/archive.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode/__pycache__/vmimage.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode/__pycache__/__init__.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode/__pycache__/libarchive2.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode/__pycache__/sevenzip.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode/__pycache__/uncompress.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode/__pycache__/sevenzip.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode/__pycache__/vmimage.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode/__pycache__/libarchive2.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/extractcode/__pycache__/archive.cpython-313.opt-1.pyc: replacing with normalized version Scanned 10 directories and 42 files, processed 16 inodes, 16 modified (12 replaced + 4 rewritten), 0 unsupported format, 0 errors Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Xzqo2d + umask 022 + cd /builddir/build/BUILD/python-extractcode-31.0.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd extractcode-31.0.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-extractcode-31.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=4 + /usr/bin/pytest -k 'not TestExtractVmImage and not test_get_extractor_qcow2 and not test_extract_rar_with_trailing_data and not test_extractcode_command_can_take_an_empty_directory and not test_extractcode_command_does_extract_verbose and not test_extractcode_command_always_shows_something_if_not_using_a_tty_verbose_or_not and not test_extractcode_command_works_with_relative_paths and not test_extractcode_command_works_with_relative_paths_verbose and not test_usage_and_help_return_a_correct_script_name_on_all_platforms and not test_extractcode_command_can_extract_archive_with_unicode_names_verbose and not test_extractcode_command_can_extract_archive_with_unicode_names and not test_extractcode_command_can_extract_shallow and not test_extractcode_command_can_ignore and not test_extractcode_command_does_not_crash_with_replace_originals_and_corrupted_archives and not test_extractcode_command_can_extract_nuget' ============================= test session starts ============================== platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0 rootdir: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0 configfile: pyproject.toml collected 560 items / 17 deselected / 543 selected tests/test_archive.py F.....................F........................... [ 9%] ....x.............F.............F.xs...........FF............FFF...F...F [ 22%] .F..F...F.....FFFFFFFF.........FF.F.FF...F.FF.FFFFF......xxFFF...FF..... [ 35%] ................sssssFFFFxFFsssssssssssssssssssss.... [ 45%] tests/test_extract.py ......F....................s......... [ 52%] tests/test_extractcode.py ... [ 52%] tests/test_extractcode_api.py . [ 53%] tests/test_libarchive2.py . [ 53%] tests/test_patch.py ssssssssssssssssssssssssssssssssssssssssssssssssssss [ 62%] ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 76%] ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 89%] sss [ 89%] tests/test_sevenzip.py F....F.FsFs...F..........................FFFFFFFF [ 98%] F.... [ 99%] tests/test_skeleton_codestyle.py . [100%] =================================== FAILURES =================================== _____ TestGetExtractorTest.test_7zip_extract_can_extract_to_relative_paths _____ self = def test_7zip_extract_can_extract_to_relative_paths(self): # The setup is a tad complex because we want to have a relative dir # to the base dir where we run tests from, i.e. the git checkout dir. # To use relative paths, we use our tmp dir at the root of the code tree from os.path import join, abspath import tempfile import shutil from extractcode.sevenzip import extract test_file = self.get_test_loc('archive/relative_path/basic.zip', copy=True) project_tmp = join(project_root, 'tmp') fileutils.create_dir(project_tmp) project_root_abs = abspath(project_root) test_src_dir = tempfile.mkdtemp(dir=project_tmp).replace(project_root_abs, '').strip('\\/') test_tgt_dir = tempfile.mkdtemp(dir=project_tmp).replace(project_root_abs, '').strip('\\/') shutil.copy(test_file, test_src_dir) test_src_file = join(test_src_dir, 'basic.zip') > result = list(extract(test_src_file, test_tgt_dir)) tests/test_archive.py:308: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tmp/tmpa4a59m5p/basic.zip' target_dir = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tmp/tmp8anngrvm' arch_type = '*', skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tmp/tmpa4a59m5p/basic.zip E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract __________________ TestGetExtractorTest.test_get_extractors_2 __________________ self = def test_get_extractors_2(self): test_file = 'archive/rar/basic.rar' expected = [archive.extract_rar] > self.check_get_extractors(test_file, expected) tests/test_archive.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = test_file = 'archive/rar/basic.rar' expected = [], kinds = () def check_get_extractors(self, test_file, expected, kinds=()): from extractcode import archive test_loc = self.get_test_loc(test_file) if kinds: extractors = archive.get_extractors(test_loc, kinds) else: extractors = archive.get_extractors(test_loc) fe = fileutils.file_extension(test_loc).lower() em = ', '.join(e.__module__ + '.' + e.__name__ for e in extractors) msg = ('%(expected)r == %(extractors)r for %(test_file)s\n' 'with fe:%(fe)r, em:%(em)s' % locals()) > assert expected == extractors, msg E AssertionError: [] == [] for archive/rar/basic.rar E with fe:'.rar', em: E assert [] == [] E E Left contains one more item: E Use -v to get more diff tests/extractcode_assert_utils.py:166: AssertionError _ TestSevenzipBz2.test_sevenzip_extract_can_handle_bz2_multistream_differently _ self = def test_sevenzip_extract_can_handle_bz2_multistream_differently(self): test_file = self.get_test_loc('archive/bz2/bzip2_multistream/example-file.csv.bz2') test_dir = self.get_temp_dir() > sevenzip.extract(test_file, test_dir) tests/test_archive.py:624: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/bz2/bzip2_multistream/example-file.csv.bz2' target_dir = '/tmp/scancode-tk-tests -p0jb4844/sjzhqvjd', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/bz2/bzip2_multistream/example-file.csv.bz2 E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract ____________________ TestZip.test_extract_zip_with_password ____________________ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/zip/zip_password_nexb.zip' target_dir = '/tmp/scancode-tk-tests -p0jb4844/syo97ae6' extractor1 = extractor2 = def extract_with_fallback(location, target_dir, extractor1, extractor2): """ Extract archive at `location` to `target_dir` trying first the primary `extractor1` function. If extract fails with this function, attempt extraction again with the fallback `extractor2` function. Return a list of warning messages. Raise exceptions on errors. Note: there are a few cases where the primary extractor for a type may fail and a fallback extractor will succeed. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = str(os.path.abspath(os.path.expanduser(target_dir))) # attempt extract first to a temp dir temp_target1 = str(fileutils.get_temp_dir(prefix='extractcode-extract1-')) try: > warnings = extractor1(abs_location, temp_target1) src/extractcode/archive.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/libarchive2.py:206: in extract _target_path = entry.write(abs_target_dir, transform_path=partial(paths.safe_path, preserve_spaces=True)) src/extractcode/libarchive2.py:472: in write for content in self.get_content(): src/extractcode/libarchive2.py:490: in get_content red_len = read_entry_data(archive_struct, sbuffer, chunk_len) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = -25, archive_func = <_FuncPtr object at 0x7ff55f19b4d0> args = (140691829709584, , 4096) null = False def errcheck(rc, archive_func, args, null=False): """ ctypes error check handler for functions returning int, or null if null is True. """ if null: if rc is None: archive_struct = args and len(args) > 1 and args[0] or None raise ArchiveError(rc, archive_struct, archive_func) else: return rc if rc >= ARCHIVE_OK: return rc archive_struct = args[0] if rc == ARCHIVE_RETRY: raise ArchiveErrorRetryable(rc, archive_struct, archive_func) if rc == ARCHIVE_WARN: raise ArchiveWarning(rc, archive_struct, archive_func) # anything else is a serious error, in general not recoverable. > raise ArchiveError(rc, archive_struct, archive_func) E extractcode.libarchive2.ArchiveError: Passphrase required for this entry src/extractcode/libarchive2.py:586: ArchiveError During handling of the above exception, another exception occurred: self = def test_extract_zip_with_password(self): test_file = self.get_test_loc('archive/zip/zip_password_nexb.zip') test_dir = self.get_temp_dir() try: > archive.extract_zip(test_file, test_dir) tests/test_archive.py:917: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/archive.py:423: in extract_with_fallback warnings = extractor2(abs_location, temp_target2) src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/zip/zip_password_nexb.zip' target_dir = '/tmp/scancode-tk-mo1q2or1', arch_type = '*', skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/zip/zip_password_nexb.zip E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract During handling of the above exception, another exception occurred: self = def test_extract_zip_with_password(self): test_file = self.get_test_loc('archive/zip/zip_password_nexb.zip') test_dir = self.get_temp_dir() try: archive.extract_zip(test_file, test_dir) except Exception as e: assert isinstance(e, ExtractErrorFailedToExtract) > assert 'Password protected archive, unable to extract' in str(e) E AssertionError: assert 'Password protected archive, unable to extract' in '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/zip/zip_password_nexb.zip\nCannot open the file as archive' E + where '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/zip/zip_password_nexb.zip\nCannot open the file as archive' = str(ExtractErrorFailedToExtract('/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/zip/zip_password_nexb.zip\nCannot open the file as archive')) tests/test_archive.py:920: AssertionError _______ TestZip.test_list_zip_with_relative_path_deeply_nested_with_7zip _______ self = def test_list_zip_with_relative_path_deeply_nested_with_7zip(self): test_file = self.get_test_loc('archive/zip/relative_nested.zip') result = [] entries, errors = sevenzip.list_entries(test_file) > assert not errors E AssertionError: assert not 'Unknown extraction error' tests/test_archive.py:857: AssertionError ______ TestTar.test_extract_python_testtar_tar_archive_with_special_files ______ self = @pytest.mark.skipif(on_windows, reason='Unicode and/or Long paths are not handled well yet on windows') def test_extract_python_testtar_tar_archive_with_special_files(self): test_file = self.get_test_loc('archive/tar/testtar.tar') # this is from: # https://hg.python.org/cpython/raw-file/bff88c866886/Lib/test/testtar.tar test_dir = self.get_temp_dir() > result = archive.extract_tar(test_file, test_dir) tests/test_archive.py:1162: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/libarchive2.py:164: in extract for entry in list_entries(abs_location): src/extractcode/libarchive2.py:221: in list_entries for entry in archive: src/extractcode/libarchive2.py:299: in iter r = next_entry(self.archive_struct, entry_struct) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = -10, archive_func = <_FuncPtr object at 0x7ff55f19b410> args = (140691829478320, 140691829429168), null = False def errcheck(rc, archive_func, args, null=False): """ ctypes error check handler for functions returning int, or null if null is True. """ if null: if rc is None: archive_struct = args and len(args) > 1 and args[0] or None raise ArchiveError(rc, archive_struct, archive_func) else: return rc if rc >= ARCHIVE_OK: return rc archive_struct = args[0] if rc == ARCHIVE_RETRY: > raise ArchiveErrorRetryable(rc, archive_struct, archive_func) E extractcode.libarchive2.ArchiveErrorRetryable: Damaged tar archive src/extractcode/libarchive2.py:580: ArchiveErrorRetryable _______________________ TestAr.test_extract_ar_basic_7z ________________________ self = def test_extract_ar_basic_7z(self): test_file = self.get_test_loc('archive/ar/liby.a') test_dir = self.get_temp_dir() > result = sevenzip.extract(test_file, test_dir) tests/test_archive.py:1240: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/ar/liby.a' target_dir = '/tmp/scancode-tk-tests -p0jb4844/gtkdi4be', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/ar/liby.a E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract ________________________ TestAr.test_extract_ar_broken _________________________ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/ar/liby-corrupted.a' target_dir = '/tmp/scancode-tk-tests -p0jb4844/0sq4iydi' extractor1 = extractor2 = def extract_with_fallback(location, target_dir, extractor1, extractor2): """ Extract archive at `location` to `target_dir` trying first the primary `extractor1` function. If extract fails with this function, attempt extraction again with the fallback `extractor2` function. Return a list of warning messages. Raise exceptions on errors. Note: there are a few cases where the primary extractor for a type may fail and a fallback extractor will succeed. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = str(os.path.abspath(os.path.expanduser(target_dir))) # attempt extract first to a temp dir temp_target1 = str(fileutils.get_temp_dir(prefix='extractcode-extract1-')) try: > warnings = extractor1(abs_location, temp_target1) src/extractcode/archive.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/libarchive2.py:164: in extract for entry in list_entries(abs_location): src/extractcode/libarchive2.py:221: in list_entries for entry in archive: src/extractcode/libarchive2.py:299: in iter r = next_entry(self.archive_struct, entry_struct) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = -30, archive_func = <_FuncPtr object at 0x7ff55f19b410> args = (140691851986432, 140691829701552), null = False def errcheck(rc, archive_func, args, null=False): """ ctypes error check handler for functions returning int, or null if null is True. """ if null: if rc is None: archive_struct = args and len(args) > 1 and args[0] or None raise ArchiveError(rc, archive_struct, archive_func) else: return rc if rc >= ARCHIVE_OK: return rc archive_struct = args[0] if rc == ARCHIVE_RETRY: raise ArchiveErrorRetryable(rc, archive_struct, archive_func) if rc == ARCHIVE_WARN: raise ArchiveWarning(rc, archive_struct, archive_func) # anything else is a serious error, in general not recoverable. > raise ArchiveError(rc, archive_struct, archive_func) E extractcode.libarchive2.ArchiveError: Incorrect file header signature src/extractcode/libarchive2.py:586: ArchiveError During handling of the above exception, another exception occurred: self = def test_extract_ar_broken(self): test_file = self.get_test_loc('archive/ar/liby-corrupted.a') test_dir = self.get_temp_dir() > result = archive.extract_ar(test_file, test_dir) tests/test_archive.py:1294: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/archive.py:423: in extract_with_fallback warnings = extractor2(abs_location, temp_target2) src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/ar/liby-corrupted.a' target_dir = '/tmp/scancode-tk-9diouq5v', arch_type = '*', skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/ar/liby-corrupted.a E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract _______________________ TestAr.test_extract_ar_broken_7z _______________________ self = def test_extract_ar_broken_7z(self): test_file = self.get_test_loc('archive/ar/liby-corrupted.a') test_dir = self.get_temp_dir() > result = sevenzip.extract(test_file, test_dir) tests/test_archive.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/ar/liby-corrupted.a' target_dir = '/tmp/scancode-tk-tests -p0jb4844/o43robxy', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/ar/liby-corrupted.a E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract _______ TestAr.test_extract_ar_static_library_does_not_delete_symdefs_7z _______ self = def test_extract_ar_static_library_does_not_delete_symdefs_7z(self): test_file = self.get_test_loc('archive/ar/liby.a') test_dir = self.get_temp_dir() > result = sevenzip.extract(test_file, test_dir) tests/test_archive.py:1388: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/ar/liby.a' target_dir = '/tmp/scancode-tk-tests -p0jb4844/n9a2y_s3', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/ar/liby.a E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract __________________ TestAr.test_extract_ar_with_permissions_7z __________________ self = def test_extract_ar_with_permissions_7z(self): test_file = self.get_test_loc('archive/ar/winlib/zlib.lib') test_dir = self.get_temp_dir() > result = sevenzip.extract(test_file, test_dir) tests/test_archive.py:1415: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/ar/winlib/zlib.lib' target_dir = '/tmp/scancode-tk-tests -p0jb4844/xcdghsza', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/ar/winlib/zlib.lib E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract ____ TestAr.test_extract_ar_with_relative_path_and_backslashes_in_names_7z _____ self = def test_extract_ar_with_relative_path_and_backslashes_in_names_7z(self): test_file = self.get_test_loc('archive/ar/winlib/freetype.lib') test_dir = self.get_temp_dir() > result = sevenzip.extract(test_file, test_dir) tests/test_archive.py:1344: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/ar/winlib/freetype.lib' target_dir = '/tmp/scancode-tk-tests -p0jb4844/7o9xpkub', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/ar/winlib/freetype.lib E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract ______________ TestAr.test_extract_ar_with_relative_path_sevenzip ______________ self = def test_extract_ar_with_relative_path_sevenzip(self): test_file = self.get_test_loc('archive/ar/winlib/htmlhelp.lib') test_dir = self.get_temp_dir() > result = sevenzip.extract(test_file, test_dir) tests/test_archive.py:1310: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/ar/winlib/htmlhelp.lib' target_dir = '/tmp/scancode-tk-tests -p0jb4844/i0cv70mp', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/ar/winlib/htmlhelp.lib E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract _____________________ TestCpio.test_extract_cpio_broken_7z _____________________ self = excInstance = Exception('CRC Failed : elfinfo-1.0.tar') callableObj = args = ('/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/cpio/cpio_broken.cpio', '/tmp/scancode-tk-tests -p0jb4844/dt7n_jqc') kwargs = {}, excClass = @py_assert2 = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/cpio/cpio_broken.cpio\nCannot open the file as archive' @py_assert4 = @py_assert8 = 'CRC Failed : elfinfo-1.0.tar', @py_assert10 = False @py_format12 = "assert False\n{False = \n{ callableObj(*args, **kwargs) tests/extractcode_assert_utils.py:176: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/cpio/cpio_broken.cpio' target_dir = '/tmp/scancode-tk-tests -p0jb4844/dt7n_jqc', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/cpio/cpio_broken.cpio E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract During handling of the above exception, another exception occurred: self = def test_extract_cpio_broken_7z(self): test_file = self.get_test_loc('archive/cpio/cpio_broken.cpio') test_dir = self.get_temp_dir() > self.assertRaisesInstance(Exception('CRC Failed : elfinfo-1.0.tar'), sevenzip.extract, test_file, test_dir) tests/test_archive.py:1459: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = excInstance = Exception('CRC Failed : elfinfo-1.0.tar') callableObj = args = ('/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/cpio/cpio_broken.cpio', '/tmp/scancode-tk-tests -p0jb4844/dt7n_jqc') kwargs = {}, excClass = @py_assert2 = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/cpio/cpio_broken.cpio\nCannot open the file as archive' @py_assert4 = @py_assert8 = 'CRC Failed : elfinfo-1.0.tar', @py_assert10 = False @py_format12 = "assert False\n{False = \n{ assert str(e).startswith(str(excInstance)) E AssertionError: assert False E + where False = ('CRC Failed : elfinfo-1.0.tar') E + where = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/cpio/cpio_broken.cpio\nCannot open the file as archive'.startswith E + where '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/cpio/cpio_broken.cpio\nCannot open the file as archive' = str(ExtractErrorFailedToExtract('/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/cpio/cpio_broken.cpio\nCannot open the file as archive')) E + and 'CRC Failed : elfinfo-1.0.tar' = str(Exception('CRC Failed : elfinfo-1.0.tar')) tests/extractcode_assert_utils.py:178: AssertionError _______________________ TestRpm.test_extract_rpm_basic_1 _______________________ self = def test_extract_rpm_basic_1(self): test_file = self.get_test_loc('archive/rpm/elfinfo-1.0-1.fc9.src.rpm') test_dir = self.get_temp_dir() > archive.extract_rpm(test_file, test_dir) tests/test_archive.py:1525: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/elfinfo-1.0-1.fc9.src.rpm' target_dir = '/tmp/scancode-tk-tests -p0jb4844/aih_1c74', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/elfinfo-1.0-1.fc9.src.rpm E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract _______________________ TestRpm.test_extract_rpm_basic_2 _______________________ self = def test_extract_rpm_basic_2(self): test_file = self.get_test_loc('archive/rpm/python-glc-0.7.1-1.src.rpm') test_dir = self.get_temp_dir() > archive.extract_rpm(test_file, test_dir) tests/test_archive.py:1532: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/python-glc-0.7.1-1.src.rpm' target_dir = '/tmp/scancode-tk-tests -p0jb4844/67zvwln_', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/python-glc-0.7.1-1.src.rpm E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract _______________________ TestRpm.test_extract_rpm_broken ________________________ self = excInstance = Exception('CRC Failed : broken') callableObj = args = ('/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/broken.rpm', '/tmp/scancode-tk-tests -p0jb4844/uedmelii') kwargs = {}, excClass = @py_assert2 = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/broken.rpm\nCannot open the file as archive' @py_assert4 = @py_assert8 = 'CRC Failed : broken', @py_assert10 = False @py_format12 = "assert False\n{False = \n{ callableObj(*args, **kwargs) tests/extractcode_assert_utils.py:176: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/broken.rpm' target_dir = '/tmp/scancode-tk-tests -p0jb4844/uedmelii', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/broken.rpm E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract During handling of the above exception, another exception occurred: self = def test_extract_rpm_broken(self): test_file = self.get_test_loc('archive/rpm/broken.rpm') test_dir = self.get_temp_dir() expected = Exception('CRC Failed : broken') > self.assertRaisesInstance(expected, archive.extract_rpm, test_file, test_dir) tests/test_archive.py:1564: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = excInstance = Exception('CRC Failed : broken') callableObj = args = ('/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/broken.rpm', '/tmp/scancode-tk-tests -p0jb4844/uedmelii') kwargs = {}, excClass = @py_assert2 = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/broken.rpm\nCannot open the file as archive' @py_assert4 = @py_assert8 = 'CRC Failed : broken', @py_assert10 = False @py_format12 = "assert False\n{False = \n{ assert str(e).startswith(str(excInstance)) E AssertionError: assert False E + where False = ('CRC Failed : broken') E + where = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/broken.rpm\nCannot open the file as archive'.startswith E + where '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/broken.rpm\nCannot open the file as archive' = str(ExtractErrorFailedToExtract('/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/broken.rpm\nCannot open the file as archive')) E + and 'CRC Failed : broken' = str(Exception('CRC Failed : broken')) tests/extractcode_assert_utils.py:178: AssertionError __________________ TestRpm.test_extract_rpm_nested_correctly ___________________ self = def test_extract_rpm_nested_correctly(self): test_file = self.get_test_loc('archive/rpm/extract_once/libsqueeze0.2_0-0.2.3-8mdv2010.0.i586.rpm') test_dir = self.get_temp_dir() > archive.extract_rpm(test_file, test_dir) tests/test_archive.py:1539: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/extract_once/libsqueeze0.2_0-0.2.3-8mdv2010.0.i586.rpm' target_dir = '/tmp/scancode-tk-tests -p0jb4844/zxx8gd4m', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/extract_once/libsqueeze0.2_0-0.2.3-8mdv2010.0.i586.rpm E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract ________________ TestRpm.test_extract_rpm_with_renamed_content _________________ self = def test_extract_rpm_with_renamed_content(self): # When the RPM is renamed, we should still be able to find the cpio test_file = self.get_test_loc('archive/rpm/renamed.rpm') test_dir = self.get_temp_dir() > result = archive.extract_rpm(test_file, test_dir) tests/test_archive.py:1555: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/renamed.rpm' target_dir = '/tmp/scancode-tk-tests -p0jb4844/k26h0lmw', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/renamed.rpm E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract _________________ TestRpm.test_extract_rpm_with_trailing_data __________________ self = def test_extract_rpm_with_trailing_data(self): test_file = self.get_test_loc('archive/rpm/rpm_trailing.rpm') test_dir = self.get_temp_dir() > result = archive.extract_rpm(test_file, test_dir) tests/test_archive.py:1546: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/rpm_trailing.rpm' target_dir = '/tmp/scancode-tk-tests -p0jb4844/wh6_khxh', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/rpm_trailing.rpm E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract ______ TestExtractTwice.test_extract_twice_can_extract_to_relative_paths _______ self = def test_extract_twice_can_extract_to_relative_paths(self): # The setup is a tad complex because we want to have a relative dir # to the base dir where we run tests from, i.e. the git checkout dir # To use relative paths, we use our tmp dir at the root of the code tree from os.path import join, abspath, exists import shutil import tempfile test_file = self.get_test_loc('archive/rpm/xz-compressed-cpio.rpm') # this will return an extractor that extracts twice extractor = archive.get_extractor(test_file) project_tmp = join(project_root, 'tmp') fileutils.create_dir(project_tmp) project_root_abs = abspath(project_root) test_src_dir = tempfile.mkdtemp(dir=project_tmp).replace(project_root_abs, '').strip('\\/') test_tgt_dir = tempfile.mkdtemp(dir=project_tmp).replace(project_root_abs, '').strip('\\/') shutil.copy(test_file, test_src_dir) test_src_file = join(test_src_dir, 'xz-compressed-cpio.rpm') > result = list(extractor(test_src_file, test_tgt_dir)) tests/test_archive.py:1668: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/archive.py:381: in extract_twice warnings = extractor1(abs_location, temp_target) src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tmp/tmpgbvmo1bt/xz-compressed-cpio.rpm' target_dir = '/tmp/scancode-tk-9rsvcznk', arch_type = '*', skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tmp/tmpgbvmo1bt/xz-compressed-cpio.rpm E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract _____ TestExtractTwice.test_extract_twice_with_rpm_with_xz_compressed_cpio _____ self = def test_extract_twice_with_rpm_with_xz_compressed_cpio(self): test_file = self.get_test_loc('archive/rpm/xz-compressed-cpio.rpm') test_dir = self.get_temp_dir() # this will return an extractor that extracts twice extractor = archive.get_extractor(test_file) > result = list(extractor(test_file, test_dir)) tests/test_archive.py:1575: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/archive.py:381: in extract_twice warnings = extractor1(abs_location, temp_target) src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/xz-compressed-cpio.rpm' target_dir = '/tmp/scancode-tk-0pm1xbeh', arch_type = '*', skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/rpm/xz-compressed-cpio.rpm E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract _ TestSevenZip.test_extract_7z_with_broken_archive_does_not_fail_when_using_fallback _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/corrupted7z.7z' target_dir = '/tmp/scancode-tk-tests -p0jb4844/xbc5z2xz' extractor1 = extractor2 = def extract_with_fallback(location, target_dir, extractor1, extractor2): """ Extract archive at `location` to `target_dir` trying first the primary `extractor1` function. If extract fails with this function, attempt extraction again with the fallback `extractor2` function. Return a list of warning messages. Raise exceptions on errors. Note: there are a few cases where the primary extractor for a type may fail and a fallback extractor will succeed. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = str(os.path.abspath(os.path.expanduser(target_dir))) # attempt extract first to a temp dir temp_target1 = str(fileutils.get_temp_dir(prefix='extractcode-extract1-')) try: > warnings = extractor1(abs_location, temp_target1) src/extractcode/archive.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/libarchive2.py:164: in extract for entry in list_entries(abs_location): src/extractcode/libarchive2.py:221: in list_entries for entry in archive: src/extractcode/libarchive2.py:299: in iter r = next_entry(self.archive_struct, entry_struct) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = -30, archive_func = <_FuncPtr object at 0x7ff55f19b410> args = (140691800199792, 140691800205104), null = False def errcheck(rc, archive_func, args, null=False): """ ctypes error check handler for functions returning int, or null if null is True. """ if null: if rc is None: archive_struct = args and len(args) > 1 and args[0] or None raise ArchiveError(rc, archive_struct, archive_func) else: return rc if rc >= ARCHIVE_OK: return rc archive_struct = args[0] if rc == ARCHIVE_RETRY: raise ArchiveErrorRetryable(rc, archive_struct, archive_func) if rc == ARCHIVE_WARN: raise ArchiveWarning(rc, archive_struct, archive_func) # anything else is a serious error, in general not recoverable. > raise ArchiveError(rc, archive_struct, archive_func) E extractcode.libarchive2.ArchiveError: Damaged 7-Zip archive src/extractcode/libarchive2.py:586: ArchiveError During handling of the above exception, another exception occurred: self = text = 'There are data after the end of archive' callableObj = functools.partial(, extractor1=, extractor2=) args = ('/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/corrupted7z.7z', '/tmp/scancode-tk-tests -p0jb4844/xbc5z2xz') kwargs = {} def assertExceptionContains(self, text, callableObj, *args, **kwargs): try: > callableObj(*args, **kwargs) tests/extractcode_assert_utils.py:250: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/archive.py:423: in extract_with_fallback warnings = extractor2(abs_location, temp_target2) src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/corrupted7z.7z' target_dir = '/tmp/scancode-tk-tcq3efqb', arch_type = '*', skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/corrupted7z.7z E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract During handling of the above exception, another exception occurred: self = def test_extract_7z_with_broken_archive_does_not_fail_when_using_fallback(self): test_file = self.get_test_loc('archive/7z/corrupted7z.7z') test_dir = self.get_temp_dir() msg = 'There are data after the end of archive' > self.assertExceptionContains(msg, archive.extract_7z, test_file, test_dir) tests/test_archive.py:1774: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = text = 'There are data after the end of archive' callableObj = functools.partial(, extractor1=, extractor2=) args = ('/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/corrupted7z.7z', '/tmp/scancode-tk-tests -p0jb4844/xbc5z2xz') kwargs = {} def assertExceptionContains(self, text, callableObj, *args, **kwargs): try: callableObj(*args, **kwargs) except Exception as e: if text not in str(e): > raise self.failureException( 'Exception %(e)r raised, ' 'it should contain the text %(text)r ' 'and does not' % locals() ) E AssertionError: Exception ExtractErrorFailedToExtract('/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/corrupted7z.7z\nCannot open the file as archive') raised, it should contain the text 'There are data after the end of archive' and does not tests/extractcode_assert_utils.py:253: AssertionError ___________ TestSevenZip.test_extract_7z_with_broken_archive_with7z ____________ self = text = 'There are data after the end of archive' callableObj = args = ('/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/corrupted7z.7z', '/tmp/scancode-tk-tests -p0jb4844/d39g8rqs') kwargs = {} def assertExceptionContains(self, text, callableObj, *args, **kwargs): try: > callableObj(*args, **kwargs) tests/extractcode_assert_utils.py:250: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/corrupted7z.7z' target_dir = '/tmp/scancode-tk-tests -p0jb4844/d39g8rqs', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/corrupted7z.7z E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract During handling of the above exception, another exception occurred: self = def test_extract_7z_with_broken_archive_with7z(self): test_file = self.get_test_loc('archive/7z/corrupted7z.7z') test_dir = self.get_temp_dir() msg = 'There are data after the end of archive' > self.assertExceptionContains(msg, sevenzip.extract, test_file, test_dir) tests/test_archive.py:1768: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = text = 'There are data after the end of archive' callableObj = args = ('/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/corrupted7z.7z', '/tmp/scancode-tk-tests -p0jb4844/d39g8rqs') kwargs = {} def assertExceptionContains(self, text, callableObj, *args, **kwargs): try: callableObj(*args, **kwargs) except Exception as e: if text not in str(e): > raise self.failureException( 'Exception %(e)r raised, ' 'it should contain the text %(text)r ' 'and does not' % locals() ) E AssertionError: Exception ExtractErrorFailedToExtract('/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/corrupted7z.7z\nCannot open the file as archive') raised, it should contain the text 'There are data after the end of archive' and does not tests/extractcode_assert_utils.py:253: AssertionError ___________ TestSevenZip.test_extract_7z_with_invalid_path_using_7z ____________ self = def test_extract_7z_with_invalid_path_using_7z(self): test_file = self.get_test_loc('archive/7z/7zip_invalidpath.7z') test_dir = self.get_temp_dir() > result = sevenzip.extract(test_file, test_dir) tests/test_archive.py:1785: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_invalidpath.7z' target_dir = '/tmp/scancode-tk-tests -p0jb4844/383q2erx', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_invalidpath.7z E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract __________________ TestSevenZip.test_extract_7z_with_password __________________ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_password.7z' target_dir = '/tmp/scancode-tk-tests -p0jb4844/l2a39yu5' extractor1 = extractor2 = def extract_with_fallback(location, target_dir, extractor1, extractor2): """ Extract archive at `location` to `target_dir` trying first the primary `extractor1` function. If extract fails with this function, attempt extraction again with the fallback `extractor2` function. Return a list of warning messages. Raise exceptions on errors. Note: there are a few cases where the primary extractor for a type may fail and a fallback extractor will succeed. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = str(os.path.abspath(os.path.expanduser(target_dir))) # attempt extract first to a temp dir temp_target1 = str(fileutils.get_temp_dir(prefix='extractcode-extract1-')) try: > warnings = extractor1(abs_location, temp_target1) src/extractcode/archive.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/libarchive2.py:206: in extract _target_path = entry.write(abs_target_dir, transform_path=partial(paths.safe_path, preserve_spaces=True)) src/extractcode/libarchive2.py:472: in write for content in self.get_content(): src/extractcode/libarchive2.py:490: in get_content red_len = read_entry_data(archive_struct, sbuffer, chunk_len) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = -30, archive_func = <_FuncPtr object at 0x7ff55f19b4d0> args = (140691799652176, , 4096) null = False def errcheck(rc, archive_func, args, null=False): """ ctypes error check handler for functions returning int, or null if null is True. """ if null: if rc is None: archive_struct = args and len(args) > 1 and args[0] or None raise ArchiveError(rc, archive_struct, archive_func) else: return rc if rc >= ARCHIVE_OK: return rc archive_struct = args[0] if rc == ARCHIVE_RETRY: raise ArchiveErrorRetryable(rc, archive_struct, archive_func) if rc == ARCHIVE_WARN: raise ArchiveWarning(rc, archive_struct, archive_func) # anything else is a serious error, in general not recoverable. > raise ArchiveError(rc, archive_struct, archive_func) E extractcode.libarchive2.ArchiveError: The file content is encrypted, but currently not supported src/extractcode/libarchive2.py:586: ArchiveError During handling of the above exception, another exception occurred: self = excInstance = Exception('Password protected archive, unable to extract') callableObj = functools.partial(, extractor1=, extractor2=) args = ('/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_password.7z', '/tmp/scancode-tk-tests -p0jb4844/l2a39yu5') kwargs = {}, excClass = @py_assert2 = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_password.7z\nCannot open the file as archive' @py_assert4 = @py_assert8 = 'Password protected archive, unable to extract' @py_assert10 = False @py_format12 = "assert False\n{False = \n{ callableObj(*args, **kwargs) tests/extractcode_assert_utils.py:176: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/archive.py:423: in extract_with_fallback warnings = extractor2(abs_location, temp_target2) src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_password.7z' target_dir = '/tmp/scancode-tk-r0rwnrz8', arch_type = '*', skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_password.7z E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract During handling of the above exception, another exception occurred: self = def test_extract_7z_with_password(self): test_file = self.get_test_loc('archive/7z/7zip_password.7z') test_dir = self.get_temp_dir() expected = Exception('Password protected archive, unable to extract') > self.assertRaisesInstance(expected, archive.extract_7z, test_file, test_dir) tests/test_archive.py:1829: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = excInstance = Exception('Password protected archive, unable to extract') callableObj = functools.partial(, extractor1=, extractor2=) args = ('/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_password.7z', '/tmp/scancode-tk-tests -p0jb4844/l2a39yu5') kwargs = {}, excClass = @py_assert2 = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_password.7z\nCannot open the file as archive' @py_assert4 = @py_assert8 = 'Password protected archive, unable to extract' @py_assert10 = False @py_format12 = "assert False\n{False = \n{ assert str(e).startswith(str(excInstance)) E AssertionError: assert False E + where False = ('Password protected archive, unable to extract') E + where = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_password.7z\nCannot open the file as archive'.startswith E + where '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_password.7z\nCannot open the file as archive' = str(ExtractErrorFailedToExtract('/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_password.7z\nCannot open the file as archive')) E + and 'Password protected archive, unable to extract' = str(Exception('Password protected archive, unable to extract')) tests/extractcode_assert_utils.py:178: AssertionError ______________ TestSevenZip.test_extract_7z_with_password_with_7z ______________ self = excInstance = Exception('Password protected archive, unable to extract') callableObj = args = ('/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_password.7z', '/tmp/scancode-tk-tests -p0jb4844/72dagrgd') kwargs = {}, excClass = @py_assert2 = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_password.7z\nCannot open the file as archive' @py_assert4 = @py_assert8 = 'Password protected archive, unable to extract' @py_assert10 = False @py_format12 = "assert False\n{False = \n{ callableObj(*args, **kwargs) tests/extractcode_assert_utils.py:176: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_password.7z' target_dir = '/tmp/scancode-tk-tests -p0jb4844/72dagrgd', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_password.7z E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract During handling of the above exception, another exception occurred: self = def test_extract_7z_with_password_with_7z(self): test_file = self.get_test_loc('archive/7z/7zip_password.7z') test_dir = self.get_temp_dir() expected = Exception('Password protected archive, unable to extract') > self.assertRaisesInstance(expected, sevenzip.extract, test_file, test_dir) tests/test_archive.py:1823: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = excInstance = Exception('Password protected archive, unable to extract') callableObj = args = ('/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_password.7z', '/tmp/scancode-tk-tests -p0jb4844/72dagrgd') kwargs = {}, excClass = @py_assert2 = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_password.7z\nCannot open the file as archive' @py_assert4 = @py_assert8 = 'Password protected archive, unable to extract' @py_assert10 = False @py_format12 = "assert False\n{False = \n{ assert str(e).startswith(str(excInstance)) E AssertionError: assert False E + where False = ('Password protected archive, unable to extract') E + where = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_password.7z\nCannot open the file as archive'.startswith E + where '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_password.7z\nCannot open the file as archive' = str(ExtractErrorFailedToExtract('/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_password.7z\nCannot open the file as archive')) E + and 'Password protected archive, unable to extract' = str(Exception('Password protected archive, unable to extract')) tests/extractcode_assert_utils.py:178: AssertionError _ TestSevenZip.test_extract_7zip_native_with_unicode_path_should_extract_without_error _ self = def test_extract_7zip_native_with_unicode_path_should_extract_without_error(self): test_file = self.get_test_loc('archive/7z/7zip_unicode.7z') test_dir = self.get_temp_dir() > result = sevenzip.extract(test_file, test_dir) tests/test_archive.py:1834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_unicode.7z' target_dir = '/tmp/scancode-tk-tests -p0jb4844/g016sing', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/7z/7zip_unicode.7z E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract ________________________ TestIso.test_extract_iso_basic ________________________ self = def test_extract_iso_basic(self): test_file = self.get_test_loc('archive/iso/small.iso') test_dir = self.get_temp_dir() > archive.extract_iso(test_file, test_dir) tests/test_archive.py:1867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/iso/small.iso' target_dir = '/tmp/scancode-tk-tests -p0jb4844/rm7_8a29', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/iso/small.iso E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract ______ TestIso.test_extract_iso_basic_with_with_weird_filename_extension _______ self = def test_extract_iso_basic_with_with_weird_filename_extension(self): test_file = self.get_test_loc('archive/iso/t.iso.foo') test_dir = self.get_temp_dir() > archive.extract_iso(test_file, test_dir) tests/test_archive.py:1886: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/iso/t.iso.foo' target_dir = '/tmp/scancode-tk-tests -p0jb4844/obzjea3u', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/iso/t.iso.foo E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract __________________ TestXzLzma.test_extract_archive_tar_lzma_1 __________________ self = def test_extract_archive_tar_lzma_1(self): test_file = 'archive/lzma_xz/coreutils-8.5-patches-1.tar.lzma' > self.check_lzma_extract(extract_fun=archive.extract_lzma, test_file=test_file, expected='coreutils-8.5-patches-1.tar') tests/test_archive.py:1918: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_archive.py:1898: in check_lzma_extract extract_fun(test_file, extract_dir) src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/lzma_xz/coreutils-8.5-patches-1.tar.lzma' target_dir = '/tmp/scancode-tk-tests -p0jb4844/ikkg8dmj', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/lzma_xz/coreutils-8.5-patches-1.tar.lzma E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract __________________ TestXzLzma.test_extract_archive_tar_lzma_2 __________________ self = def test_extract_archive_tar_lzma_2(self): test_file = 'archive/lzma_xz/orionsocket-1.0.9.tar.lzma' > self.check_lzma_extract(extract_fun=archive.extract_lzma, test_file=test_file, expected='orionsocket-1.0.9.tar') tests/test_archive.py:1924: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_archive.py:1898: in check_lzma_extract extract_fun(test_file, extract_dir) src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/lzma_xz/orionsocket-1.0.9.tar.lzma' target_dir = '/tmp/scancode-tk-tests -p0jb4844/c5p_bxaw', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/lzma_xz/orionsocket-1.0.9.tar.lzma E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract __________________ TestXzLzma.test_extract_archive_tar_lzma_3 __________________ self = def test_extract_archive_tar_lzma_3(self): test_file = 'archive/lzma_xz/MinGW-5.1.6.exe-src.tar.lzma' expected = 'MinGW-5.1.6.exe-src.tar' > self.check_lzma_extract(extract_fun=archive.extract_lzma, test_file=test_file, expected=expected) tests/test_archive.py:1931: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_archive.py:1898: in check_lzma_extract extract_fun(test_file, extract_dir) src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/lzma_xz/MinGW-5.1.6.exe-src.tar.lzma' target_dir = '/tmp/scancode-tk-tests -p0jb4844/k8kt2jtt', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/lzma_xz/MinGW-5.1.6.exe-src.tar.lzma E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract ___________________ TestXzLzma.test_extract_archive_tar_xz_1 ___________________ self = def test_extract_archive_tar_xz_1(self): test_file = 'archive/lzma_xz/texlive-core-patches-20.tar.xz' > self.check_lzma_extract(extract_fun=archive.extract_lzma, test_file=test_file, expected='texlive-core-patches-20.tar') tests/test_archive.py:1906: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_archive.py:1898: in check_lzma_extract extract_fun(test_file, extract_dir) src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/lzma_xz/texlive-core-patches-20.tar.xz' target_dir = '/tmp/scancode-tk-tests -p0jb4844/j9y_b0_q', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/lzma_xz/texlive-core-patches-20.tar.xz E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract ___________________ TestXzLzma.test_extract_archive_tar_xz_2 ___________________ self = def test_extract_archive_tar_xz_2(self): test_file = 'archive/lzma_xz/texlive-core-patches-20.tar.xz' > self.check_lzma_extract(extract_fun=archive.extract_lzma, test_file=test_file, expected='texlive-core-patches-20.tar') tests/test_archive.py:1912: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_archive.py:1898: in check_lzma_extract extract_fun(test_file, extract_dir) src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/lzma_xz/texlive-core-patches-20.tar.xz' target_dir = '/tmp/scancode-tk-tests -p0jb4844/5i4p1942', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/lzma_xz/texlive-core-patches-20.tar.xz E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract __________________ TestTarZ.test_extract_tarz_compress_basic ___________________ self = def test_extract_tarz_compress_basic(self): test_file = self.get_test_loc('archive/Z/tkWWW-0.11.tar.Z') test_dir = self.get_temp_dir() > archive.extract_Z(test_file, test_dir) tests/test_archive.py:1999: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/Z/tkWWW-0.11.tar.Z' target_dir = '/tmp/scancode-tk-tests -p0jb4844/fzvi3vys', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/Z/tkWWW-0.11.tar.Z E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract ____________________ TestTarZ.test_extract_z_compress_basic ____________________ self = def test_extract_z_compress_basic(self): test_file = self.get_test_loc('archive/Z/tr2tex.Z') test_dir = self.get_temp_dir() > archive.extract_Z(test_file, test_dir) tests/test_archive.py:2006: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/Z/tr2tex.Z' target_dir = '/tmp/scancode-tk-tests -p0jb4844/ln8u2ovp', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/Z/tr2tex.Z E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract ________________________ TestXar.test_extract_xar_basic ________________________ self = def test_extract_xar_basic(self): test_file = self.get_test_loc('archive/xar/xar-1.4.xar') test_dir = self.get_temp_dir() > archive.extract_Z(test_file, test_dir) tests/test_archive.py:2016: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/xar/xar-1.4.xar' target_dir = '/tmp/scancode-tk-tests -p0jb4844/_hwsrtcb', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/xar/xar-1.4.xar E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract ________________________ TestCab.test_extract_cab_basic ________________________ self = def test_extract_cab_basic(self): test_file = self.get_test_loc('archive/cab/basic.cab') test_dir = self.get_temp_dir() > archive.extract_cab(test_file, test_dir) tests/test_archive.py:2059: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/cab/basic.cab' target_dir = '/tmp/scancode-tk-tests -p0jb4844/yoggm24e', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/cab/basic.cab E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract _________ TestCab.test_extract_cab_basic_with_weird_filename_extension _________ self = def test_extract_cab_basic_with_weird_filename_extension(self): test_file = self.get_test_loc('archive/cab/t.cab.foo') test_dir = self.get_temp_dir() > archive.extract_cab(test_file, test_dir) tests/test_archive.py:2067: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/cab/t.cab.foo' target_dir = '/tmp/scancode-tk-tests -p0jb4844/bl9aw0bb', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/cab/t.cab.foo E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract _ TestExtractArchiveWithIllegalFilenamesWithSevenzipOnPosix.test_extract_7zip_with_weird_filenames_with_sevenzip_posix _ self = def test_extract_7zip_with_weird_filenames_with_sevenzip_posix(self): test_file = self.get_test_loc('archive/weird_names/weird_names.7z') > self.check_extract_weird_names( sevenzip.extract, test_file, expected_warnings=[], expected_suffix='7zip') tests/test_archive.py:2349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_archive.py:2234: in check_extract_weird_names warnings = test_function(test_file, test_dir) src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/weird_names/weird_names.7z' target_dir = '/tmp/scancode-tk-tests -p0jb4844/u8xwzvpv', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/weird_names/weird_names.7z E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract _ TestExtractArchiveWithIllegalFilenamesWithSevenzipOnPosix.test_extract_ar_with_weird_filenames_with_sevenzip_posix _ self = def test_extract_ar_with_weird_filenames_with_sevenzip_posix(self): test_file = self.get_test_loc('archive/weird_names/weird_names.ar') > self.check_extract_weird_names( sevenzip.extract, test_file, expected_warnings=[], expected_suffix='7zip') tests/test_archive.py:2354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_archive.py:2234: in check_extract_weird_names warnings = test_function(test_file, test_dir) src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/weird_names/weird_names.ar' target_dir = '/tmp/scancode-tk-tests -p0jb4844/l6tjy2a8', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/weird_names/weird_names.ar E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract _ TestExtractArchiveWithIllegalFilenamesWithSevenzipOnPosix.test_extract_cpio_with_weird_filenames_with_sevenzip_posix _ self = def test_extract_cpio_with_weird_filenames_with_sevenzip_posix(self): test_file = self.get_test_loc('archive/weird_names/weird_names.cpio') > self.check_extract_weird_names( sevenzip.extract, test_file, expected_warnings=[], expected_suffix='7zip') tests/test_archive.py:2359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_archive.py:2234: in check_extract_weird_names warnings = test_function(test_file, test_dir) src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/weird_names/weird_names.cpio' target_dir = '/tmp/scancode-tk-tests -p0jb4844/cwq7ijly', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/weird_names/weird_names.cpio E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract _ TestExtractArchiveWithIllegalFilenamesWithSevenzipOnPosix.test_extract_iso_with_weird_filenames_with_sevenzip_posix _ self = def test_extract_iso_with_weird_filenames_with_sevenzip_posix(self): test_file = self.get_test_loc('archive/weird_names/weird_names.iso') > self.check_extract_weird_names( sevenzip.extract, test_file, expected_warnings=[], expected_suffix='7zip') tests/test_archive.py:2364: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_archive.py:2234: in check_extract_weird_names warnings = test_function(test_file, test_dir) src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/weird_names/weird_names.iso' target_dir = '/tmp/scancode-tk-tests -p0jb4844/l_vzigqk', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/weird_names/weird_names.iso E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract _ TestExtractArchiveWithIllegalFilenamesWithSevenzipOnPosix.test_extract_tar_with_weird_filenames_with_sevenzip_posix _ self = def test_extract_tar_with_weird_filenames_with_sevenzip_posix(self): test_file = self.get_test_loc('archive/weird_names/weird_names.tar') > self.check_extract_weird_names( sevenzip.extract, test_file, expected_warnings=[], expected_suffix='7zip') tests/test_archive.py:2375: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_archive.py:2234: in check_extract_weird_names warnings = test_function(test_file, test_dir) src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/weird_names/weird_names.tar' target_dir = '/tmp/scancode-tk-tests -p0jb4844/hyqybz9w', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/weird_names/weird_names.tar E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract _ TestExtractArchiveWithIllegalFilenamesWithSevenzipOnPosix.test_extract_zip_with_weird_filenames_with_sevenzip_posix _ self = def test_extract_zip_with_weird_filenames_with_sevenzip_posix(self): test_file = self.get_test_loc('archive/weird_names/weird_names.zip') > self.check_extract_weird_names( sevenzip.extract, test_file, expected_warnings=[], expected_suffix='7zip') tests/test_archive.py:2380: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_archive.py:2234: in check_extract_weird_names warnings = test_function(test_file, test_dir) src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/weird_names/weird_names.zip' target_dir = '/tmp/scancode-tk-tests -p0jb4844/qgfsm5xj', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/archive/weird_names/weird_names.zip E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract __________ TestExtract.test_extract_directory_of_windows_ar_archives ___________ test_dir = '/tmp/scancode-tk-tests -p0jb4844/ib3huc0m/winlib' expected = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/extract/ar_tree/winlib-expected.json' regen = False def check_files(test_dir, expected, regen=False): """ Walk test_dir. Check that all dirs are readable. Check that all files are: * non-special, * readable, * have a posix path that ends with one of the expected tuple paths. """ result = [] locs = [] if filetype.is_file(test_dir): test_dir = fileutils.parent_directory(test_dir) test_dir_path = fileutils.as_posixpath(test_dir) for top, _, files in os.walk(test_dir): for f in files: location = os.path.join(top, f) locs.append(location) path = fileutils.as_posixpath(location) path = path.replace(test_dir_path, '').strip('/') result.append(path) expected_is_json_file = False if not isinstance(expected, (list, tuple)) and expected.endswith('.json'): expected_is_json_file = True # this is a path to a JSON file if regen: with open(expected, 'w') as ex: json.dump(result, ex, indent=2, separators=(',', ':')) expected_content = result else: with open(expected) as ex: expected_content = json.load(ex) else: expected_content = expected expected_content = sorted(expected_content) result = sorted(result) try: > assert result == expected_content E AssertionError: assert ['gsdll32.lib..._12.dll', ...] == ['gsdll32.lib..._12.dll', ...] E E At index 35 diff: 'php4embed.lib' != 'htmlhelp.lib-extract/1.txt' E Right contains 6 more items, first extra item: 'zlib.lib-extract/dot' E Use -v to get more diff tests/extractcode_assert_utils.py:83: AssertionError During handling of the above exception, another exception occurred: self = def test_extract_directory_of_windows_ar_archives(self): test_dir = self.get_test_loc('extract/ar_tree/winlib', copy=True) result = list(extract.extract(test_dir, recurse=True)) expected = self.get_test_loc('extract/ar_tree/winlib-expected.json') > check_files(test_dir, expected, regen=False) tests/test_extract.py:653: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir = '/tmp/scancode-tk-tests -p0jb4844/ib3huc0m/winlib' expected = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/extract/ar_tree/winlib-expected.json' regen = False def check_files(test_dir, expected, regen=False): """ Walk test_dir. Check that all dirs are readable. Check that all files are: * non-special, * readable, * have a posix path that ends with one of the expected tuple paths. """ result = [] locs = [] if filetype.is_file(test_dir): test_dir = fileutils.parent_directory(test_dir) test_dir_path = fileutils.as_posixpath(test_dir) for top, _, files in os.walk(test_dir): for f in files: location = os.path.join(top, f) locs.append(location) path = fileutils.as_posixpath(location) path = path.replace(test_dir_path, '').strip('/') result.append(path) expected_is_json_file = False if not isinstance(expected, (list, tuple)) and expected.endswith('.json'): expected_is_json_file = True # this is a path to a JSON file if regen: with open(expected, 'w') as ex: json.dump(result, ex, indent=2, separators=(',', ':')) expected_content = result else: with open(expected) as ex: expected_content = json.load(ex) else: expected_content = expected expected_content = sorted(expected_content) result = sorted(result) try: assert result == expected_content except AssertionError: files = [ 'test_dir: file://{}'.format(test_dir), 'expected: file://{}'.format(expected if expected_is_json_file else ''), ] > assert result == files + expected_content E AssertionError: assert ['gsdll32.lib..._12.dll', ...] == ['test_dir: f..._10.dll', ...] E E At index 0 diff: 'gsdll32.lib' != 'test_dir: file:///tmp/scancode-tk-tests -p0jb4844/ib3huc0m/winlib' E Right contains 8 more items, first extra item: 'pyexpat.lib-extract/pyexpat_3.pyd' E Use -v to get more diff tests/extractcode_assert_utils.py:89: AssertionError _____________ TestSevenZip.test_extract_of_tar_with_aboslute_path ______________ self = def test_extract_of_tar_with_aboslute_path(self): test_loc = self.get_test_loc('sevenzip/absolute_path.tar') target_dir = self.get_temp_dir() > sevenzip.extract(test_loc, target_dir, file_by_file=False) tests/test_sevenzip.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/absolute_path.tar' target_dir = '/tmp/scancode-tk-tests -p0jb4844/7q2wacru', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/absolute_path.tar E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract ________ TestSevenZipListEntries.test_extract_of_tar_with_aboslute_path ________ self = def test_extract_of_tar_with_aboslute_path(self): test_loc = self.get_test_loc('sevenzip/absolute_path.tar') target_dir = self.get_temp_dir() > sevenzip.extract(test_loc, target_dir, file_by_file=False) tests/test_sevenzip.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/absolute_path.tar' target_dir = '/tmp/scancode-tk-tests -p0jb4844/u4diika7', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/absolute_path.tar E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract ___________ TestSevenZipListEntries.test_list_entries_of_special_tar ___________ self = @pytest.mark.skipif(on_windows, reason='Windows file-by-file extracton is not working well') def test_list_entries_of_special_tar(self): test_loc = self.get_test_loc('sevenzip/special.tar') expected_loc = test_loc + '-entries-expected.json' entries, errors = sevenzip.list_entries(test_loc) entries = [e.to_dict(full=True) for e in entries] errors = errors or [] > results = entries + errors E TypeError: can only concatenate list (not "str") to list tests/test_sevenzip.py:141: TypeError ________ TestSevenZipListEntries.test_list_entries_with_weird_names_7z _________ self = @pytest.mark.skipif(on_windows, reason='Windows file-by-file extracton is not working well') def test_list_entries_with_weird_names_7z(self): test_loc = self.get_test_loc('sevenzip/weird_names.7z') expected_loc = test_loc + '-entries-expected.json' entries, errors = sevenzip.list_entries(test_loc) entries = [e.to_dict(full=True) for e in entries] errors = errors or [] > results = entries + errors E TypeError: can only concatenate list (not "str") to list tests/test_sevenzip.py:161: TypeError _________ TestSevenParseListing.test_extract_of_tar_with_aboslute_path _________ self = def test_extract_of_tar_with_aboslute_path(self): test_loc = self.get_test_loc('sevenzip/absolute_path.tar') target_dir = self.get_temp_dir() > sevenzip.extract(test_loc, target_dir, file_by_file=False) tests/test_sevenzip.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/absolute_path.tar' target_dir = '/tmp/scancode-tk-tests -p0jb4844/fq5wzpf6', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/absolute_path.tar E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract ________ TestSevenZipFileByFile.test_extract_file_by_file_of_nested_zip ________ self = test_file = 'sevenzip/relative_nested.zip', regen = False def check_extract_file_by_file(self, test_file, regen=False): """ This test uses a different expected JSON file on Linux """ test_loc = self.get_test_loc(test_file) target_dir = self.get_temp_dir() suffix = '-win' if on_windows else '' try: > sevenzip.extract_file_by_file(test_loc, target_dir) tests/test_sevenzip.py:261: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:413: in extract_file_by_file return extract_all_files_at_once( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/relative_nested.zip' target_dir = '/tmp/scancode-tk-tests -p0jb4844/ax1iqpu7', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/relative_nested.zip E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract During handling of the above exception, another exception occurred: self = def test_extract_file_by_file_of_nested_zip(self): > self.check_extract_file_by_file('sevenzip/relative_nested.zip', regen=False) tests/test_sevenzip.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_sevenzip.py:266: in check_extract_file_by_file self.check_results_with_expected_json(e.args[0], expected_err_loc, regen=regen) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = results = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/relative_nested.zip\nCannot open the file as archive' expected_loc = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/relative_nested.zip-extract-errors-expected.json' clean_dates = False, regen = False def check_results_with_expected_json( self, results, expected_loc, clean_dates=False, regen=False, ): if regen: with open(expected_loc, 'w') as ex: json.dump(results, ex, indent=2, separators=(',', ':')) > with open(expected_loc) as ex: E FileNotFoundError: [Errno 2] No such file or directory: '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/relative_nested.zip-extract-errors-expected.json' tests/test_sevenzip.py:38: FileNotFoundError _______ TestSevenZipFileByFile.test_extract_file_by_file_of_special_tar ________ self = test_file = 'sevenzip/special.tar', regen = False def check_extract_file_by_file(self, test_file, regen=False): """ This test uses a different expected JSON file on Linux """ test_loc = self.get_test_loc(test_file) target_dir = self.get_temp_dir() suffix = '-win' if on_windows else '' try: > sevenzip.extract_file_by_file(test_loc, target_dir) tests/test_sevenzip.py:261: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:413: in extract_file_by_file return extract_all_files_at_once( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/special.tar' target_dir = '/tmp/scancode-tk-tests -p0jb4844/9vyeg_y9', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/special.tar E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract During handling of the above exception, another exception occurred: self = def test_extract_file_by_file_of_special_tar(self): > self.check_extract_file_by_file('sevenzip/special.tar', regen=False) tests/test_sevenzip.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_sevenzip.py:266: in check_extract_file_by_file self.check_results_with_expected_json(e.args[0], expected_err_loc, regen=regen) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = results = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/special.tar\nCannot open the file as archive' expected_loc = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/special.tar-extract-errors-expected.json' clean_dates = False, regen = False def check_results_with_expected_json( self, results, expected_loc, clean_dates=False, regen=False, ): if regen: with open(expected_loc, 'w') as ex: json.dump(results, ex, indent=2, separators=(',', ':')) > with open(expected_loc) as ex: E FileNotFoundError: [Errno 2] No such file or directory: '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/special.tar-extract-errors-expected.json' tests/test_sevenzip.py:38: FileNotFoundError __ TestSevenZipFileByFile.test_extract_file_by_file_of_tar_with_absolute_path __ self = test_file = 'sevenzip/absolute_path.tar', regen = False def check_extract_file_by_file(self, test_file, regen=False): """ This test uses a different expected JSON file on Linux """ test_loc = self.get_test_loc(test_file) target_dir = self.get_temp_dir() suffix = '-win' if on_windows else '' try: > sevenzip.extract_file_by_file(test_loc, target_dir) tests/test_sevenzip.py:261: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:413: in extract_file_by_file return extract_all_files_at_once( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/absolute_path.tar' target_dir = '/tmp/scancode-tk-tests -p0jb4844/x6uc1pzz', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/absolute_path.tar E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract During handling of the above exception, another exception occurred: self = def test_extract_file_by_file_of_tar_with_absolute_path(self): > self.check_extract_file_by_file('sevenzip/absolute_path.tar', regen=False) tests/test_sevenzip.py:273: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_sevenzip.py:266: in check_extract_file_by_file self.check_results_with_expected_json(e.args[0], expected_err_loc, regen=regen) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = results = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/absolute_path.tar\nCannot open the file as archive' expected_loc = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/absolute_path.tar-extract-errors-expected.json' clean_dates = False, regen = False def check_results_with_expected_json( self, results, expected_loc, clean_dates=False, regen=False, ): if regen: with open(expected_loc, 'w') as ex: json.dump(results, ex, indent=2, separators=(',', ':')) > with open(expected_loc) as ex: E FileNotFoundError: [Errno 2] No such file or directory: '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/absolute_path.tar-extract-errors-expected.json' tests/test_sevenzip.py:38: FileNotFoundError _______ TestSevenZipFileByFile.test_extract_file_by_file_weird_names_ar ________ self = test_file = 'sevenzip/weird_names.ar', regen = False def check_extract_file_by_file(self, test_file, regen=False): """ This test uses a different expected JSON file on Linux """ test_loc = self.get_test_loc(test_file) target_dir = self.get_temp_dir() suffix = '-win' if on_windows else '' try: > sevenzip.extract_file_by_file(test_loc, target_dir) tests/test_sevenzip.py:261: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:413: in extract_file_by_file return extract_all_files_at_once( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.ar' target_dir = '/tmp/scancode-tk-tests -p0jb4844/ftxkxvxj', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.ar E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract During handling of the above exception, another exception occurred: self = @pytest.mark.xfail(on_windows, reason='Fails on Windows becasue it has file names that cannot be extracted there') def test_extract_file_by_file_weird_names_ar(self): > self.check_extract_file_by_file('sevenzip/weird_names.ar', regen=False) tests/test_sevenzip.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_sevenzip.py:266: in check_extract_file_by_file self.check_results_with_expected_json(e.args[0], expected_err_loc, regen=regen) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = results = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.ar\nCannot open the file as archive' expected_loc = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.ar-extract-errors-expected.json' clean_dates = False, regen = False def check_results_with_expected_json( self, results, expected_loc, clean_dates=False, regen=False, ): if regen: with open(expected_loc, 'w') as ex: json.dump(results, ex, indent=2, separators=(',', ':')) with open(expected_loc) as ex: expected = json.load(ex) if clean_dates: if isinstance(results, list): self.clean_dates(results) self.clean_dates(expected) > assert expected == results E AssertionError: assert {'[\\:*.1': 'Empty archive or incorrect arguments', '\\:.1.gz': 'Empty archive or incorrect arguments', 'ab\t.t': 'Empty archive or incorrect arguments', 'ab\n.t': 'Empty archive or incorrect arguments', ...} == '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.ar\nCannot open the file as archive' tests/test_sevenzip.py:45: AssertionError ______ TestSevenZipFileByFile.test_extract_file_by_file_weird_names_cpio _______ self = test_file = 'sevenzip/weird_names.cpio', regen = False def check_extract_file_by_file(self, test_file, regen=False): """ This test uses a different expected JSON file on Linux """ test_loc = self.get_test_loc(test_file) target_dir = self.get_temp_dir() suffix = '-win' if on_windows else '' try: > sevenzip.extract_file_by_file(test_loc, target_dir) tests/test_sevenzip.py:261: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:413: in extract_file_by_file return extract_all_files_at_once( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.cpio' target_dir = '/tmp/scancode-tk-tests -p0jb4844/4k5b9w5t', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.cpio E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract During handling of the above exception, another exception occurred: self = def test_extract_file_by_file_weird_names_cpio(self): > self.check_extract_file_by_file('sevenzip/weird_names.cpio', regen=False) tests/test_sevenzip.py:292: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_sevenzip.py:266: in check_extract_file_by_file self.check_results_with_expected_json(e.args[0], expected_err_loc, regen=regen) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = results = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.cpio\nCannot open the file as archive' expected_loc = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.cpio-extract-errors-expected.json' clean_dates = False, regen = False def check_results_with_expected_json( self, results, expected_loc, clean_dates=False, regen=False, ): if regen: with open(expected_loc, 'w') as ex: json.dump(results, ex, indent=2, separators=(',', ':')) with open(expected_loc) as ex: expected = json.load(ex) if clean_dates: if isinstance(results, list): self.clean_dates(results) self.clean_dates(expected) > assert expected == results E AssertionError: assert {'weird_names/man\\1/..1.gz': 'Empty archive or incorrect arguments', 'weird_names/man\\1/:\\.1': 'Empty archive or in...gz': 'Empty archive or incorrect arguments', 'weird_names/man\\1/[\\:*.1': 'Empty archive or incorrect arguments', ...} == '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.cpio\nCannot open the file as archive' tests/test_sevenzip.py:45: AssertionError _______ TestSevenZipFileByFile.test_extract_file_by_file_weird_names_tar _______ self = test_file = 'sevenzip/weird_names.tar', regen = False def check_extract_file_by_file(self, test_file, regen=False): """ This test uses a different expected JSON file on Linux """ test_loc = self.get_test_loc(test_file) target_dir = self.get_temp_dir() suffix = '-win' if on_windows else '' try: > sevenzip.extract_file_by_file(test_loc, target_dir) tests/test_sevenzip.py:261: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:413: in extract_file_by_file return extract_all_files_at_once( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.tar' target_dir = '/tmp/scancode-tk-tests -p0jb4844/e2yka00i', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.tar E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract During handling of the above exception, another exception occurred: self = def test_extract_file_by_file_weird_names_tar(self): > self.check_extract_file_by_file('sevenzip/weird_names.tar', regen=False) tests/test_sevenzip.py:295: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_sevenzip.py:266: in check_extract_file_by_file self.check_results_with_expected_json(e.args[0], expected_err_loc, regen=regen) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = results = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.tar\nCannot open the file as archive' expected_loc = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.tar-extract-errors-expected.json' clean_dates = False, regen = False def check_results_with_expected_json( self, results, expected_loc, clean_dates=False, regen=False, ): if regen: with open(expected_loc, 'w') as ex: json.dump(results, ex, indent=2, separators=(',', ':')) with open(expected_loc) as ex: expected = json.load(ex) if clean_dates: if isinstance(results, list): self.clean_dates(results) self.clean_dates(expected) > assert expected == results E AssertionError: assert {'weird_names/man\\1/..1.gz': 'Empty archive or incorrect arguments', 'weird_names/man\\1/:\\.1': 'Empty archive or in...gz': 'Empty archive or incorrect arguments', 'weird_names/man\\1/[\\:*.1': 'Empty archive or incorrect arguments', ...} == '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.tar\nCannot open the file as archive' tests/test_sevenzip.py:45: AssertionError _______ TestSevenZipFileByFile.test_extract_file_by_file_weird_names_zip _______ self = test_file = 'sevenzip/weird_names.zip', regen = False def check_extract_file_by_file(self, test_file, regen=False): """ This test uses a different expected JSON file on Linux """ test_loc = self.get_test_loc(test_file) target_dir = self.get_temp_dir() suffix = '-win' if on_windows else '' try: > sevenzip.extract_file_by_file(test_loc, target_dir) tests/test_sevenzip.py:261: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:413: in extract_file_by_file return extract_all_files_at_once( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.zip' target_dir = '/tmp/scancode-tk-tests -p0jb4844/r6dimfwr', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.zip E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract During handling of the above exception, another exception occurred: self = def test_extract_file_by_file_weird_names_zip(self): > self.check_extract_file_by_file('sevenzip/weird_names.zip', regen=False) tests/test_sevenzip.py:285: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_sevenzip.py:266: in check_extract_file_by_file self.check_results_with_expected_json(e.args[0], expected_err_loc, regen=regen) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = results = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.zip\nCannot open the file as archive' expected_loc = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.zip-extract-errors-expected.json' clean_dates = False, regen = False def check_results_with_expected_json( self, results, expected_loc, clean_dates=False, regen=False, ): if regen: with open(expected_loc, 'w') as ex: json.dump(results, ex, indent=2, separators=(',', ':')) with open(expected_loc) as ex: expected = json.load(ex) if clean_dates: if isinstance(results, list): self.clean_dates(results) self.clean_dates(expected) > assert expected == results E AssertionError: assert {'weird_names/man\\1/..1.gz': 'Empty archive or incorrect arguments', 'weird_names/man\\1/:\\.1': 'Empty archive or in...gz': 'Empty archive or incorrect arguments', 'weird_names/man\\1/[\\:*.1': 'Empty archive or incorrect arguments', ...} == '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.zip\nCannot open the file as archive' tests/test_sevenzip.py:45: AssertionError _____ TestSevenZipFileByFile.test_extract_file_by_file_with_weird_names_7z _____ self = test_file = 'sevenzip/weird_names.7z', regen = False def check_extract_file_by_file(self, test_file, regen=False): """ This test uses a different expected JSON file on Linux """ test_loc = self.get_test_loc(test_file) target_dir = self.get_temp_dir() suffix = '-win' if on_windows else '' try: > sevenzip.extract_file_by_file(test_loc, target_dir) tests/test_sevenzip.py:261: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:413: in extract_file_by_file return extract_all_files_at_once( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.7z' target_dir = '/tmp/scancode-tk-tests -p0jb4844/l4csuv05', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.7z E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract During handling of the above exception, another exception occurred: self = def test_extract_file_by_file_with_weird_names_7z(self): > self.check_extract_file_by_file('sevenzip/weird_names.7z', regen=False) tests/test_sevenzip.py:282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_sevenzip.py:266: in check_extract_file_by_file self.check_results_with_expected_json(e.args[0], expected_err_loc, regen=regen) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = results = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.7z\nCannot open the file as archive' expected_loc = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.7z-extract-errors-expected.json' clean_dates = False, regen = False def check_results_with_expected_json( self, results, expected_loc, clean_dates=False, regen=False, ): if regen: with open(expected_loc, 'w') as ex: json.dump(results, ex, indent=2, separators=(',', ':')) with open(expected_loc) as ex: expected = json.load(ex) if clean_dates: if isinstance(results, list): self.clean_dates(results) self.clean_dates(expected) > assert expected == results E AssertionError: assert {'weird_names/man\\1/..1.gz': 'Empty archive or incorrect arguments', 'weird_names/man\\1/:\\.1': 'Empty archive or in...gz': 'Empty archive or incorrect arguments', 'weird_names/man\\1/[\\:*.1': 'Empty archive or incorrect arguments', ...} == '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/weird_names.7z\nCannot open the file as archive' tests/test_sevenzip.py:45: AssertionError ________ TestSevenZipFileByFile.test_extract_of_tar_with_aboslute_path _________ self = def test_extract_of_tar_with_aboslute_path(self): test_loc = self.get_test_loc('sevenzip/absolute_path.tar') target_dir = self.get_temp_dir() > sevenzip.extract(test_loc, target_dir, file_by_file=False) tests/test_sevenzip.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/extractcode/sevenzip.py:242: in extract return extractor( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ location = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/absolute_path.tar' target_dir = '/tmp/scancode-tk-tests -p0jb4844/76qz3a0d', arch_type = '*' skip_symlinks = True def extract_all_files_at_once( location, target_dir, arch_type='*', skip_symlinks=True, ): """ Extract all files from a 7zip-supported archive file at ``location`` in the ``target_dir`` directory. Return a list of warning messages. Raise exception on errors. ``arch_type`` is the type of 7zip archive passed to the -t 7zip option. Can be None. """ abs_location = os.path.abspath(os.path.expanduser(location)) abs_target_dir = os.path.abspath(os.path.expanduser(target_dir)) # note: there are some issues with the extraction of debian .deb ar files # see sevenzip bug http://sourceforge.net/p/sevenzip/bugs/1472/ ex_args = build_7z_extract_command( location=location, target_dir=target_dir, arch_type=arch_type) rc, stdout, stderr = command.execute(**ex_args) if rc != 0: if TRACE: logger.debug( 'extract: failure: {rc}\n' 'stderr: {stderr}\n' 'stdout: {stdout}\n'.format(**locals())) error = get_7z_errors(stdout, stderr) or UNKNOWN_ERROR > raise ExtractErrorFailedToExtract(error) E extractcode.ExtractErrorFailedToExtract: /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tests/data/sevenzip/absolute_path.tar E Cannot open the file as archive src/extractcode/sevenzip.py:282: ExtractErrorFailedToExtract =============================== warnings summary =============================== tests/test_archive.py::TestZip::test_extract_zip_with_timezone tests/test_archive.py::TestZip::test_extract_zip_with_timezone tests/test_archive.py::TestZip::test_extract_zip_with_timezone tests/test_archive.py::TestZip::test_extract_zip_with_timezone_2 tests/test_archive.py::TestZip::test_extract_zip_with_timezone_2 tests/test_archive.py::TestAr::test_extract_ar_verify_dates tests/test_archive.py::TestAr::test_extract_ar_verify_dates /usr/lib/python3.13/site-packages/commoncode/date.py:28: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). utc_date = datetime.utcfromtimestamp(mtime) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_archive.py::TestGetExtractorTest::test_7zip_extract_can_extract_to_relative_paths FAILED tests/test_archive.py::TestGetExtractorTest::test_get_extractors_2 - A... FAILED tests/test_archive.py::TestSevenzipBz2::test_sevenzip_extract_can_handle_bz2_multistream_differently FAILED tests/test_archive.py::TestZip::test_extract_zip_with_password - Asser... FAILED tests/test_archive.py::TestZip::test_list_zip_with_relative_path_deeply_nested_with_7zip FAILED tests/test_archive.py::TestTar::test_extract_python_testtar_tar_archive_with_special_files FAILED tests/test_archive.py::TestAr::test_extract_ar_basic_7z - extractcode.... FAILED tests/test_archive.py::TestAr::test_extract_ar_broken - extractcode.Ex... FAILED tests/test_archive.py::TestAr::test_extract_ar_broken_7z - extractcode... FAILED tests/test_archive.py::TestAr::test_extract_ar_static_library_does_not_delete_symdefs_7z FAILED tests/test_archive.py::TestAr::test_extract_ar_with_permissions_7z - e... FAILED tests/test_archive.py::TestAr::test_extract_ar_with_relative_path_and_backslashes_in_names_7z FAILED tests/test_archive.py::TestAr::test_extract_ar_with_relative_path_sevenzip FAILED tests/test_archive.py::TestCpio::test_extract_cpio_broken_7z - Asserti... FAILED tests/test_archive.py::TestRpm::test_extract_rpm_basic_1 - extractcode... FAILED tests/test_archive.py::TestRpm::test_extract_rpm_basic_2 - extractcode... FAILED tests/test_archive.py::TestRpm::test_extract_rpm_broken - AssertionErr... FAILED tests/test_archive.py::TestRpm::test_extract_rpm_nested_correctly - ex... FAILED tests/test_archive.py::TestRpm::test_extract_rpm_with_renamed_content FAILED tests/test_archive.py::TestRpm::test_extract_rpm_with_trailing_data - ... FAILED tests/test_archive.py::TestExtractTwice::test_extract_twice_can_extract_to_relative_paths FAILED tests/test_archive.py::TestExtractTwice::test_extract_twice_with_rpm_with_xz_compressed_cpio FAILED tests/test_archive.py::TestSevenZip::test_extract_7z_with_broken_archive_does_not_fail_when_using_fallback FAILED tests/test_archive.py::TestSevenZip::test_extract_7z_with_broken_archive_with7z FAILED tests/test_archive.py::TestSevenZip::test_extract_7z_with_invalid_path_using_7z FAILED tests/test_archive.py::TestSevenZip::test_extract_7z_with_password - A... FAILED tests/test_archive.py::TestSevenZip::test_extract_7z_with_password_with_7z FAILED tests/test_archive.py::TestSevenZip::test_extract_7zip_native_with_unicode_path_should_extract_without_error FAILED tests/test_archive.py::TestIso::test_extract_iso_basic - extractcode.E... FAILED tests/test_archive.py::TestIso::test_extract_iso_basic_with_with_weird_filename_extension FAILED tests/test_archive.py::TestXzLzma::test_extract_archive_tar_lzma_1 - e... FAILED tests/test_archive.py::TestXzLzma::test_extract_archive_tar_lzma_2 - e... FAILED tests/test_archive.py::TestXzLzma::test_extract_archive_tar_lzma_3 - e... FAILED tests/test_archive.py::TestXzLzma::test_extract_archive_tar_xz_1 - ext... FAILED tests/test_archive.py::TestXzLzma::test_extract_archive_tar_xz_2 - ext... FAILED tests/test_archive.py::TestTarZ::test_extract_tarz_compress_basic - ex... FAILED tests/test_archive.py::TestTarZ::test_extract_z_compress_basic - extra... FAILED tests/test_archive.py::TestXar::test_extract_xar_basic - extractcode.E... FAILED tests/test_archive.py::TestCab::test_extract_cab_basic - extractcode.E... FAILED tests/test_archive.py::TestCab::test_extract_cab_basic_with_weird_filename_extension FAILED tests/test_archive.py::TestExtractArchiveWithIllegalFilenamesWithSevenzipOnPosix::test_extract_7zip_with_weird_filenames_with_sevenzip_posix FAILED tests/test_archive.py::TestExtractArchiveWithIllegalFilenamesWithSevenzipOnPosix::test_extract_ar_with_weird_filenames_with_sevenzip_posix FAILED tests/test_archive.py::TestExtractArchiveWithIllegalFilenamesWithSevenzipOnPosix::test_extract_cpio_with_weird_filenames_with_sevenzip_posix FAILED tests/test_archive.py::TestExtractArchiveWithIllegalFilenamesWithSevenzipOnPosix::test_extract_iso_with_weird_filenames_with_sevenzip_posix FAILED tests/test_archive.py::TestExtractArchiveWithIllegalFilenamesWithSevenzipOnPosix::test_extract_tar_with_weird_filenames_with_sevenzip_posix FAILED tests/test_archive.py::TestExtractArchiveWithIllegalFilenamesWithSevenzipOnPosix::test_extract_zip_with_weird_filenames_with_sevenzip_posix FAILED tests/test_extract.py::TestExtract::test_extract_directory_of_windows_ar_archives FAILED tests/test_sevenzip.py::TestSevenZip::test_extract_of_tar_with_aboslute_path FAILED tests/test_sevenzip.py::TestSevenZipListEntries::test_extract_of_tar_with_aboslute_path FAILED tests/test_sevenzip.py::TestSevenZipListEntries::test_list_entries_of_special_tar FAILED tests/test_sevenzip.py::TestSevenZipListEntries::test_list_entries_with_weird_names_7z FAILED tests/test_sevenzip.py::TestSevenParseListing::test_extract_of_tar_with_aboslute_path FAILED tests/test_sevenzip.py::TestSevenZipFileByFile::test_extract_file_by_file_of_nested_zip FAILED tests/test_sevenzip.py::TestSevenZipFileByFile::test_extract_file_by_file_of_special_tar FAILED tests/test_sevenzip.py::TestSevenZipFileByFile::test_extract_file_by_file_of_tar_with_absolute_path FAILED tests/test_sevenzip.py::TestSevenZipFileByFile::test_extract_file_by_file_weird_names_ar FAILED tests/test_sevenzip.py::TestSevenZipFileByFile::test_extract_file_by_file_weird_names_cpio FAILED tests/test_sevenzip.py::TestSevenZipFileByFile::test_extract_file_by_file_weird_names_tar FAILED tests/test_sevenzip.py::TestSevenZipFileByFile::test_extract_file_by_file_weird_names_zip FAILED tests/test_sevenzip.py::TestSevenZipFileByFile::test_extract_file_by_file_with_weird_names_7z FAILED tests/test_sevenzip.py::TestSevenZipFileByFile::test_extract_of_tar_with_aboslute_path XFAIL tests/test_archive.py::TestUncompressGzip::test_uncompress_gzip_with_trailing_data - Fails for now on Python 3 XFAIL tests/test_archive.py::TestZip::test_extract_zip_with_relative_path_deeply_nested_with_7zip_posix_py3 - Expectations are different on Windows and this may fail on Windows XFAIL tests/test_archive.py::TestDia::test_extract_dia_with_trailing_data - Fails for now on Python 3 XFAIL tests/test_archive.py::TestDia::test_extract_dia_with_trailing_data_py3 - Fails for now on Python 3 XFAIL tests/test_archive.py::TestExtractArchiveWithIllegalFilenamesWithSevenzipOnPosix::test_extract_rar_with_weird_filenames_with_sevenzip_posix = 61 failed, 248 passed, 229 skipped, 17 deselected, 5 xfailed, 7 warnings in 5.41s = RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Xzqo2d (%check) Bad exit status from /var/tmp/rpm-tmp.Xzqo2d (%check) Finish: rpmbuild python-extractcode-31.0.0-6.fc43.src.rpm Finish: build phase for python-extractcode-31.0.0-6.fc43.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1747799150.322040/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names ERROR: Exception(/var/lib/copr-rpmbuild/results/python-extractcode-31.0.0-6.fc43.src.rpm) Config(fedora-rawhide-x86_64) 0 minutes 19 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_failure=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M f9d956030ac84808ae36124e4d5714f8 -D /var/lib/mock/fedora-rawhide-x86_64-1747799150.322040/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.kbbq5m4o:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 -ba --noprep --target x86_64 /builddir/build/originals/python-extractcode.spec' Copr build error: Build failed