[Pkg-giraffe-maintainers] Bug#875456: Bug#875456: libvmime: FTBFS on non-Linux: no getThreadId implementation
Guido Günther
agx at sigxcpu.org
Wed Sep 13 18:04:40 UTC 2017
Hi,
On Tue, Sep 12, 2017 at 09:12:40PM -0400, Aaron M. Ucko wrote:
> "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 .
Can you send a patch tested on hurd?
-- Guido
More information about the Pkg-giraffe-maintainers
mailing list