Source: py7zr
Version: 0.21.0+dfsg-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240615 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" 
> module
> I: pybuild base:311: python3.12 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_py7zr 
>  
> * Building wheel...
> running bdist_wheel
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/py7zr
> copying py7zr/__init__.py -> build/lib/py7zr
> copying py7zr/version.py -> build/lib/py7zr
> copying py7zr/exceptions.py -> build/lib/py7zr
> copying py7zr/properties.py -> build/lib/py7zr
> copying py7zr/win32compat.py -> build/lib/py7zr
> copying py7zr/__main__.py -> build/lib/py7zr
> copying py7zr/compressor.py -> build/lib/py7zr
> copying py7zr/callbacks.py -> build/lib/py7zr
> copying py7zr/helpers.py -> build/lib/py7zr
> copying py7zr/cli.py -> build/lib/py7zr
> copying py7zr/py7zr.py -> build/lib/py7zr
> copying py7zr/archiveinfo.py -> build/lib/py7zr
> running egg_info
> creating py7zr.egg-info
> writing py7zr.egg-info/PKG-INFO
> writing dependency_links to py7zr.egg-info/dependency_links.txt
> writing entry points to py7zr.egg-info/entry_points.txt
> writing requirements to py7zr.egg-info/requires.txt
> writing top-level names to py7zr.egg-info/top_level.txt
> writing manifest file 'py7zr.egg-info/SOURCES.txt'
> WARNING setuptools_scm._file_finders.git git archive detected - fallback to 
> listing all files
> reading manifest template 'MANIFEST.in'
> warning: no files found matching '*.bin' under directory 'tests/data'
> adding license file 'LICENSE'
> writing manifest file 'py7zr.egg-info/SOURCES.txt'
> copying py7zr/py.typed -> build/lib/py7zr
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64
> creating build/bdist.linux-x86_64/wheel
> creating build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/__init__.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/version.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/exceptions.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/properties.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/win32compat.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/__main__.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/compressor.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/py.typed -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/callbacks.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/helpers.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/cli.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/py7zr.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/archiveinfo.py -> build/bdist.linux-x86_64/wheel/py7zr
> running install_egg_info
> Copying py7zr.egg-info to 
> build/bdist.linux-x86_64/wheel/py7zr-0.21.0+dfsg.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/py7zr-0.21.0+dfsg.dist-info/WHEEL
> creating 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_py7zr/.tmp-_vilsukb/py7zr-0.21.0+dfsg-py3-none-any.whl'
>  and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'py7zr/__init__.py'
> adding 'py7zr/__main__.py'
> adding 'py7zr/archiveinfo.py'
> adding 'py7zr/callbacks.py'
> adding 'py7zr/cli.py'
> adding 'py7zr/compressor.py'
> adding 'py7zr/exceptions.py'
> adding 'py7zr/helpers.py'
> adding 'py7zr/properties.py'
> adding 'py7zr/py.typed'
> adding 'py7zr/py7zr.py'
> adding 'py7zr/version.py'
> adding 'py7zr/win32compat.py'
> adding 'py7zr-0.21.0+dfsg.dist-info/LICENSE'
> adding 'py7zr-0.21.0+dfsg.dist-info/METADATA'
> adding 'py7zr-0.21.0+dfsg.dist-info/WHEEL'
> adding 'py7zr-0.21.0+dfsg.dist-info/entry_points.txt'
> adding 'py7zr-0.21.0+dfsg.dist-info/top_level.txt'
> adding 'py7zr-0.21.0+dfsg.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built py7zr-0.21.0+dfsg-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with 
> "installer" module
> I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build" 
> module
> I: pybuild base:311: python3.11 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_py7zr 
>  
> * Building wheel...
> running bdist_wheel
> running build
> running build_py
> copying py7zr/version.py -> build/lib/py7zr
> running egg_info
> writing py7zr.egg-info/PKG-INFO
> writing dependency_links to py7zr.egg-info/dependency_links.txt
> writing entry points to py7zr.egg-info/entry_points.txt
> writing requirements to py7zr.egg-info/requires.txt
> writing top-level names to py7zr.egg-info/top_level.txt
> WARNING setuptools_scm._file_finders.git git archive detected - fallback to 
> listing all files
> reading manifest template 'MANIFEST.in'
> warning: no files found matching '*.bin' under directory 'tests/data'
> adding license file 'LICENSE'
> writing manifest file 'py7zr.egg-info/SOURCES.txt'
> 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/py7zr
> copying build/lib/py7zr/__init__.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/version.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/exceptions.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/properties.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/win32compat.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/__main__.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/compressor.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/py.typed -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/callbacks.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/helpers.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/cli.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/py7zr.py -> build/bdist.linux-x86_64/wheel/py7zr
> copying build/lib/py7zr/archiveinfo.py -> build/bdist.linux-x86_64/wheel/py7zr
> running install_egg_info
> Copying py7zr.egg-info to 
> build/bdist.linux-x86_64/wheel/py7zr-0.21.0+dfsg.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/py7zr-0.21.0+dfsg.dist-info/WHEEL
> creating 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_py7zr/.tmp-knhl65wo/py7zr-0.21.0+dfsg-py3-none-any.whl'
>  and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'py7zr/__init__.py'
> adding 'py7zr/__main__.py'
> adding 'py7zr/archiveinfo.py'
> adding 'py7zr/callbacks.py'
> adding 'py7zr/cli.py'
> adding 'py7zr/compressor.py'
> adding 'py7zr/exceptions.py'
> adding 'py7zr/helpers.py'
> adding 'py7zr/properties.py'
> adding 'py7zr/py.typed'
> adding 'py7zr/py7zr.py'
> adding 'py7zr/version.py'
> adding 'py7zr/win32compat.py'
> adding 'py7zr-0.21.0+dfsg.dist-info/LICENSE'
> adding 'py7zr-0.21.0+dfsg.dist-info/METADATA'
> adding 'py7zr-0.21.0+dfsg.dist-info/WHEEL'
> adding 'py7zr-0.21.0+dfsg.dist-info/entry_points.txt'
> adding 'py7zr-0.21.0+dfsg.dist-info/top_level.txt'
> adding 'py7zr-0.21.0+dfsg.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built py7zr-0.21.0+dfsg-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with 
> "installer" module
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_py7zr/build; 
> python3.12 -m pytest -k "not test_compress_arm64 and not test_compress_ppc 
> and not test_compress_ia64 and not test_compress_sparc and not 
> test_compress_armt and not test_concurrent_futures and not test_bcj_encode 
> and not test_bcj_decode and not test_cli_no_subcommand and not test_cli_info 
> and not test_archive_already_exist and not 
> test_volume_creation_wrong_volume_unit "
> ImportError while loading conftest 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_py7zr/build/tests/conftest.py'.
> tests/__init__.py:13: in <module>
>     import py7zr
> py7zr/__init__.py:45: in <module>
>     from py7zr.py7zr import ArchiveInfo, FileInfo, SevenZipFile, is_7zfile, 
> pack_7zarchive, unpack_7zarchive
> py7zr/py7zr.py:45: in <module>
>     from py7zr.archiveinfo import Folder, Header, SignatureHeader
> py7zr/archiveinfo.py:36: in <module>
>     from py7zr.compressor import SevenZipCompressor, SevenZipDecompressor
> py7zr/compressor.py:36: in <module>
>     import pyzstd
> /usr/lib/python3/dist-packages/pyzstd/__init__.py:3: in <module>
>     from .c import *
> /usr/lib/python3/dist-packages/pyzstd/c/__init__.py:70: in <module>
>     class CParameter(IntEnum):
> /usr/lib/python3/dist-packages/pyzstd/c/__init__.py:82: in CParameter
>     targetCBlockSize       = _zstd._ZSTD_c_targetCBlockSize
> E   AttributeError: module 'pyzstd.c._zstd' has no attribute 
> '_ZSTD_c_targetCBlockSize'
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=4: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_py7zr/build; python3.12 -m pytest -k 
> "not test_compress_arm64 and not test_compress_ppc and not test_compress_ia64 
> and not test_compress_sparc and not test_compress_armt and not 
> test_concurrent_futures and not test_bcj_encode and not test_bcj_decode and 
> not test_cli_no_subcommand and not test_cli_info and not 
> test_archive_already_exist and not test_volume_creation_wrong_volume_unit "
> I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_py7zr/build; 
> python3.11 -m pytest -k "not test_compress_arm64 and not test_compress_ppc 
> and not test_compress_ia64 and not test_compress_sparc and not 
> test_compress_armt and not test_concurrent_futures and not test_bcj_encode 
> and not test_bcj_decode and not test_cli_no_subcommand and not test_cli_info 
> and not test_archive_already_exist and not 
> test_volume_creation_wrong_volume_unit "
> ImportError while loading conftest 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_py7zr/build/tests/conftest.py'.
> tests/__init__.py:13: in <module>
>     import py7zr
> py7zr/__init__.py:45: in <module>
>     from py7zr.py7zr import ArchiveInfo, FileInfo, SevenZipFile, is_7zfile, 
> pack_7zarchive, unpack_7zarchive
> py7zr/py7zr.py:45: in <module>
>     from py7zr.archiveinfo import Folder, Header, SignatureHeader
> py7zr/archiveinfo.py:36: in <module>
>     from py7zr.compressor import SevenZipCompressor, SevenZipDecompressor
> py7zr/compressor.py:36: in <module>
>     import pyzstd
> /usr/lib/python3/dist-packages/pyzstd/__init__.py:3: in <module>
>     from .c import *
> /usr/lib/python3/dist-packages/pyzstd/c/__init__.py:70: in <module>
>     class CParameter(IntEnum):
> /usr/lib/python3/dist-packages/pyzstd/c/__init__.py:82: in CParameter
>     targetCBlockSize       = _zstd._ZSTD_c_targetCBlockSize
> E   AttributeError: module 'pyzstd.c._zstd' has no attribute 
> '_ZSTD_c_targetCBlockSize'
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=4: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_py7zr/build; python3.11 -m pytest -k 
> "not test_compress_arm64 and not test_compress_ppc and not test_compress_ia64 
> and not test_compress_sparc and not test_compress_armt and not 
> test_concurrent_futures and not test_bcj_encode and not test_bcj_decode and 
> not test_cli_no_subcommand and not test_cli_info and not 
> test_archive_already_exist and not test_volume_creation_wrong_volume_unit "
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
> 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/py7zr_0.21.0+dfsg-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to