[pkg-wine-party] Bug#833956: wine-development: FTBFS on hurd-i386 and kfreebsd-i386

Jens Reyer jre.winesim at gmail.com
Wed Aug 10 22:38:45 UTC 2016


control: forwarded -1 https://bugs.winehq.org/show_bug.cgi?id=41117

On 10.08.2016 22:41, Pino Toscano wrote:
[...]
> sysinfo(2) is strictly specific to Linux.
[...]
> Headers in sys/ and bits/ usually are implementations for the platform;
> since sys/sysinfo.h is not standard, you cannot assume that it exists
> only on a platform, nor what it provides.  In this case, the upstream
> check is wrong: it should not check for sys/sysinfo.h and assume it's
> a Linux-ish implementation, but either:
> a) just limit the implementation to Linux unconditionally (as in the
>    busybox code
> b) check for sys/sysinfo.h *and* sysinfo() in it
> Considering sysinfo() is not portable anyway, (b) might fail one day
> if a platform provide a different implementation with the same name
> (it's not standard after all).
> 
> Hope it helps -- feel free to ask more.

Thanks a lot, it helped indeed.

I forwarded the issue to upstream for now.

Greets
jre



More information about the pkg-wine-party mailing list