[Freeciv-tickets] [freeciv] #44070: Meson building failing on undeclared getcwd()

Back to archive index
OSDN Ticket System norep****@osdn*****
Fri Mar 11 09:02:32 JST 2022


#44070: Meson building failing on undeclared getcwd()

  Open Date: 2022-03-11 01:51
Last Update: 2022-03-11 02:02

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/44070
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44070

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-03-11 02:02 Updated by: cazfi
 * Status Update from Open to Closed
 * Resolution Update from Accepted to Fixed


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: cazfi
          Type: Bugs
        Status: Closed
      Priority: 9 - Highest
     MileStone: 3.1.0
     Component: General
      Severity: 5 - Medium
    Resolution: Fixed
---------------------------------------------------------------------

Ticket details:

CI build fails:
../utility/fcintl.c: In function ‘get_locale_dir’:
../utility/fcintl.c:124:16: error: implicit declaration of function ‘getcwd’; did you mean ‘getcpu’? (-Werror=implicit-function-declaration)
124 |       cwdbuf = getcwd(NULL, 0);
As it works in autotools build, I assume that necessary includes are there. But likely guarded by availability check that meson doesn't do, or that fails on meson.
To be treated as an emergency fix.

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/44070
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44070



More information about the Freeciv-tickets mailing list
Back to archive index