[Pkg-giraffe-maintainers] Bug#875456: libvmime: FTBFS on non-Linux: no getThreadId implementation
Aaron M. Ucko
ucko at debian.org
Mon Sep 11 14:16:15 UTC 2017
Source: libvmime
Version: 0.9.2-3
Severity: important
Tags: upstream
Justification: fails to build from source (but built successfully in the past)
Builds of libvmime 0.9.2 for kFreeBSD and the Hurd (admittedly not
release architectures) have been failing:
/«PKGBUILDDIR»/src/vmime/platforms/posix/posixHandler.cpp:243:3: error: #error We have no implementation of getThreadId() for this platform!
I'm not sure offhand if either has anything quite like Linux's gettid,
but perhaps pthread_self can suffice for libvmime's purposes. (If so,
you'd want to widen getThreadId's return type to uintptr_t and cast
pthread_self's return value accordingly.)
Could you please take a look?
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/?amu@monk.mit.edu
More information about the Pkg-giraffe-maintainers
mailing list