Package: global
Version: 6.5.5-1
Severity: normal

Saving this as a bug to avoid it getting forgotten.

Wookey noted:
global fails to build on hurd:
https://buildd.debian.org/status/fetch.php?pkg=global&arch=hurd-i386&ver=6.5.5-1&stamp=1481673154

Punit replied:
This one has interesting back story - there has been a patch for this
issue after v6.4. See below -

% cvs diff -r 1.104 -r 1.105 find.c
Index: find.c
===================================================================
RCS file: /sources/global/global/libutil/find.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -r1.104 -r1.105
3c3,4
<  *    2009, 2011, 2012, 2014, 2015 Tama Communications Corporation
---
>  *    2009, 2011, 2012, 2014, 2015, 2016
>  * Tama Communications Corporation
81c82,86
<
---
> #ifndef PATH_MAX
> #error Since this platform does not have PATH_MAX, you should define it
> #error using an appropriate value for the platform.
> /* #define PATH_MAX     1024 */
> #endif

Further investigation led me to [0][1]. I am tempted to un-comment the
#define as a temporary fix. A proper fix will need re-writing PATH_MAX
usage upstream.

[0] https://www.gnu.org/software/hurd/community/gsoc/project_ideas/maxpath.html
[1] https://www.gnu.org/software/hurd/hurd/porting/guidelines.html
(Search for PATH_MAX)

Reply via email to