Il 26/02/2013 21:23, Jakub Wilk ha scritto:
> Source: phonetisaurus
> Version: 0.7.8-1
> Severity: improtant
> Tags: patch
> User: [email protected]
> Usertags: hurd
>
> phonetisaurus FTBFS on hurd-i386:
> | g++ -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat
> -Werror=format-security -Wall -I3rdparty/utfcpp -g -O2 -fPIE -fstack-protector
> --param=ssp-buffer-size=4 -Wformat -Werror=format-security
> -D_FORTIFY_SOURCE=2 -c LatticePruner.cpp -o LatticePruner.o
> | In file included from LatticePruner.hpp:34:0,
> | from LatticePruner.cpp:32:
> | util.hpp:36:24: fatal error: mach/clock.h: No such file or directory
> | compilation terminated.
> | make[1]: *** [LatticePruner.o] Error 1
>
> Full build log:
> https://buildd.debian.org/status/fetch.php?pkg=phonetisaurus&arch=hurd-i386&ver=0.7.8-1&stamp=1360791236
>
> This happens because upstream uses the __MACH__ macro to determine if it's a
> Darwin system. However, __MACH__ is defined on Hurd, too. Using the __APPLE__
> macro instead
> should do the trick.
Thank you very much for the patch. I noticed the fail yesterday, just after
opening the RFS bug for 0.7.8-2 and after a little bit of google, I arrived to
the same conclusion.
Did you already try the patch on hurd? I have no hurd and no darwin system
available at the moment.
Bests,
Giulio.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]