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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to