Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516724 - app-misc/klavaro-3.0.0 fails to install locale files
Summary: app-misc/klavaro-3.0.0 fails to install locale files
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-08 23:13 UTC by loadaverage
Modified: 2023-11-09 18:14 UTC (History)
0 users

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


Attachments
Build log of klavaro using the original Gentoo ebuild (file_516724.txt,81.78 KB, text/plain)
2023-11-09 18:12 UTC, Remus-Gabriel Chelu
Details
Build log of klavaro using Gentoo modified ebuild (file_516724.txt,83.36 KB, text/plain)
2023-11-09 18:14 UTC, Remus-Gabriel Chelu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description loadaverage 2014-07-08 23:13:41 UTC
Can't get to work klavaro-3.0.0 in languages other than English.
So, when I so something like this: export LANG=ru_RU.utf8;klavaro language (end text in tutor) is still English. 
In version 1.9.7 translation works perfectly.
Comment 1 Pacho Ramos gentoo-dev 2018-01-11 10:36:15 UTC
please report this to upstream directly: https://sourceforge.net/p/klavaro/bugs/
Comment 2 Remus-Gabriel Chelu 2023-11-08 17:56:11 UTC
(In reply to Pacho Ramos from comment #1)
> please report this to upstream directly:
> https://sourceforge.net/p/klavaro/bugs/

I found that if the content format of the po/LINGUAS file is changed from

ab cd de ... yz;    to

ab
cd
de
...
yz

these files (*.mo) are built/installed correctly.

I used these "techniques" to achieve the desired result:

1.  sed -i -e "s: :\n:g" po/LINGUAS || die

2.  printf "%s\n" po/*.po | sed -e 's/po\///g' -e 's/\.po//g' >po/LINGUAS

in src_configure(); the use of one or the other, or why not, a third 
"technique"
is up to you.

I see this as a palliative solution (changing the format of the file po/
LINGUAS),
because I think the real problem is in the way emake works, because using
traditional techniques:

./configure
make
make install

the program is compiled and installed without any problems.

So it's not a problem to be solved upstream, but by the local package(s)
build team...


Greetings,
Remus-Gabriel
Comment 3 Remus-Gabriel Chelu 2023-11-08 21:55:11 UTC
 ~ # emerge --info
Portage 3.0.55 (python 3.11.6-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-12, glibc-2.38-r7, 5.15.136-gentoo-r1-x86_64 x86_64)
=================================================================
System uname: Linux-5.15.136-gentoo-r1-x86_64-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.38
KiB Mem:     8131316 total,    137996 free
KiB Swap:   12722340 total,   7765136 free
Timestamp of repository gentoo: Wed, 08 Nov 2023 12:00:01 +0000
Head commit of repository gentoo: 3e917535f9608d37932a0134c1454f2410d351ee
Head commit of repository SarahMiaOverlay: f1cab1adbc9aa3c027e7d21358a133b9d11ccaa4

Head commit of repository guru: 1f93a4c9942062b4229a7a5f5758448d2805e042

Head commit of repository mate-de-gentoo: c0e936d46449009050437aebb5ef73869fd95e35

Head commit of repository nest: 57e9310b5405d0ef8c35b2ec10f7fc3ef4587440

Head commit of repository noglvnd: 66012def04a429e63a9f2056f0819019a8d25657

Head commit of repository nvidia-legacy: a1cba083e9f884716872e0fa97767f5b02648298

Head commit of repository pentoo: c3c657da1a2239997248b0a5d981df83a9a22e87

Head commit of repository stuff: c736c459317c1ea4fb2d7d68777cafd0a3382064

Head commit of repository trinity-official: e1a4445e7691d1e541d4f03bb235c1a71d37d911

sh bash 5.2_p15-r7
ld GNU ld (Gentoo 2.41 p2) 2.41.0
ccache version 4.8.3 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r7::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.11.6::gentoo
dev-lang/rust:             1.69.0-r1::ramses
dev-util/ccache:           4.8.3::gentoo
dev-util/cmake:            3.27.7::gentoo
dev-util/meson:            1.2.3::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/openrc:           0.51::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.39-r4::gentoo, 2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           14.0.6-r4::ramses, 15.0.7-r3::gentoo
sys-devel/gcc:             12.3.1_p20230825::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             14.0.6-r1::gentoo, 15.0.7::gentoo
sys-devel/llvm:            14.0.6-r4::ramses, 15.0.7-r3::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts: --new-compress
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

SarahMiaOverlay
    location: /var/db/repos/extra/SarahMiaOverlay
    sync-type: git
    sync-uri: https://gitlab.com/SarahMia/sarahmiaoverlay.git
    masters: gentoo
    priority: 50
    volatile: False

guru
    location: /var/db/repos/extra/guru
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/proj/guru.git
    masters: gentoo
    priority: 50
    volatile: False

mate-de-gentoo
    location: /var/db/repos/extra/mate-de-gentoo
    sync-type: git
    sync-uri: https://github.com/oz123/mate-de-gentoo.git
    masters: gentoo
    priority: 50
    volatile: False

nest
    location: /var/db/repos/extra/nest
    sync-type: git
    sync-uri: https://github.com/SpiderX/portage-overlay.git
    masters: gentoo
    priority: 50
    volatile: False

noglvnd
    location: /var/db/repos/noglvnd
    sync-type: git
    sync-uri: https://github.com/achurch/noglvnd.git
    masters: gentoo
    priority: 50
    volatile: False

nvidia-legacy
    location: /var/db/repos/nvidia-legacy
    sync-type: git
    sync-uri: https://gitlab.com/shibotto/nvidia-legacy.git
    masters: gentoo
    priority: 50
    volatile: False

pentoo
    location: /var/db/repos/extra/pentoo
    sync-type: git
    sync-uri: https://github.com/pentoo/pentoo-overlay.git
    masters: gentoo
    priority: 50
    volatile: False

stuff
    location: /var/db/repos/extra/stuff
    sync-type: git
    sync-uri: https://github.com/istitov/stuff.git
    masters: gentoo
    priority: 50
    volatile: False

trinity-official
    location: /var/db/repos/extra/trinity-official
    sync-type: git
    sync-uri: https://mirror.git.trinitydesktop.org/gitea/TDE/tde-packaging-gentoo.git
    masters: gentoo
    priority: 50
    volatile: False

ramses
    location: /var/db/repos/ramses
    masters: gentoo
    priority: 501
    volatile: False

Installed sets: @kde-applications, @kde-baseapps, @kde-frameworks, @kde-frameworks-portingaids, @kde-frameworks-tier1, @kde-frameworks-tier2, @kde-frameworks-tier3, @kde-gear, @kde-plasma, @kdeaccessibility, @kdeadmin, @kdeedu, @kdegames, @kdegraphics, @kdemultimedia, @kdenetwork, @kdepim, @kdesdk, @kdeutils, @qt5-addons, @qt5-essentials, @qt5-tools
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -Wno-deprecated-declarations"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/trinity/14/env /usr/trinity/14/share/config /usr/trinity/14/shutdown"
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="-march=core2 -O2 -pipe -Wno-deprecated-declarations"
DISTDIR="/var/cache/portage/distfiles"
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="-march=core2 -O2 -pipe -Wno-deprecated-declarations"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-march=core2 -O2 -pipe -Wno-deprecated-declarations"
GENTOO_MIRRORS="http://gentoo.mirrors.ovh.net/gentoo-distfiles/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.evowise.com/gentoo/ http://distfiles.gentoo.org"
LANG="ro_RO.utf8"
LDFLAGS="-Wl,-O1"
LEX="flex"
LINGUAS="en en-GB en_GB en-US en_US es es-ES es_ES fr fr-FR fr_FR it it-IT it_IT ro ro-RO ro_RO"
MAKEOPTS="-j5"
PKGDIR="/var/cache/portage/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--new-compress"
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 acpi activities alsa amd64 ao appstream bluetooth branding bzip2 cairo cdda cdr cli crypt css cups curl dbus declarative dga dist-kernel dri dts dvb dvd dvdr egl elogind encode exif fam ffmpeg flac fontconfig fortran gdbm gif gnome gnome-keyring gpm gps gtk gtk3 gui handbook hdf5 iconv icu idn ieee1394 introspection ipod ipv6 jpeg jpeg2k kde kwallet ladspa lcms libass libcaca libnotify libsamplerate libtirpc lua mad mms mng modplug mono mp3 mp4 mpeg mpi mtp multiarch multilib musepack ncurses networkmanager nls nptl nvidia ogg openal opengl openmp openssl pam pango pcre pdf perl phonon pipewire plasma png policykit portaudio ppds pulseaudio python qml qt5 readline screencast sdl seccomp semantic-desktop sndfile soap sound speech speex spell split-usr ssl startup-notification static static-libs svg szip test-rust theora threads tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vnc vorbis vulkan wavpack wayland widgets wxwidgets x264 xattr xcb xft xinerama xml xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gnat_2021" 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 aggregation amqp apache apcups ascent bind buddyinfo capabilities cgroups check_uptime chrony connectivity conntrack contextswitch cpu cpufreq cpusleep csv dbi disk dns drbd email entropy ethstat exec fhcount filecount fscache gps hddtemp hugepages ipc ipmi iptables ipvs log_logstash logfile logparser madwifi-match_empty_counter match_hashed match_regex match_timediff match_value mbmon mcelog md memcachec memcached modbus mqtt multimeter mysql netlink network nfs nginx notify_desktop notify_email notify_nagios ntpd numa nut olsrd onewire openldap openvpn ovs_events ovs_stats pcie_errors ping postgresql powerdns processes procevent protocols rrdcached sensors serial smart snmp snmp_agent statsd synproxy sysevent table tail tail_csv target_notification target_replace target_scale target_set tcpconns ted thermal threshold unixsock uptime users uuid virt vmem wireless write_graphite write_http write_syslog write_tsdb java lua perl python" CPU_FLAGS_X86="mmx sse sse2 3dnow 3dnowext mmxext mno-avx2" 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" L10N="ro ro-RO ro_RO es es-ES es_ES fr fr-FR fr_FR it it-IT it_IT en en-GB en_GB en-US en_US" 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="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa nvidia" 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 4 Remus-Gabriel Chelu 2023-11-09 18:12:47 UTC
Created attachment 874381 [details]
Build log of klavaro using the original Gentoo ebuild
Comment 5 Remus-Gabriel Chelu 2023-11-09 18:14:22 UTC
Created attachment 874382 [details]
Build log of klavaro using Gentoo modified ebuild