Bug#636510: erlang: FTBFS on hurd-i386

2011-12-24 Thread Sergei Golovan
Hi, Pino! I've just checked (using qemu-kvm image with current sid on GNU/Hurd) that Erlang 1:15.b-dfsg-1 builds fine on hurd-i386. Though I don't know why it doesn't build on a buildd (see https://buildd.debian.org/status/package.php?p=erlang&suite=experimental where it's stalled for more than 8

Bug#636510: erlang: FTBFS on hurd-i386

2011-08-03 Thread Pino Toscano
Alle mercoledì 3 agosto 2011, Sergei Golovan ha scritto: > On Wed, Aug 3, 2011 at 10:30 PM, Pino Toscano wrote: > > There's also a bit of duplication of this code defining MAXPATHLEN > > (and all of them in different ways, even), see: > > - lib/runtime_tools/c_src/trace_file_drv.c > > - lib/erl_in

Bug#636510: erlang: FTBFS on hurd-i386

2011-08-03 Thread Sergei Golovan
On Wed, Aug 3, 2011 at 10:30 PM, Pino Toscano wrote: > > Actually, it seems that MAXPATHLEN is what you describe; see in > erts/emulator/sys/unix/erl_unix_sys.h: > > /* >  * Make sure that MAXPATHLEN is defined. >  */ > [...] > #ifndef MAXPATHLEN > #   ifdef PATH_MAX > #       define MAXPATHLEN PA

Bug#636510: erlang: FTBFS on hurd-i386

2011-08-03 Thread Pino Toscano
Alle mercoledì 3 agosto 2011, Sergei Golovan ha scritto: > > - some PATH_MAX usages, replaced with MAXPATHLEN (which is defined > > in erlang itself, and already used almost everywhere) > > And this part would require special reviewing after every new > upstream release (who knows where PATH_MAX w

Bug#636510: erlang: FTBFS on hurd-i386

2011-08-03 Thread Sergei Golovan
Hi Pino! On Wed, Aug 3, 2011 at 8:40 PM, Pino Toscano wrote: > currently[1], erlang fails to build on hurd-i386. > > There are two problems: > - apparently to the defined AF_LINK does correspond sockaddr_dl, so >  undefine it Seems ok to me. > - some PATH_MAX usages, replaced with MAXPATHLEN (w

Bug#636510: erlang: FTBFS on hurd-i386

2011-08-03 Thread Pino Toscano
Package: erlang Version: 1:14.b.3-dfsg-2 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd Hi, currently[1], erlang fails to build on hurd-i386. There are two problems: - apparently to the defined AF_LINK does correspond sockaddr_dl, so undefine it - some PATH_M