Bug#712894: redeclipse: FTBFS on hurd-i386: missing link to rt

Pino Toscano pino at debian.org
Thu Jun 20 15:54:56 UTC 2013


Source: redeclipse
Version: 1.4-4
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd
Control: forwarded -1 https://sourceforge.net/apps/trac/redeclipse/ticket/546

Hi,

redeclipse fails to compile on GNU/Hurd[1].

The problem is that, when libc provides the _POSIX_SHARED_MEMORY_OBJECTS
define, shm_* is used, which is implemented in librt (currently linked
only on Linux).

Easy fix, which is also what I reported upstream[2], is to link to rt
when the platform string contains "GNU" (i.e. on GNU-based OSes, which
are using GNU libc). Patch attached here too.

[1] https://buildd.debian.org/status/fetch.php?pkg=redeclipse&arch=hurd-i386&ver=1.4-4%2Bb1&stamp=1371254602
[2] https://sourceforge.net/apps/trac/redeclipse/ticket/546

Thanks,
-- 
Pino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnu-link-rt.diff
Type: text/x-diff
Size: 234 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20130620/b986148a/attachment.diff>


More information about the Pkg-games-devel mailing list