View Issue Details

IDProjectCategoryView StatusLast Update
0007557GNUnetbuild processpublic2023-01-09 09:51
Reporterp-linnane Assigned Toschanzen  
Status resolvedResolutionfixed 
Platformarm64/x86_64OSmacOSOS Version11, 12, 13
Product Version0.19.2 
Target Version0.19.3 
Summary0007557: macOS build failure: undeclared identifier 'LOGIN_NAME_MAX'
DescriptionHello. While trying to package gnunet for Homebrew we are experiencing a build failure. This has been happening for the last few versions. The error is below:

  gnunet-rest-server.c:135:12: error: use of undeclared identifier 'LOGIN_NAME_MAX'
  char cuser[LOGIN_NAME_MAX];
  gnunet-rest-server.c:1210:35: error: use of undeclared identifier 'LOGIN_NAME_MAX'
        if (0 != getlogin_r (cuser, LOGIN_NAME_MAX))
  2 errors generated.

The relevant GitHub Actions run can be found here:
TagsNo tags attached.



2023-01-09 09:49

administrator   ~0019611

Fix committed to master branch.

Related Changesets

gnunet: master 613554cc

2023-01-09 10:45


Details Diff
REST: Use more recent _POSIX_LOGIN_NAME_MAX for portability. Fixes 0007557 Affected Issues
mod - src/rest/gnunet-rest-server.c Diff File

Issue History

Date Modified Username Field Change
2023-01-09 01:54 p-linnane New Issue
2023-01-09 09:49 schanzen Changeset attached => gnunet master 613554cc
2023-01-09 09:49 schanzen Note Added: 0019611
2023-01-09 09:49 schanzen Assigned To => schanzen
2023-01-09 09:49 schanzen Status new => resolved
2023-01-09 09:49 schanzen Resolution open => fixed
2023-01-09 09:51 schanzen Target Version => 0.19.3