GNU bug report logs - #77929
python-keyutils fails to build

Previous Next

Package: guix;

Reported by: Simen Endsjø <contact <at> simendsjo.me>

Date: Sat, 19 Apr 2025 20:52:01 UTC

Severity: normal

To reply to this bug, email your comments to 77929 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#77929; Package guix. (Sat, 19 Apr 2025 20:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Simen Endsjø <contact <at> simendsjo.me>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 19 Apr 2025 20:52:02 GMT) Full text and rfc822 format available.

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

From: Simen Endsjø <contact <at> simendsjo.me>
To: bug-guix <at> gnu.org
Subject: python-keyutils fails to build
Date: Sat, 19 Apr 2025 22:51:10 +0200
[Message part 1 (text/plain, inline)]
`guix build python-keyutils` fails:

```
gcc -DNDEBUG -g -fwrapv -O3 -Wall -fno-semantic-interposition -fPIC -I/gnu/store/s6hivi3vwc1cyyw853y9c8xwahlqym5j-python-3.11.11/include/python3.11 -c keyutils/_keyutils.c -o build/temp.linux-x86_64-cpython-311/keyutils/_keyutils.o
keyutils/_keyutils.c:196:12: fatal error: longintrepr.h: No such file or directory
  196 |   #include "longintrepr.h"
      |            ^~~~~~~~~~~~~~~
```

```
Generation 366	Apr 19 2025 20:19:04	(current)
  nonguix e899121
    repository URL: https://gitlab.com/nonguix/nonguix
    branch: master
    commit: e899121adbaa13cfcaeae7a5c24921bffa645771
  sijo 47f98d8
    repository URL: https://git.sr.ht/~simendsjo/dotfiles
    branch: main
    commit: 47f98d8db76a972f6cd7fe6922daf3a16970282d
  guix e417d6f
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: e417d6fe8182c0b42b113490fec6a0297fd68fed
```

```
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/mnbagplzas2a13v564p2hhp64p3ccw6y-python-wrapper-3.11.11/bin:/gnu/store/svi4rix9hwyq9af0gax9hfc41k9jcyjh-python-pytest-8.3.3/bin:/gnu/store/6q5369wr716yx8kgawbg6wi11fps58wl-python-pytest-runner-6.0.1/bin:/gnu/store/7pv27lbh939azxzfd2dkds32f8s9viq6-keyutils-1.6.3/bin:/gnu/store/7pv27lbh939azxzfd2dkds32f8s9viq6-keyutils-1.6.3/sbin:/gnu/store/j5zgzgsmbjgywr67r86h1n6s4qiabv5q-tar-1.34/bin:/gnu/store/0r2fx1lr1h2i3cl1x5fw4s4ly95qspya-gzip-1.13/bin:/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/bin:/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/bin:/gnu/store/swmflx2bmqpf0drm167pxfpgyr7ckcam-diffutils-3.10/bin:/gnu/store/4jhlsg65s1zx90gnnfmaax52i8prnl45-patch-2.7.6/bin:/gnu/store/b5c62i99dsfa5j0j3f8g2j1xdi6fih22-findutils-4.9.0/bin:/gnu/store/vrl2r0ps24k1a6yap2chjylv5rhbndvr-gawk-5.3.0/bin:/gnu/store/3f0fjq25n2kwcmi0zyrf216wa6g8xpjw-zstd-1.5.2/bin:/gnu/store/3i4fr8riqw9azh1p4mqggl5vdz23kyr8-sed-4.8/bin:/gnu/store/7k8b93779dqpwcg2qjdvnf4nl43jv7hf-grep-3.11/bin:/gnu/store/fbaw0sb21gv02qq7gs9wg5y5wlpdgzih-xz-5.4.5/bin:/gnu/store/7h0mnlwalw23j9jmvz5n1i5mqkgb4d06-coreutils-9.1/bin:/gnu/store/lc6r1mh0jlcwixjziiw1zsx1my478rv1-make-4.4.1/bin:/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin:/gnu/store/3k6lyifyg024lk3gncsgf2gzjzvc70gv-ld-wrapper-0/bin:/gnu/store/ylgkrq9j1gyfig2y66srmgsbyh9w20d9-binutils-2.41/bin:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/bin:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/sbin:/gnu/store/s6hivi3vwc1cyyw853y9c8xwahlqym5j-python-3.11.11/bin:/gnu/store/20i2aqc0pmybja1jqs1bx0fws6lmd960-python-tomli-2.1.0/bin:/gnu/store/mr1nra5id2k22608y3qj4y91q4pqzqr3-python-py-1.11.0/bin:/gnu/store/8dalgj4w33wijvwm4llkdfkrx6x358nc-python-packaging-bootstrap-24.2/bin:/gnu/store/n3wlpa4q5ha1fljkc5zzykyv6a38hr7a-python-attrs-bootstrap-24.2.0/bin:/gnu/store/66hgaxiwpyjy8w9gli6l6n4669sa681i-python-pyparsing-3.2.1/bin'
environment variable `GUIX_PYTHONPATH' set to `/gnu/store/svi4rix9hwyq9af0gax9hfc41k9jcyjh-python-pytest-8.3.3/lib/python3.11/site-packages:/gnu/store/6q5369wr716yx8kgawbg6wi11fps58wl-python-pytest-runner-6.0.1/lib/python3.11/site-packages:/gnu/store/s6hivi3vwc1cyyw853y9c8xwahlqym5j-python-3.11.11/lib/python3.11/site-packages:/gnu/store/20i2aqc0pmybja1jqs1bx0fws6lmd960-python-tomli-2.1.0/lib/python3.11/site-packages:/gnu/store/mr1nra5id2k22608y3qj4y91q4pqzqr3-python-py-1.11.0/lib/python3.11/site-packages:/gnu/store/ffijal9b4k47i5yr9l1mdppf547q93qq-python-pluggy-1.5.0/lib/python3.11/site-packages:/gnu/store/a9xn4mhr2w7ippfzacag6i1khmc9jbiy-python-exceptiongroup-1.1.1/lib/python3.11/site-packages:/gnu/store/8dalgj4w33wijvwm4llkdfkrx6x358nc-python-packaging-bootstrap-24.2/lib/python3.11/site-packages:/gnu/store/74kgg2a85yflq9nz27rhkr5l1281a44w-python-iniconfig-1.1.1/lib/python3.11/site-packages:/gnu/store/n3wlpa4q5ha1fljkc5zzykyv6a38hr7a-python-attrs-bootstrap-24.2.0/lib/python3.11/site-packages:/gnu/store/0ggz82h0c5slyqi4ffki5rsydvs0xv3f-python-six-bootstrap-1.16.0/lib/python3.11/site-packages:/gnu/store/66hgaxiwpyjy8w9gli6l6n4669sa681i-python-pyparsing-3.2.1/lib/python3.11/site-packages'
environment variable `PYTHONTZPATH' unset
environment variable `BASH_LOADABLES_PATH' unset
environment variable `C_INCLUDE_PATH' set to `/gnu/store/7pv27lbh939azxzfd2dkds32f8s9viq6-keyutils-1.6.3/include:/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/include:/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/include:/gnu/store/vrl2r0ps24k1a6yap2chjylv5rhbndvr-gawk-5.3.0/include:/gnu/store/fbaw0sb21gv02qq7gs9wg5y5wlpdgzih-xz-5.4.5/include:/gnu/store/lc6r1mh0jlcwixjziiw1zsx1my478rv1-make-4.4.1/include:/gnu/store/ylgkrq9j1gyfig2y66srmgsbyh9w20d9-binutils-2.41/include:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/include:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/include:/gnu/store/s6hivi3vwc1cyyw853y9c8xwahlqym5j-python-3.11.11/include:/gnu/store/svghsdn1x3fyili8ij791nn25zba9bpf-linux-libre-headers-5.15.49/include'
environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/7pv27lbh939azxzfd2dkds32f8s9viq6-keyutils-1.6.3/include:/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/include:/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/include:/gnu/store/vrl2r0ps24k1a6yap2chjylv5rhbndvr-gawk-5.3.0/include:/gnu/store/fbaw0sb21gv02qq7gs9wg5y5wlpdgzih-xz-5.4.5/include:/gnu/store/lc6r1mh0jlcwixjziiw1zsx1my478rv1-make-4.4.1/include:/gnu/store/ylgkrq9j1gyfig2y66srmgsbyh9w20d9-binutils-2.41/include:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/include/c++:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/include:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/include:/gnu/store/s6hivi3vwc1cyyw853y9c8xwahlqym5j-python-3.11.11/include:/gnu/store/svghsdn1x3fyili8ij791nn25zba9bpf-linux-libre-headers-5.15.49/include'
environment variable `OBJC_INCLUDE_PATH' set to `/gnu/store/7pv27lbh939azxzfd2dkds32f8s9viq6-keyutils-1.6.3/include:/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/include:/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/include:/gnu/store/vrl2r0ps24k1a6yap2chjylv5rhbndvr-gawk-5.3.0/include:/gnu/store/fbaw0sb21gv02qq7gs9wg5y5wlpdgzih-xz-5.4.5/include:/gnu/store/lc6r1mh0jlcwixjziiw1zsx1my478rv1-make-4.4.1/include:/gnu/store/ylgkrq9j1gyfig2y66srmgsbyh9w20d9-binutils-2.41/include:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/include:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/include:/gnu/store/s6hivi3vwc1cyyw853y9c8xwahlqym5j-python-3.11.11/include:/gnu/store/svghsdn1x3fyili8ij791nn25zba9bpf-linux-libre-headers-5.15.49/include'
environment variable `OBJCPLUS_INCLUDE_PATH' set to `/gnu/store/7pv27lbh939azxzfd2dkds32f8s9viq6-keyutils-1.6.3/include:/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/include:/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/include:/gnu/store/vrl2r0ps24k1a6yap2chjylv5rhbndvr-gawk-5.3.0/include:/gnu/store/fbaw0sb21gv02qq7gs9wg5y5wlpdgzih-xz-5.4.5/include:/gnu/store/lc6r1mh0jlcwixjziiw1zsx1my478rv1-make-4.4.1/include:/gnu/store/ylgkrq9j1gyfig2y66srmgsbyh9w20d9-binutils-2.41/include:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/include/c++:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/include:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/include:/gnu/store/s6hivi3vwc1cyyw853y9c8xwahlqym5j-python-3.11.11/include:/gnu/store/svghsdn1x3fyili8ij791nn25zba9bpf-linux-libre-headers-5.15.49/include'
environment variable `LIBRARY_PATH' set to `/gnu/store/svi4rix9hwyq9af0gax9hfc41k9jcyjh-python-pytest-8.3.3/lib:/gnu/store/6q5369wr716yx8kgawbg6wi11fps58wl-python-pytest-runner-6.0.1/lib:/gnu/store/7pv27lbh939azxzfd2dkds32f8s9viq6-keyutils-1.6.3/lib:/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/lib:/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/lib:/gnu/store/vrl2r0ps24k1a6yap2chjylv5rhbndvr-gawk-5.3.0/lib:/gnu/store/fbaw0sb21gv02qq7gs9wg5y5wlpdgzih-xz-5.4.5/lib:/gnu/store/ylgkrq9j1gyfig2y66srmgsbyh9w20d9-binutils-2.41/lib:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/lib:/gnu/store/vqdiyyqbrv4akp68pfya4j6m3pdbnhca-glibc-2.39-static/lib:/gnu/store/s6hivi3vwc1cyyw853y9c8xwahlqym5j-python-3.11.11/lib:/gnu/store/20i2aqc0pmybja1jqs1bx0fws6lmd960-python-tomli-2.1.0/lib:/gnu/store/mr1nra5id2k22608y3qj4y91q4pqzqr3-python-py-1.11.0/lib:/gnu/store/ffijal9b4k47i5yr9l1mdppf547q93qq-python-pluggy-1.5.0/lib:/gnu/store/a9xn4mhr2w7ippfzacag6i1khmc9jbiy-python-exceptiongroup-1.1.1/lib:/gnu/store/8dalgj4w33wijvwm4llkdfkrx6x358nc-python-packaging-bootstrap-24.2/lib:/gnu/store/74kgg2a85yflq9nz27rhkr5l1281a44w-python-iniconfig-1.1.1/lib:/gnu/store/n3wlpa4q5ha1fljkc5zzykyv6a38hr7a-python-attrs-bootstrap-24.2.0/lib:/gnu/store/0ggz82h0c5slyqi4ffki5rsydvs0xv3f-python-six-bootstrap-1.16.0/lib:/gnu/store/66hgaxiwpyjy8w9gli6l6n4669sa681i-python-pyparsing-3.2.1/lib'
environment variable `GUIX_LOCPATH' set to `/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/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'
keyutils-0.6/
keyutils-0.6/keyutils.egg-info/
keyutils-0.6/keyutils.egg-info/dependency_links.txt
keyutils-0.6/keyutils.egg-info/SOURCES.txt
keyutils-0.6/keyutils.egg-info/top_level.txt
keyutils-0.6/keyutils.egg-info/PKG-INFO
keyutils-0.6/INSTALL
keyutils-0.6/MANIFEST.in
keyutils-0.6/setup.py
keyutils-0.6/keyutils/
keyutils-0.6/keyutils/__init__.py
keyutils-0.6/keyutils/_keyutils.c
keyutils-0.6/keyutils/_keyutils.pyx
keyutils-0.6/LICENSE
keyutils-0.6/README.rst
keyutils-0.6/ChangeLog
keyutils-0.6/TODO
keyutils-0.6/AUTHORS
keyutils-0.6/setup.cfg
keyutils-0.6/PKG-INFO
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'
Possible Cythonized file found: ./keyutils/_keyutils.c
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: ./keyutils/__init__.py: changing `/usr/bin/python' to `/gnu/store/mnbagplzas2a13v564p2hhp64p3ccw6y-python-wrapper-3.11.11/bin/python'
patch-shebang: ./setup.py: changing `/usr/bin/env python' to `/gnu/store/mnbagplzas2a13v564p2hhp64p3ccw6y-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
creating build/lib.linux-x86_64-cpython-311/keyutils
copying keyutils/__init__.py -> build/lib.linux-x86_64-cpython-311/keyutils
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
building 'keyutils._keyutils' extension
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/keyutils
gcc -DNDEBUG -g -fwrapv -O3 -Wall -fno-semantic-interposition -fPIC -I/gnu/store/s6hivi3vwc1cyyw853y9c8xwahlqym5j-python-3.11.11/include/python3.11 -c keyutils/_keyutils.c -o build/temp.linux-x86_64-cpython-311/keyutils/_keyutils.o
keyutils/_keyutils.c:196:12: fatal error: longintrepr.h: No such file or directory
  196 |   #include "longintrepr.h"
      |            ^~~~~~~~~~~~~~~
compilation terminated.
error: command '/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.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.7 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
```
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.