unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#64340: libsigrokdecode: check phase fails
@ 2023-06-28 21:59 Christopher Howard
  2023-08-27  2:23 ` 宋文武 via Bug reports for GNU Guix
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Howard @ 2023-06-28 21:59 UTC (permalink / raw)
  To: 64340

[-- Attachment #1: Type: text/plain, Size: 1870 bytes --]

I am trying to install pulseview, but libsigrokdecode fails to build, dying at the check phase. It appears to be a dependency-related issue - test programs cannot build do to undefined functions.

```
ld: ./.libs/libsigrokdecode.so: undefined reference to `PyList_Insert'
ld: ./.libs/libsigrokdecode.so: undefined reference to `PyModule_AddObject'
ld: ./.libs/libsigrokdecode.so: undefined reference to `PySys_GetObject'
<<<snip>>>
ld: ./.libs/libsigrokdecode.so: undefined reference to `PyUnicode_AsUTF8String'
ld: ./.libs/libsigrokdecode.so: undefined reference to `Py_IsInitialized'
ld: ./.libs/libsigrokdecode.so: undefined reference to `PyDict_New'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:751: tests/main] Error 1
make: *** [Makefile:1353: check-am] Error 2

Test suite failed, dumping logs.
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("check" "-j" "4") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `check' failed after 0.5 seconds
command "make" "check" "-j" "4" failed with status 2
```

Full build log is attached.

I see an open bug at <https://issues.guix.gnu.org/63971>, but I'm not sure if this is the same issue or not.

Here is my system information:

```
christopher@theoden 
------------------- 
OS: Guix System x86_64 
Host: OptiPlex 9020 00 
Kernel: 5.15.112-gnu 
Uptime: 35 days, 7 hours, 37 mins 
Packages: 93 (guix-system), 191 (guix-user) 
Shell: bash 5.1.16 
Resolution: 1920x1080 
DE: GNOME 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: shepherd 
CPU: Intel i5-4570 (4) @ 3.600GHz 
GPU: AMD ATI Radeon HD 8490 / R5 235X OEM 
GPU: Intel HD Graphics 
Memory: 5121MiB / 7867MiB 
```

-- 
📛 Christopher Howard
🚀 gemini://gem.librehacker.com
🌐 http://gem.librehacker.com

בראשית ברא אלהים את השמים ואת הארץ

[-- Attachment #2: q4zz8n8hi0pjhzbwd8s75zr6pvbg6i-libsigrokdecode-0.5.3.drv.gz --]
[-- Type: application/x-gunzip, Size: 11737 bytes --]

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

* bug#64340: libsigrokdecode: check phase fails
  2023-06-28 21:59 bug#64340: libsigrokdecode: check phase fails Christopher Howard
@ 2023-08-27  2:23 ` 宋文武 via Bug reports for GNU Guix
  0 siblings, 0 replies; 2+ messages in thread
From: 宋文武 via Bug reports for GNU Guix @ 2023-08-27  2:23 UTC (permalink / raw)
  To: Christopher Howard; +Cc: 64340-done

Christopher Howard <christopher@librehacker.com> writes:

> I am trying to install pulseview, but libsigrokdecode fails to build,
> dying at the check phase. It appears to be a dependency-related issue
> - test programs cannot build do to undefined functions.
>
> ```
> ld: ./.libs/libsigrokdecode.so: undefined reference to `PyList_Insert'
> ld: ./.libs/libsigrokdecode.so: undefined reference to `PyModule_AddObject'
> ld: ./.libs/libsigrokdecode.so: undefined reference to `PySys_GetObject'
> <<<snip>>>
> ld: ./.libs/libsigrokdecode.so: undefined reference to `PyUnicode_AsUTF8String'
> ld: ./.libs/libsigrokdecode.so: undefined reference to `Py_IsInitialized'
> ld: ./.libs/libsigrokdecode.so: undefined reference to `PyDict_New'
> collect2: error: ld returned 1 exit status
> make[1]: *** [Makefile:751: tests/main] Error 1
> make: *** [Makefile:1353: check-am] Error 2
>
> Test suite failed, dumping logs.
> error: in phase 'check': uncaught exception:
> %exception #<&invoke-error program: "make" arguments: ("check" "-j"
> "4") exit-status: 2 term-signal: #f stop-signal: #f>
> phase `check' failed after 0.5 seconds
> command "make" "check" "-j" "4" failed with status 2
> ```
>
> Full build log is attached.
>
> I see an open bug at <https://issues.guix.gnu.org/63971>, but I'm not sure if this is the same issue or not.
>

Thanks for the report, and I had fixed it by apply update for
libsigrokdecode from 63971.

Closing!




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

end of thread, other threads:[~2023-08-27  2:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-28 21:59 bug#64340: libsigrokdecode: check phase fails Christopher Howard
2023-08-27  2:23 ` 宋文武 via Bug reports for GNU Guix

Code repositories for project(s) associated with this public 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).