unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#57134: powerpc64le: gst-plugins-good build link error on aalib (libgstaasink.so)
@ 2022-08-11  7:13 Marcel van der Boom
  2023-01-16 11:19 ` bug#57134: [PATCH] FIX: Skip `aalib' input on target ppc64le Marcel van der Boom
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Marcel van der Boom @ 2022-08-11  7:13 UTC (permalink / raw)
  To: 57134


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---







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

* bug#57134: [PATCH] FIX: Skip `aalib' input on target ppc64le
  2022-08-11  7:13 bug#57134: powerpc64le: gst-plugins-good build link error on aalib (libgstaasink.so) Marcel van der Boom
@ 2023-01-16 11:19 ` Marcel van der Boom
  2023-08-31  4:49   ` bug#57134: [PATCH] powerpc64le: gst-plugins-good build link error on aalib (libgstaasink.so) Maxim Cournoyer
  2023-04-24  7:51 ` bug#57134: (no subject) Marcel van der Boom
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 8+ messages in thread
From: Marcel van der Boom @ 2023-01-16 11:19 UTC (permalink / raw)
  To: 57134; +Cc: Marcel van der Boom

	* 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





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

* bug#57134: (no subject)
  2022-08-11  7:13 bug#57134: powerpc64le: gst-plugins-good build link error on aalib (libgstaasink.so) Marcel van der Boom
  2023-01-16 11:19 ` bug#57134: [PATCH] FIX: Skip `aalib' input on target ppc64le Marcel van der Boom
@ 2023-04-24  7:51 ` Marcel van der Boom
  2023-04-24 12:28   ` Maxim Cournoyer
  2023-04-24 14:11 ` bug#57134: (no subject) Marcel van der Boom
  2023-09-26 11:17 ` bug#57134: [PATCH] powerpc64le: gst-plugins-good build link error on aalib (libgstaasink.so) Marcel van der Boom
  3 siblings, 1 reply; 8+ messages in thread
From: Marcel van der Boom @ 2023-04-24  7:51 UTC (permalink / raw)
  To: 57134


This has been resolved with the 1.22.2 update.

close
quit




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

* bug#57134: (no subject)
  2023-04-24  7:51 ` bug#57134: (no subject) Marcel van der Boom
@ 2023-04-24 12:28   ` Maxim Cournoyer
       [not found]     ` <handler.s.C.16823393206810.transcript@debbugs.gnu.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Maxim Cournoyer @ 2023-04-24 12:28 UTC (permalink / raw)
  To: Marcel van der Boom; +Cc: GNU Debbugs, 57134

done
quit

Hello,

Marcel van der Boom <marcel@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@debbugs.gnu.org and have the commands appear at the top of the
email body :-).

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

-- 
Thanks,
Maxim




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

* bug#57134: Closing (2nd attempt)
       [not found]     ` <handler.s.C.16823393206810.transcript@debbugs.gnu.org>
@ 2023-04-24 13:37       ` Maxim Cournoyer
  0 siblings, 0 replies; 8+ messages in thread
From: Maxim Cournoyer @ 2023-04-24 13:37 UTC (permalink / raw)
  To: GNU bug tracker automated control server; +Cc: 57134

close 57134
quit

2nd close attempt :-)

-- 
Thanks,
Maxim




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

* bug#57134: (no subject)
  2022-08-11  7:13 bug#57134: powerpc64le: gst-plugins-good build link error on aalib (libgstaasink.so) Marcel van der Boom
  2023-01-16 11:19 ` bug#57134: [PATCH] FIX: Skip `aalib' input on target ppc64le Marcel van der Boom
  2023-04-24  7:51 ` bug#57134: (no subject) Marcel van der Boom
@ 2023-04-24 14:11 ` Marcel van der Boom
  2023-09-26 11:17 ` bug#57134: [PATCH] powerpc64le: gst-plugins-good build link error on aalib (libgstaasink.so) Marcel van der Boom
  3 siblings, 0 replies; 8+ messages in thread
From: Marcel van der Boom @ 2023-04-24 14:11 UTC (permalink / raw)
  To: 57134; +Cc: GNU Debbugs


reopen 57134
quit

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







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

* bug#57134: [PATCH] powerpc64le: gst-plugins-good build link error on aalib (libgstaasink.so)
  2023-01-16 11:19 ` bug#57134: [PATCH] FIX: Skip `aalib' input on target ppc64le Marcel van der Boom
@ 2023-08-31  4:49   ` Maxim Cournoyer
  0 siblings, 0 replies; 8+ messages in thread
From: Maxim Cournoyer @ 2023-08-31  4:49 UTC (permalink / raw)
  To: Marcel van der Boom; +Cc: 57134

Hi Marcel,

Marcel van der Boom <marcel@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




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

* bug#57134: [PATCH] powerpc64le: gst-plugins-good build link error on aalib (libgstaasink.so)
  2022-08-11  7:13 bug#57134: powerpc64le: gst-plugins-good build link error on aalib (libgstaasink.so) Marcel van der Boom
                   ` (2 preceding siblings ...)
  2023-04-24 14:11 ` bug#57134: (no subject) Marcel van der Boom
@ 2023-09-26 11:17 ` Marcel van der Boom
  3 siblings, 0 replies; 8+ messages in thread
From: Marcel van der Boom @ 2023-09-26 11:17 UTC (permalink / raw)
  To: 57134; +Cc: control

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




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

end of thread, other threads:[~2023-09-26 11:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-11  7:13 bug#57134: powerpc64le: gst-plugins-good build link error on aalib (libgstaasink.so) Marcel van der Boom
2023-01-16 11:19 ` bug#57134: [PATCH] FIX: Skip `aalib' input on target ppc64le Marcel van der Boom
2023-08-31  4:49   ` bug#57134: [PATCH] powerpc64le: gst-plugins-good build link error on aalib (libgstaasink.so) Maxim Cournoyer
2023-04-24  7:51 ` bug#57134: (no subject) Marcel van der Boom
2023-04-24 12:28   ` Maxim Cournoyer
     [not found]     ` <handler.s.C.16823393206810.transcript@debbugs.gnu.org>
2023-04-24 13:37       ` bug#57134: Closing (2nd attempt) Maxim Cournoyer
2023-04-24 14:11 ` bug#57134: (no subject) Marcel van der Boom
2023-09-26 11:17 ` bug#57134: [PATCH] powerpc64le: gst-plugins-good build link error on aalib (libgstaasink.so) Marcel van der Boom

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).