Source: jack-capture
Version: 0.9.73-1
Severity: serious
Tags: sid buster

Hi,

jack-capture FTBFS on mips, mipsel and various ports architectures with
the error:
> /tmp/ccZYp8m1.o: In function `print_console':
> ./jack_capture.c:721: undefined reference to `__atomic_load_8'
> ./jack_capture.c:721: undefined reference to `__atomic_load_8'
> /tmp/ccZYp8m1.o: In function `process':
> ./jack_capture.c:1723: undefined reference to `__atomic_load_8'
> ./jack_capture.c:1728: undefined reference to `__atomic_fetch_add_8'
> ./jack_capture.c:1730: undefined reference to `__atomic_load_8'
> ./jack_capture.c:1742: undefined reference to `__atomic_fetch_add_8'
> ./jack_capture.c:1723: undefined reference to `__atomic_load_8'
> ./jack_capture.c:1723: undefined reference to `__atomic_load_8'
> ./jack_capture.c:1728: undefined reference to `__atomic_fetch_add_8'
> ./jack_capture.c:1730: undefined reference to `__atomic_load_8'
> ./jack_capture.c:1742: undefined reference to `__atomic_fetch_add_8'
> ./jack_capture.c:1723: undefined reference to `__atomic_load_8'
> collect2: error: ld returned 1 exit status

This is because jack-capture uses 64-bit atomics which requires the use
of the libatomic helper library on some architectures.

The simple fix is to add "-latomic" to DEB_LDFLAGS_MAINT_APPEND like this:
> export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -latomic

Alternatively you could add the library to the LINKFLAGS variable in the
upstream Makefile.

Thanks,
James

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to