[Freeciv-tickets] [freeciv] #46134: 3.1 Mac Meson build client bug

Zurück zum Archiv-Index
OSDN Ticket System norep****@osdn*****
Mon Nov 28 13:42:54 JST 2022


#46134: 3.1 Mac Meson build client bug

  Open Date: 2022-11-27 23:42
Last Update: 2022-11-27 23:42

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

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

Last Changes/Comment on this Ticket:
2022-11-27 23:42 Updated by: ddeanbrown
 * New Ticket "3.1 Mac Meson build client bug" created


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

      Reporter: ddeanbrown
         Owner: (None)
          Type: Bugs
        Status: Open
      Priority: 5 - Medium
     MileStone: 3.1.0-beta1
     Component: Bootstrap
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

Spun off from my testing in https://osdn.net/projects/freeciv/ticket/44549
The clients built on Mac with Meson fail to find downloaded rulesets in ~/.freeciv/3.1
Clients built with autotools are OK. Maybe *nix Meson builds have the same bug.
I suspect it's something in the chain starting in meson.build has get_option('datadir') and priv_conf_data.set('DEFAULT_DATA_PATH'... , then build/fc_config.h has
#define DEFAULT_DATA_PATH ".:data:/3.1:/Applications/Freeciv.app/Contents/share/freeciv" (which I'm not sure is correct), and then shared.c has
data_dir_names = base_get_dirs(NULL != path ? path : DEFAULT_DATA_PATH);
I was able to work around similar path problems by setting environment variable values for FREECIV_DATA_PATH, FREECIV_SAVE_PATH & FREECIV_SCENARIO_PATH at run time, but not this one. If this one is fixed, might not need to set those environment variables.

-- 
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/46134
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46134



More information about the Freeciv-tickets mailing list
Zurück zum Archiv-Index