Bug#1068076: libssh2: FTBFS on hurd-any

2024-04-07 Thread Nicolas Mora

Hello,

On Sat, 30 Mar 2024 09:55:07 +0100 Mattias Ellert 
 wrote:


The package fails to build on hurd due to the use of MAXPATHEN:

session_fixture.c:231:36: error: ‘MAXPATHLEN’ undeclared (first use in
this function)
  231 | static char filepath[NUMPATHS][MAXPATHLEN];
  |^~

PATH_MAX and MAXPATHLEN are on purpose not defined on hurd.



I think the best way is to forward to upstream.

Are there any alternatives to MAXPATHLEN on Hurd or any workaround you 
know of?


/Nicolas



Bug#1068076: libssh2: FTBFS on hurd-any

2024-03-30 Thread Mattias Ellert
source: libssh2
version: 1.11.0-1
severity: important

The package fails to build on hurd due to the use of MAXPATHEN:

session_fixture.c:231:36: error: ‘MAXPATHLEN’ undeclared (first use in
this function)
  231 | static char filepath[NUMPATHS][MAXPATHLEN];
  |^~

PATH_MAX and MAXPATHLEN are on purpose not defined on hurd.

Mattias

PS. This currently blocks all packages that depend on libssh2 to be
rebuilt for the lngoing  64 bit time_t transition.



signature.asc
Description: This is a digitally signed message part