Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 955436

Summary: media-gfx/librecad-2.2.1.1: lrelease error: Cannot open plugins/ts/plugins_he.ts: No such file or directory
Product: Gentoo Linux Reporter: eroen <erikdenstore+gbugs>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal CC: erikdenstore+gbugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fc3739617cfa66d733605a7b118bb141d3e0b0e
See Also: https://bugs.gentoo.org/show_bug.cgi?id=847394
https://bugs.gentoo.org/show_bug.cgi?id=947545
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: media-gfx:librecad-2.2.1.1:20250504-183324.log.bz2
emerge --info etc.

Description eroen 2025-05-04 21:07:27 UTC
Created attachment 927686 [details]
media-gfx:librecad-2.2.1.1:20250504-183324.log.bz2

This is a repeat of bug 947545, probably caused by the unsuspecting committer seeing an incorrect QA message about missing PLOCALES when testing the bumped ebuild. As a stopgap measure, please consider adding a warning about this next to the PLOCALES line.



Updating 'unix/resources/qm/plugins_gl.qm'...
    Generated 173 translation(s) (141 finished and 32 unfinished)
    Ignored 52 untranslated source text(s)
 * /usr/lib64/qt5/bin/lrelease librecad/ts/librecad_he.ts -qm unix/resources/qm/librecad_he.qm
Updating 'unix/resources/qm/librecad_he.qm'...
    Generated 665 translation(s) (311 finished and 354 unfinished)
    Ignored 2718 untranslated source text(s)
 * /usr/lib64/qt5/bin/lrelease plugins/ts/plugins_he.ts -qm unix/resources/qm/plugins_he.qm
lrelease error: Cannot open plugins/ts/plugins_he.ts: No such file or directory
 * ERROR: media-gfx/librecad-2.2.1.1::gentoo failed (compile phase):
 *   Failed to run command: /usr/lib64/qt5/bin/lrelease plugins/ts/plugins_he.ts -qm unix/resources/qm/plugins_he.qm
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 1001:  Called plocale_for_each_locale 'build_locale'
 *   environment, line  871:  Called build_locale 'he'
 *   environment, line  999:  Called edo '/usr/lib64/qt5/bin/lrelease' 'plugins/ts/plugins_he.ts' '-qm' 'unix/resources/qm/plugins_he.qm'
 *   environment, line  404:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "Failed to run command: $@"
Comment 1 eroen 2025-05-04 21:11:00 UTC
Created attachment 927687 [details]
emerge --info etc.
Comment 2 Larry the Git Cow gentoo-dev 2025-05-04 22:06:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de3908baf258bf900fe251e9c4fb15644d84f94d

commit de3908baf258bf900fe251e9c4fb15644d84f94d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-05-04 22:00:16 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-05-04 22:05:49 +0000

    media-gfx/librecad: Drop plocales mishandling
    
    Just set LRELEASE properly instead.
    
    Don't add this back unless you enlist as maintainer.
    
    Bug: https://bugs.gentoo.org/847394
    Bug: https://bugs.gentoo.org/947545
    Bug: https://bugs.gentoo.org/955171
    Closes: https://bugs.gentoo.org/955436
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-gfx/librecad/librecad-2.2.1.1.ebuild         | 28 +++-------------------
 .../librecad-2.2.2_alpha1_pre20250501.ebuild       | 28 +++-------------------
 2 files changed, 6 insertions(+), 50 deletions(-)