On Fri, Feb 3, 2017 at 3:29 PM, Daniel Kahn Gillmor
<[email protected]> wrote:
> Package: libreswan
> Version: 3.19-2
> X-Debbugs-Cc: [email protected], [email protected]
>
> Hi Debian x32 builders--
>
> I note that libreswan is failing to build from source on the x32
> platform due to a missing sys/time.h:
>
> https://buildd.debian.org/status/fetch.php?pkg=libreswan&arch=x32&ver=3.19-2&stamp=1486146097&raw=0
>
> …
> /<<PKGBUILDDIR>>/linux/include/libreswan.h:44:22: fatal error: sys/time.h: No 
> such file or directory
>  #include <sys/time.h>
>                       ^
>
> the code in linux/include/libreswan.h is just:
>
>      42 #if !defined(__KERNEL__)
>      43
>      44 #include <sys/time.h>
>      45 #include <time.h>
>      46
>
> It builds on other debian platforms without a problem.  Is something
> significantly different on x32 that we should know about?

It's trying to build with -m64, which would be a cross build for amd64
rather than a native build for x32.  (So, the immediate symptom is
caused by the compiler looking for sys/time.h in
/usr/include/x86_64-linux-gnu and not finding it there because
libc6-dev-amd64 isn't installed.)
-- 
Daniel

Reply via email to