First pass to convert the ebuild to the Rust port. Anyone taking this
further should check carefully any needed Cargo features to be wired up
etc.
mimalloc seems to only be available as a bundled crate now, not sure about
the rest like zlib though docs say it should try to use the system copy
if available.
mold-wrapper seems builtin now / generated at runtime with `mold -run`.
Bug: https://bugs.gentoo.org/983873
Signed-off-by: Sam James <sam@gentoo.org>
For now, default-disable threads because it's not clear if elfutils[threads]
(which libabigail[threads] needs) is a good idea for us to default-enable on
*that* package (have asked upstream) until it is declared non-experimental.
Signed-off-by: Sam James <sam@gentoo.org>
gen-languages needs en_US.UTF-8 at build time. If it was not installed,
pkg_setup fell back to the user's locale or died. Generate it instead.
Bug: https://bugs.gentoo.org/969468
Signed-off-by: Matt Turner <mattst88@gentoo.org>
test_languages and test_language were patched out because the daemon is
run with LC_ALL=en_IE.UTF-8 and reports C as the system locale if that
locale is not installed. Generate the locale and apply the patch only
where that is not possible.
Bug: https://bugs.gentoo.org/903347
Signed-off-by: Matt Turner <mattst88@gentoo.org>
The tests call setlocale() with cs_CZ.UTF-8, en_GB.UTF-8, fr_FR.UTF-8
and sv_SE.utf8, and fail if any of them is missing.
Closes: https://bugs.gentoo.org/939520
Signed-off-by: Matt Turner <mattst88@gentoo.org>
auth-nonascii was skipped if the cs_CZ.UTF-8 and cs_CZ.ISO-8859-2
locales were not installed. Generate them instead.
Signed-off-by: Matt Turner <mattst88@gentoo.org>
src_test died if en_US.UTF-8 was not installed. Generate it instead,
along with fr_FR.UTF-8, which the calc tests switch to.
Signed-off-by: Matt Turner <mattst88@gentoo.org>
kcountrytest and kcountrysubdivisiontest set LANG=fr_CH.UTF-8 and were
skipped because the locale is not necessarily installed. Generate it
and run them.
Bug: https://bugs.gentoo.org/823816
Signed-off-by: Matt Turner <mattst88@gentoo.org>
The test was disabled with a comment saying that it requires the de_DE
locale, which is how upstream describes the locale_test option. The
test itself calls setlocale(LC_NUMERIC, "fr_FR.UTF-8"), in 0.10.0,
0.11.0 and master alike. It passes without that locale too, but then
checks nothing that depends on the locale.
Generate fr_FR.UTF-8 and enable the test on glibc.
Signed-off-by: Matt Turner <mattst88@gentoo.org>
test-book-client-custom-summary and test-book-client-view-operations
abort if en_US.UTF-8 is not installed. Generate it.
The other locales the tests name (de_DE, fr_CA and more) are only
passed to ICU, so drop the comment about tests failing due to missing
locales.
Bug: https://bugs.gentoo.org/501834
Signed-off-by: Matt Turner <mattst88@gentoo.org>