Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947545 - media-gfx/librecad-2.2.1: lrelease error: Cannot open plugins/ts/plugins_he.ts: No such file or directory
Summary: media-gfx/librecad-2.2.1: lrelease error: Cannot open plugins/ts/plugins_he.t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
: 947661 (view as bug list)
Depends on:
Blocks: 951980
  Show dependency tree
 
Reported: 2025-01-05 14:00 UTC by J.Borme
Modified: 2025-03-24 18:02 UTC (History)
8 users (show)

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


Attachments
build log (media-gfx:librecad-2.2.1:20250105-132817.log.xz,19.28 KB, application/x-xz)
2025-01-05 14:01 UTC, J.Borme
Details
patch to librecad-2.2.1.ebuild (librecad_missing_locales.patch,917 bytes, patch)
2025-01-05 14:02 UTC, J.Borme
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description J.Borme 2025-01-05 14:00:58 UTC
librecad-2.2.1 fails compiling due to missing locales.
PLOCALES contains "he ka sr th" which are not upstream https://github.com/LibreCAD/LibreCAD/tree/master/plugins/ts

After removing the locales from the ebuild, the package merges.

(emerge complains about the changes of locales, but at least the package builds and runs.)

Reproducible: Always




Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-14, glibc-2.40-r5, 6.12.8-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.12.8-gentoo-x86_64-x86_64-AMD_Ryzen_9_3950X_16-Core_Processor-with-glibc2.40
KiB Mem:   131819872 total, 109232596 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 05 Jan 2025 13:00:00 +0000
Head commit of repository gentoo: 38de610f6654d566937311a58fa0626c28fbc955
Head commit of repository supertux88: 8117f2bdd320052135f1c1a410e7c9e85dc27878

Head commit of repository oubliette: 460b5c9c1f6e20a175187dca9dbe942f784146fa

Head commit of repository palemoon: 026940774e98cae68943946f189a1964d1f8723e

Head commit of repository pentoo: 3f56b571c4ef88ed0cde01190bb13dced3ba0b19

Head commit of repository pf4public: c97f3d00d9703e7dc988c62a76151dba4de4d8de

Head commit of repository pg_overlay: 50013875ad0cae1fecb294121ab49007d90ab195

Head commit of repository science: ae9e34b4e9c8032f5845eb36ee53497f46f008f5

Head commit of repository stuff: e2394465ed22f396dfaa550223434003d0ebe0db

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.6::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.5.2::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           2.7.18_p16-r2::gentoo, 3.10.16_p1::gentoo, 3.11.11_p1::gentoo, 3.12.8::gentoo, 3.13.1::gentoo
dev-lang/rust:             1.81.0-r100::gentoo, 1.82.0-r101::gentoo
llvm-core/clang:           18.1.8-r6::gentoo, 19.1.6::gentoo
llvm-core/lld:             19.1.6::gentoo
llvm-core/llvm:            18.1.8-r6::gentoo, 19.1.6::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             13.3.1_p20241220::gentoo, 14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::gentoo
Repositories:

gentoo
    location: /tmp/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-extra-opts: --quiet --times --omit-dir-times --omit-link-times
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo
    volatile: False

supertux88
    location: /var/db/repos/supertux88
    sync-type: git
    sync-uri: https://github.com/SuperTux88/gentoo-overlay.git
    masters: gentoo
    volatile: False

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0
    volatile: True

oubliette
    location: /var/lib/layman/oubliette
    sync-type: git
    sync-uri: https://github.com/nabbi/oubliette-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

palemoon
    location: /var/lib/layman/palemoon
    sync-type: git
    sync-uri: https://github.com/deu/palemoon-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

pentoo
    location: /var/lib/layman/pentoo
    sync-type: git
    sync-uri: https://github.com/pentoo/pentoo-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

pf4public
    location: /var/lib/layman/pf4public
    sync-type: git
    sync-uri: https://github.com/PF4Public/gentoo-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

pg_overlay
    location: /var/lib/layman/pg_overlay
    sync-type: git
    sync-uri: https://gitlab.com/Perfect_Gentleman/PG_Overlay.git
    masters: gentoo
    priority: 50
    volatile: True

science
    location: /var/lib/layman/science
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/sci.git
    masters: gentoo
    priority: 50
    volatile: True

stuff
    location: /var/lib/layman/stuff
    sync-type: git
    sync-uri: https://github.com/istitov/stuff.git
    masters: gentoo
    priority: 50
    volatile: True

Binary Repositories:

binhost
    priority: 9999
    sync-uri: https://ftp.rnl.tecnico.ulisboa.pt/pub/gentoo/gentoo-distfiles/releases/amd64/binpackages/23.0/x86-64-v3

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -flto -march=native -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -flto -march=native -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
DISTDIR="/tmp/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --keep-going --jobs 4"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -flto -march=native -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -flto -march=native -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
GENTOO_MIRRORS="ftp://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--copy-dt-needed-entries"
LEX="flex"
MAKEOPTS="-j32"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--quiet --times --omit-dir-times --omit-link-times"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/tmp/var/tmp"
RUSTFLAGS=" -Clinker-plugin-lto"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 avif bluetooth branding bzip2 cairo cdda cdr cdrom cet crypt cuda cups dbus dri dropbox dts dvd dvdr elogind encode exif ffmpeg flac gdbm gif gmic gmp gpm gtk gui iconv icu ipv6 jpeg jpeg2k jpegxl jumbo-build kde kf6compat lcms libnotify libtirpc lto lzma mad mp3 mp4 mpeg multilib ncurses nls nvenc ogg openexr opengl openmp opus pam pango pcre pdf png policykit ppds qml qt5 qt6 readline replaygain sdl seccomp sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vim-syntax vorbis vpx vulkan webp wxwidgets x264 xattr xcb xft xml xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gcc_13" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr fr-FR" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="NVPTX" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby25" SANE_BACKENDS="pixma net" VIDEO_CARDS="fbdev vesa dummy nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 J.Borme 2025-01-05 14:01:26 UTC
Created attachment 915898 [details]
build log
Comment 2 J.Borme 2025-01-05 14:02:14 UTC
Created attachment 915899 [details, diff]
patch to librecad-2.2.1.ebuild
Comment 3 email200202 2025-01-06 01:45:05 UTC
Same here
Comment 4 quilosaq 2025-02-02 16:05:16 UTC
+1(In reply to J.Borme from comment #2)
> Created attachment 915899 [details, diff] [details, diff]
> patch to librecad-2.2.1.ebuild

+1 having the same problem and this patch works for me.
Comment 5 James Cloos 2025-02-13 02:49:51 UTC
this should get confirmed

+1
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-02-13 02:50:55 UTC
We don't generally bother with UNCONFIRMED vs CONFIRMED in Gentoo.
Comment 7 Larry the Git Cow gentoo-dev 2025-02-13 02:57:57 UTC
The bug has been closed via the following commit(s):

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

commit c0ec6a8c9e2a7c0a2ccf8a250113f6e24a2cc51c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-02-13 02:56:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-13 02:56:38 +0000

    media-gfx/librecad: fix PLOCALES
    
    Closes: https://bugs.gentoo.org/947545
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/librecad/librecad-2.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 8 James Cloos 2025-02-13 03:06:46 UTC
1) understood; tracking enough different that i failed to notice

2) cool.
Comment 9 Andreas Sturmlechner gentoo-dev 2025-03-24 18:01:52 UTC
*** Bug 947661 has been marked as a duplicate of this bug. ***