Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 955436 - media-gfx/librecad-2.2.1.1: lrelease error: Cannot open plugins/ts/plugins_he.ts: No such file or directory
Summary: media-gfx/librecad-2.2.1.1: lrelease error: Cannot open plugins/ts/plugins_he...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL: https://gitweb.gentoo.org/repo/gentoo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-04 21:07 UTC by eroen
Modified: 2025-05-04 22:06 UTC (History)
1 user (show)

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


Attachments
media-gfx:librecad-2.2.1.1:20250504-183324.log.bz2 (media-gfx:librecad-2.2.1.1:20250504-183324.log.bz2,31.53 KB, application/x-bzip2)
2025-05-04 21:07 UTC, eroen
Details
emerge --info etc. (file_955436.txt,10.69 KB, text/plain)
2025-05-04 21:11 UTC, eroen
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)