[Pkg-giraffe-maintainers] Bug#875456: libvmime: FTBFS on non-Linux: no getThreadId implementation

Aaron M. Ucko ucko at debian.org
Wed Sep 13 01:12:40 UTC 2017


"Aaron M. Ucko" <ucko at debian.org> writes:

>   /«PKGBUILDDIR»/src/vmime/platforms/posix/posixHandler.cpp:243:3: error: #error We have no implementation of getThreadId() for this platform!

Thanks for the quick fix!  Alas, the Hurd build still failed because
Mach has its own API for this functionality:

  /<<PKGBUILDDIR>>/src/vmime/platforms/posix/posixHandler.cpp:244:12: error: 'SYS_thr_self' was not declared in this scope

It looks like it should work to call mach_thread_self() from
<mach/mach_traps.h>.  However, please bear in mind that you'll
then need to pass the result to mach_port_deallocate per
https://bugs.launchpad.net/sbcl/+bug/723581 .

-- 
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



More information about the Pkg-giraffe-maintainers mailing list