[Debian-med-packaging] Bug#793512: htslib: FTBFS on hurd-i386: 'PATH_MAX' undeclared

Aaron M. Ucko ucko at debian.org
Fri Jul 24 19:00:52 UTC 2015


Source: htslib
Version: 1.2.1-1
Severity: important

The hurd-i386 build of htslib failed because the Hurd has no hard
limit on path lengths:

cram/cram_index.c: In function 'cram_index_load':
cram/cram_index.c:142:14: error: 'PATH_MAX' undeclared (first use in this function)
     char fn2[PATH_MAX];

I'd suggest conditionally imposing your own limit; I believe 4096 is
traditional.

Thanks!



More information about the Debian-med-packaging mailing list