[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#887945: svxlink: FTBFS on non-Linux: multiple portability issues



Source: svxlink
Version: 15.11-2.1
Severity: important
Justification: fails to build from source
User: debian-hurd@lists.debian.org
Usertags: hurd-i386

Builds of svxlink for kFreeBSD and the Hurd (admittedly not release
architectures) have been failing due to encountering Linuxisms.
Specifically, I see at least the following errors:

  /«PKGBUILDDIR»/src/svxlink/trx/SquelchEvDev.cpp:40:10: fatal error: linux/input.h: No such file or directory

Self-explanatory. ;-)

  /usr/bin/c++  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 --std=c++11  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed CMakeFiles/AsyncAudioIO_demo.dir/AsyncAudioIO_demo.cpp.o  -o AsyncAudioIO_demo -Wl,-rpath,/<<PKGBUILDDIR>>/build/lib /usr/lib/i386-gnu/libsigc-2.0.so ../../lib/libasynccpp.so.1.5.0 ../../lib/libasyncaudio.so.1.5.0 ../../lib/libasynccore.so.1.5.0 /usr/lib/i386-gnu/librt.so /usr/lib/i386-gnu/libsigc-2.0.so -lpthread /usr/lib/i386-gnu/libspeex.so /usr/lib/i386-gnu/libopus.so /usr/lib/i386-gnu/libgsm.so /usr/lib/i386-gnu/libasound.so 
  ../../lib/libasyncaudio.so.1.5.0: undefined reference to `snd_pcm_hw_params_current'
  collect2: error: ld returned 1 exit status
  async/demo/CMakeFiles/AsyncAudioIO_demo.dir/build.make:107: recipe for target 'async/demo/AsyncAudioIO_demo' failed

ALSA is Linux-specific; these architectures instead offer an emulation
library missing some recent (and not so recent?) APIs.

If you can reasonably accommodate these architectures (perhaps by
conditionalizing out any functionality that's not essential to have),
please do so.  Otherwise, please formally restrict the package's
Architecture setting to linux-any so that non-Linux autobuilders don't
bother trying to cover it.

Thanks (and 73s)!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu

Reply to: