GNU bug report logs - #57134
[PATCH] powerpc64le: gst-plugins-good build link error on aalib (libgstaasink.so)

Previous Next

Package: guix;

Reported by: Marcel van der Boom <marcel <at> van-der-boom.nl>

Date: Thu, 11 Aug 2022 07:20:02 UTC

Severity: normal

Done: Marcel van der Boom <marcel <at> van-der-boom.nl>

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 57134 in the body.
You can then email your comments to 57134 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#57134; Package guix. (Thu, 11 Aug 2022 07:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marcel van der Boom <marcel <at> van-der-boom.nl>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 11 Aug 2022 07:20:02 GMT) Full text and rfc822 format available.

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

From: Marcel van der Boom <marcel <at> van-der-boom.nl>
To: bug-guix <at> gnu.org
Subject: powerpc64le: gst-plugins-good build link error on aalib
 (libgstaasink.so)
Date: Thu, 11 Aug 2022 09:13:32 +0200
Building gst-plugins-good on powerpc64le (Talos II machine) 
produces a link error related to aalib.

Commenting out the 'aalib' input makes the build succeed.

Relevant snippet from the build log below.

--8<---------------cut here---------------start------------->8---
[444/851] Linking target ext/aalib/libgstaasink.so
FAILED: ext/aalib/libgstaasink.so
gcc  -o ext/aalib/libgstaasink.so 
ext/aalib/libgstaasink.so.p/gstaasink.c.o 
ext/aalib/libgstaasink.so.p/gstaatv.c.o -Wl,--as-needed 
-Wl,--no-undefined -shared -fPIC -Wl,--start-group 
-Wl,-soname,libgstaasink.so -Wl,-Bsymbolic-functions 
-Wl,-rpath=/gnu/store/ypfbdcb16s2mir7x51hv0jckcq8rl15b-gst-plugins-good-1.18.5/lib 
/gnu/store/3zfl42ll99vhf8dg1na6vwp7iqn2439q-gst-plugins-base-1.18.5/lib/libgstvideo-1.0.so 
/gnu/store/s4hh37b9z35ik9mv5vsxyfdx4pdi84py-gstreamer-1.18.5/lib/libgstbase-1.0.so 
/gnu/store/s4hh37b9z35ik9mv5vsxyfdx4pdi84py-gstreamer-1.18.5/lib/libgstreamer-1.0.so 
/gnu/store/3d194piqkas8gv66qa9hawa6qa115i6a-glib-2.70.2/lib/libgobject-2.0.so 
/gnu/store/3d194piqkas8gv66qa9hawa6qa115i6a-glib-2.70.2/lib/libglib-2.0.so 
-laa -Wl,--end-group
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aarender.o): 
in function `aa_renderpalette':
(.text+0x798): undefined reference to `pow'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurses.o):(.text+0xe8): 
undefined reference to `curs_set'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurses.o):(.text+0x130): 
undefined reference to `wrefresh'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurses.o):(.text+0x18c): 
undefined reference to `wmove'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurses.o):(.text+0x1d4): 
undefined reference to `waddnstr'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurses.o): 
in function `curses_init':
(.text+0x250): undefined reference to `initscr'
ld: (.text+0x27c): undefined reference to `termattrs'
ld: (.text+0x2d4): undefined reference to `intrflush'
ld: (.text+0x344): undefined reference to `wclear'
ld: (.text+0x354): undefined reference to `intrflush'
ld: (.text+0x360): undefined reference to `wrefresh'
ld: (.text+0x3a4): undefined reference to `endwin'
ld: (.text+0x46c): undefined reference to `wclear'
ld: (.text+0x47c): undefined reference to `intrflush'
ld: (.text+0x488): undefined reference to `wrefresh'
ld: (.text+0x50c): undefined reference to `endwin'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurses.o):(.toc+0x0): 
undefined reference to `stdscr'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurkbd.o):(.text+0x2c): 
undefined reference to `nodelay'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurkbd.o):(.text+0x70): 
undefined reference to `wgetch'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurkbd.o):(.text+0x104): 
undefined reference to `nodelay'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurkbd.o):(.text+0x224): 
undefined reference to `initscr'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurkbd.o):(.text+0x254): 
undefined reference to `cbreak'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurkbd.o):(.text+0x25c): 
undefined reference to `noecho'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurkbd.o):(.text+0x264): 
undefined reference to `nonl'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurkbd.o):(.text+0x27c): 
undefined reference to `keypad'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurkbd.o):(.text+0x330): 
undefined reference to `keypad'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurkbd.o):(.text+0x340): 
undefined reference to `nodelay'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurkbd.o):(.text+0x358): 
undefined reference to `nocbreak'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurkbd.o):(.text+0x360): 
undefined reference to `echo'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurkbd.o):(.text+0x370): 
undefined reference to `nl'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurkbd.o):(.text+0x3a8): 
undefined reference to `intrflush'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurkbd.o):(.text+0x3b4): 
undefined reference to `wclear'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurkbd.o):(.text+0x3c0): 
undefined reference to `wrefresh'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurkbd.o):(.text+0x3dc): 
undefined reference to `endwin'
ld: 
/gnu/store/xq3kvsvfmbi1hlr6ilpcw8zi7ylxnvl6-aalib-1.4rc5/lib/../lib/libaa.a(aacurkbd.o):(.toc+0x0): 
undefined reference to `stdscr'
collect2: error: ld returned 1 exit status
--8<---------------cut here---------------end--------------->8---







Information forwarded to bug-guix <at> gnu.org:
bug#57134; Package guix. (Mon, 16 Jan 2023 11:20:02 GMT) Full text and rfc822 format available.

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

From: Marcel van der Boom <marcel <at> van-der-boom.nl>
To: 57134 <at> debbugs.gnu.org
Cc: Marcel van der Boom <marcel <at> van-der-boom.nl>
Subject: [PATCH] FIX: Skip `aalib' input on target ppc64le
Date: Mon, 16 Jan 2023 12:19:28 +0100
	* gstreamer.scm (gst-plugins-good):
	skip aalib input on ppc64le

Linker errors out for unknown reasons. The ascii art is imho not important
enough to skip the whole package from being included for ppc64le.
---
 gnu/packages/gstreamer.scm | 75 ++++++++++++++++++++------------------
 1 file changed, 39 insertions(+), 36 deletions(-)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 916ab2e990..156ef4eda4 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -687,42 +687,45 @@ (define libsoup
            python-wrapper
            xorg-server-for-tests))
     (inputs
-     (list aalib
-           bzip2
-           cairo
-           flac
-           (librsvg-for-system)
-           glib
-           glib-networking
-           glu
-           gtk+
-           jack-2
-           lame
-           libavc1394
-           libcaca
-           libdv
-           libgudev
-           libiec61883
-           libjpeg-turbo
-           libpng
-           libshout
-           libsoup
-           libvpx
-           libx11
-           libxdamage
-           libxfixes
-           libxext
-           libxshmfence
-           mesa
-           mpg123
-           orc
-           pulseaudio
-           speex
-           taglib
-           twolame
-           v4l-utils
-           wavpack
-           zlib))
+     (append
+      ;; linking aalib on ppc64le errors out;
+      ;; ascii isn't that important to skip the whole package for it.
+      (if (not target-ppc64le?) (list aalib) '())
+      (list bzip2
+            cairo
+            flac
+            (librsvg-for-system)
+            glib
+            glib-networking
+            glu
+            gtk+
+            jack-2
+            lame
+            libavc1394
+            libcaca
+            libdv
+            libgudev
+            libiec61883
+            libjpeg-turbo
+            libpng
+            libshout
+            libsoup
+            libvpx
+            libx11
+            libxdamage
+            libxfixes
+            libxext
+            libxshmfence
+            mesa
+            mpg123
+            orc
+            pulseaudio
+            speex
+            taglib
+            twolame
+            v4l-utils
+            wavpack
+            zlib)))
     (propagated-inputs
      (list gstreamer gst-plugins-base))
     (synopsis "GStreamer plugins and helper libraries")
-- 
2.38.1





Changed bug title to '[PATCH] powerpc64le: gst-plugins-good build link error on aalib (libgstaasink.so)' from 'powerpc64le: gst-plugins-good build link error on aalib (libgstaasink.so)' Request was from Marcel van der Boom <marcel <at> van-der-boom.nl> to control <at> debbugs.gnu.org. (Mon, 16 Jan 2023 13:38:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#57134; Package guix. (Mon, 24 Apr 2023 07:59:01 GMT) Full text and rfc822 format available.

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

From: Marcel van der Boom <marcel <at> van-der-boom.nl>
To: 57134 <at> debbugs.gnu.org
Date: Mon, 24 Apr 2023 09:51:23 +0200
This has been resolved with the 1.22.2 update.

close
quit




Information forwarded to bug-guix <at> gnu.org:
bug#57134; Package guix. (Mon, 24 Apr 2023 12:29:01 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Marcel van der Boom <marcel <at> van-der-boom.nl>
Cc: GNU Debbugs <control <at> debbugs.gnu.org>, 57134 <at> debbugs.gnu.org
Subject: Re: bug#57134: (no subject)
Date: Mon, 24 Apr 2023 08:28:29 -0400
done
quit

Hello,

Marcel van der Boom <marcel <at> van-der-boom.nl> writes:

> This has been resolved with the 1.22.2 update.
>
> close
> quit

I think to get these Debbugs control commands to work, you need to CC
control <at> debbugs.gnu.org and have the commands appear at the top of the
email body :-).

Otherwise, you can also reply to 57134-done <at> debbugs.gnu.org as a
shortcut.

-- 
Thanks,
Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#57134; Package guix. (Mon, 24 Apr 2023 13:38:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: control <at> debbugs.gnu.org (GNU bug tracker automated control server)
Cc: 57134 <at> debbugs.gnu.org
Subject: Closing (2nd attempt)
Date: Mon, 24 Apr 2023 09:37:14 -0400
close 57134
quit

2nd close attempt :-)

-- 
Thanks,
Maxim




bug closed, send any further explanations to 57134 <at> debbugs.gnu.org and Marcel van der Boom <marcel <at> van-der-boom.nl> Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 24 Apr 2023 13:38:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#57134; Package guix. (Mon, 24 Apr 2023 14:15:01 GMT) Full text and rfc822 format available.

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

From: Marcel van der Boom <marcel <at> van-der-boom.nl>
To: 57134 <at> debbugs.gnu.org
Cc: GNU Debbugs <control <at> debbugs.gnu.org>
Date: Mon, 24 Apr 2023 16:11:05 +0200
reopen 57134
quit

Apologies for the noise. I had a manifest in place working around 
the bug, but unfortunately the bug is still there.







Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 24 Apr 2023 14:15:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#57134; Package guix. (Thu, 31 Aug 2023 04:50:01 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Marcel van der Boom <marcel <at> van-der-boom.nl>
Cc: 57134 <at> debbugs.gnu.org
Subject: Re: bug#57134: [PATCH] powerpc64le: gst-plugins-good build link
 error on aalib (libgstaasink.so)
Date: Thu, 31 Aug 2023 00:49:27 -0400
Hi Marcel,

Marcel van der Boom <marcel <at> van-der-boom.nl> writes:

> 	* gstreamer.scm (gst-plugins-good):
> 	skip aalib input on ppc64le

I managed to find the root issue in aalib and sent a patch fixing it in
https://issues.guix.gnu.org/65646.

-- 
Thanks,
Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#57134; Package guix. (Tue, 26 Sep 2023 11:23:01 GMT) Full text and rfc822 format available.

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

From: Marcel van der Boom <marcel <at> van-der-boom.nl>
To: 57134 <at> debbugs.gnu.org
Cc: control <at> debbugs.gnu.org
Subject: [PATCH] powerpc64le: gst-plugins-good build link error on aalib
 (libgstaasink.so)
Date: Tue, 26 Sep 2023 13:17:04 +0200
close 57134
quit

This is fixed with 
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=fafd3caef0d51811a5da81d6061789e2908b0dac

See: https://issues.guix.gnu.org/65646




bug closed, send any further explanations to 57134 <at> debbugs.gnu.org and Marcel van der Boom <marcel <at> van-der-boom.nl> Request was from Marcel van der Boom <marcel <at> van-der-boom.nl> to control <at> debbugs.gnu.org. (Tue, 26 Sep 2023 11:23:01 GMT) Full text and rfc822 format available.

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

bug unarchived. Request was from "Suhail Singh" <suhailsingh247 <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 06 Dec 2024 17:10:02 GMT) Full text and rfc822 format available.

bug archived. Request was from "Suhail Singh" <suhailsingh247 <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 06 Dec 2024 17:10:02 GMT) Full text and rfc822 format available.

This bug report was last modified 177 days ago.

Previous Next


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