Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878925 - media-gfx/librecad-9999: lrelease: command not found
Summary: media-gfx/librecad-9999: lrelease: command not found
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: PullRequest
Depends on:
Blocks:
 
Reported: 2022-10-31 21:43 UTC by darkbasic
Modified: 2022-11-28 07:05 UTC (History)
0 users

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


Attachments
build.log.gz (build.log.gz,77 bytes, application/octet-stream)
2022-10-31 21:45 UTC, darkbasic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description darkbasic 2022-10-31 21:43:34 UTC
>>> Source compiled.
>>> Test phase [not enabled]: media-gfx/librecad-9999

>>> Install media-gfx/librecad-9999 into /var/tmp/portage/media-gfx/librecad-9999/image
Traceback (most recent call last):
  File "/var/tmp/portage/._portage_reinstall_.7hk2qxt2/bin/doins.py", line 609, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/var/tmp/portage/._portage_reinstall_.7hk2qxt2/bin/doins.py", line 598, in main
    if _doins(
  File "/var/tmp/portage/._portage_reinstall_.7hk2qxt2/bin/doins.py", line 441, in _doins
    return install_runner.install_file(source, os.path.dirname(dest))
  File "/var/tmp/portage/._portage_reinstall_.7hk2qxt2/bin/doins.py", line 375, in install_file
    return self._ins_runner.run(source, dest_dir)
  File "/var/tmp/portage/._portage_reinstall_.7hk2qxt2/bin/doins.py", line 183, in run
    sstat = os.stat(source)
FileNotFoundError: [Errno 2] No such file or directory: b'unix/appdata/librecad.appdata.xml'
 * ERROR: media-gfx/librecad-9999::gentoo failed (install phase):
 *   doins failed
 *
 * If you need support, post the output of `emerge --info '=media-gfx/librecad-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/librecad-9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/librecad-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/librecad-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/librecad-9999/work/librecad-9999'
 * S: '/var/tmp/portage/media-gfx/librecad-9999/work/librecad-9999'
^[[33m * ^[[39;49;00mQA Notice: command not found:
^[[33m * ^[[39;49;00m
^[[33m * ^[[39;49;00m   scripts/postprocess-unix.sh: line 24: lrelease: command not found
^[[33m * ^[[39;49;00m   scripts/postprocess-unix.sh: line 25: lrelease: command not found
Comment 1 darkbasic 2022-10-31 21:45:49 UTC
Created attachment 826255 [details]
build.log.gz

# emerge --info
Portage 3.0.38.1 (python 3.10.8-final-0, default/linux/ppc64le/17.0/desktop/gnome/systemd, gcc-11.3.0, glibc-2.35-r8, 6.0.5-gentoo-dist ppc64le)
=================================================================
System uname: Linux-6.0.5-gentoo-dist-ppc64le-POWER9,_altivec_supported-with-glibc2.35
KiB Mem:    65536128 total,  30433488 free
KiB Swap:   16777212 total,  16724888 free
Timestamp of repository gentoo: Mon, 31 Oct 2022 16:31:54 +0000
Head commit of repository gentoo: 29283ccc5f6a579a2958b710bcf32a45cfbd5139

Timestamp of repository guru: Sat, 29 Oct 2022 06:01:57 +0000
Head commit of repository guru: ac4cc53c56babcbac2d3f08205e65a185f99b460

Timestamp of repository pf4public: Sun, 30 Oct 2022 02:31:44 +0000
Head commit of repository pf4public: de3f11f6f9838ac4185ec1fc92d1c01fa930d324

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r4::gentoo
dev-lang/python:           3.10.8_p1::gentoo
dev-lang/rust:             1.64.0-r1::gentoo
dev-util/cmake:            3.24.2::gentoo
dev-util/meson:            0.63.2-r1::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          251.4::gentoo
sys-devel/autoconf:        2.13-r2::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.6-r1::gentoo, 15.0.3::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.6-r1::gentoo, 15.0.3::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.3::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    sync-git-verify-commit-signature: yes

darkbasic
    location: /var/db/repos/darkbasic
    masters: gentoo

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

pf4public
    location: /var/db/repos/pf4public
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pf4public.git
    masters: gentoo

ACCEPT_KEYWORDS="ppc64"
ACCEPT_LICENSE="@FREE @FREE unRAR fping"
CBUILD="powerpc64le-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=power9 -mtune=power9"
CHOST="powerpc64le-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
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"
CXXFLAGS="-O2 -pipe -mcpu=power9 -mtune=power9"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 32"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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 -mcpu=power9 -mtune=power9"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox 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 -mcpu=power9 -mtune=power9"
GENTOO_MIRRORS="https://gentoo.mirror.garr.it/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j32"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl alsa bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups dbus dri dts dvd dvdr eds encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gui iconv icu introspection ipv6 jpeg lcms libglvnd libnotify libsecret mad mng mp3 mp4 mpeg nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppc64 ppds pulseaudio qt5 readline screencast sdl seccomp spell split-usr ssl startup-notification svg systemd test-rust tiff tracker truetype udev udisks unicode upower usb vaapi vorbis vpx vulkan wayland wxwidgets x264 xattr xcb xml xv xvid zeroconf zlib" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_PPC="altivec vsx vsx2 vsx3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" QEMU_SOFTMMU_TARGETS="ppc ppc64 i386 x86_64 arm aarch64" QEMU_USER_TARGETS="ppc ppc64 i386 x86_64 arm aarch64" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat 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, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Fat-Zer 2022-11-07 02:21:11 UTC
The problem is actually in NOT in the `lrelease: command not found`, but rather in `No such file or directory: b'unix/appdata/librecad.appdata.xml` ... the file was renamed to "org.librecad.librecad.appdata.xml", see [1]...

For the lrelease issue see #847394.

[1]: https://github.com/LibreCAD/LibreCAD/commit/07ef2b45c6288e38083e2f4e0590f72294a861ca
Comment 3 Larry the Git Cow gentoo-dev 2022-11-28 07:05:31 UTC
The bug has been closed via the following commit(s):

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

commit ae3b58318840afcd6c3dfa9d8b9310c68136527f
Author:     Alexander Golubev <fatzer2@gmail.com>
AuthorDate: 2022-11-07 08:11:20 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-11-28 07:05:29 +0000

    media-gfx/librecad: several improvements
    
    * bump to EAPI=8
    * fix tranlation install
    * fix live ebuild installation
    * patch several CVEs
    
    Bug: https://bugs.gentoo.org/847394
    Bug: https://bugs.gentoo.org/852941
    Bug: https://bugs.gentoo.org/825362
    Bug: https://bugs.gentoo.org/832210
    Closes: https://bugs.gentoo.org/878925
    Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/28164
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-gfx/librecad/Manifest                 |  1 +
 media-gfx/librecad/librecad-2.1.3-r7.ebuild | 99 +++++++++++++++++++++++++++++
 media-gfx/librecad/librecad-9999.ebuild     | 37 +++++++++--
 3 files changed, 133 insertions(+), 4 deletions(-)