[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 it is there but something is not including local_lim.h?

On Mon, Jul 11, 2016 at 8:26 PM Aurelien Jarno <aurelien@aurel32.net> wrote:
On 2016-07-10 18:50, Aaron M. Ucko wrote:
> Craig Small <csmall@debian.org> 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 change was
> even intentional; copying debian-glibc for clarification.

TTBOMK local_lim.h on kfreebsd or hurd has never contained such a
definition (even in 2.19-18+deb8u4), so it hasn't been dropped.

Now we might want to add such a definition. It seems to be 256 on
FreeBSD. I have no idea for Hurd, but I guess it might actually be
dynamic.

Aurelien

--
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

Reply to: