[MDEV-12305] MariaDB doesn't compile on Debian GNU Hurd (PATH_MAX issue) Created: 2017-03-20  Updated: 2022-10-20

Status: Open
Project: MariaDB Server
Component/s: Compiling
Affects Version/s: 10.1.22
Fix Version/s: 10.1

Type: Bug Priority: Minor
Reporter: Ondřej Surý (Inactive) Assignee: Vicențiu Ciorbaru
Resolution: Unresolved Votes: 0
Labels: Debian, Hurd
Environment:

Debian GNU Hurd i386



 Description   

MariaDB 10.1.22 doesn't compile on Debian GNU Hurd, because Hurd doesn't have PATH_MAX defined.

A simple

#ifndef PATH_MAX
#define PATH_MAX 4096
#endif

is usually needed to fix the issue.

A full build log is available from here: https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.1&arch=hurd-i386&ver=10.1.22-1&stamp=1490003259&raw=0



 Comments   
Comment by Daniel Black [ 2022-10-20 ]

ref: https://www.gnu.org/software/hurd/hurd/porting/guidelines.html#PATH_MAX_tt_MAX_PATH_tt_MAXPATHL

Generated at Thu Feb 08 07:56:41 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.