Am Donnerstag, 13. Februar 2020, 11:04:54 CET schrieb Gerion Entrup:
> Hi,

Hi,

> I have a strange emerge/update problem:
> ```
> # emerge -a1 "=meson-0.52.1::gentoo" "=setuptools-42.0.2::gentoo" -v
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> 
> !!! All ebuilds that could satisfy
> "dev-python/setuptools[python_targets_python3_6(-)?,python_targets_python3_
> 7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-pytho
> n_single_target_python3_7(-),-python_single_target_python3_8(-)]" have been
> masked. !!! One of the following masked packages is required to complete
> your request: - dev-python/setuptools-45.2.0::gentoo (masked by:
> package.mask, ~amd64 keyword) /usr/portage/profiles/package.mask:
> # Michał Górny <mgo...@gentoo.org> (2020-01-16)
> # The new version loses Python 2 support but does not introduce any real
> # changes.  Let's mask it to reduce the noise, and hopefully try to get
> # python2_7 out of default PYTHON_TARGETS first.
> 
> - dev-python/setuptools-45.1.0::gentoo (masked by: package.mask, ~amd64
> keyword)
> 
> (dependency required by "dev-util/meson-0.52.1::gentoo" [ebuild])
> (dependency required by "=meson-0.52.1::gentoo" [argument])
> For more information, see the MASKED PACKAGES section in the emerge
> man page or refer to the Gentoo Handbook.
> ```
> 
> I guess, this is unwanted, especially since both packages are stable.
> I don't find anything in the meson ebuild that explain the dependency to
> setuptools 45. Did I misconfigured something?

In order to know whether you misconfigured something, we would have to know 
how you configured it in the first place, in particular "emerge --info" output 
and relevant entries in /etc/portage/package.use.  If you use eix, then "eix -
e meson" and "eix -e setuptools" would be a compact way of seeing lots of 
information.

Just based on what you sent, however, I could imagine a case of mismatched 
$PYTHON_TARGETS (mainly because of the "python_targets_python3_8(-)?" part), 
but it could be something else I'm not thinking of.  FWIW, when I try your 
command line, it works just fine (merely substituting "-p" for "-a"):

# emerge -p1 "=meson-0.52.1::gentoo" "=setuptools-42.0.2::gentoo" -v

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

Calculating dependencies  .. . ....... done!
[ebuild     UD ] dev-python/setuptools-42.0.2::gentoo [44.0.0::gentoo] USE="-
test" PYTHON_TARGETS="python2_7 python3_6 (-pypy3) (-python3_7) (-python3_8)" 
0 KiB
[ebuild   R    ] dev-util/meson-0.52.1::gentoo  USE="-test" 
PYTHON_TARGETS="python3_6 (-python3_7) (-python3_8)" 0 KiB

Total: 2 packages (1 downgrade, 1 reinstall), Size of downloads: 0 KiB

> Best,
> Gerion

HTH
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to