python-xdo: Fails to build (failing sanity check)

  • Done
  • quality assurance status badge
Details
2 participants
  • Ivan Vilata i Balaguer
  • Lars-Dominik Braun
Owner
unassigned
Submitted by
Ivan Vilata i Balaguer
Severity
normal
I
I
Ivan Vilata i Balaguer wrote on 11 Jan 2022 09:48
(address . bug-guix@gnu.org)
Yd1ESJlgr4wKVOrD@sax.terramar.selidor.net
Hi! When trying to upgrade package `python-xdo 0.3` from Guix commit
`404f6953` to that of commit `4a943cfd`, the build fails with this error:

```
phase `check' succeeded after 0.0 seconds
starting phase `sanity-check'
validating 'xdo' /gnu/store/2ad74b3s417prg3smyjk7ckxyksa6838-python-xdo-0.3/lib/python3.9/site-packages
...checking requirements: OK
...trying to load module xdo: ERROR:
Traceback (most recent call last):
File "/gnu/store/nwwr89v2vyg1hs48i49m083vhczsgh3m-sanity-check.py", line 69, in <module>
importlib.import_module(name)
File "/gnu/store/p5fgysbcnnp8b1d91mrvjvababmczga0-python-3.9.6/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/gnu/store/2ad74b3s417prg3smyjk7ckxyksa6838-python-xdo-0.3/lib/python3.9/site-packages/xdo/__init__.py", line 8, in <module>
from ._xdo import libxdo as _libxdo
File "/gnu/store/2ad74b3s417prg3smyjk7ckxyksa6838-python-xdo-0.3/lib/python3.9/site-packages/xdo/_xdo.py", line 14, in <module>
libc = ctypes.CDLL(ctypes.util.find_library('libc'))
File "/gnu/store/p5fgysbcnnp8b1d91mrvjvababmczga0-python-3.9.6/lib/python3.9/ctypes/util.py", line 330, in find_library
_get_soname(_findLib_gcc(name)) or _get_soname(_findLib_ld(name))
File "/gnu/store/p5fgysbcnnp8b1d91mrvjvababmczga0-python-3.9.6/lib/python3.9/ctypes/util.py", line 147, in _findLib_gcc
if not _is_elf(file):
File "/gnu/store/p5fgysbcnnp8b1d91mrvjvababmczga0-python-3.9.6/lib/python3.9/ctypes/util.py", line 99, in _is_elf
with open(filename, 'br') as thefile:
FileNotFoundError: [Errno 2] No such file or directory: b'liblibc.a'
error: in phase 'sanity-check': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("/gnu/store/nwwr89v2vyg1hs48i49m083vhczsgh3m-sanity-check.py" "/gnu/store/2ad74b3s417prg3smyjk7ckxyksa6838-python-xdo-0.3/lib/python3.9/site-packages") exit-status: 1 term-signal: #f stop-signal: #f>
phase `sanity-check' failed after 0.2 seconds
command "python" "/gnu/store/nwwr89v2vyg1hs48i49m083vhczsgh3m-sanity-check.py" "/gnu/store/2ad74b3s417prg3smyjk7ckxyksa6838-python-xdo-0.3/lib/python3.9/site-packages" failed with status 1
```

Attaching the whole `/var/log/guix/drvs/k6/ndh9y02w2n3f7n98wj0jamfywv3blz-python-xdo-0.3.drv.bz2`.

Thanks, and a happy new year! `:)`

--
Ivan Vilata i Balaguer -- https://elvil.net/
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEHpvwBPZcchIQr6TuPezBBfXdI4IFAmHdREgACgkQPezBBfXd
I4KhHw/8CWdc5OlTtSCJc+97r2nXCY3iM4tbXO1CelMHxfWxO+urDAz+HVQAwxKd
ZW0uSXU9oPGVbqGUNrEIAPchEJFG2Agqby6ZjO1ncW9dq8mJICAZAs4sfnfuMY6F
i455Jn0JEzXI46I3Reyn32Qd5vJKXFqlQaA40tpXjBaAuNTUGoWT2ssiIH73VONg
eB9K0wW+SQJ5qmxQJHMwLlQ++uBjnZzGgSutUf86NO0ZZN9G7Ws7JH2wUS3ZRDrB
KWurN7NeBAlFAYj8vZ6C9fEw+0LSiYVXH4EaUW1mxNeAvTlaybbsXBllLfYY4MzL
+60JrOSiKJBtpJoJMI+3qNV9D+WyCu0AsMHbs3zQQV7hbbHc18Nti6gKODwOsA8R
FuyRr5EsLZiBbNhRgahEYKX8dNKAcmwHTbnZkawis/xpKOc/GAhuPPIei8ozzSYI
W9YRas6DL+wmVm7c1fLkTWUpKJvtjm3WiZc/hup0SEPlHCX5gRexJw0vHbFu+dS2
w4YWIwFn+mwi3AnDOXUY+MSxFXLIFmVdn3tuXjzPh47luMuOYS1cLlU9HHhKe+wm
i59Ckr/jLJZe4GG8ZMz4jIIJQZO9Q2BUIDh5vOnfj/ltfln4I63D76TQwn64g6N5
ZIZeguIceRZzDmi5KP+05heEgRiSbtTYe5NAKnRxvsHR1HiWoZc=
=p2rY
-----END PGP SIGNATURE-----


L
L
Lars-Dominik Braun wrote on 19 Jan 2022 14:56
(name . Ivan Vilata i Balaguer)(address . ivan@selidor.net)(address . 53183-done@debbugs.gnu.org)
YegYhslU655K7hn3@noor.fritz.box
Hi Ivan,

Toggle quote (2 lines)
> Hi! When trying to upgrade package `python-xdo 0.3` from Guix commit
> `404f6953` to that of commit `4a943cfd`, the build fails with this error:
I fixed this error with commit 71421529d8521eb48c707ed5cdb7ea7a75e52663.

Cheers,
Lars
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 53183@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 53183
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch