Source: libtgvoip Version: 1.0~git20170704.445433f-2 Severity: important Tags: upstream Justification: fails to build from source
Thanks for taking care of #863116. kFreeBSD builds now succeed, and the build for hurd-i386 (admittedly not a release architecture either) gets farther but still fails: /<<PKGBUILDDIR>>/OpusDecoder.cpp: In member function 'virtual void tgvoip::OpusDecoder::Start()': /<<PKGBUILDDIR>>/threading.h:23:70: error: 'pthread_setname_np' was not declared in this scope #define set_thread_name(thread, name) pthread_setname_np(thread, name) ^ /<<PKGBUILDDIR>>/OpusDecoder.cpp:149:2: note: in expansion of macro 'set_thread_name' set_thread_name(thread, "opus_decoder"); ^~~~~~~~~~~~~~~ Please make set_thread_name a no-op here (__gnu_hurd__), as already done for macOS. You or upstream might consider switching to a whitelist-based approach: #if defined(__linux__) || (defined(__FreeBSD_kernel__) && defined(__GLIBC__)) #define set_thread_name(thread, name) pthread_setname_np(thread, name) #else #define set_thread_name(thread, name) #endif Thanks! -- Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org) http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu