Re: Bug#830734: procps: FTBFS[!linux]: 'HOST_NAME_MAX' undeclared

2016-07-19 Thread Aurelien Jarno
On 2016-07-11 15:13, Aurelien Jarno wrote: > On 2016-07-11 10:48, Craig Small wrote: > > Hi Aurelien, > > Hi, > > > It's definitely there because: > > a) I could compile procps on my kfreebsd jessie setup > > I have just tried to build procps version 2:3.3.12-1 in a kfreebsd > chroot and it

Re: Bug#830734: procps: FTBFS[!linux]: 'HOST_NAME_MAX' undeclared

2016-07-13 Thread Aurelien Jarno
On 2016-07-13 10:18, Craig Small wrote: > On Tue, Jul 12, 2016 at 11:43 PM Aaron M. Ucko wrote: > > > Craig Small writes: > > > > > /usr/include/x86_64-linux-gnu/bits/local_lim.h:#define HOST_NAME_MAX 64 > > > > I just took a closer look and noticed the

Re: Bug#830734: procps: FTBFS[!linux]: 'HOST_NAME_MAX' undeclared

2016-07-13 Thread Craig Small
On Tue, Jul 12, 2016 at 11:43 PM Aaron M. Ucko wrote: > Craig Small writes: > > > /usr/include/x86_64-linux-gnu/bits/local_lim.h:#define HOST_NAME_MAX 64 > > I just took a closer look and noticed the "-linux-" in this path. This > is not a header I would

Re: Bug#830734: procps: FTBFS[!linux]: 'HOST_NAME_MAX' undeclared

2016-07-12 Thread Aaron M. Ucko
Craig Small writes: > /usr/include/x86_64-linux-gnu/bits/local_lim.h:#define HOST_NAME_MAX 64 I just took a closer look and noticed the "-linux-" in this path. This is not a header I would expect kFreeBSD builds to use. -- Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko

Re: Bug#830734: procps: FTBFS[!linux]: 'HOST_NAME_MAX' undeclared

2016-07-12 Thread Craig Small
On Mon, Jul 11, 2016 at 11:13 PM Aurelien Jarno wrote: > Can you tell me which file contains this definition? > >From my reply in the bug report: csmall@freebsd1:~$ grep '[[:space:]]HOST_NAME_MAX[[:space:]]' `find /usr/include -type f`

Re: Bug#830734: procps: FTBFS[!linux]: 'HOST_NAME_MAX' undeclared

2016-07-11 Thread Aurelien Jarno
On 2016-07-11 10:48, Craig Small wrote: > Hi Aurelien, Hi, > It's definitely there because: > a) I could compile procps on my kfreebsd jessie setup I have just tried to build procps version 2:3.3.12-1 in a kfreebsd chroot and it fails the same way: | watch.c: In function 'output_header': |

Re: Bug#830734: procps: FTBFS[!linux]: 'HOST_NAME_MAX' undeclared

2016-07-11 Thread Craig Small
Hi Aurelien, It's definitely there because: a) I could compile procps on my kfreebsd jessie setup b) I could grep for it in the same system c) https://sources.debian.net/src/glibc/2.22-10/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/local_lim.h/?hl=25#L25 It seems very odd it comes and goes, perhaps

Re: Bug#830734: procps: FTBFS[!linux]: 'HOST_NAME_MAX' undeclared

2016-07-11 Thread Aurelien Jarno
On 2016-07-10 18:50, Aaron M. Ucko wrote: > Craig Small writes: > > > local_lim.h is part of libc6-dev version 2.19-18+deb8u4 > > So what version are you using and why did the definition go away? > > unstable has 2.23-1, which dropped this definition on hurd-i386 and >

Re: Bug#830734: procps: FTBFS[!linux]: 'HOST_NAME_MAX' undeclared

2016-07-10 Thread Aaron M. Ucko
Craig Small writes: > local_lim.h is part of libc6-dev version 2.19-18+deb8u4 > So what version are you using and why did the definition go away? unstable has 2.23-1, which dropped this definition on hurd-i386 and kfreebsd-*. It's not clear why it went away, or whether the