Bug#663963: leafnode: Fails to build on Hurd
Hi Matthias, Sorry for the delay, but I've been away. On Wed, 25 April 2012, you wrote: > Does Hurd support pathconf("/var/spool/news", _PC_PATH_MAX)? It does, but... > Which value does it return? ...it returns -1. I'm confident, that we (me and/or someone from the hurd porters) will provide a patch. As it is no pressing matter, given that neither experimental nor the Hurd influence the release, it may take a while. Regards, Robert signature.asc Description: Digital signature
Bug#663963: leafnode: Fails to build on Hurd
Does Hurd support pathconf("/var/spool/news", _PC_PATH_MAX)? Which value does it return? Does Hurd return a value no smaller than _POSIX_PATH_MAX (256)? I might consider replacing PATH_MAX by a pathconf all to the spool directory for systems where PATH_MAX is missing, because that is covered by POSIX -- but if the Hurd requires application programmers to jump through hoops because the Hurd violates POSIX, you'll need to get along without the upstream support. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#663963: leafnode: Fails to build on Hurd
Package: leafnode Version: 2.0.0.alpha20090406a-1 Severity: important Dear Maintainer, this is probably not new to you: the new leafnode fails to build on hurd. make[2]: Entering directory `/build/buildd-leafnode_2.0.0.alpha20090406a-1-hurd-i386-UMWKXX/leafnode-2.0.0.alpha20090406a' gcc -DHAVE_CONFIG_H -I. -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -Wformat=2 -ggdb -fno-common -Wsequence-point -Wswitch -Wunused -Wuninitialized -Wundef -MT activutil.o -MD -MP -MF .deps/activutil.Tpo -c -o activutil.o activutil.c activutil.c: In function 'writeactive': activutil.c:264: error: 'PATH_MAX' undeclared (first use in this function) activutil.c:264: error: (Each undeclared identifier is reported only once activutil.c:264: error: for each function it appears in.) activutil.c: In function 'readactive': activutil.c:453: error: 'PATH_MAX' undeclared (first use in this function) The problem seems to be the following definition in leafnode.h: /*@constant int LN_PATH_MAX;@*/ #define LN_PATH_MAX (PATH_MAX + 1) It assumes that PATH_MAX is defined. According to http://www.gnu.org/software/hurd/community/gsoc/project_ideas/maxpath.html one can not assume that this is the case. I suggest to contact Samuel Thibault, he's very cooperative when solving these kind of problems. Thanks, Hilmar -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 3.2.0-2-686-pae (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8) Shell: /bin/sh linked to /bin/bash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org