emerge removes all po files from the aegisub sources whose locale is not activated in portage. But as the sources contains a list of supported locales (${WORKDIR}/aegisub-3.4.0/po/LINGUAS) meson's setup will still be looking for the removed po file and will fail because of this missing file. A patch to the ebuild is included which removes deactivated locales from the LINGUAS file as well. Reproducible: Always
Created attachment 915480 [details] emerge --info aegsiub
Created attachment 915481 [details] build log
Created attachment 915483 [details, diff] Patch to aegisub-3.4.0.ebuild
I experienced the bug earlier when upgrading my system, and I can confirm the patch here worked for me. The regex can be made more specific by adding "^" to ensure it only matches the start of line, but is otherwise fine.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7fb5910f4d3b9fd02f4e41477865d10ddcdc453 commit c7fb5910f4d3b9fd02f4e41477865d10ddcdc453 Author: Nick Sarnie <sarnex@gentoo.org> AuthorDate: 2025-02-13 10:25:49 +0000 Commit: Nick Sarnie <sarnex@gentoo.org> CommitDate: 2025-02-13 10:31:12 +0000 media-video/aegisub: Fix locale configure error Closes: https://bugs.gentoo.org/947170 Signed-off-by: Nick Sarnie <sarnex@gentoo.org> media-video/aegisub/aegisub-3.4.2.ebuild | 1 + media-video/aegisub/aegisub-9999.ebuild | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-)