-
Notifications
You must be signed in to change notification settings - Fork 589
Closed
Description
Describe the bug
When building libssh2 on hurd* systems, the tests fail to build because MAXPATHLEN
is not defined on those systems:
session_fixture.c:231:36: error: ‘MAXPATHLEN’ undeclared (first use in
this function)
231 | static char filepath[NUMPATHS][MAXPATHLEN];
| ^~~~~~~~~~
See Debian build logs on hurd-i386
Version (please complete the following information):
- OS and version: Debian hurd i386 and Debian hurd amd64
- libssh2 version: 1.11.0
- crypto backend and version: OpenSSL 3.2.2
Additional context
The build issue is in the test file tests/session_fixture.c
The bug open in debian is #1068076