Warning: Permanently added '98.81.70.26' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/9151204-fedora-rawhide-x86_64 --chroot fedora-rawhide-x86_64 Version: 1.3 PID: 12340 Logging PID: 12341 Task: {'allow_user_ssh': False, 'appstream': False, 'background': True, 'build_id': 9151204, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-x86_64', 'enable_net': False, 'fedora_review': False, 'git_hash': 'a50d3a6c8875acb934280794cb625e9bc0ee96cc', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/cstratak/click-8.1.7/python-extractcode', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'python-extractcode', 'package_version': '31.0.0-6', 'project_dirname': 'click-8.1.7', 'project_name': 'click-8.1.7', 'project_owner': 'cstratak', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/cstratak/click-8.1.7/fedora-rawhide-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}, {'baseurl': 'http://kojipkgs.fedoraproject.org/repos/rawhide/latest/$basearch/', 'id': 'http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch', 'name': 'Additional repo http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch'}], 'sandbox': 'cstratak/click-8.1.7--cstratak', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': 0, 'submitter': 'cstratak', 'tags': [], 'task_id': '9151204-fedora-rawhide-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/cstratak/click-8.1.7/python-extractcode /var/lib/copr-rpmbuild/workspace/workdir-4kg08bje/python-extractcode --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/cstratak/click-8.1.7/python-extractcode', '/var/lib/copr-rpmbuild/workspace/workdir-4kg08bje/python-extractcode', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-4kg08bje/python-extractcode'... Running: git checkout a50d3a6c8875acb934280794cb625e9bc0ee96cc -- cmd: ['git', 'checkout', 'a50d3a6c8875acb934280794cb625e9bc0ee96cc', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-4kg08bje/python-extractcode rc: 0 stdout: stderr: Note: switching to 'a50d3a6c8875acb934280794cb625e9bc0ee96cc'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at a50d3a6 automatic import of python-extractcode Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-4kg08bje/python-extractcode rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading extractcode-31.0.0.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o extractcode-31.0.0.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/cstratak/click-8.1.7/python-extractcode/extractcode-31.0.0.tar.gz/md5/a1d9e1a8484b0c298433bc5e8b490b41/extractcode-31.0.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 10.7M 100 10.7M 0 0 363M 0 --:--:-- --:--:-- --:--:-- 359M INFO: Reading stdout from command: md5sum extractcode-31.0.0.tar.gz tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-4kg08bje/python-extractcode/python-extractcode.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-4kg08bje/python-extractcode --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1749601043.783124 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.2 starting (python version = 3.13.3, NVR = mock-6.2-1.fc42), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-4kg08bje/python-extractcode/python-extractcode.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-4kg08bje/python-extractcode --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1749601043.783124 -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-4kg08bje/python-extractcode/python-extractcode.spec) Config(fedora-rawhide-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 6.2 INFO: Mock Version: 6.2 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1749601043.783124/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-646ca5c5-05fc-484e-b334-dd354ac9e434 INFO: Checking that 53f9000a2cf9b72e27839917d398f471bcc70c782642453ae656e9b7915e9861 image matches host's architecture INFO: Copy content of container 53f9000a2cf9b72e27839917d398f471bcc70c782642453ae656e9b7915e9861 to /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1749601043.783124/root INFO: mounting 53f9000a2cf9b72e27839917d398f471bcc70c782642453ae656e9b7915e9861 with podman image mount INFO: image 53f9000a2cf9b72e27839917d398f471bcc70c782642453ae656e9b7915e9861 as /var/lib/containers/storage/overlay/7786b659e3577dfe1794e11837b282e5deb73a038c95a40f70a5dd951c64830c/merged INFO: umounting image 53f9000a2cf9b72e27839917d398f471bcc70c782642453ae656e9b7915e9861 (/var/lib/containers/storage/overlay/7786b659e3577dfe1794e11837b282e5deb73a038c95a40f70a5dd951c64830c/merged) with podman image umount INFO: Removing image mock-bootstrap-646ca5c5-05fc-484e-b334-dd354ac9e434 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-1749601043.783124/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: fedora 100% | 27.5 KiB/s | 9.1 KiB | 00m00s Copr repository 100% | 69.1 KiB/s | 1.5 KiB | 00m00s Additional repo http_kojipkgs_fedorapr 100% | 132.0 KiB/s | 3.8 KiB | 00m00s Copr repository 100% | 242.0 KiB/s | 7.7 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-3.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.16 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-15.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-6.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 181.4 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.4-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 351.2 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-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 11.3 MiB crypto-policies noarch 20250603-1.git3a584b3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 142.2 KiB curl x86_64 8.14.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 474.1 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.16-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 287.1 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.16 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 0.0 B fedora-release-identity-basic noarch 43-0.16 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-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 100.2 KiB file-libs x86_64 5.46-4.fc43 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-22.fc43 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-15.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.7 MiB glibc-common x86_64 2.41.9000-15.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB glibc-gconv-extra x86_64 2.41.9000-15.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-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.5 MiB gnupg2-dirmngr x86_64 2.4.8-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 618.4 KiB gnupg2-gpg-agent x86_64 2.4.8-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 671.4 KiB gnupg2-gpgconf x86_64 2.4.8-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 250.0 KiB gnupg2-keyboxd x86_64 2.4.8-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 201.4 KiB gnupg2-verify x86_64 2.4.8-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 348.5 KiB 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 java-srpm-macros noarch 1-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 894.0 B 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-6.fc43 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.8.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 951.1 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.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 895.2 KiB libeconf x86_64 0.7.9-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 64.9 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-2.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-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 539.1 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-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 193.1 KiB libsemanage x86_64 3.8.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 304.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-2.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.8-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 280.8 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-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 8.9 MiB p11-kit x86_64 0.25.5-8.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.2 MiB p11-kit-trust x86_64 0.25.5-8.fc43 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.17-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 500.0 B qt6-srpm-macros noarch 6.9.1-1.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.50.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.5 MiB systemd-libs x86_64 257.6-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.2 MiB systemd-standalone-sysusers x86_64 257.6-1.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.3.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 7.8 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: 168 packages Total size of inbound packages is 58 MiB. Need to download 0 B. After this operation, 197 MiB extra will be used (install 197 MiB, remove 0 B). [ 1/168] tar-2:1.35-5.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/168] bzip2-0:1.0.8-20.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/168] redhat-rpm-config-0:343-6.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/168] rpm-build-0:5.99.90-5.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/168] unzip-0:6.0-66.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/168] cpio-0:2.15-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/168] which-0:2.23-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/168] bash-0:5.2.37-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/168] coreutils-0:9.7-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/168] grep-0:3.12-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/168] patch-0:2.8-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/168] sed-0:4.9-4.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/168] shadow-utils-2:4.17.4-1.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/168] util-linux-0:2.40.4-7.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/168] diffutils-0:3.12-2.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/168] fedora-release-common-0:43-0. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/168] findutils-1:4.10.0-5.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/168] gawk-0:5.3.2-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/168] glibc-minimal-langpack-0:2.41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/168] gzip-0:1.13-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/168] info-0:7.2-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/168] xz-1:5.8.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/168] glibc-0:2.41.9000-15.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/168] xz-libs-1:5.8.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/168] audit-libs-0:4.0.4-2.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/168] filesystem-0:3.18-44.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/168] libblkid-0:2.40.4-7.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/168] libcap-ng-0:0.8.5-4.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/168] libfdisk-0:2.40.4-7.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/168] libmount-0:2.40.4-7.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/168] libselinux-0:3.8-2.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/168] libsmartcols-0:2.40.4-7.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/168] libuuid-0:2.40.4-7.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/168] ncurses-libs-0:6.5-5.20250125 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/168] pam-libs-0:1.7.0-4.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/168] readline-0:8.2-13.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/168] systemd-libs-0:257.6-1.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/168] util-linux-core-0:2.40.4-7.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 39/168] zlib-ng-compat-0:2.2.4-2.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 40/168] bzip2-libs-0:1.0.8-20.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 41/168] libacl-0:2.3.2-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 42/168] libcap-0:2.76-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/168] libgcc-0:15.1.1-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/168] libeconf-0:0.7.9-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/168] libsemanage-0:3.8.1-2.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/168] libxcrypt-0:4.4.38-7.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/168] setup-0:2.15.0-25.fc43.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/168] binutils-0:2.44-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/168] debugedit-0:5.1-6.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/168] elfutils-0:0.193-2.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/168] elfutils-libelf-0:0.193-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/168] file-0:5.46-4.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/168] libarchive-0:3.8.1-1.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/168] libstdc++-0:15.1.1-2.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/168] pkgconf-pkg-config-0:2.3.0-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 56/168] popt-0:1.19-8.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 57/168] rpm-0:5.99.90-5.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 58/168] rpm-build-libs-0:5.99.90-5.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 59/168] rpm-libs-0:5.99.90-5.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 60/168] zstd-0:1.5.7-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 61/168] curl-0:8.14.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 62/168] glibc-gconv-extra-0:2.41.9000 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 63/168] ansible-srpm-macros-0:1-17.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 64/168] build-reproducibility-srpm-ma 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 65/168] dwz-0:0.16-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 66/168] efi-srpm-macros-0:6-3.fc43.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 67/168] filesystem-srpm-macros-0:3.18 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 68/168] fonts-srpm-macros-1:2.0.5-22. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 69/168] forge-srpm-macros-0:0.4.0-2.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 70/168] fpc-srpm-macros-0:1.3-14.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 71/168] ghc-srpm-macros-0:1.9.2-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 72/168] gnat-srpm-macros-0:6-7.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 73/168] go-srpm-macros-0:3.6.0-7.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 74/168] java-srpm-macros-0:1-4.fc43.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 75/168] kernel-srpm-macros-0:1.0-25.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 76/168] lua-srpm-macros-0:1-15.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 77/168] ocaml-srpm-macros-0:10-4.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 78/168] openblas-srpm-macros-0:2-19.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 79/168] package-notes-srpm-macros-0:0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 80/168] perl-srpm-macros-0:1-57.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 81/168] pyproject-srpm-macros-0:1.18. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 82/168] python-srpm-macros-0:3.13-5.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 83/168] qt5-srpm-macros-0:5.15.17-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 84/168] qt6-srpm-macros-0:6.9.1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 85/168] rust-srpm-macros-0:26.3-4.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 86/168] tree-sitter-srpm-macros-0:0.3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 87/168] zig-srpm-macros-0:1-4.fc42.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 88/168] zip-0:3.0-43.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 89/168] pkgconf-0:2.3.0-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 90/168] pkgconf-m4-0:2.3.0-2.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 91/168] libpkgconf-0:2.3.0-2.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 92/168] ed-0:1.21-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 93/168] libattr-0:2.5.2-5.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 94/168] ncurses-base-0:6.5-5.20250125 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 95/168] libsepol-0:3.8-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 96/168] pcre2-0:10.45-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 97/168] libxml2-0:2.12.10-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 98/168] libzstd-0:1.5.7-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 99/168] lz4-libs-0:1.10.0-2.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [100/168] openssl-libs-1:3.5.0-5.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [101/168] glibc-common-0:2.41.9000-15.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [102/168] gmp-1:6.3.0-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [103/168] mpfr-0:4.2.2-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [104/168] file-libs-0:5.46-4.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [105/168] fedora-repos-0:43-0.2.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [106/168] elfutils-debuginfod-client-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [107/168] elfutils-libs-0:0.193-2.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [108/168] coreutils-common-0:9.7-3.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [109/168] add-determinism-0:0.6.0-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [110/168] alternatives-0:1.33-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [111/168] jansson-0:2.14-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [112/168] lua-libs-0:5.4.8-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [113/168] rpm-sequoia-0:1.8.0-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [114/168] sqlite-libs-0:3.50.0-1.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [115/168] libgomp-0:15.1.1-2.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [116/168] rpm-sign-libs-0:5.99.90-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [117/168] pcre2-syntax-0:10.45-1.fc43.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [118/168] ca-certificates-0:2024.2.69_v 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [119/168] crypto-policies-0:20250603-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [120/168] fedora-gpg-keys-0:43-0.2.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [121/168] fedora-repos-rawhide-0:43-0.2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [122/168] elfutils-default-yama-scope-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [123/168] json-c-0:0.18-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [124/168] libffi-0:3.4.8-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [125/168] p11-kit-0:0.25.5-8.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [126/168] p11-kit-trust-0:0.25.5-8.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [127/168] gnupg2-0:2.4.8-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [128/168] ima-evm-utils-libs-0:1.6.2-5. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [129/168] libfsverity-0:1.6-2.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [130/168] gpgverify-0:2.1-3.fc43.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [131/168] libtasn1-0:4.20.0-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [132/168] tpm2-tss-0:4.1.3-7.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [133/168] gnupg2-dirmngr-0:2.4.8-2.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [134/168] gnupg2-gpg-agent-0:2.4.8-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [135/168] gnupg2-gpgconf-0:2.4.8-2.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [136/168] gnupg2-keyboxd-0:2.4.8-2.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [137/168] gnupg2-verify-0:2.4.8-2.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [138/168] libassuan-0:2.5.7-3.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [139/168] libgcrypt-0:1.11.1-1.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [140/168] libgpg-error-0:1.55-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [141/168] npth-0:1.8-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [142/168] libusb1-0:1.0.28-2.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [143/168] libksba-0:1.6.7-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [144/168] gnutls-0:3.8.9-5.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [145/168] openldap-0:2.6.9-5.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [146/168] cyrus-sasl-lib-0:2.1.28-30.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [147/168] libevent-0:2.1.12-15.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [148/168] libtool-ltdl-0:2.5.4-4.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [149/168] libidn2-0:2.3.8-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [150/168] libunistring-0:1.1-9.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [151/168] nettle-0:3.10.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [152/168] gdbm-libs-1:1.23-9.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [153/168] fedora-release-0:43-0.16.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [154/168] systemd-standalone-sysusers-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [155/168] gdb-minimal-0:16.3-1.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [156/168] xxhash-libs-0:0.8.3-2.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [157/168] fedora-release-identity-basic 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [158/168] libcurl-0:8.14.1-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [159/168] krb5-libs-0:1.21.3-6.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [160/168] libbrotli-0:1.1.0-6.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [161/168] libnghttp2-0:1.65.0-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [162/168] libpsl-0:0.21.5-5.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [163/168] libssh-0:0.11.1-4.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [164/168] keyutils-libs-0:1.6.3-5.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [165/168] libcom_err-0:1.47.2-3.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [166/168] libverto-0:0.3.2-10.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [167/168] libssh-config-0:0.11.1-4.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [168/168] publicsuffix-list-dafsa-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [168/168] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/170] Verify package files 100% | 1.8 KiB/s | 168.0 B | 00m00s [ 2/170] Prepare transaction 100% | 4.2 KiB/s | 168.0 B | 00m00s [ 3/170] Installing libgcc-0:15.1.1-2. 100% | 262.0 MiB/s | 268.3 KiB | 00m00s [ 4/170] Installing publicsuffix-list- 100% | 0.0 B/s | 69.2 KiB | 00m00s [ 5/170] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 6/170] Installing fedora-release-ide 100% | 0.0 B/s | 920.0 B | 00m00s [ 7/170] Installing fedora-repos-rawhi 100% | 0.0 B/s | 2.4 KiB | 00m00s [ 8/170] Installing fedora-gpg-keys-0: 100% | 57.3 MiB/s | 175.9 KiB | 00m00s [ 9/170] Installing fedora-repos-0:43- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 10/170] Installing fedora-release-com 100% | 24.1 MiB/s | 24.7 KiB | 00m00s [ 11/170] 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/170] 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/170] Installing filesystem-0:3.18- 100% | 2.9 MiB/s | 212.5 KiB | 00m00s [ 14/170] Installing pcre2-syntax-0:10. 100% | 269.9 MiB/s | 276.4 KiB | 00m00s [ 15/170] Installing coreutils-common-0 100% | 403.3 MiB/s | 11.3 MiB | 00m00s [ 16/170] Installing ncurses-base-0:6.5 100% | 86.0 MiB/s | 352.2 KiB | 00m00s [ 17/170] Installing bash-0:5.2.37-3.fc 100% | 292.2 MiB/s | 8.2 MiB | 00m00s [ 18/170] Installing glibc-common-0:2.4 100% | 72.9 MiB/s | 1.0 MiB | 00m00s [ 19/170] Installing glibc-gconv-extra- 100% | 292.5 MiB/s | 7.3 MiB | 00m00s [ 20/170] Installing glibc-0:2.41.9000- 100% | 196.4 MiB/s | 6.7 MiB | 00m00s [ 21/170] Installing ncurses-libs-0:6.5 100% | 310.1 MiB/s | 952.8 KiB | 00m00s [ 22/170] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 23/170] Installing zlib-ng-compat-0:2 100% | 0.0 B/s | 138.4 KiB | 00m00s [ 24/170] Installing bzip2-libs-0:1.0.8 100% | 0.0 B/s | 85.7 KiB | 00m00s [ 25/170] Installing libgpg-error-0:1.5 100% | 69.2 MiB/s | 921.1 KiB | 00m00s [ 26/170] Installing libstdc++-0:15.1.1 100% | 405.2 MiB/s | 2.8 MiB | 00m00s [ 27/170] Installing xz-libs-1:5.8.1-1. 100% | 213.8 MiB/s | 218.9 KiB | 00m00s [ 28/170] Installing libassuan-0:2.5.7- 100% | 165.6 MiB/s | 169.6 KiB | 00m00s [ 29/170] Installing libgcrypt-0:1.11.1 100% | 393.8 MiB/s | 1.6 MiB | 00m00s [ 30/170] Installing readline-0:8.2-13. 100% | 475.7 MiB/s | 487.1 KiB | 00m00s [ 31/170] Installing libuuid-0:2.40.4-7 100% | 0.0 B/s | 38.4 KiB | 00m00s [ 32/170] Installing gmp-1:6.3.0-3.fc43 100% | 401.1 MiB/s | 821.5 KiB | 00m00s [ 33/170] Installing popt-0:1.19-8.fc42 100% | 68.1 MiB/s | 139.4 KiB | 00m00s [ 34/170] Installing npth-0:1.8-2.fc42. 100% | 0.0 B/s | 50.7 KiB | 00m00s [ 35/170] Installing libblkid-0:2.40.4- 100% | 257.2 MiB/s | 263.4 KiB | 00m00s [ 36/170] Installing libxcrypt-0:4.4.38 100% | 280.4 MiB/s | 287.2 KiB | 00m00s [ 37/170] Installing libzstd-0:1.5.7-1. 100% | 395.1 MiB/s | 809.1 KiB | 00m00s [ 38/170] Installing elfutils-libelf-0: 100% | 388.8 MiB/s | 1.2 MiB | 00m00s [ 39/170] Installing gnupg2-gpgconf-0:2 100% | 22.4 MiB/s | 252.1 KiB | 00m00s [ 40/170] Installing libattr-0:2.5.2-5. 100% | 0.0 B/s | 28.1 KiB | 00m00s [ 41/170] Installing libacl-0:2.3.2-3.f 100% | 0.0 B/s | 39.2 KiB | 00m00s [ 42/170] Installing sqlite-libs-0:3.50 100% | 379.1 MiB/s | 1.5 MiB | 00m00s [ 43/170] Installing libtasn1-0:4.20.0- 100% | 173.9 MiB/s | 178.1 KiB | 00m00s [ 44/170] Installing libunistring-0:1.1 100% | 431.7 MiB/s | 1.7 MiB | 00m00s [ 45/170] Installing libidn2-0:2.3.8-1. 100% | 68.2 MiB/s | 558.7 KiB | 00m00s [ 46/170] Installing crypto-policies-0: 100% | 40.8 MiB/s | 167.3 KiB | 00m00s [ 47/170] Installing dwz-0:0.16-1.fc43. 100% | 23.5 MiB/s | 288.5 KiB | 00m00s [ 48/170] Installing mpfr-0:4.2.2-1.fc4 100% | 270.3 MiB/s | 830.4 KiB | 00m00s [ 49/170] Installing gawk-0:5.3.2-1.fc4 100% | 113.5 MiB/s | 1.8 MiB | 00m00s [ 50/170] Installing libksba-0:1.6.7-3. 100% | 395.6 MiB/s | 405.1 KiB | 00m00s [ 51/170] Installing unzip-0:6.0-66.fc4 100% | 32.0 MiB/s | 393.8 KiB | 00m00s [ 52/170] Installing file-libs-0:5.46-4 100% | 697.5 MiB/s | 11.9 MiB | 00m00s [ 53/170] Installing file-0:5.46-4.fc43 100% | 9.0 MiB/s | 101.7 KiB | 00m00s [ 54/170] Installing libcap-ng-0:0.8.5- 100% | 73.1 MiB/s | 74.8 KiB | 00m00s [ 55/170] Installing audit-libs-0:4.0.4 100% | 345.0 MiB/s | 353.3 KiB | 00m00s [ 56/170] Installing libsmartcols-0:2.4 100% | 177.3 MiB/s | 181.5 KiB | 00m00s [ 57/170] Installing libeconf-0:0.7.9-1 100% | 0.0 B/s | 66.5 KiB | 00m00s [ 58/170] Installing pam-libs-0:1.7.0-4 100% | 126.1 MiB/s | 129.1 KiB | 00m00s [ 59/170] Installing libcap-0:2.76-1.fc 100% | 19.0 MiB/s | 214.3 KiB | 00m00s [ 60/170] Installing systemd-libs-0:257 100% | 372.0 MiB/s | 2.2 MiB | 00m00s [ 61/170] Installing libsepol-0:3.8-1.f 100% | 403.8 MiB/s | 827.0 KiB | 00m00s [ 62/170] Installing pcre2-0:10.45-1.fc 100% | 341.4 MiB/s | 699.1 KiB | 00m00s [ 63/170] Installing libselinux-0:3.8-2 100% | 189.7 MiB/s | 194.3 KiB | 00m00s [ 64/170] Installing grep-0:3.12-1.fc43 100% | 71.6 MiB/s | 1.0 MiB | 00m00s [ 65/170] Installing sed-0:4.9-4.fc42.x 100% | 60.4 MiB/s | 865.5 KiB | 00m00s [ 66/170] Installing findutils-1:4.10.0 100% | 117.1 MiB/s | 1.9 MiB | 00m00s [ 67/170] Installing xz-1:5.8.1-1.fc43. 100% | 83.2 MiB/s | 1.3 MiB | 00m00s [ 68/170] Installing libmount-0:2.40.4- 100% | 349.0 MiB/s | 357.4 KiB | 00m00s [ 69/170] Installing lz4-libs-0:1.10.0- 100% | 154.7 MiB/s | 158.5 KiB | 00m00s [ 70/170] Installing alternatives-0:1.3 100% | 5.7 MiB/s | 63.8 KiB | 00m00s [ 71/170] Installing lua-libs-0:5.4.8-1 100% | 275.4 MiB/s | 282.0 KiB | 00m00s [ 72/170] Installing json-c-0:0.18-2.fc 100% | 0.0 B/s | 88.0 KiB | 00m00s [ 73/170] Installing libffi-0:3.4.8-1.f 100% | 82.4 MiB/s | 84.3 KiB | 00m00s [ 74/170] Installing p11-kit-0:0.25.5-8 100% | 121.4 MiB/s | 2.2 MiB | 00m00s [ 75/170] Installing p11-kit-trust-0:0. 100% | 20.4 MiB/s | 397.1 KiB | 00m00s [ 76/170] Installing openssl-libs-1:3.5 100% | 355.3 MiB/s | 8.9 MiB | 00m00s [ 77/170] Installing coreutils-0:9.7-3. 100% | 170.2 MiB/s | 5.4 MiB | 00m00s [ 78/170] Installing ca-certificates-0: 100% | 2.0 MiB/s | 2.4 MiB | 00m01s [ 79/170] Installing gzip-0:1.13-3.fc42 100% | 29.9 MiB/s | 398.4 KiB | 00m00s [ 80/170] Installing rpm-sequoia-0:1.8. 100% | 357.7 MiB/s | 2.5 MiB | 00m00s [ 81/170] Installing libfsverity-0:1.6- 100% | 0.0 B/s | 33.5 KiB | 00m00s [ 82/170] Installing libevent-0:2.1.12- 100% | 295.2 MiB/s | 906.9 KiB | 00m00s [ 83/170] Installing zstd-0:1.5.7-1.fc4 100% | 114.0 MiB/s | 1.7 MiB | 00m00s [ 84/170] Installing util-linux-core-0: 100% | 89.2 MiB/s | 1.4 MiB | 00m00s [ 85/170] Installing tar-2:1.35-5.fc42. 100% | 164.6 MiB/s | 3.0 MiB | 00m00s [ 86/170] Installing libsemanage-0:3.8. 100% | 299.0 MiB/s | 306.2 KiB | 00m00s [ 87/170] Installing systemd-standalone 100% | 22.6 MiB/s | 278.0 KiB | 00m00s [ 88/170] Installing rpm-libs-0:5.99.90 100% | 303.2 MiB/s | 931.3 KiB | 00m00s [ 89/170] 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. >>> [ 90/170] Installing tpm2-tss-0:4.1.3-7 100% | 313.6 MiB/s | 1.6 MiB | 00m00s [ 91/170] Installing ima-evm-utils-libs 100% | 60.5 MiB/s | 62.0 KiB | 00m00s [ 92/170] Installing gnupg2-gpg-agent-0 100% | 34.7 MiB/s | 675.4 KiB | 00m00s [ 93/170] Installing zip-0:3.0-43.fc42. 100% | 52.8 MiB/s | 702.4 KiB | 00m00s [ 94/170] Installing gnupg2-keyboxd-0:2 100% | 39.6 MiB/s | 202.7 KiB | 00m00s [ 95/170] Installing libpsl-0:0.21.5-5. 100% | 75.7 MiB/s | 77.5 KiB | 00m00s [ 96/170] Installing libfdisk-0:2.40.4- 100% | 364.7 MiB/s | 373.5 KiB | 00m00s [ 97/170] Installing gnupg2-verify-0:2. 100% | 26.3 MiB/s | 349.9 KiB | 00m00s [ 98/170] Installing nettle-0:3.10.1-1. 100% | 387.5 MiB/s | 793.6 KiB | 00m00s [ 99/170] Installing gnutls-0:3.8.9-5.f 100% | 397.1 MiB/s | 3.6 MiB | 00m00s [100/170] Installing libxml2-0:2.12.10- 100% | 113.1 MiB/s | 1.7 MiB | 00m00s [101/170] Installing libarchive-0:3.8.1 100% | 310.2 MiB/s | 953.1 KiB | 00m00s [102/170] Installing bzip2-0:1.0.8-20.f 100% | 9.2 MiB/s | 103.8 KiB | 00m00s [103/170] Installing add-determinism-0: 100% | 154.1 MiB/s | 2.5 MiB | 00m00s [104/170] Installing build-reproducibil 100% | 0.0 B/s | 1.0 KiB | 00m00s [105/170] Installing cpio-0:2.15-2.fc41 100% | 78.6 MiB/s | 1.1 MiB | 00m00s [106/170] Installing diffutils-0:3.12-2 100% | 104.1 MiB/s | 1.6 MiB | 00m00s [107/170] Installing libpkgconf-0:2.3.0 100% | 0.0 B/s | 79.2 KiB | 00m00s [108/170] Installing pkgconf-0:2.3.0-2. 100% | 8.1 MiB/s | 91.0 KiB | 00m00s [109/170] Installing ed-0:1.21-2.fc42.x 100% | 13.2 MiB/s | 148.8 KiB | 00m00s [110/170] Installing patch-0:2.8-1.fc43 100% | 20.3 MiB/s | 228.3 KiB | 00m00s [111/170] Installing jansson-0:2.14-2.f 100% | 92.2 MiB/s | 94.4 KiB | 00m00s [112/170] Installing libgomp-0:15.1.1-2 100% | 263.9 MiB/s | 540.5 KiB | 00m00s [113/170] Installing libtool-ltdl-0:2.5 100% | 0.0 B/s | 71.2 KiB | 00m00s [114/170] Installing gdbm-libs-1:1.23-9 100% | 128.5 MiB/s | 131.6 KiB | 00m00s [115/170] Installing cyrus-sasl-lib-0:2 100% | 144.0 MiB/s | 2.3 MiB | 00m00s [116/170] Installing openldap-0:2.6.9-5 100% | 321.7 MiB/s | 658.9 KiB | 00m00s [117/170] Installing gnupg2-dirmngr-0:2 100% | 35.7 MiB/s | 621.1 KiB | 00m00s [118/170] Installing gnupg2-0:2.4.8-2.f 100% | 234.0 MiB/s | 6.6 MiB | 00m00s [119/170] Installing rpm-sign-libs-0:5. 100% | 0.0 B/s | 40.5 KiB | 00m00s [120/170] Installing gpgverify-0:2.1-3. 100% | 0.0 B/s | 9.4 KiB | 00m00s [121/170] Installing xxhash-libs-0:0.8. 100% | 89.4 MiB/s | 91.6 KiB | 00m00s [122/170] Installing libbrotli-0:1.1.0- 100% | 274.6 MiB/s | 843.6 KiB | 00m00s [123/170] Installing libnghttp2-0:1.65. 100% | 159.5 MiB/s | 163.3 KiB | 00m00s [124/170] Installing keyutils-libs-0:1. 100% | 0.0 B/s | 59.7 KiB | 00m00s [125/170] Installing libcom_err-0:1.47. 100% | 0.0 B/s | 68.2 KiB | 00m00s [126/170] Installing libverto-0:0.3.2-1 100% | 0.0 B/s | 27.2 KiB | 00m00s [127/170] Installing krb5-libs-0:1.21.3 100% | 327.4 MiB/s | 2.3 MiB | 00m00s [128/170] Installing libssh-0:0.11.1-4. 100% | 277.1 MiB/s | 567.5 KiB | 00m00s [129/170] Installing libcurl-0:8.14.1-1 100% | 291.8 MiB/s | 896.3 KiB | 00m00s [130/170] Installing curl-0:8.14.1-1.fc 100% | 23.3 MiB/s | 476.8 KiB | 00m00s [131/170] Installing rpm-0:5.99.90-5.fc 100% | 86.5 MiB/s | 2.5 MiB | 00m00s [132/170] Installing efi-srpm-macros-0: 100% | 0.0 B/s | 41.1 KiB | 00m00s [133/170] Installing java-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [134/170] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [135/170] Installing tree-sitter-srpm-m 100% | 0.0 B/s | 8.9 KiB | 00m00s [136/170] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.7 KiB | 00m00s [137/170] Installing filesystem-srpm-ma 100% | 0.0 B/s | 38.9 KiB | 00m00s [138/170] Installing elfutils-default-y 100% | 510.7 KiB/s | 2.0 KiB | 00m00s [139/170] Installing elfutils-libs-0:0. 100% | 223.1 MiB/s | 685.2 KiB | 00m00s [140/170] Installing elfutils-debuginfo 100% | 6.5 MiB/s | 86.2 KiB | 00m00s [141/170] Installing binutils-0:2.44-3. 100% | 340.8 MiB/s | 25.9 MiB | 00m00s [142/170] Installing elfutils-0:0.193-2 100% | 162.4 MiB/s | 2.9 MiB | 00m00s [143/170] Installing gdb-minimal-0:16.3 100% | 308.1 MiB/s | 13.2 MiB | 00m00s [144/170] Installing debugedit-0:5.1-6. 100% | 17.3 MiB/s | 195.4 KiB | 00m00s [145/170] Installing rpm-build-libs-0:5 100% | 259.0 MiB/s | 265.2 KiB | 00m00s [146/170] Installing pkgconf-m4-0:2.3.0 100% | 0.0 B/s | 14.8 KiB | 00m00s [147/170] Installing pkgconf-pkg-config 100% | 177.3 KiB/s | 1.8 KiB | 00m00s [148/170] Installing rust-srpm-macros-0 100% | 0.0 B/s | 5.6 KiB | 00m00s [149/170] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 740.0 B | 00m00s [150/170] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [151/170] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [152/170] Installing package-notes-srpm 100% | 0.0 B/s | 2.0 KiB | 00m00s [153/170] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [154/170] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.2 KiB | 00m00s [155/170] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [156/170] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [157/170] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [158/170] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [159/170] Installing ansible-srpm-macro 100% | 0.0 B/s | 36.2 KiB | 00m00s [160/170] Installing rpm-build-0:5.99.9 100% | 23.6 MiB/s | 290.3 KiB | 00m00s [161/170] Installing pyproject-srpm-mac 100% | 0.0 B/s | 2.5 KiB | 00m00s [162/170] Installing redhat-rpm-config- 100% | 183.4 MiB/s | 187.8 KiB | 00m00s [163/170] Installing forge-srpm-macros- 100% | 0.0 B/s | 40.3 KiB | 00m00s [164/170] Installing fonts-srpm-macros- 100% | 0.0 B/s | 57.0 KiB | 00m00s [165/170] Installing go-srpm-macros-0:3 100% | 0.0 B/s | 62.0 KiB | 00m00s [166/170] Installing python-srpm-macros 100% | 51.8 MiB/s | 53.0 KiB | 00m00s [167/170] Installing util-linux-0:2.40. 100% | 108.2 MiB/s | 3.5 MiB | 00m00s [168/170] Installing shadow-utils-2:4.1 100% | 144.8 MiB/s | 4.1 MiB | 00m00s [169/170] Installing which-0:2.23-1.fc4 100% | 7.6 MiB/s | 85.6 KiB | 00m00s [170/170] Installing info-0:7.2-3.fc42. 100% | 229.2 KiB/s | 358.3 KiB | 00m02s Warning: skipped OpenPGP checks for 168 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.4-2.fc43.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-3.fc43.x86_64 coreutils-common-9.7-3.fc43.x86_64 cpio-2.15-2.fc41.x86_64 crypto-policies-20250603-1.git3a584b3.fc43.noarch curl-8.14.1-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.16-1.fc43.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.16.noarch fedora-release-common-43-0.16.noarch fedora-release-identity-basic-43-0.16.noarch fedora-repos-43-0.2.noarch fedora-repos-rawhide-43-0.2.noarch file-5.46-4.fc43.x86_64 file-libs-5.46-4.fc43.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-22.fc43.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-15.fc43.x86_64 glibc-common-2.41.9000-15.fc43.x86_64 glibc-gconv-extra-2.41.9000-15.fc43.x86_64 glibc-minimal-langpack-2.41.9000-15.fc43.x86_64 gmp-6.3.0-3.fc43.x86_64 gnat-srpm-macros-6-7.fc42.noarch gnupg2-2.4.8-2.fc43.x86_64 gnupg2-dirmngr-2.4.8-2.fc43.x86_64 gnupg2-gpg-agent-2.4.8-2.fc43.x86_64 gnupg2-gpgconf-2.4.8-2.fc43.x86_64 gnupg2-keyboxd-2.4.8-2.fc43.x86_64 gnupg2-verify-2.4.8-2.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 java-srpm-macros-1-4.fc43.noarch 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-6.fc43.x86_64 libacl-2.3.2-3.fc42.x86_64 libarchive-3.8.1-1.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.1-1.fc43.x86_64 libeconf-0.7.9-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-2.fc43.x86_64 libgcrypt-1.11.1-1.fc43.x86_64 libgomp-15.1.1-2.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-2.fc43.x86_64 libsemanage-3.8.1-2.fc43.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-2.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.8-1.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-5.fc43.x86_64 p11-kit-0.25.5-8.fc43.x86_64 p11-kit-trust-0.25.5-8.fc43.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.17-1.fc43.noarch qt6-srpm-macros-6.9.1-1.fc43.noarch readline-8.2-13.fc43.x86_64 redhat-rpm-config-343-6.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.50.0-1.fc43.x86_64 systemd-libs-257.6-1.fc43.x86_64 systemd-standalone-sysusers-257.6-1.fc43.x86_64 tar-1.35-5.fc42.x86_64 tpm2-tss-4.1.3-7.fc43.x86_64 tree-sitter-srpm-macros-0.3.0-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-1749601043.783124/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-4kg08bje/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-1749601043.783124/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1749601043.783124/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-1749601043.783124/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: fedora 100% | 27.2 KiB/s | 9.1 KiB | 00m00s Copr repository 100% | 38.0 KiB/s | 1.5 KiB | 00m00s Additional repo http_kojipkgs_fedorapr 100% | 191.5 KiB/s | 3.8 KiB | 00m00s Copr repository 100% | 277.8 KiB/s | 8.6 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-4.fc43 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-22.fc43 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.8.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 183.0 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-5.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-2.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 22 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-packaging-0:25.0-1.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/43] python3-requests-0:2.32.3-12.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/43] python3-charset-normalizer-0:3. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/43] python3-idna-0:3.10-2.fc42.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/43] python3-urllib3-0:2.4.0-2.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/43] python3-iniconfig-0:1.1.1-25.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/43] python3-pluggy-0:1.5.0-2.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/43] python3-libs-0:3.13.3-3.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/43] expat-0:2.7.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/43] libb2-0:0.98.1-13.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/43] mpdecimal-0:4.0.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/43] python-pip-wheel-0:25.1.1-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [16/43] tzdata-0:2025b-1.fc43.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [17/43] pyproject-rpm-macros-0:1.18.1-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [18/43] python-rpm-macros-0:3.13-5.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [19/43] python3-rpm-generators-0:14-12. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [20/43] python3-rpm-macros-0:3.13-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [21/43] python3-extractcode-libarchive- 100% | 560.6 KiB/s | 19.1 KiB | 00m00s [22/43] python3-extractcode-7z-0:21.5.3 100% | 500.5 KiB/s | 18.5 KiB | 00m00s [23/43] python3-sphinx_rtd_theme-0:3.0. 100% | 14.8 MiB/s | 75.6 KiB | 00m00s [24/43] file-devel-0:5.46-4.fc43.x86_64 100% | 2.5 MiB/s | 15.6 KiB | 00m00s [25/43] fontawesome4-fonts-1:4.7.0-24.f 100% | 28.5 MiB/s | 204.5 KiB | 00m00s [26/43] google-roboto-slab-fonts-0:1.10 100% | 46.6 MiB/s | 238.8 KiB | 00m00s [27/43] python3-typecode-libmagic-0:21. 100% | 625.4 KiB/s | 13.8 KiB | 00m00s [28/43] python3-docutils-0:0.21.2-2.fc4 100% | 126.8 MiB/s | 1.0 MiB | 00m00s [29/43] python3-sphinxcontrib-jquery-0: 100% | 22.3 MiB/s | 114.1 KiB | 00m00s [30/43] lato-fonts-0:2.015-23.fc42.noar 100% | 154.9 MiB/s | 3.1 MiB | 00m00s [31/43] python3-imagesize-0:1.4.1-10.fc 100% | 5.4 MiB/s | 22.0 KiB | 00m00s [32/43] python3-sphinx-1:8.2.3-5.fc43.n 100% | 30.2 MiB/s | 2.6 MiB | 00m00s [33/43] python3-jinja2-0:3.1.6-1.fc43.n 100% | 66.2 MiB/s | 474.8 KiB | 00m00s [34/43] python3-roman-numerals-py-0:3.1 100% | 3.1 MiB/s | 19.3 KiB | 00m00s [35/43] python3-babel-0:2.17.0-1.fc42.n 100% | 217.5 MiB/s | 6.7 MiB | 00m00s [36/43] python3-snowballstemmer-0:3.0.1 100% | 32.1 MiB/s | 263.3 KiB | 00m00s [37/43] python3-sphinx-theme-alabaster- 100% | 5.9 MiB/s | 24.3 KiB | 00m00s [38/43] python3-markupsafe-0:3.0.2-2.fc 100% | 7.3 MiB/s | 30.1 KiB | 00m00s [39/43] python3-pygments-0:2.19.1-1.fc4 100% | 82.9 MiB/s | 2.4 MiB | 00m00s [40/43] libarchive-devel-0:3.8.1-1.fc43 100% | 15.6 MiB/s | 127.7 KiB | 00m00s [41/43] 7zip-0:24.09-4.fc43.x86_64 100% | 103.3 MiB/s | 1.2 MiB | 00m00s [42/43] fonts-filesystem-1:2.0.5-22.fc4 100% | 2.1 MiB/s | 8.7 KiB | 00m00s [43/43] openssl-devel-1:3.5.0-5.fc43.x8 100% | 106.6 MiB/s | 2.9 MiB | 00m00s -------------------------------------------------------------------------------- [43/43] Total 100% | 136.9 MiB/s | 21.6 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% | 22.3 MiB/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% | 354.2 MiB/s | 11.3 MiB | 00m00s [10/45] Installing tzdata-0:2025b-1.fc4 100% | 67.6 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% | 350.4 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% | 172.1 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% | 349.5 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% | 229.9 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% | 25.6 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% | 364.2 MiB/s | 2.9 MiB | 00m00s [34/45] Installing python3-sphinx-1:8.2 100% | 207.3 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% | 68.1 MiB/s | 5.6 MiB | 00m00s [37/45] Installing libarchive-devel-0:3 100% | 185.1 MiB/s | 189.6 KiB | 00m00s [38/45] Installing 7zip-0:24.09-4.fc43. 100% | 170.8 MiB/s | 3.2 MiB | 00m00s [39/45] Installing file-devel-0:5.46-4. 100% | 0.0 B/s | 10.9 KiB | 00m00s [40/45] Installing python3-typecode-lib 100% | 0.0 B/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% | 370.4 MiB/s | 21.1 MiB | 00m00s [45/45] Installing python3-devel-0:3.13 100% | 40.5 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.FCCpUA Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JjVxD1 + 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.cTmTos + 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: fedora 100% | 27.0 KiB/s | 9.1 KiB | 00m00s Copr repository 100% | 33.0 KiB/s | 1.5 KiB | 00m00s Additional repo http_kojipkgs_fedorapr 100% | 159.5 KiB/s | 3.8 KiB | 00m00s Copr repository 100% | 178.1 KiB/s | 9.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 2 MiB. 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_scm+toml-0:8.3 100% | 342.6 KiB/s | 9.9 KiB | 00m00s [3/5] python3-wheel-1:0.45.1-13.fc43.no 100% | 12.0 MiB/s | 159.6 KiB | 00m00s [4/5] python3-setuptools-0:78.1.1-1.fc4 100% | 37.0 MiB/s | 1.8 MiB | 00m00s [5/5] python3-setuptools_scm-0:8.3.1-1. 100% | 1.8 MiB/s | 102.1 KiB | 00m00s -------------------------------------------------------------------------------- [5/5] Total 100% | 36.4 MiB/s | 2.1 MiB | 00m00s Running transaction [1/7] Verify package files 100% | 833.0 B/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 238.0 B/s | 5.0 B | 00m00s [3/7] Installing python3-setuptools-0:7 100% | 219.1 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% | 32.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.hSAAFt + 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/licenses/CODE_OF_CONDUCT.rst' removed 'extractcode-31.0.0.dist-info/licenses/CHANGELOG.rst' removed 'extractcode-31.0.0.dist-info/licenses/AUTHORS.rst' removed 'extractcode-31.0.0.dist-info/licenses/NOTICE' removed 'extractcode-31.0.0.dist-info/licenses/apache-2.0.LICENSE' removed directory 'extractcode-31.0.0.dist-info/licenses' removed 'extractcode-31.0.0.dist-info/METADATA' removed 'extractcode-31.0.0.dist-info/entry_points.txt' removed 'extractcode-31.0.0.dist-info/top_level.txt' 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: fedora 100% | 27.4 KiB/s | 9.1 KiB | 00m00s Copr repository 100% | 95.0 KiB/s | 1.5 KiB | 00m00s Additional repo http_kojipkgs_fedorapr 100% | 98.2 KiB/s | 3.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-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 copr_base 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.1.7-7.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB python3-cryptography x86_64 45.0.3-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 5.3 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.14.0~rc1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 528.7 KiB Transaction Summary: Installing: 22 packages Total size of inbound packages is 11 MiB. Need to download 11 MiB. After this operation, 31 MiB extra will be used (install 31 MiB, remove 0 B). [ 1/22] python3-six-0:1.17.0-2.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/22] python3-pyyaml-0:6.0.2-2.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/22] libyaml-0:0.2.5-16.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/22] python3-attrs-0:25.3.0-1.fc43.n 100% | 3.7 MiB/s | 120.1 KiB | 00m00s [ 5/22] python3-commoncode-0:32.2.1-1.f 100% | 4.1 MiB/s | 169.0 KiB | 00m00s [ 6/22] python3-plugincode-0:32.0.0-6.f 100% | 581.6 KiB/s | 32.0 KiB | 00m00s [ 7/22] python3-binaryornot-0:0.4.4-26. 100% | 1.2 MiB/s | 19.5 KiB | 00m00s [ 8/22] python3-typecode-0:30.0.1-7.fc4 100% | 3.8 MiB/s | 97.5 KiB | 00m00s [ 9/22] python3-click-0:8.1.7-7.fc42.no 100% | 37.9 MiB/s | 232.6 KiB | 00m00s [10/22] python3-cffi-0:1.17.1-2.fc42.x8 100% | 24.2 MiB/s | 298.0 KiB | 00m00s [11/22] python3-pdfminer-0:20250506-1.f 100% | 191.3 MiB/s | 5.5 MiB | 00m00s [12/22] python3-pycparser-0:2.22-1.fc43 100% | 16.8 MiB/s | 155.0 KiB | 00m00s [13/22] python3-chardet-0:5.2.0-18.fc43 100% | 53.1 MiB/s | 272.1 KiB | 00m00s [14/22] python3-beautifulsoup4-0:4.13.4 100% | 47.7 MiB/s | 390.5 KiB | 00m00s [15/22] python3-saneyaml-0:0.6.0-6.fc42 100% | 6.1 MiB/s | 25.1 KiB | 00m00s [16/22] python3-text-unidecode-0:1.3-19 100% | 13.3 MiB/s | 67.9 KiB | 00m00s [17/22] python3-ply-0:3.11-26.fc42.noar 100% | 25.7 MiB/s | 131.7 KiB | 00m00s [18/22] python3-cryptography-0:45.0.3-1 100% | 30.8 MiB/s | 1.4 MiB | 00m00s [19/22] python3-lxml-0:5.4.0-1.fc43.x86 100% | 108.7 MiB/s | 1.4 MiB | 00m00s [20/22] python3-soupsieve-0:2.7-1.fc43. 100% | 6.1 MiB/s | 94.2 KiB | 00m00s [21/22] python3-typing-extensions-0:4.1 100% | 10.8 MiB/s | 110.4 KiB | 00m00s [22/22] libxslt-0:1.1.43-1.fc43.x86_64 100% | 35.5 MiB/s | 181.6 KiB | 00m00s -------------------------------------------------------------------------------- [22/22] Total 100% | 89.5 MiB/s | 10.7 MiB | 00m00s Running transaction [ 1/24] Verify package files 100% | 1.3 KiB/s | 22.0 B | 00m00s [ 2/24] Prepare transaction 100% | 916.0 B/s | 22.0 B | 00m00s [ 3/24] Installing python3-click-0:8.1. 100% | 264.8 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% | 32.0 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-typing-exten 100% | 518.8 MiB/s | 531.3 KiB | 00m00s [ 8/24] Installing python3-soupsieve-0: 100% | 148.6 MiB/s | 304.3 KiB | 00m00s [ 9/24] Installing python3-beautifulsou 100% | 322.1 MiB/s | 1.9 MiB | 00m00s [10/24] Installing python3-ply-0:3.11-2 100% | 278.5 MiB/s | 570.3 KiB | 00m00s [11/24] Installing python3-pycparser-0: 100% | 295.8 MiB/s | 908.7 KiB | 00m00s [12/24] Installing python3-cffi-0:1.17. 100% | 331.3 MiB/s | 1.3 MiB | 00m00s [13/24] Installing python3-cryptography 100% | 267.9 MiB/s | 5.4 MiB | 00m00s [14/24] Installing python3-pdfminer-0:2 100% | 251.5 MiB/s | 8.6 MiB | 00m00s [15/24] Installing libyaml-0:0.2.5-16.f 100% | 132.9 MiB/s | 136.0 KiB | 00m00s [16/24] Installing python3-pyyaml-0:6.0 100% | 258.7 MiB/s | 794.8 KiB | 00m00s [17/24] Installing python3-saneyaml-0:0 100% | 58.5 MiB/s | 59.9 KiB | 00m00s [18/24] Installing python3-text-unideco 100% | 310.7 MiB/s | 318.2 KiB | 00m00s [19/24] Installing python3-commoncode-0 100% | 227.6 MiB/s | 699.3 KiB | 00m00s [20/24] Installing python3-plugincode-0 100% | 75.6 MiB/s | 77.4 KiB | 00m00s [21/24] Installing python3-chardet-0:5. 100% | 116.3 MiB/s | 2.1 MiB | 00m00s [22/24] Installing python3-binaryornot- 100% | 27.5 MiB/s | 28.1 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.3 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.IrCYst + 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/licenses/CODE_OF_CONDUCT.rst' removed 'extractcode-31.0.0.dist-info/licenses/CHANGELOG.rst' removed 'extractcode-31.0.0.dist-info/licenses/AUTHORS.rst' removed 'extractcode-31.0.0.dist-info/licenses/NOTICE' removed 'extractcode-31.0.0.dist-info/licenses/apache-2.0.LICENSE' removed directory 'extractcode-31.0.0.dist-info/licenses' removed 'extractcode-31.0.0.dist-info/METADATA' removed 'extractcode-31.0.0.dist-info/top_level.txt' removed 'extractcode-31.0.0.dist-info/entry_points.txt' 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: fedora 100% | 27.4 KiB/s | 9.1 KiB | 00m00s Copr repository 100% | 58.4 KiB/s | 1.5 KiB | 00m00s Additional repo http_kojipkgs_fedorapr 100% | 166.5 KiB/s | 3.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-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. Nothing to do. 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.bxpEJx + 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/licenses/CODE_OF_CONDUCT.rst' removed 'extractcode-31.0.0.dist-info/licenses/CHANGELOG.rst' removed 'extractcode-31.0.0.dist-info/licenses/AUTHORS.rst' removed 'extractcode-31.0.0.dist-info/licenses/NOTICE' removed 'extractcode-31.0.0.dist-info/licenses/apache-2.0.LICENSE' removed directory 'extractcode-31.0.0.dist-info/licenses' removed 'extractcode-31.0.0.dist-info/METADATA' removed 'extractcode-31.0.0.dist-info/entry_points.txt' removed 'extractcode-31.0.0.dist-info/top_level.txt' removed directory 'extractcode-31.0.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4LqZoR + 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-4bkox35x/extractcode.egg-info writing /builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir/pip-modern-metadata-4bkox35x/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-4bkox35x/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-4bkox35x/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-4bkox35x/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-4bkox35x/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-4bkox35x/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-4bkox35x/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-4bkox35x/extractcode.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/.pyproject-builddir/pip-modern-metadata-4bkox35x/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/patch.py -> build/lib/extractcode copying src/extractcode/vmimage.py -> build/lib/extractcode copying src/extractcode/uncompress.py -> build/lib/extractcode copying src/extractcode/sevenzip.py -> build/lib/extractcode copying src/extractcode/libarchive2.py -> build/lib/extractcode copying src/extractcode/extract.py -> build/lib/extractcode copying src/extractcode/cli.py -> build/lib/extractcode copying src/extractcode/archive.py -> build/lib/extractcode copying src/extractcode/api.py -> build/lib/extractcode copying src/extractcode/__init__.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/NOTICE -> 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/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/patch.py -> 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-az9tbmg0/.tmp-tcxv6266/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/language_data.js 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/basic.css 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.yMJOMy + 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__/patch.cpython-313.opt-1.pyc: rewriting with normalized contents /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__/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__/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__/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.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__/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__/extract.cpython-313.opt-1.pyc: rewriting with normalized contents /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__/api.cpython-313.opt-1.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.opt-1.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.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__/__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__/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__/sevenzip.cpython-313.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.FjSgvS + 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...........F.............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/tmpxdl2oh3o/basic.zip' target_dir = '/builddir/build/BUILD/python-extractcode-31.0.0-build/extractcode-31.0.0/tmp/tmp3cihxv8n' 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/tmpxdl2oh3o/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 -6x4ips6_/l6zj0kun', 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 -6x4ips6_/i0ov8ac1' 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 0x7f2036f52750> args = (94835851929776, , 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-pluboipb', 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 _______________________ 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 -6x4ips6_/mxb_dpfo', 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 -6x4ips6_/fvileqd8' 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 0x7f2036f52690> args = (94835851967392, 94835851985008), 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-tkrupngn', 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 -6x4ips6_/xdnrfeyh', 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 -6x4ips6_/btw8nf48', 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 -6x4ips6_/lppptvjo', 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 -6x4ips6_/haz_42dq', 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 -6x4ips6_/w6309ceh', 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 -6x4ips6_/c5_fxmqc') 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 -6x4ips6_/c5_fxmqc', 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 -6x4ips6_/c5_fxmqc') 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 -6x4ips6_/76nbatpg', 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 -6x4ips6_/5ctgoes8', 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 -6x4ips6_/ezl5br2p') 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 -6x4ips6_/ezl5br2p', 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 -6x4ips6_/ezl5br2p') 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 -6x4ips6_/ettrkj6r', 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 -6x4ips6_/kzc_g5rw', 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 -6x4ips6_/dkxd4xou', 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/tmpc0cyjsie/xz-compressed-cpio.rpm' target_dir = '/tmp/scancode-tk-w0zi4_54', 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/tmpc0cyjsie/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-bvnfsubi', 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 -6x4ips6_/ocx5qpk7' 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 0x7f2036f52690> args = (94835853128960, 94835851975344), 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 -6x4ips6_/ocx5qpk7') 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-feeyv76l', 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 -6x4ips6_/ocx5qpk7') 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 -6x4ips6_/0_ppm8x1') 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 -6x4ips6_/0_ppm8x1', 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 -6x4ips6_/0_ppm8x1') 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 -6x4ips6_/_f47h6s0', 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 -6x4ips6_/h88mwyfw' 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 0x7f2036f52750> args = (94835849061200, , 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 -6x4ips6_/h88mwyfw') 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-akxvwrkh', 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 -6x4ips6_/h88mwyfw') 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 -6x4ips6_/wctezg30') 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 -6x4ips6_/wctezg30', 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 -6x4ips6_/wctezg30') 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 -6x4ips6_/8_blcd0k', 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 -6x4ips6_/vfott0_k', 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 -6x4ips6_/yt_a4opp', 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 -6x4ips6_/zzaqa27g', 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 -6x4ips6_/pqqj9yd7', 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 -6x4ips6_/p633iri9', 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 -6x4ips6_/qqa15apk', 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 -6x4ips6_/vp69m6iw', 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 -6x4ips6_/8afwnaqw', 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 -6x4ips6_/8pnk2hq0', 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 -6x4ips6_/d3oafhul', 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 -6x4ips6_/vy1q_sl2', 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 -6x4ips6_/mfi4ym8w', 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 -6x4ips6_/l_0lmjiq', 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 -6x4ips6_/mpswj96a', 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 -6x4ips6_/wkh93eby', 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 -6x4ips6_/k5ya4vbt', 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 -6x4ips6_/ujbm7a87', 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 -6x4ips6_/f36zu5cs', 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 -6x4ips6_/ic1wg6ej/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 -6x4ips6_/ic1wg6ej/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 -6x4ips6_/ic1wg6ej/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 -6x4ips6_/812fxf1r', 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 -6x4ips6_/804vw1_u', 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 -6x4ips6_/yqy2clsd', 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 -6x4ips6_/rnb1p_b9', 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 -6x4ips6_/n0wzndjq', 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 -6x4ips6_/w96aypks', 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 -6x4ips6_/8shgllqt', 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 -6x4ips6_/esg00bdv', 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 -6x4ips6_/96g2ph7q', 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 -6x4ips6_/uyk5_p65', 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 -6x4ips6_/mr_5nq0p', 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 -6x4ips6_/3b585q29', 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::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 = 60 failed, 249 passed, 229 skipped, 17 deselected, 5 xfailed, 7 warnings in 5.83s = error: Bad exit status from /var/tmp/rpm-tmp.FjSgvS (%check) Bad exit status from /var/tmp/rpm-tmp.FjSgvS (%check) RPM build errors: 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-1749601043.783124/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 20 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 d109b62c80ad4894970adf9bb4d29bc1 -D /var/lib/mock/fedora-rawhide-x86_64-1749601043.783124/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.i3ss_6az:/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