#46134: 3.1 Mac Meson build client bug Open Date: 2022-11-28 06:42 Last Update: 2022-12-04 10:58 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-12-04 10:58 Updated by: cazfi * Status Update from Open to Closed * Resolution Update from Accepted to Fixed --------------------------------------------------------------------- Ticket Status: Reporter: ddeanbrown Owner: cazfi Type: Bugs Status: Closed Priority: 5 - Medium MileStone: 3.1.0-beta1 Component: Bootstrap Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- 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