pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: meson: Avoid PATH bloat from NLS .mo targets in tmp_install test 5+ messages / 1 participants [nested] [flat]
* pgsql: meson: Avoid PATH bloat from NLS .mo targets in tmp_install test @ 2026-11-01 21:44 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 5+ messages in thread From: Andrew Dunstan @ 2026-11-01 21:44 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org meson: Avoid PATH bloat from NLS .mo targets in tmp_install test On Windows, meson adds the build directory of every target in a test's 'depends:' to that test's PATH. tmp_install depended on installed_targets, which with NLS enabled includes several hundred .mo targets, pushing PATH past the Windows length limit. tmp_install and initdb_cache then failed with no output. Fix by depending on a stamp custom_target that itself depends on installed_targets. Meson doesn't walk a custom_target's dependencies when building the test PATH, so this adds at most one entry. This can be removed once we mandate a meson version containing the upstream fix (expected in 1.13). Reviewed-by: Tristan Partin <tristan@partin.io> Backpatch-through: 16 Discussion: https://postgr.es/m/CAD5tBcJXAX8bz5q9ngE4znvVLiXaPO89D0yTFhJgEPrPyT-Erw@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/799091cde90bc91701c320aa6ddf063118ccb027 Modified Files -------------- meson.build | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: meson: Avoid PATH bloat from NLS .mo targets in tmp_install test @ 2026-11-01 21:44 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 5+ messages in thread From: Andrew Dunstan @ 2026-11-01 21:44 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org meson: Avoid PATH bloat from NLS .mo targets in tmp_install test On Windows, meson adds the build directory of every target in a test's 'depends:' to that test's PATH. tmp_install depended on installed_targets, which with NLS enabled includes several hundred .mo targets, pushing PATH past the Windows length limit. tmp_install and initdb_cache then failed with no output. Fix by depending on a stamp custom_target that itself depends on installed_targets. Meson doesn't walk a custom_target's dependencies when building the test PATH, so this adds at most one entry. This can be removed once we mandate a meson version containing the upstream fix (expected in 1.13). Reviewed-by: Tristan Partin <tristan@partin.io> Backpatch-through: 16 Discussion: https://postgr.es/m/CAD5tBcJXAX8bz5q9ngE4znvVLiXaPO89D0yTFhJgEPrPyT-Erw@mail.gmail.com Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ab5a39e1672e28b59e7699b6d8f461ef9f4b3874 Modified Files -------------- meson.build | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: meson: Avoid PATH bloat from NLS .mo targets in tmp_install test @ 2026-11-01 21:44 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 5+ messages in thread From: Andrew Dunstan @ 2026-11-01 21:44 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org meson: Avoid PATH bloat from NLS .mo targets in tmp_install test On Windows, meson adds the build directory of every target in a test's 'depends:' to that test's PATH. tmp_install depended on installed_targets, which with NLS enabled includes several hundred .mo targets, pushing PATH past the Windows length limit. tmp_install and initdb_cache then failed with no output. Fix by depending on a stamp custom_target that itself depends on installed_targets. Meson doesn't walk a custom_target's dependencies when building the test PATH, so this adds at most one entry. This can be removed once we mandate a meson version containing the upstream fix (expected in 1.13). Reviewed-by: Tristan Partin <tristan@partin.io> Backpatch-through: 16 Discussion: https://postgr.es/m/CAD5tBcJXAX8bz5q9ngE4znvVLiXaPO89D0yTFhJgEPrPyT-Erw@mail.gmail.com Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/82062cbb60f5b519a652a1b82958eccc4cc27d16 Modified Files -------------- meson.build | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: meson: Avoid PATH bloat from NLS .mo targets in tmp_install test @ 2026-11-01 21:44 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 5+ messages in thread From: Andrew Dunstan @ 2026-11-01 21:44 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org meson: Avoid PATH bloat from NLS .mo targets in tmp_install test On Windows, meson adds the build directory of every target in a test's 'depends:' to that test's PATH. tmp_install depended on installed_targets, which with NLS enabled includes several hundred .mo targets, pushing PATH past the Windows length limit. tmp_install and initdb_cache then failed with no output. Fix by depending on a stamp custom_target that itself depends on installed_targets. Meson doesn't walk a custom_target's dependencies when building the test PATH, so this adds at most one entry. This can be removed once we mandate a meson version containing the upstream fix (expected in 1.13). Reviewed-by: Tristan Partin <tristan@partin.io> Backpatch-through: 16 Discussion: https://postgr.es/m/CAD5tBcJXAX8bz5q9ngE4znvVLiXaPO89D0yTFhJgEPrPyT-Erw@mail.gmail.com Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2709ad493ee8c414457e2caf7ad9f8c9f1c97c99 Modified Files -------------- meson.build | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: meson: Avoid PATH bloat from NLS .mo targets in tmp_install test @ 2026-11-01 21:44 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 5+ messages in thread From: Andrew Dunstan @ 2026-11-01 21:44 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org meson: Avoid PATH bloat from NLS .mo targets in tmp_install test On Windows, meson adds the build directory of every target in a test's 'depends:' to that test's PATH. tmp_install depended on installed_targets, which with NLS enabled includes several hundred .mo targets, pushing PATH past the Windows length limit. tmp_install and initdb_cache then failed with no output. Fix by depending on a stamp custom_target that itself depends on installed_targets. Meson doesn't walk a custom_target's dependencies when building the test PATH, so this adds at most one entry. This can be removed once we mandate a meson version containing the upstream fix (expected in 1.13). Reviewed-by: Tristan Partin <tristan@partin.io> Backpatch-through: 16 Discussion: https://postgr.es/m/CAD5tBcJXAX8bz5q9ngE4znvVLiXaPO89D0yTFhJgEPrPyT-Erw@mail.gmail.com Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/294685dcc1b791b7d36030e3314f139fd3a7d012 Modified Files -------------- meson.build | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2026-11-01 21:44 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-11-01 21:44 pgsql: meson: Avoid PATH bloat from NLS .mo targets in tmp_install test Andrew Dunstan <andrew@dunslane.net> 2026-11-01 21:44 pgsql: meson: Avoid PATH bloat from NLS .mo targets in tmp_install test Andrew Dunstan <andrew@dunslane.net> 2026-11-01 21:44 pgsql: meson: Avoid PATH bloat from NLS .mo targets in tmp_install test Andrew Dunstan <andrew@dunslane.net> 2026-11-01 21:44 pgsql: meson: Avoid PATH bloat from NLS .mo targets in tmp_install test Andrew Dunstan <andrew@dunslane.net> 2026-11-01 21:44 pgsql: meson: Avoid PATH bloat from NLS .mo targets in tmp_install test Andrew Dunstan <andrew@dunslane.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox