GNU bug report logs

#79205 Package python-pylzma Fails to Build

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to bug-guix@gnu.org:
bug#79205; Package guix. (Sat, 09 Aug 2025 16:45:03 GMT) (full text, mbox, link).


Acknowledgement sent to Benjamin <benjamin@forestentity.net>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org. (Sat, 09 Aug 2025 16:45:03 GMT) (full text, mbox, link).


Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

From: Benjamin <benjamin@forestentity.net>
To: "bug-guix@gnu.org" <bug-guix@gnu.org>
Subject: Package python-pylzma Fails to Build
Date: Sat, 09 Aug 2025 16:22:00 +0000
[Message part 1 (text/plain, inline)]
The package python-pylzma fails to build on the latest Guix version. Here is my describe:

$ guix describe
Generation 35 Aug 09 2025 12:16:13 (current)
guix 798f28a
repository URL: https://git.guix.gnu.org/guix.git
branch: master commit: 798f28ab0d85e05c10ebf8f27cab9f17d3139fce

And here is what happens when you build the package:

$ guix build python-pylzma
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivation will be built:
/gnu/store/zrfb51dx39axi5j7c5yfs21p8jp74rbi-python-pylzma-0.5.0.drv
building /gnu/store/zrfb51dx39axi5j7c5yfs21p8jp74rbi-python-pylzma-0.5.0.drv...
starting phase `separate-from-pid1'
build process now running as PID 18
phase `separate-from-pid1' succeeded after 0.0 seconds
starting phase `set-SOURCE-DATE-EPOCH'
phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
starting phase `set-paths'
environment variable `PATH' set to `/gnu/store/69jv9g4jhj8jim6c2mm9xhnisii2lids-python-wrapper-3.11.11/bin:/gnu/store/jjsyhvwqi6iap8grjhzwz5hn11l4a94h-tar-1.35/bin:/gnu/store/pbq910s5v24i66fg9pa9829w3kgwvi9v-gzip-1.14/bin:/gnu/store/arw4gy73adpmxmwg6zld2261l2z1z53m-bzip2-1.0.8/bin:/gnu/store/pggysagp12zh08lc5njx4n537ri66wv5-file-5.46/bin:/gnu/store/mf9vyjxcpszg786y87xa9wh5gdvng5b9-diffutils-3.12/bin:/gnu/store/cfbhsba78zqsh43sr1j5wzpkx4za4d1k-patch-2.7.6/bin:/gnu/store/fgfyqpyba8p2mc9bzr4anp345r3frn3y-findutils-4.10.0/bin:/gnu/store/987f1hlandfwkssqq8nl3vyh895xfi7g-gawk-5.3.0/bin:/gnu/store/c7bvi4qnkfmhmx2v64nlas8zh5vd6am1-zstd-1.5.6/bin:/gnu/store/2ip4q546w8s07p9wlvc1f2m6pyb1avkq-sed-4.9/bin:/gnu/store/m6mz9i04v5gwpb25zy6pl52ni5anb5gd-grep-3.11/bin:/gnu/store/7mw3fbl9panfik8pllcw5nwvvl0w9ilz-xz-5.4.5/bin:/gnu/store/sq6nzcyxvw82dfpja7nc547fvkgi9vwh-coreutils-9.1/bin:/gnu/store/i3h0ckp8b13r70mdd6id1rqp85zyq07r-make-4.4.1/bin:/gnu/store/30hszyg5y5py69r4a8glc43w0zrdbr7k-bash-minimal-5.2.37/bin:/gnu/store/mqdd4rq99y4xspsl5navvfjhw0s8aswl-ld-wrapper-0/bin:/gnu/store/8v0fwk8dbnn018ryzi4c2371pkhnx4ks-binutils-2.44/bin:/gnu/store/jb4szkjkmlqdc92nnhxvm9ypq6hvk9vw-gcc-14.3.0/bin:/gnu/store/mprrfhb2cq6dwsxf6pgj1zmjincd4x5h-glibc-2.41/bin:/gnu/store/mprrfhb2cq6dwsxf6pgj1zmjincd4x5h-glibc-2.41/sbin:/gnu/store/c5qarpvwzcz1idryvvpiqd7738jn4rs1-python-3.11.11/bin'
environment variable `GUIX_PYTHONPATH' set to `/gnu/store/c5qarpvwzcz1idryvvpiqd7738jn4rs1-python-3.11.11/lib/python3.11/site-packages'
environment variable `PYTHONTZPATH' unset
environment variable `BASH_LOADABLES_PATH' unset
environment variable `C_INCLUDE_PATH' set to `/gnu/store/arw4gy73adpmxmwg6zld2261l2z1z53m-bzip2-1.0.8/include:/gnu/store/pggysagp12zh08lc5njx4n537ri66wv5-file-5.46/include:/gnu/store/987f1hlandfwkssqq8nl3vyh895xfi7g-gawk-5.3.0/include:/gnu/store/7mw3fbl9panfik8pllcw5nwvvl0w9ilz-xz-5.4.5/include:/gnu/store/i3h0ckp8b13r70mdd6id1rqp85zyq07r-make-4.4.1/include:/gnu/store/8v0fwk8dbnn018ryzi4c2371pkhnx4ks-binutils-2.44/include:/gnu/store/jb4szkjkmlqdc92nnhxvm9ypq6hvk9vw-gcc-14.3.0/include:/gnu/store/mprrfhb2cq6dwsxf6pgj1zmjincd4x5h-glibc-2.41/include:/gnu/store/c5qarpvwzcz1idryvvpiqd7738jn4rs1-python-3.11.11/include:/gnu/store/r48jwp9l28km0y3m19zhwf7g3bzf7xbj-linux-libre-headers-6.12.17/include'
environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/arw4gy73adpmxmwg6zld2261l2z1z53m-bzip2-1.0.8/include:/gnu/store/pggysagp12zh08lc5njx4n537ri66wv5-file-5.46/include:/gnu/store/987f1hlandfwkssqq8nl3vyh895xfi7g-gawk-5.3.0/include:/gnu/store/7mw3fbl9panfik8pllcw5nwvvl0w9ilz-xz-5.4.5/include:/gnu/store/i3h0ckp8b13r70mdd6id1rqp85zyq07r-make-4.4.1/include:/gnu/store/8v0fwk8dbnn018ryzi4c2371pkhnx4ks-binutils-2.44/include:/gnu/store/jb4szkjkmlqdc92nnhxvm9ypq6hvk9vw-gcc-14.3.0/include/c++:/gnu/store/jb4szkjkmlqdc92nnhxvm9ypq6hvk9vw-gcc-14.3.0/include:/gnu/store/mprrfhb2cq6dwsxf6pgj1zmjincd4x5h-glibc-2.41/include:/gnu/store/c5qarpvwzcz1idryvvpiqd7738jn4rs1-python-3.11.11/include:/gnu/store/r48jwp9l28km0y3m19zhwf7g3bzf7xbj-linux-libre-headers-6.12.17/include'
environment variable `OBJC_INCLUDE_PATH' set to `/gnu/store/arw4gy73adpmxmwg6zld2261l2z1z53m-bzip2-1.0.8/include:/gnu/store/pggysagp12zh08lc5njx4n537ri66wv5-file-5.46/include:/gnu/store/987f1hlandfwkssqq8nl3vyh895xfi7g-gawk-5.3.0/include:/gnu/store/7mw3fbl9panfik8pllcw5nwvvl0w9ilz-xz-5.4.5/include:/gnu/store/i3h0ckp8b13r70mdd6id1rqp85zyq07r-make-4.4.1/include:/gnu/store/8v0fwk8dbnn018ryzi4c2371pkhnx4ks-binutils-2.44/include:/gnu/store/jb4szkjkmlqdc92nnhxvm9ypq6hvk9vw-gcc-14.3.0/include:/gnu/store/mprrfhb2cq6dwsxf6pgj1zmjincd4x5h-glibc-2.41/include:/gnu/store/c5qarpvwzcz1idryvvpiqd7738jn4rs1-python-3.11.11/include:/gnu/store/r48jwp9l28km0y3m19zhwf7g3bzf7xbj-linux-libre-headers-6.12.17/include'
environment variable `OBJCPLUS_INCLUDE_PATH' set to `/gnu/store/arw4gy73adpmxmwg6zld2261l2z1z53m-bzip2-1.0.8/include:/gnu/store/pggysagp12zh08lc5njx4n537ri66wv5-file-5.46/include:/gnu/store/987f1hlandfwkssqq8nl3vyh895xfi7g-gawk-5.3.0/include:/gnu/store/7mw3fbl9panfik8pllcw5nwvvl0w9ilz-xz-5.4.5/include:/gnu/store/i3h0ckp8b13r70mdd6id1rqp85zyq07r-make-4.4.1/include:/gnu/store/8v0fwk8dbnn018ryzi4c2371pkhnx4ks-binutils-2.44/include:/gnu/store/jb4szkjkmlqdc92nnhxvm9ypq6hvk9vw-gcc-14.3.0/include/c++:/gnu/store/jb4szkjkmlqdc92nnhxvm9ypq6hvk9vw-gcc-14.3.0/include:/gnu/store/mprrfhb2cq6dwsxf6pgj1zmjincd4x5h-glibc-2.41/include:/gnu/store/c5qarpvwzcz1idryvvpiqd7738jn4rs1-python-3.11.11/include:/gnu/store/r48jwp9l28km0y3m19zhwf7g3bzf7xbj-linux-libre-headers-6.12.17/include'
environment variable `LIBRARY_PATH' set to `/gnu/store/arw4gy73adpmxmwg6zld2261l2z1z53m-bzip2-1.0.8/lib:/gnu/store/pggysagp12zh08lc5njx4n537ri66wv5-file-5.46/lib:/gnu/store/987f1hlandfwkssqq8nl3vyh895xfi7g-gawk-5.3.0/lib:/gnu/store/7mw3fbl9panfik8pllcw5nwvvl0w9ilz-xz-5.4.5/lib:/gnu/store/8v0fwk8dbnn018ryzi4c2371pkhnx4ks-binutils-2.44/lib:/gnu/store/mprrfhb2cq6dwsxf6pgj1zmjincd4x5h-glibc-2.41/lib:/gnu/store/0999vrimj22xr8qpqggqawk4nhginpyq-glibc-2.41-static/lib:/gnu/store/c5qarpvwzcz1idryvvpiqd7738jn4rs1-python-3.11.11/lib'
environment variable `GUIX_LOCPATH' set to `/gnu/store/mprrfhb2cq6dwsxf6pgj1zmjincd4x5h-glibc-2.41/lib/locale'
environment variable `TZDIR' unset
phase `set-paths' succeeded after 0.0 seconds
starting phase `install-locale'
using 'C.UTF-8' locale for category "LC_ALL"
phase `install-locale' succeeded after 0.0 seconds
starting phase `unpack'
pylzma-0.5.0/
pylzma-0.5.0/src/
pylzma-0.5.0/src/pylzma/
pylzma-0.5.0/src/pylzma/pylzma.c
pylzma-0.5.0/src/pylzma/pylzma_decompressobj_compat.c
pylzma-0.5.0/src/pylzma/pylzma_decompress_compat.h
pylzma-0.5.0/src/pylzma/pylzma_compress.h
pylzma-0.5.0/src/pylzma/pylzma_streams.h
pylzma-0.5.0/src/pylzma/pylzma_compressobj.c
pylzma-0.5.0/src/pylzma/pylzma_decompress.h
pylzma-0.5.0/src/pylzma/pylzma_decompressobj_compat.h
pylzma-0.5.0/src/pylzma/pylzma_decompress.c
pylzma-0.5.0/src/pylzma/pylzma_decompress_compat.c
pylzma-0.5.0/src/pylzma/pylzma_aes.h
pylzma-0.5.0/src/pylzma/pylzma_compress.c
pylzma-0.5.0/src/pylzma/pylzma_decompressobj.h
pylzma-0.5.0/src/pylzma/pylzma_compressobj.h
pylzma-0.5.0/src/pylzma/pylzma_aes.c
pylzma-0.5.0/src/pylzma/pylzma_compressfile.h
pylzma-0.5.0/src/pylzma/pylzma_compressfile.c
pylzma-0.5.0/src/pylzma/pylzma_streams.c
pylzma-0.5.0/src/pylzma/pylzma_decompressobj.c
pylzma-0.5.0/src/pylzma/pylzma.h
pylzma-0.5.0/src/compat/
pylzma-0.5.0/src/compat/LzmaCompatDecode.h
pylzma-0.5.0/src/compat/LzmaCompatDecode.c
pylzma-0.5.0/src/compat/copying.txt
pylzma-0.5.0/src/sdk/
pylzma-0.5.0/src/sdk/DOC/
pylzma-0.5.0/src/sdk/DOC/lzma-specification.txt
pylzma-0.5.0/src/sdk/DOC/lzma.txt
pylzma-0.5.0/src/sdk/DOC/7zC.txt
pylzma-0.5.0/src/sdk/DOC/lzma-sdk.txt
pylzma-0.5.0/src/sdk/DOC/7zFormat.txt
pylzma-0.5.0/src/sdk/DOC/history.txt
pylzma-0.5.0/src/sdk/DOC/installer.txt
pylzma-0.5.0/src/sdk/DOC/lzma-history.txt
pylzma-0.5.0/src/sdk/DOC/Methods.txt
pylzma-0.5.0/src/sdk/C/
pylzma-0.5.0/src/sdk/C/Sort.c
pylzma-0.5.0/src/sdk/C/7zVersion.h
pylzma-0.5.0/src/sdk/C/Aes.h
pylzma-0.5.0/src/sdk/C/MtCoder.c
pylzma-0.5.0/src/sdk/C/7zCrcOpt.c
pylzma-0.5.0/src/sdk/C/LzFindMt.h
pylzma-0.5.0/src/sdk/C/Aes.c
pylzma-0.5.0/src/sdk/C/XzDec.c
pylzma-0.5.0/src/sdk/C/Delta.h
pylzma-0.5.0/src/sdk/C/Bcj2Enc.c
pylzma-0.5.0/src/sdk/C/7zArcIn.c
pylzma-0.5.0/src/sdk/C/XzEnc.c
pylzma-0.5.0/src/sdk/C/Xz.h
pylzma-0.5.0/src/sdk/C/7zDec.c
pylzma-0.5.0/src/sdk/C/LzmaDec.c
pylzma-0.5.0/src/sdk/C/RotateDefs.h
pylzma-0.5.0/src/sdk/C/Lzma2Enc.c
pylzma-0.5.0/src/sdk/C/BraIA64.c
pylzma-0.5.0/src/sdk/C/Compiler.h
pylzma-0.5.0/src/sdk/C/Lzma2Enc.h
pylzma-0.5.0/src/sdk/C/Bra.h
pylzma-0.5.0/src/sdk/C/Alloc.c
pylzma-0.5.0/src/sdk/C/7zStream.c
pylzma-0.5.0/src/sdk/C/XzEnc.h
pylzma-0.5.0/src/sdk/C/Util/
pylzma-0.5.0/src/sdk/C/Util/LzmaLib/
pylzma-0.5.0/src/sdk/C/Util/LzmaLib/LzmaLibExports.c
pylzma-0.5.0/src/sdk/C/Util/7z/
pylzma-0.5.0/src/sdk/C/Util/7z/Precomp.c
pylzma-0.5.0/src/sdk/C/Util/7z/Precomp.h
pylzma-0.5.0/src/sdk/C/Util/7z/7zMain.c
pylzma-0.5.0/src/sdk/C/Util/SfxSetup/
pylzma-0.5.0/src/sdk/C/Util/SfxSetup/Precomp.c
pylzma-0.5.0/src/sdk/C/Util/SfxSetup/Precomp.h
pylzma-0.5.0/src/sdk/C/Util/SfxSetup/SfxSetup.c
pylzma-0.5.0/src/sdk/C/Util/Lzma/
pylzma-0.5.0/src/sdk/C/Util/Lzma/LzmaUtil.c
pylzma-0.5.0/src/sdk/C/Lzma86Enc.c
pylzma-0.5.0/src/sdk/C/Threads.h
pylzma-0.5.0/src/sdk/C/Lzma2DecMt.c
pylzma-0.5.0/src/sdk/C/LzFindMt.c
pylzma-0.5.0/src/sdk/C/LzmaEnc.h
pylzma-0.5.0/src/sdk/C/7zCrc.c
pylzma-0.5.0/src/sdk/C/XzIn.c
pylzma-0.5.0/src/sdk/C/DllSecur.h
pylzma-0.5.0/src/sdk/C/7zFile.c
pylzma-0.5.0/src/sdk/C/7zAlloc.c
pylzma-0.5.0/src/sdk/C/7zBuf2.c
pylzma-0.5.0/src/sdk/C/Bcj2.c
pylzma-0.5.0/src/sdk/C/7zTypes.h
pylzma-0.5.0/src/sdk/C/Lzma86.h
pylzma-0.5.0/src/sdk/C/Bra86.c
pylzma-0.5.0/src/sdk/C/Precomp.h
pylzma-0.5.0/src/sdk/C/LzmaEnc.c
pylzma-0.5.0/src/sdk/C/Bcj2.h
pylzma-0.5.0/src/sdk/C/LzFind.c
pylzma-0.5.0/src/sdk/C/MtCoder.h
pylzma-0.5.0/src/sdk/C/Sha256.h
pylzma-0.5.0/src/sdk/C/XzCrc64.h
pylzma-0.5.0/src/sdk/C/Delta.c
pylzma-0.5.0/src/sdk/C/CpuArch.c
pylzma-0.5.0/src/sdk/C/Sort.h
pylzma-0.5.0/src/sdk/C/Threads.c
pylzma-0.5.0/src/sdk/C/XzCrc64.c
pylzma-0.5.0/src/sdk/C/Lzma86Dec.c
pylzma-0.5.0/src/sdk/C/AesOpt.c
pylzma-0.5.0/src/sdk/C/Alloc.h
pylzma-0.5.0/src/sdk/C/Ppmd7.h
pylzma-0.5.0/src/sdk/C/Ppmd7Enc.c
pylzma-0.5.0/src/sdk/C/Ppmd.h
pylzma-0.5.0/src/sdk/C/7zBuf.c
pylzma-0.5.0/src/sdk/C/LzmaLib.c
pylzma-0.5.0/src/sdk/C/DllSecur.c
pylzma-0.5.0/src/sdk/C/Ppmd7Dec.c
pylzma-0.5.0/src/sdk/C/LzmaDec.h
pylzma-0.5.0/src/sdk/C/Xz.c
pylzma-0.5.0/src/sdk/C/Lzma2DecMt.h
pylzma-0.5.0/src/sdk/C/Ppmd7.c
pylzma-0.5.0/src/sdk/C/7zCrc.h
pylzma-0.5.0/src/sdk/C/Bra.c
pylzma-0.5.0/src/sdk/C/7zAlloc.h
pylzma-0.5.0/src/sdk/C/7zFile.h
pylzma-0.5.0/src/sdk/C/7zBuf.h
pylzma-0.5.0/src/sdk/C/LzmaLib.h
pylzma-0.5.0/src/sdk/C/Sha256.c
pylzma-0.5.0/src/sdk/C/MtDec.h
pylzma-0.5.0/src/sdk/C/XzCrc64Opt.c
pylzma-0.5.0/src/sdk/C/LzHash.h
pylzma-0.5.0/src/sdk/C/MtDec.c
pylzma-0.5.0/src/sdk/C/Lzma2Dec.c
pylzma-0.5.0/src/sdk/C/LzFind.h
pylzma-0.5.0/src/sdk/C/Lzma2Dec.h
pylzma-0.5.0/src/sdk/C/7z.h
pylzma-0.5.0/src/sdk/C/CpuArch.h
pylzma-0.5.0/README.md
pylzma-0.5.0/LICENSE
pylzma-0.5.0/ez_setup.py
pylzma-0.5.0/MANIFEST.in
pylzma-0.5.0/doc/
pylzma-0.5.0/doc/USAGE.md
pylzma-0.5.0/doc/THANKS.md
pylzma-0.5.0/CHANGELOG.md
pylzma-0.5.0/tests/
pylzma-0.5.0/tests/test_pylzma.py
pylzma-0.5.0/tests/data/
pylzma-0.5.0/tests/data/github_43.7z
pylzma-0.5.0/tests/data/bugzilla_16.7z
pylzma-0.5.0/tests/data/solid.7z
pylzma-0.5.0/tests/data/non_solid.7z
pylzma-0.5.0/tests/data/bzip2.7z
pylzma-0.5.0/tests/data/github_37_dummy.7z
pylzma-0.5.0/tests/data/github_14.7z
pylzma-0.5.0/tests/data/copy.7z
pylzma-0.5.0/tests/data/encrypted.7z
pylzma-0.5.0/tests/data/encrypted-names.7z
pylzma-0.5.0/tests/data/deflate.7z
pylzma-0.5.0/tests/data/encrypted-short.7z
pylzma-0.5.0/tests/data/umlaut-solid.7z
pylzma-0.5.0/tests/data/empty.7z
pylzma-0.5.0/tests/data/regress_1.7z
pylzma-0.5.0/tests/data/test-issue-43.7z
pylzma-0.5.0/tests/data/github_14_multi.7z
pylzma-0.5.0/tests/data/github_33.7z
pylzma-0.5.0/tests/data/github_53.7z
pylzma-0.5.0/tests/data/umlaut-non_solid.7z
pylzma-0.5.0/tests/data/bugzilla_4.7z
pylzma-0.5.0/tests/data/deflate64.7z
pylzma-0.5.0/tests/__init__.py
pylzma-0.5.0/tests/test_7zfiles.py
pylzma-0.5.0/tests/test_usage.py
pylzma-0.5.0/tests/test_compatibility.py
pylzma-0.5.0/RELEASE-VERSION
pylzma-0.5.0/PKG-INFO
pylzma-0.5.0/scripts/
pylzma-0.5.0/scripts/pylzma.spec
pylzma-0.5.0/scripts/ci-install.sh
pylzma-0.5.0/setup.cfg
pylzma-0.5.0/py7zlib.py
pylzma-0.5.0/version.py
pylzma-0.5.0/pylzma.egg-info/
pylzma-0.5.0/pylzma.egg-info/dependency_links.txt
pylzma-0.5.0/pylzma.egg-info/requires.txt
pylzma-0.5.0/pylzma.egg-info/SOURCES.txt
pylzma-0.5.0/pylzma.egg-info/not-zip-safe
pylzma-0.5.0/pylzma.egg-info/top_level.txt
pylzma-0.5.0/pylzma.egg-info/PKG-INFO
pylzma-0.5.0/setup.py
phase `unpack' succeeded after 0.0 seconds
starting phase `ensure-no-mtimes-pre-1980'
phase `ensure-no-mtimes-pre-1980' succeeded after 0.0 seconds
starting phase `enable-bytecode-determinism'
phase `enable-bytecode-determinism' succeeded after 0.0 seconds
starting phase `ensure-no-cythonized-files'
phase `ensure-no-cythonized-files' succeeded after 0.0 seconds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-file' succeeded after 0.0 seconds
starting phase `patch-source-shebangs'
patch-shebang: ./ez_setup.py: changing `/usr/bin/env python' to `/gnu/store/69jv9g4jhj8jim6c2mm9xhnisii2lids-python-wrapper-3.11.11/bin/python'
patch-shebang: ./py7zlib.py: changing `/usr/bin/python' to `/gnu/store/69jv9g4jhj8jim6c2mm9xhnisii2lids-python-wrapper-3.11.11/bin/python'
patch-shebang: ./scripts/ci-install.sh: changing `/bin/bash' to `/gnu/store/30hszyg5y5py69r4a8glc43w0zrdbr7k-bash-minimal-5.2.37/bin/bash'
patch-shebang: ./setup.py: changing `/usr/bin/python' to `/gnu/store/69jv9g4jhj8jim6c2mm9xhnisii2lids-python-wrapper-3.11.11/bin/python'
patch-shebang: ./tests/test_7zfiles.py: changing `/usr/bin/python' to `/gnu/store/69jv9g4jhj8jim6c2mm9xhnisii2lids-python-wrapper-3.11.11/bin/python'
patch-shebang: ./tests/test_compatibility.py: changing `/usr/bin/python' to `/gnu/store/69jv9g4jhj8jim6c2mm9xhnisii2lids-python-wrapper-3.11.11/bin/python'
patch-shebang: ./tests/test_pylzma.py: changing `/usr/bin/python' to `/gnu/store/69jv9g4jhj8jim6c2mm9xhnisii2lids-python-wrapper-3.11.11/bin/python'
patch-shebang: ./tests/test_usage.py: changing `/usr/bin/python' to `/gnu/store/69jv9g4jhj8jim6c2mm9xhnisii2lids-python-wrapper-3.11.11/bin/python'
phase `patch-source-shebangs' succeeded after 0.0 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
running "python setup.py" with command "build" and parameters ()
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-311
copying py7zlib.py -> build/lib.linux-x86_64-cpython-311
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
setup.py:105: UnsupportedPlatformWarning: Multithreading is not supported on the platform "linux",
please contact mail@joachim-bauch.de for more informations.
warn("""\
building 'pylzma' extension
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/src
creating build/temp.linux-x86_64-cpython-311/src/compat
creating build/temp.linux-x86_64-cpython-311/src/pylzma
creating build/temp.linux-x86_64-cpython-311/src/sdk
creating build/temp.linux-x86_64-cpython-311/src/sdk/C
gcc -DNDEBUG -g -fwrapv -O3 -Wall -fno-semantic-interposition -fPIC -DPY_SSIZE_T_CLEAN=1 -DWITH_COMPAT=1 -DPYLZMA_VERSION=0.5.0 -D_7ZIP_ST=1 -Isrc/sdk/C -I/gnu/store/c5qarpvwzcz1idryvvpiqd7738jn4rs1-python-3.11.11/include/python3.11 -c src/compat/LzmaCompatDecode.c -o build/temp.linux-x86_64-cpython-311/src/compat/LzmaCompatDecode.o
gcc -DNDEBUG -g -fwrapv -O3 -Wall -fno-semantic-interposition -fPIC -DPY_SSIZE_T_CLEAN=1 -DWITH_COMPAT=1 -DPYLZMA_VERSION=0.5.0 -D_7ZIP_ST=1 -Isrc/sdk/C -I/gnu/store/c5qarpvwzcz1idryvvpiqd7738jn4rs1-python-3.11.11/include/python3.11 -c src/pylzma/pylzma.c -o build/temp.linux-x86_64-cpython-311/src/pylzma/pylzma.o
src/pylzma/pylzma.c: In function ‘PyInit_pylzma’:
src/pylzma/pylzma.c:296:5: warning: ‘PyEval_InitThreads’ is deprecated
296 | PyEval_InitThreads();
| ^~~~~~~~~~~~~~~~~~
In file included from /gnu/store/c5qarpvwzcz1idryvvpiqd7738jn4rs1-python-3.11.11/include/python3.11/Python.h:95,
from src/pylzma/pylzma.c:26:
/gnu/store/c5qarpvwzcz1idryvvpiqd7738jn4rs1-python-3.11.11/include/python3.11/ceval.h:132:37: note: declared here
132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
gcc -DNDEBUG -g -fwrapv -O3 -Wall -fno-semantic-interposition -fPIC -DPY_SSIZE_T_CLEAN=1 -DWITH_COMPAT=1 -DPYLZMA_VERSION=0.5.0 -D_7ZIP_ST=1 -Isrc/sdk/C -I/gnu/store/c5qarpvwzcz1idryvvpiqd7738jn4rs1-python-3.11.11/include/python3.11 -c src/pylzma/pylzma_aes.c -o build/temp.linux-x86_64-cpython-311/src/pylzma/pylzma_aes.o
src/pylzma/pylzma_aes.c:158:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast
158 | NULL, /* printfunc tp_print; */
| ^~~~
src/pylzma/pylzma_aes.c:158:5: note: (near initialization for ‘CAESDecrypt_Type.tp_vectorcall_offset’)
error: command '/gnu/store/jb4szkjkmlqdc92nnhxvm9ypq6hvk9vw-gcc-14.3.0/bin/gcc' failed with exit code 1
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "build") exit-status: 1 term-signal: #f stop-signal: #f>
phase `build' failed after 0.5 seconds
command "python" "-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "build" failed with status 1
build process 18 exited with status 256
builder for `/gnu/store/zrfb51dx39axi5j7c5yfs21p8jp74rbi-python-pylzma-0.5.0.drv' failed with exit code 1
build of /gnu/store/zrfb51dx39axi5j7c5yfs21p8jp74rbi-python-pylzma-0.5.0.drv failed
View build log at '/var/log/guix/drvs/zr/fb51dx39axi5j7c5yfs21p8jp74rbi-python-pylzma-0.5.0.drv.gz'.
guix build: error: build of `/gnu/store/zrfb51dx39axi5j7c5yfs21p8jp74rbi-python-pylzma-0.5.0.drv' failed
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix@gnu.org:
bug#79205; Package guix. (Sun, 10 Aug 2025 10:34:02 GMT) (full text, mbox, link).


Message #8 received at 79205@debbugs.gnu.org (full text, mbox, reply):

From: Andreas Enge <andreas@enge.fr>
To: Benjamin <benjamin@forestentity.net>
Cc: 79205@debbugs.gnu.org
Subject: Re: Package python-pylzma Fails to Build
Date: Sun, 10 Aug 2025 12:32:52 +0200
Hello,

Am Sat, Aug 09, 2025 at 04:22:00PM +0000 schrieb Benjamin:
> The package python-pylzma fails to build on the latest Guix version.

the package dates from 2018, so it would be good to drop it...

Its only dependent is hydrus-network; is this the package you are
interested in? It has been added in 2022 and then never touched again.
My impression is that python-pylzma can simply be dropped from its inputs,
at least newer versions mark explicitly that they do not need it.

However, then a test fails since our v495 of hydrus-network does not build
with a newer Python. The problem has been corrected in v519, but then a
different test fails:
test_import (hydrus.test.TestClientDB.TestClientDB.test_import) ... Warning: Shape doesn't start with a moveTo
Warning: Shape doesn't start with a moveTo
Warning: Shape doesn't start with a moveTo
Warning: Shape doesn't start with a moveTo
Warning: Shape doesn't start with a moveTo
Error: ID 20 unknown
Error: ID 23 unknown
FAIL
======================================================================
FAIL: test_import (hydrus.test.TestClientDB.TestClientDB.test_import)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/guix-build-hydrus-network-519.drv-0/source/hydrus/test/TestClientDB.py", line 1301, in test_import
    self.assertIn( mr_duration, durations )
AssertionError: 3490 not found in {3500}
----------------------------------------------------------------------
Ran 83 tests in 35.292s

Going to the most recent version is also not an easy option, since the
source code has changed so much that it would require changes to our
package.

So after spending quite some time on the package, my hunch would rather
be to make a removal request on Codeberg, which leaves one month for
someone to repair it.

Andreas





Information forwarded to bug-guix@gnu.org:
bug#79205; Package guix. (Sun, 10 Aug 2025 11:04:01 GMT) (full text, mbox, link).


Message #11 received at 79205@debbugs.gnu.org (full text, mbox, reply):

From: Andreas Enge <andreas@enge.fr>
To: Benjamin <benjamin@forestentity.net>
Cc: 79205@debbugs.gnu.org
Subject: Re: Package python-pylzma Fails to Build
Date: Sun, 10 Aug 2025 13:03:21 +0200
Until v526, the DB test fails.

Since v527, the binaries (installed and tests) have been renamed.
But the DB test still fails.

In v550, a different test fails, which can be solved by adding
python-dateparser to the inputs.
But the DB test still fails.

In v555, an earlier test fails:
test_import_folders_daemon (hydrus.test.TestClientDaemons.TestDaemons.test_import_folders_daemon) ... FAIL
======================================================================
FAIL: test_import_folders_daemon (hydrus.test.TestClientDaemons.TestDaemons.test_import_folders_daemon)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/guix-build-hydrus-network-555.drv-0/source/hydrus/test/TestClientDaemons.py", line 61, in test_import_folders_daemon
    self.assertEqual( len( import_file ), 3 )
AssertionError: 0 != 3
----------------------------------------------------------------------
Ran 5 tests in 11.217s
FAILED (failures=1)

In v560, something major changed, and our package recipe does not work
anymore.

I have filed a removal request at
   https://codeberg.org/guix/guix/issues/1919

A patch to repair the hydrus-network package would be very welcome.

Andreas


PS: For reference, my current diff
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 3e1c30b8d7..db0450125b 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -1156,7 +1156,7 @@ (define-public xzgv
 (define-public hydrus-network
   (package
     (name "hydrus-network")
-    (version "495")                       ;upstream has a weekly release cycle
+    (version "555")                       ;upstream has a weekly release cycle
     (source
      (origin
        (method git-fetch)
@@ -1166,7 +1166,7 @@ (define-public hydrus-network
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "03zhrcmjzbk37sl9nwjahfmr8aflss84c4xhg5ci5b8jvbbqmr1j"))
+         "0mxl0ag7k106rfxw7g89yf9bd2wmz6zykxdpfj90cfbz25l8a1ya"))
        (modules '((guix build utils)))
        (snippet
         ;; Remove pre-built binaries from bin/.
@@ -1185,7 +1185,7 @@ (define-public hydrus-network
                 (setenv "DISPLAY" ":0")
                 (setenv "XDG_CACHE_HOME" (getcwd))
                 (setenv "HOME" (getcwd))
-                (invoke "xvfb-run" "python" "test.py")))
+                (invoke "xvfb-run" "python" "hydrus_test.py")))
             ;; XXX: program help files are not built.  Updating
             ;; python-pymdown-extensions to its latest version might be the
             ;; solution, but this would require also packaging its new build
@@ -1232,9 +1232,9 @@ (define-public hydrus-network
                                                     #$(this-package-input "python"))
                                                    "/site-packages/hydrus"))
                   (mkdir (string-append out "/bin"))
-                  (copy-file "client.py" client)
+                  (copy-file "hydrus_client.py" client)
                   (chmod client #o0555)
-                  (copy-file "server.py" server)
+                  (copy-file "hydrus_server.py" server)
                   (chmod server #o0555))))))))
     ;; All native-inputs are only needed for the the check phase
     (native-inputs
@@ -1248,6 +1248,7 @@ (define-public hydrus-network
            python-cbor2
            python-chardet
            python-cloudscraper
+           python-dateparser
            python-html5lib
            python-lxml
            python-lz4
@@ -1255,7 +1256,6 @@ (define-public hydrus-network
            opencv ; its python bindings are a drop-in replacement for opencv-python-headless
            python-pillow
            python-psutil
-           python-pylzma
            python-pyopenssl
            ;; Since hydrus' version 494 it supports python-pyside-6 but it's not yet
            ;; in guix. pyside-2 is still supported as a fallback.





Information forwarded to bug-guix@gnu.org:
bug#79205; Package guix. (Tue, 12 Aug 2025 05:30:02 GMT) (full text, mbox, link).


Message #14 received at 79205@debbugs.gnu.org (full text, mbox, reply):

From: Benjamin <benjamin@forestentity.net>
To: Andreas Enge <andreas@enge.fr>
Cc: 79205@debbugs.gnu.org
Subject: Re: Package python-pylzma Fails to Build
Date: Mon, 11 Aug 2025 19:15:55 +0000
I do still use it, but it is also on flatpak so I could move to using that since I might be the only person on Guix using this package anymore. I have it working up to 626a on my personal channel, but this newest issue might be to much for my non existent Python knowledge to handle. Here is the code I have for 626a which worked until pylzma started failing:

(define-public swftools-fix
  (package
    (inherit swftools)
    (arguments
     (substitute-keyword-arguments (package-arguments swftools)
       ((#:configure-flags _
         ''())
        #~(list "DISABLEPDF2SWF=true"))))))

(define-public python-qtpy-fix
  (package
    (inherit python-qtpy)
    (name "python-qtpy")
    (version "2.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "QtPy" version))
       (sha256
        (base32 "1m14sjbqkyimvk71jdd3rfxdx1qldxfdmj352mw0cqdacy0m0bfv"))))
    (native-inputs (modify-inputs (package-native-inputs python-qtpy)
                     (append python-pyside-6)))))

(define-public hydrus-network-fix
  (package
    (inherit hydrus-network)
    (name "hydrus-network")
    (version "626a")
    (source
     (origin
       (inherit (package-source hydrus-network))
       (uri (git-reference
             (url "https://github.com/hydrusnetwork/hydrus")
             (commit (string-append "v" version))))
       (sha256
        (base32 "0lhqi5295arg62w3lg10wcpw48z7a1x4pgmfjy7ma6v21rv75yz9"))))
    (arguments
     (substitute-keyword-arguments (package-arguments hydrus-network)
       ((#:tests? _ #f)
        #f)
       ((#:phases p)
        #~(let ((static-dir "/share/hydrus/static"))
            (modify-phases #$p
              (add-before 'install 'fix-test-py
                (lambda _
                  (rename-file "hydrus_test.py" "test.py")))
              (replace 'patch-variables
                (lambda* (#:key outputs inputs #:allow-other-keys)
                  (let ((ffmpeg (search-input-file inputs "/bin/ffmpeg"))
                        (swfrender (search-input-file inputs "/bin/swfrender"))
                        (upnpc (search-input-file inputs "/bin/upnpc"))
                        (out (assoc-ref outputs "out")))
                    (with-directory-excursion "hydrus"
					;Without this the program would incorrectly assume
                      ;; that it uses user's ffmpeg binary when it isn't.
                      (substitute* "client/ClientController.py"
                        (("if (HydrusVideoHandling\\.FFMPEG_PATH).*" _ var)
                         (string-append "if " var " == \"" ffmpeg "\":\n")))
                      (with-directory-excursion "core"
                        (substitute* "HydrusConstants.py"
                          (("STATIC_DIR = .*")
                           (string-append "STATIC_DIR = \"" out static-dir
                                          "\"\n")))
                        (with-directory-excursion "files"
                          (substitute* "HydrusFlashHandling.py"
                            (("SWFRENDER_PATH = .*\n")
                             (string-append "SWFRENDER_PATH = \"" swfrender
                                            "\"\n")))
                          (substitute* "HydrusVideoHandling.py"
                            (("FFMPEG_PATH = .*\n")
                             (string-append "FFMPEG_PATH = \"" ffmpeg "\"\n"))))
                        (with-directory-excursion "networking"
                          (substitute* "HydrusNATPunch.py"
                            (("UPNPC_PATH = .*\n")
                             (string-append "UPNPC_PATH = \"" upnpc "\"\n")))))))))
              (replace 'install
                (lambda* (#:key outputs #:allow-other-keys)
                  (let* ((out (assoc-ref outputs "out"))
                         (client (string-append out "/bin/hydrus"))
                         (server (string-append out "/bin/hydrus-server")))
                    (copy-recursively "static"
                                      (string-append out static-dir))
                    (copy-recursively "hydrus"
                                      (string-append out "/lib/python"
                                                     (python-version #$(this-package-input
                                                                        "python"))
                                                     "/site-packages/hydrus"))
                    (mkdir (string-append out "/bin"))
                    (copy-file "hydrus_client.py" client)
                    (chmod client #o555)
                    (copy-file "hydrus_server.py" server)
                    (chmod server #o555)))))))))
    (inputs (modify-inputs (package-inputs hydrus-network)
			   (replace "swftools" swftools-fix)
			   (append python-dateparser)))
    (propagated-inputs (modify-inputs (package-propagated-inputs
                                       hydrus-network)
				      (replace "python-pyside-2" python-pyside-6)
				      (replace "python-qtpy" python-qtpy-fix)))))




Information forwarded to bug-guix@gnu.org:
bug#79205; Package guix. (Wed, 13 Aug 2025 16:18:01 GMT) (full text, mbox, link).


Message #17 received at 79205@debbugs.gnu.org (full text, mbox, reply):

From: Andreas Enge <andreas@enge.fr>
To: Benjamin <benjamin@forestentity.net>
Cc: 79205@debbugs.gnu.org
Subject: Re: Package python-pylzma Fails to Build
Date: Wed, 13 Aug 2025 18:17:35 +0200
Thanks for sharing your recipe!

I have taken inspiration by adding python-pyside-6 to the python-qtpy
package inside Guix, so you could drop your python-qtpy-fix.

Why is the swftools-fix needed?

As to hydrus-network you are somewhat cheating, since you disable the
tests! Could you try out what happens when you do not disable tests?

Concerning the propagated-inputs, my theory is that python-pylzma is
actually not needed anymore. Could you try what happens when you remove it?

Andreas





Information forwarded to bug-guix@gnu.org:
bug#79205; Package guix. (Wed, 13 Aug 2025 19:47:02 GMT) (full text, mbox, link).


Message #20 received at 79205@debbugs.gnu.org (full text, mbox, reply):

From: Andreas Enge <andreas@enge.fr>
To: Benjamin <benjamin@forestentity.net>
Cc: 79205@debbugs.gnu.org
Subject: Re: Package python-pylzma Fails to Build
Date: Wed, 13 Aug 2025 21:45:47 +0200
Hello again,

I have updated the package to 630 and added you as a co-author in the
commit message, since your package helped me go forward. Is that okay
for you?

From 631, I get an error message about a corrupted database; but it
looks like in reality the binary looks for an image file in the wrong
place, maybe we would have to adapt our install phase. But I think it
is okay to be one month behind :)  Please feel free to propose a pull
request if you see how to go forward.

Andreas





Information forwarded to bug-guix@gnu.org:
bug#79205; Package guix. (Wed, 13 Aug 2025 21:14:01 GMT) (full text, mbox, link).


Message #23 received at 79205@debbugs.gnu.org (full text, mbox, reply):

From: Benjamin <benjamin@forestentity.net>
To: Andreas Enge <andreas@enge.fr>
Cc: 79205@debbugs.gnu.org
Subject: Re: Package python-pylzma Fails to Build
Date: Wed, 13 Aug 2025 21:12:58 +0000
Thank you! Putting me as a co-author is fine with me. I will look into 630+ versions at some point and I will prioritize trying to update this in Guix rather than just in my own set up whenever I do.




Reply sent to Andreas Enge <andreas@enge.fr>:
You have taken responsibility. (Thu, 14 Aug 2025 08:29:02 GMT) (full text, mbox, link).


Notification sent to Benjamin <benjamin@forestentity.net>:
bug acknowledged by developer. (Thu, 14 Aug 2025 08:29:02 GMT) (full text, mbox, link).


Message #28 received at 79205-done@debbugs.gnu.org (full text, mbox, reply):

From: Andreas Enge <andreas@enge.fr>
To: Benjamin <benjamin@forestentity.net>
Cc: 79205-done@debbugs.gnu.org
Subject: Re: Package python-pylzma Fails to Build
Date: Thu, 14 Aug 2025 10:28:21 +0200
Am Wed, Aug 13, 2025 at 09:12:58PM +0000 schrieb Benjamin:
> Thank you! Putting me as a co-author is fine with me. I will look into 630+ versions at some point and I will prioritize trying to update this in Guix rather than just in my own set up whenever I do.

Great! It should be the same effort, actually.

Andreas





Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Mon Sep 8 15:51:08 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.