Bug#808173: spu-tools: FTBFS: undefined reference to `get_ctx_sort_field'
Source: spu-tools
Version: 2.3.0.136-1
Severity: serious
Tags: stretch sid
The 2.3.0.136-1+b1 binNMU of spu-tools failed on both powerpc and ppc64:
,----
| gcc -g -Wall -lncurses ctx-info.o spu-info.o proc-info.o general-info.o spu-top.o -o spu-top
| spu-top.o: In function `config_sort':
| /«PKGBUILDDIR»/src/spu-top.c:191: undefined reference to `get_ctx_sort_field'
| /«PKGBUILDDIR»/src/spu-top.c:192: undefined reference to `get_spu_sort_field'
| /«PKGBUILDDIR»/src/spu-top.c:193: undefined reference to `get_proc_sort_field'
| /«PKGBUILDDIR»/src/spu-top.c:210: undefined reference to `set_ctx_sort_field'
| /«PKGBUILDDIR»/src/spu-top.c:211: undefined reference to `set_spu_sort_field'
| /«PKGBUILDDIR»/src/spu-top.c:211: undefined reference to `set_proc_sort_field'
| collect2: error: ld returned 1 exit status
`----
I haven't looked at this in detail, but it is probably due to changed
default inline semantics in gcc-5 (-std=gnu11 vs -std=gnu90).
Note that the package is orphaned[1], unless some powerpc user steps up
to fix the FTBFS bug I will probably turn [1] into an ROQA request since
spu-tools' popcon is _very_ low.
1. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739232
Reply to: