GNU bug report logs - #64340
libsigrokdecode: check phase fails

Previous Next

Package: guix;

Reported by: Christopher Howard <christopher <at> librehacker.com>

Date: Wed, 28 Jun 2023 22:01:02 UTC

Severity: normal

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64340 in the body.
You can then email your comments to 64340 AT debbugs.gnu.org in the normal way.

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#64340; Package guix. (Wed, 28 Jun 2023 22:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Howard <christopher <at> librehacker.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 28 Jun 2023 22:01:02 GMT) Full text and rfc822 format available.

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

From: Christopher Howard <christopher <at> librehacker.com>
To: Bug Guix <bug-guix <at> gnu.org>
Subject: libsigrokdecode: check phase fails
Date: Wed, 28 Jun 2023 13:59:56 -0800
[Message part 1 (text/plain, inline)]
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 <at> 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

בראשית ברא אלהים את השמים ואת הארץ
[q4zz8n8hi0pjhzbwd8s75zr6pvbg6i-libsigrokdecode-0.5.3.drv.gz (application/x-gunzip, attachment)]

Reply sent to 宋文武 <iyzsong <at> envs.net>:
You have taken responsibility. (Sun, 27 Aug 2023 02:24:02 GMT) Full text and rfc822 format available.

Notification sent to Christopher Howard <christopher <at> librehacker.com>:
bug acknowledged by developer. (Sun, 27 Aug 2023 02:24:02 GMT) Full text and rfc822 format available.

Message #10 received at 64340-done <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: Christopher Howard <christopher <at> librehacker.com>
Cc: 64340-done <at> debbugs.gnu.org
Subject: Re: bug#64340: libsigrokdecode: check phase fails
Date: Sun, 27 Aug 2023 10:23:32 +0800
Christopher Howard <christopher <at> 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!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 24 Sep 2023 11:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 229 days ago.

Previous Next


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