Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] myspell-en does not want to update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Zarhan
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1016

PostPosted: Thu Oct 03, 2024 7:55 am    Post subject: [SOLVED] myspell-en does not want to update Reply with quote

When attempting to update world, I get the following error:

Ok, I have not defined any of the l10n use flags. But shouldn't l10n_en-US or something be a default coming from portage profile? I'm using default/linux/amd64/23.0/split-usr/desktop/plasma as my profile.

Code:
# emerge -uvDaN --with-bdeps=y @world

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 10.34 s (backtrack: 0/20).


!!! The ebuild selected to satisfy "app-dicts/myspell-en" has unmet requirements.
- app-dicts/myspell-en-20240801::gentoo USE="" ABI_X86="(64)" L10N="-en-AU -en-CA -en-GB -en-US -en-ZA"

  The following REQUIRED_USE flag constraints are unsatisfied:
    any-of ( l10n_en-AU l10n_en-CA l10n_en-GB l10n_en-US l10n_en-ZA )

(dependency required by "app-text/hunspell-1.7.2-r1::gentoo[l10n_en]" [installed])
(dependency required by "kde-frameworks/sonnet-6.5.0::gentoo" [installed])
(dependency required by "kde-frameworks/ktextwidgets-6.5.0::gentoo" [installed])
(dependency required by "kde-frameworks/kio-6.5.0::gentoo" [installed])
(dependency required by "kde-plasma/libplasma-6.1.5::gentoo" [installed])
(dependency required by "kde-plasma/polkit-kde-agent-6.1.5::gentoo" [installed])
(dependency required by "sys-auth/polkit-124-r1::gentoo[kde]" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


Last edited by Zarhan on Thu Oct 03, 2024 3:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3365
Location: de

PostPosted: Thu Oct 03, 2024 9:49 am    Post subject: Reply with quote

Your profile is defined in /var/db/repos/gentoo/profiles/default/linux/amd64/23.0/split-usr/desktop/plasma/, which is a link to /var/db/repos/gentoo/profiles/targets/desktop/plasma.

grep -v "^#" | grep -i en *:

make.defaults:# Copyright 1999-2024 Gentoo Authors
make.defaults:# Distributed under the terms of the GNU General Public License v2
make.defaults:USE="activities declarative dri kde kwallet networkmanager pipewire plasma policykit pulseaudio screencast semantic-desktop widgets"
package.use:# Copyright 1999-2024 Gentoo Authors
package.use:# Distributed under the terms of the GNU General Public License v2
package.use:# Marek Szuba <marecki@gentoo.org> (2023-11-12)
package.use:# in FUSE is currently considered experimental.
package.use:# Required by sys-apps/fwupd, a dependency of kde-plasma/discover
package.use:# Required by www-client/falkon[python] and dev-python/pyside2[location],
package.use:# in addition fix REQUIRED_USE conflict caused if "webengine" is enabled.
package.use:# qutebrowser, and freecad (or indirectly through PyQt*WebEngine).
package.use:# Required by sys-apps/flatpak, a dependency of kde-plasma/discover
package.use:# Enable by default, requires kde-frameworks/kwayland
package.use:# Required by kde-apps/kdenlive
package.use:media-libs/opencv contrib contribdnn
package.use:# Required by net-firewall/firewalld[nftables] (default enabled)
package.use:# Required by dev-qt/qtwebengine
package.use:# plasma profile never enabled pulseaudio. We're skipping to pipewire.
use.force:# not supported. If you know how to disable this mask, you also know enough to
use.force:# handle the consequences.


Doesn't seem to be anything default language defined here.

I guess relevant is still the Localization Guide. Default locale should be "POSIX/C" if anything wasn't configured.
Back to top
View user's profile Send private message
Zarhan
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1016

PostPosted: Thu Oct 03, 2024 10:23 am    Post subject: Reply with quote

Yeah, I've never set LINGUAS or L10N variables because I'm running everything in English. Is this some sort of new requirement that it *has* to be set?
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 232
Location: Gentoo forums

PostPosted: Thu Oct 03, 2024 10:32 am    Post subject: Reply with quote

Also had the error during yesterday's system update.

Code:
% cat /etc/locale.conf
LANG="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_COLLATE="C.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_TIME="en_US.UTF-8"


Code:
% grep L10N /etc/portage/make.conf
L10N="en"


Yet, I still had to manually add the following to /etc/portage/package.use
Code:
>=app-dicts/myspell-en-20240801 l10n_en-US
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31275
Location: here

PostPosted: Thu Oct 03, 2024 12:16 pm    Post subject: Reply with quote

This happens because of the commit:
Code:
commit dfe0f6835c24aa514c8f602fb5267c0f5c9aaa1a
Author: Zurab Kvachadze <zurabid2016@gmail.com>
Date:   Sun May 5 00:25:49 2024 +0300

    app-dicts/myspell-en: add 20240601, remove redundant l10n_en USE flag
   
    In the previous versions of app-dicts/myspell-en there was a
    IUSE=l10n_en, which unconditionally enabled all the English varieties.
    This USE flag is redundant, since the purpose it serves can be as easily
    achieved by switching the individual USE flags on. Hence, the
    IUSE=l10n_en is removed.
    All other English varieties' USE flags are set to be enabled by default,
    to avoid the need to manually set them in order to mimic the old
    behaviour (which might have been required in the most cases).
   
    Closes: https://bugs.gentoo.org/481618
    Closes: https://github.com/gentoo/gentoo/pull/36552
    Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

So you can change your L10N variable from L10N="en" to L10N="en-US" (or en-GB,...).
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 232
Location: Gentoo forums

PostPosted: Thu Oct 03, 2024 12:27 pm    Post subject: Reply with quote

fedeliallalinea wrote:
This happens because of the commit:
Code:
commit dfe0f6835c24aa514c8f602fb5267c0f5c9aaa1a
Author: Zurab Kvachadze <zurabid2016@gmail.com>
Date:   Sun May 5 00:25:49 2024 +0300

    app-dicts/myspell-en: add 20240601, remove redundant l10n_en USE flag
   
    In the previous versions of app-dicts/myspell-en there was a
    IUSE=l10n_en, which unconditionally enabled all the English varieties.
    This USE flag is redundant, since the purpose it serves can be as easily
    achieved by switching the individual USE flags on. Hence, the
    IUSE=l10n_en is removed.
    All other English varieties' USE flags are set to be enabled by default,
    to avoid the need to manually set them in order to mimic the old
    behaviour (which might have been required in the most cases).
   
    Closes: https://bugs.gentoo.org/481618
    Closes: https://github.com/gentoo/gentoo/pull/36552
    Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

So you can change your L10N variable from L10N="en" to L10N="en-US" (or en-GB,...).


Good catch, thank you.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1923

PostPosted: Thu Oct 03, 2024 12:29 pm    Post subject: Reply with quote

fedeliallalinea wrote:
So you can change your L10N variable from L10N="en" to L10N="en-US" (or en-GB,...).

Really this should be, for example, L10N="en en-US". Include both the base language and the regional dialect if any.

Edit: Multiple languages can be placed in L10N as it is just a USE_EXPAND and not directly used as a language selector by compiles.


Last edited by grknight on Thu Oct 03, 2024 12:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 232
Location: Gentoo forums

PostPosted: Thu Oct 03, 2024 12:38 pm    Post subject: Reply with quote

grknight wrote:
fedeliallalinea wrote:
So you can change your L10N variable from L10N="en" to L10N="en-US" (or en-GB,...).

Really this should be, for example, L10N="en en-US". Include both the base language and the regional dialect if any.

Indeed, I went with
Code:
L10N="en en-US"
in /etc/portage/make.conf because some packages such as app-text/hunspell or app-office/libreoffice-l10n don't have l10n_en-US, only l10n_en.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22693

PostPosted: Thu Oct 03, 2024 12:56 pm    Post subject: Reply with quote

Based on the commit message, and as I read the implementation in the ebuild, these should have defaulted on, so the user should not need to do anything. OP: did you have USE=-* or similar set, which would have disabled the defaults?
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1923

PostPosted: Thu Oct 03, 2024 1:07 pm    Post subject: Reply with quote

Hu wrote:
Based on the commit message, and as I read the implementation in the ebuild, these should have defaulted on, so the user should not need to do anything. OP: did you have USE=-* or similar set, which would have disabled the defaults?

Due to how USE_EXPAND works, if L10N is defined in the environment or make.conf, it will ignore any package defaults no matter how well intended.
If */* l10n_en was in package.use, then the package defaults would apply.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22693

PostPosted: Thu Oct 03, 2024 1:30 pm    Post subject: Reply with quote

That is good to know. However, OP claimed not to have done that:
Zarhan wrote:
Yeah, I've never set LINGUAS or L10N variables because I'm running everything in English.
Back to top
View user's profile Send private message
Zarhan
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1016

PostPosted: Thu Oct 03, 2024 2:11 pm    Post subject: Reply with quote

Hu wrote:
Based on the commit message, and as I read the implementation in the ebuild, these should have defaulted on, so the user should not need to do anything. OP: did you have USE=-* or similar set, which would have disabled the defaults?


I do not have anything disabling defaults. It's just a bunch of flags in addition to the one defined in base profile, but no disabling.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22693

PostPosted: Thu Oct 03, 2024 3:08 pm    Post subject: Reply with quote

What is the output of declare -p LANG L10N ; /usr/bin/env -i /usr/bin/emerge --info ; grep -r -e LANG -e L10N -e myspell-en /etc/portage/?
Back to top
View user's profile Send private message
Zarhan
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1016

PostPosted: Thu Oct 03, 2024 3:20 pm    Post subject: Reply with quote

Oh crap. Looks like I did have L10N defined after all - it wasn't in make.conf, but I had defined it via package.env for some packages - including myspell. And it only had "en" in there. I think I used to have more languages at some point and just got rid of those but did not remove the file.

Removing it completely fixed the issue.
Back to top
View user's profile Send private message
ngorelen
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2019
Posts: 92
Location: Princeton, NJ

PostPosted: Sat Oct 05, 2024 1:58 am    Post subject: Reply with quote

Sorry my ignorance, I got the same problem i believe and i did declare L10N in a few places but i am still getting it.
Namely if I try:
Quote:
emerge -1v myspell-en


I am getting

Quote:
These are the packages that would be merged, in order:

Calculating dependencies -

!!! Problem resolving dependencies for app-dicts/myspell-en
... done!
Dependency resolution took 1.88 s (backtrack: 0/20).


!!! The ebuild selected to satisfy "myspell-en" has unmet requirements.
- app-dicts/myspell-en-20240801::gentoo USE="" ABI_X86="(64)" L10N="-en-AU -en-CA -en-GB -en-US -en-ZA"

The following REQUIRED_USE flag constraints are unsatisfied:
any-of ( l10n_en-AU l10n_en-CA l10n_en-GB l10n_en-US l10n_en-ZA )



I did what Hu suggested,
Quote:
declare -p LANG L10N ; /usr/bin/env -i /usr/bin/emerge --info ; grep -r -e LANG -e L10N -e myspell-en /etc/portage/


which gave me:

Quote:
declare -x LANG="ru_RU.UTF-8"
declare -x L10N="en ru"
PORTAGE_BZIP2_COMMAND setting is invalid: 'bzip2'
PORTAGE_BZIP2_COMMAND setting from make.globals is invalid: 'bzip2'
Portage 3.0.65 (python 3.12.6-final-0, default/linux/amd64/23.0/split-usr/desktop/plasma, gcc-13, glibc-2.39-r6, 6.6.47-gentoo x86_64)
=================================================================
System uname: Linux-6.6.47-gentoo-x86_64-Intel-R-_Core-TM-_i7-4810MQ_CPU_@_2.80GHz-with-glibc2.39
KiB Mem: 16291380 total, 3431884 free
KiB Swap: 16777212 total, 16776984 free
Timestamp of repository gentoo: Fri, 04 Oct 2024 02:00:00 +0000
Head commit of repository gentoo: e7f691494f3dd711b8186332a8c3725137562408
Timestamp of repository slonko: Wed, 02 Oct 2024 17:19:48 +0000
sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p26-r6::gentoo
dev-build/autoconf: 2.71-r7::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.30.2::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.5.1::gentoo
dev-java/java-config: 2.3.4::gentoo
dev-lang/perl: 5.40.0::gentoo
dev-lang/python: 3.9.20_p1::gentoo, 3.10.15_p1::gentoo, 3.11.10_p1::gentoo, 3.12.6_p2::gentoo
dev-lang/rust: 1.80.1::gentoo
dev-lang/rust-bin: 1.80.1::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/openrc: 0.54.2::gentoo
sys-apps/sandbox: 2.39::gentoo
sys-devel/binutils: 2.32-r1::gentoo, 2.42-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang: 18.1.8::gentoo
sys-devel/gcc: 13.3.1_p20240614::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/llvm: 18.1.8-r1::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r6::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: True
sync-rsync-verify-max-age: 3
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=haswell -O2 -pipe"
DISTDIR="/usr/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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://mirrors.rit.edu/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo ftp://mirrors.rit.edu/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo "
LANG="en_US.utf-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dri2 dts dvd dvdr elogind emacs encode exif flac fortran gdbm gif glamor gpm gui iconv icu ipv6 jpeg kde kf6compat kwallet latex lcms libnotify libtirpc lyx mad mmx mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell split-usr sse sse2 ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64 32" ADA_TARGET="gcc_12" 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 words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput synaptics" KERNEL="linux" L10N="en en-US ru ru-RU l10n_en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="intel i965" 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, EMERGE_DEFAULT_OPTS, 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, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SHELL, SIZE, STRINGS, STRIP, YACC, YFLAGS

/etc/portage/package.use:#better to use L10N="en-US l10n_en-US" emerge -uqvND world
/etc/portage/package.use:>=app-dicts/myspell-en-20240801 l10n_en-US
/etc/portage/make.conf:L10N="en en-US ru ru-RU l10n_en-US"
/etc/portage/make.conf:LANG="en_US.utf-8"
/etc/portage/package.accept_keywords:>=app-text/hunspell-1.7.0-r1 L10N="en ru l10n_en-US"
/etc/portage/package.accept_keywords:>=app-dicts/myspell-en-20240801 L10N="en ru l10n_en-US"



Any corrections to my setup?
Back to top
View user's profile Send private message
Zarhan
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1016

PostPosted: Sat Oct 05, 2024 6:35 am    Post subject: Reply with quote

You need to add explicit locale to the L10N. So if you have "en ru", change it to "en en-US ru" or "en en-GB ru" depending on whether you prefer US or British variant.
Back to top
View user's profile Send private message
ngorelen
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2019
Posts: 92
Location: Princeton, NJ

PostPosted: Wed Oct 09, 2024 5:42 pm    Post subject: Reply with quote

Thanks Zarhan.
I have a couple of mistakes in the setup.
I corrected them using the recommendations of https://wiki.gentoo.org/wiki/Localization/Guide#L10N
In make.conf I have now: L10N="en en-US ru"
In package.use I have ">=app-dicts/myspell-en-20240801 l10n_en-US"

However, i am still getting
Quote:
emerge -1v myspell-en

These are the packages that would be merged, in order:

Calculating dependencies -

!!! Problem resolving dependencies for app-dicts/myspell-en
... done!
Dependency resolution took 1.90 s (backtrack: 0/20).


!!! The ebuild selected to satisfy "myspell-en" has unmet requirements.
- app-dicts/myspell-en-20240801::gentoo USE="" ABI_X86="(64)" L10N="-en-AU -en-CA -en-GB -en-US -en-ZA"

The following REQUIRED_USE flag constraints are unsatisfied:
any-of ( l10n_en-AU l10n_en-CA l10n_en-GB l10n_en-US l10n_en-ZA )


Did i miss something?
Back to top
View user's profile Send private message
finoderi
Tux's lil' helper
Tux's lil' helper


Joined: 29 Oct 2021
Posts: 75

PostPosted: Thu Oct 10, 2024 1:18 pm    Post subject: Reply with quote

I have no language settings in make.conf (outside 'LC_MESSAGES=C') and two files in /etc/portage/package.use/.
One for hunspell with a line:
Code:
app-text/hunspell L10N: en ru
and one for myspell with a line:
Code:
app-dicts/myspell-en L10N: en-GB

And that seems to be enough.
Back to top
View user's profile Send private message
ngorelen
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2019
Posts: 92
Location: Princeton, NJ

PostPosted: Fri Oct 11, 2024 3:57 am    Post subject: Reply with quote

Thanks finoderi,
I followed your suggestion and changed the package.use file statement to the following:
Quote:
>=app-dicts/myspell-en-20240801 L10N: en-US

but don't see any improvements.

Let me again list the full output of what Hu suggested in case i missed something, i.e.
Quote:
declare -p LANG L10N ; /usr/bin/env -i /usr/bin/emerge --info ; grep -r -e LANG -e L10N -e myspell-en /etc/portage/
declare -x LANG="ru_RU.UTF-8"
declare -x L10N="en ru"
PORTAGE_BZIP2_COMMAND setting is invalid: 'bzip2'
PORTAGE_BZIP2_COMMAND setting from make.globals is invalid: 'bzip2'
Portage 3.0.65 (python 3.12.6-final-0, default/linux/amd64/23.0/split-usr/desktop/plasma, gcc-13, glibc-2.39-r6, 6.6.47-gentoo x86_64)
=================================================================
System uname: Linux-6.6.47-gentoo-x86_64-Intel-R-_Core-TM-_i7-4810MQ_CPU_@_2.80GHz-with-glibc2.39
KiB Mem: 16291380 total, 1603044 free
KiB Swap: 16777212 total, 16729080 free
Timestamp of repository gentoo: Fri, 04 Oct 2024 02:00:00 +0000
Head commit of repository gentoo: e7f691494f3dd711b8186332a8c3725137562408
Timestamp of repository slonko: Wed, 02 Oct 2024 17:19:48 +0000
sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p26-r6::gentoo
dev-build/autoconf: 2.71-r7::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.30.2::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.5.1::gentoo
dev-java/java-config: 2.3.4::gentoo
dev-lang/perl: 5.40.0::gentoo
dev-lang/python: 3.9.20_p1::gentoo, 3.10.15_p1::gentoo, 3.11.10_p1::gentoo, 3.12.6_p2::gentoo
dev-lang/rust: 1.80.1::gentoo
dev-lang/rust-bin: 1.80.1::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/openrc: 0.54.2::gentoo
sys-apps/sandbox: 2.39::gentoo
sys-devel/binutils: 2.32-r1::gentoo, 2.42-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang: 18.1.8::gentoo
sys-devel/gcc: 13.3.1_p20240614::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/llvm: 18.1.8-r1::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r6::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: True
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 3
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=haswell -O2 -pipe"
DISTDIR="/usr/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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://mirrors.rit.edu/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo ftp://mirrors.rit.edu/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo "
LANG="en_US.utf-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dri2 dts dvd dvdr elogind emacs encode exif flac fortran gdbm gif glamor gpm gui iconv icu ipv6 jpeg kde kf6compat kwallet latex lcms libnotify libtirpc lyx mad mmx mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell split-usr sse sse2 ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64 32" ADA_TARGET="gcc_12" 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 words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput synaptics" KERNEL="linux" L10N="en en-US ru" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="intel i965" 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, EMERGE_DEFAULT_OPTS, 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, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SHELL, SIZE, STRINGS, STRIP, YACC, YFLAGS

/etc/portage/package.use:>=app-text/hunspell-1.7.0-r1 L10N: en ru
/etc/portage/package.use:>=app-dicts/myspell-en-20240801 L10N: en ru en-US
/etc/portage/make.conf:L10N="en en-US ru"
/etc/portage/make.conf:LANG="en_US.utf-8"


Last edited by ngorelen on Fri Oct 11, 2024 3:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
finoderi
Tux's lil' helper
Tux's lil' helper


Joined: 29 Oct 2021
Posts: 75

PostPosted: Fri Oct 11, 2024 11:43 am    Post subject: Reply with quote

ngorelen wrote:
>=app-dicts/myspell-en-20240801 L10N: en-US


Try just 'app-dicts/myspell-en'. It's package.use, not package.accept_keywords.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1923

PostPosted: Fri Oct 11, 2024 12:27 pm    Post subject: Reply with quote

ngorelen wrote:
Let me again list the full output of what Hu suggested in case i missed something, i.e.
Code:
 declare -p LANG L10N ; /usr/bin/env -i /usr/bin/emerge --info ; grep -r -e LANG -e L10N -e myspell-en /etc/portage/
declare -x LANG="ru_RU.UTF-8"
declare -x L10N="en ru"

This L10N in the environment setting overrides the make.conf version. If you have this declared in /etc/env.d or some other shell config file, please remove it.
Back to top
View user's profile Send private message
ngorelen
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2019
Posts: 92
Location: Princeton, NJ

PostPosted: Fri Oct 11, 2024 3:40 pm    Post subject: Reply with quote

to finoderi,
in the latest update i sent i don't have any definition related to 'app-dicts/myspell-en' in the package.accept_keywords.
Besides, it is not relevant since i don't activate via ACCEPT_KEYWORDS, I checked it.
Back to top
View user's profile Send private message
ngorelen
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2019
Posts: 92
Location: Princeton, NJ

PostPosted: Fri Oct 11, 2024 5:43 pm    Post subject: Reply with quote

@grknight, can not find anything within /etc/* . I also turned off any L10N definitions inside mine .*rc files, nothing affects this.

For now I'll do what works for me, which is "L10N="en-US" emerge -v1p myspell-en" ...
Back to top
View user's profile Send private message
finoderi
Tux's lil' helper
Tux's lil' helper


Joined: 29 Oct 2021
Posts: 75

PostPosted: Fri Oct 11, 2024 5:59 pm    Post subject: Reply with quote

My point is - there is no need to specify package version in package.use.
Back to top
View user's profile Send private message
ngorelen
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2019
Posts: 92
Location: Princeton, NJ

PostPosted: Fri Oct 11, 2024 6:15 pm    Post subject: Reply with quote

@finoderi
agreed, the effect is the same.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum