Bug#671894: libkml: FTBFS on hurd-i386

Pino Toscano pino at debian.org
Mon May 7 21:44:31 UTC 2012

Package: libkml
Version: 1.3.0~r863-4
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd


currently[1], libkml does not compile on GNU/Hurd.

There are two problems (fixed by the attached hurd.diff patch):
- third_party/googletest-r108/src/gtest-filepath.cc:
  unconditional PATH_MAX usage; patched with a simple #define, since
  the code is just an (old) copy of google-test (and newer versions of
  gtest compile fine on Hurd)
- configure.ac:
  set PLATFORM=linux (as done also by kFreeBSD) to properly link to
  java and python stuff

Note the patch must be put in debian/patches/series right after
kfreebsd.diff and before automake.diff, and reautoconfiscated.diff has
to be updated (in configure).

[1] https://buildd.debian.org/status/fetch.php?pkg=libkml&arch=hurd-i386&ver=1.3.0%7Er863-4&stamp=1331819200

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hurd.diff
Type: text/x-diff
Size: 545 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20120507/82abe725/attachment.diff>

More information about the Pkg-grass-devel mailing list