powerpc64le: gst-plugins-good build link error on aalib (libgstaasink.so)
(address . bug-guix@gnu.org)
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.
Toggle snippet (103 lines)
[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