unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53183: python-xdo: Fails to build (failing sanity check)
@ 2022-01-11  8:48 Ivan Vilata i Balaguer
  2022-01-19 13:56 ` Lars-Dominik Braun
  0 siblings, 1 reply; 2+ messages in thread
From: Ivan Vilata i Balaguer @ 2022-01-11  8:48 UTC (permalink / raw)
  To: 53183


[-- Attachment #1.1: Type: text/plain, Size: 2883 bytes --]

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/

[-- Attachment #1.2: ndh9y02w2n3f7n98wj0jamfywv3blz-python-xdo-0.3.drv.bz2 --]
[-- Type: application/octet-stream, Size: 3564 bytes --]

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#53183: python-xdo: Fails to build (failing sanity check)
  2022-01-11  8:48 bug#53183: python-xdo: Fails to build (failing sanity check) Ivan Vilata i Balaguer
@ 2022-01-19 13:56 ` Lars-Dominik Braun
  0 siblings, 0 replies; 2+ messages in thread
From: Lars-Dominik Braun @ 2022-01-19 13:56 UTC (permalink / raw)
  To: Ivan Vilata i Balaguer; +Cc: 53183-done

Hi Ivan,

> 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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-19 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-11  8:48 bug#53183: python-xdo: Fails to build (failing sanity check) Ivan Vilata i Balaguer
2022-01-19 13:56 ` Lars-Dominik Braun

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).