View previous topic :: View next topic |
Author |
Message |
Zarhan Veteran
Joined: 27 Feb 2004 Posts: 1009
|
Posted: Thu Oct 03, 2024 7:55 am Post subject: [SOLVED] myspell-en does not want to update |
|
|
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 |
|
|
musv Advocate
Joined: 01 Dec 2002 Posts: 3364 Location: de
|
Posted: Thu Oct 03, 2024 9:49 am Post subject: |
|
|
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 |
|
|
Zarhan Veteran
Joined: 27 Feb 2004 Posts: 1009
|
Posted: Thu Oct 03, 2024 10:23 am Post subject: |
|
|
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 |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 220 Location: Gentoo forums
|
Posted: Thu Oct 03, 2024 10:32 am Post subject: |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31218 Location: here
|
Posted: Thu Oct 03, 2024 12:16 pm Post subject: |
|
|
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 |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 220 Location: Gentoo forums
|
Posted: Thu Oct 03, 2024 12:27 pm Post subject: |
|
|
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 |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1855
|
Posted: Thu Oct 03, 2024 12:29 pm Post subject: |
|
|
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 |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 220 Location: Gentoo forums
|
Posted: Thu Oct 03, 2024 12:38 pm Post subject: |
|
|
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
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 |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22463
|
Posted: Thu Oct 03, 2024 12:56 pm Post subject: |
|
|
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 |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1855
|
Posted: Thu Oct 03, 2024 1:07 pm Post subject: |
|
|
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 |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22463
|
Posted: Thu Oct 03, 2024 1:30 pm Post subject: |
|
|
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 |
|
|
Zarhan Veteran
Joined: 27 Feb 2004 Posts: 1009
|
Posted: Thu Oct 03, 2024 2:11 pm Post subject: |
|
|
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 |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22463
|
Posted: Thu Oct 03, 2024 3:08 pm Post subject: |
|
|
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 |
|
|
Zarhan Veteran
Joined: 27 Feb 2004 Posts: 1009
|
Posted: Thu Oct 03, 2024 3:20 pm Post subject: |
|
|
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 |
|
|
|