Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947170 - media-video/aegisub-3.4.0 fails at phase configure when a locale supported by aegisub is not activate in portage
Summary: media-video/aegisub-3.4.0 fails at phase configure when a locale supported by...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Nick Sarnie
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-29 12:36 UTC by Christian Apeltauer
Modified: 2025-02-13 10:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info aegsiub (emerge.info,6.99 KB, text/plain)
2024-12-29 12:37 UTC, Christian Apeltauer
Details
build log (build.log,6.62 KB, text/x-log)
2024-12-29 12:37 UTC, Christian Apeltauer
Details
Patch to aegisub-3.4.0.ebuild (aegisub-3.4.0.ebuild.patch,422 bytes, patch)
2024-12-29 12:38 UTC, Christian Apeltauer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Apeltauer 2024-12-29 12:36:17 UTC
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
Comment 1 Christian Apeltauer 2024-12-29 12:37:23 UTC
Created attachment 915480 [details]
emerge --info aegsiub
Comment 2 Christian Apeltauer 2024-12-29 12:37:38 UTC
Created attachment 915481 [details]
build log
Comment 3 Christian Apeltauer 2024-12-29 12:38:21 UTC
Created attachment 915483 [details, diff]
Patch to aegisub-3.4.0.ebuild
Comment 4 WANG Xuerui gentoo-dev 2025-02-13 06:28:00 UTC
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.
Comment 5 Larry the Git Cow gentoo-dev 2025-02-13 10:31:33 UTC
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(-)