Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Updating python
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 8, 9, 10 ... 14, 15, 16  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Sat May 29, 2021 1:54 am    Post subject: Reply with quote

dantrell,
So I should do this:

Code:

rm -rf /var/db/repos/localrepo
nano /etc/portage/repos.conf/localrepo.conf
// Remove all mentions of "localrepo"


This should remove the extra overlay we made, right?

Thank you.
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Sat May 29, 2021 2:47 pm    Post subject: Reply with quote

ONEEYEMAN wrote:
Ye, local overlay has to go and this guy is pulling certifi (at least).

Dependency tree remember, so those local packages are pulling in an entire chain.

ONEEYEMAN wrote:
And yes - I do need Anjuta.

Since you need Anjuta, you may not be able to do away with your local overlay. That's something you can check on your own.

The modern alternative to Anjuta is GNOME Builder though.

ONEEYEMAN wrote:
This should remove the extra overlay we made, right?

That said, I previously warned you about easily removing yourself into a corner.

Try not to commit to an action unless you are sure of the results.

Maybe just skip the first step and modify the last step.
_________________
Dantrell B.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Thu May 19, 2022 12:19 am    Post subject: Dantrell overlay - time for another update Reply with quote

Hi,
I'm back yet again with the update of my laptop with the Dantrell overlay.

The reason is - I need one of the libraries to be updated and therefore has to go thru this "painful process" again.

So, I started with updating the main tree with "emerge --sync" and then ran the command I used to update the machine last time:

Code:

IgorReinCloud /home/igor/wxWidgets/buildGTK # emerge --ask --changed-deps=y --deep --newuse --update --verbose --with-bdeps=y @world

 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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

Calculating dependencies... done!

!!! All ebuilds that could satisfy ">=dev-util/meson-0.59.4" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-util/meson-9999::gentoo (masked by: EAPI 8)
- dev-util/meson-0.62.1::gentoo (masked by: EAPI 8)
- dev-util/meson-0.61.4-r2::gentoo (masked by: EAPI 8)
- dev-util/meson-0.60.3::gentoo (masked by: EAPI 8)

The current version of portage supports EAPI '7'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.
(dependency required by "dev-util/desktop-file-utils-0.26-r1::gentoo" [ebuild])
(dependency required by "x11-libs/gtk+-3.24.28::dantrell-gnome" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

IgorReinCloud /home/igor/wxWidgets/buildGTK #


Thank you.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Thu May 19, 2022 12:34 am    Post subject: Reply with quote

OK,
After running "layman -S" to update the overlay and re-running the command I now get this:

Code:

IgorReinCloud /home/igor/wxWidgets/buildGTK # emerge --ask --changed-deps=y --deep --newuse --update --verbose --with-bdeps=y @world

 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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

Calculating dependencies... done!

!!! All ebuilds that could satisfy ">=dev-util/meson-0.59.4" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-util/meson-9999::gentoo (masked by: EAPI 8)
- dev-util/meson-0.62.1::dantrell-gnome (masked by: EAPI 8)
- dev-util/meson-0.62.1::gentoo (masked by: EAPI 8)
- dev-util/meson-0.61.4-r3::dantrell-gnome (masked by: EAPI 8)
- dev-util/meson-0.61.4-r2::gentoo (masked by: EAPI 8)
- dev-util/meson-0.60.3::dantrell-gnome (masked by: EAPI 8)
- dev-util/meson-0.60.3::gentoo (masked by: EAPI 8)
- dev-util/meson-0.59.4::dantrell-gnome (masked by: EAPI 8)

The current version of portage supports EAPI '7'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.
(dependency required by "dev-util/desktop-file-utils-0.26-r1::gentoo" [ebuild])
(dependency required by "x11-libs/gtk+-3.24.30::dantrell-gnome" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

IgorReinCloud /home/igor/wxWidgets/buildGTK #


Thank you.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Thu May 19, 2022 12:39 am    Post subject: Reply with quote

Try first to upgrade portage
Code:

emerge -1av portage

_________________
:)
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Thu May 19, 2022 12:48 am    Post subject: Reply with quote

Trying to work from bottom to top and update Portage,(since it needs to be updated first anyway) I get:

Code:

IgorReinCloud /home/igor/wxWidgets/buildGTK # emerge -pv portage

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

Calculating dependencies... done!

!!! All ebuilds that could satisfy ">=dev-python/setuptools-60.5.0[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-python/setuptools-62.3.1::gentoo (masked by: package.mask, ~amd64 keyword)
- dev-python/setuptools-62.2.0::gentoo (masked by: package.mask, ~amd64 keyword)
- dev-python/setuptools-62.1.0::gentoo (masked by: package.mask)
- dev-python/setuptools-60.10.0::gentoo (masked by: package.mask)

(dependency required by "dev-python/setuptools_scm-6.4.1::gentoo" [ebuild])
(dependency required by "dev-python/setuptools-46.4.0-r3::localrepo[-python_targets_python3_7,python_targets_python3_8,python_targets_python3_9]" [ebuild])
(dependency required by "sys-apps/portage-3.0.30-r3::gentoo" [ebuild])
(dependency required by "portage" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

IgorReinCloud /home/igor/wxWidgets/buildGTK #


Thank you.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Thu May 19, 2022 12:56 am    Post subject: Reply with quote

Follow the wiki page.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Thu May 19, 2022 2:45 am    Post subject: Reply with quote

Hi,
Portage is updated, thx.
Now, re-running the command still gives:

Code:

IgorReinCloud /home/igor/wxWidgets/buildGTK # emerge --ask --changed-deps=y --deep --newuse --update --verbose --with-bdeps=y @world

 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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

Calculating dependencies... done!

!!! All ebuilds that could satisfy ">=dev-python/setuptools-60.5.0[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-python/setuptools-62.3.1::gentoo (masked by: package.mask, ~amd64 keyword)
- dev-python/setuptools-62.2.0::gentoo (masked by: package.mask, ~amd64 keyword)
- dev-python/setuptools-62.1.0::gentoo (masked by: package.mask)
- dev-python/setuptools-60.10.0::gentoo (masked by: package.mask)

(dependency required by "dev-python/setuptools_scm-6.4.1::gentoo" [ebuild])
(dependency required by "dev-python/setuptools-46.4.0-r3::localrepo[python_targets_python3_9,python_targets_python3_8,-python_targets_python3_7]" [ebuild])
(dependency required by "dev-util/meson-0.60.3::dantrell-gnome" [ebuild])
(dependency required by "dev-util/desktop-file-utils-0.26-r2::gentoo" [ebuild])
(dependency required by "x11-libs/gtk+-3.24.30::dantrell-gnome" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.



Thank you.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Thu May 19, 2022 2:54 am    Post subject: Reply with quote

Great - progress!

That sounds like you've masked all new setuptools? Please run: grep -rsin "setuptools" /etc/portage. Drop any lines in package.mask (or comment them out with a '#' at the beginning of the line). It might be worth uploading your full package.mask file too.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Thu May 19, 2022 3:35 am    Post subject: Reply with quote

Hi,
The result is:

Code:

IgorReinCloud /home/igor/wxWidgets/buildGTK # grep -rsin "setuptools" /etc/portage
/etc/portage/package.mask/dev-python:1:>=dev-python/setuptools-47.0



After commenting it out and re-running I got this:

Code:

IgorReinCloud /home/igor/wxWidgets/buildGTK # emerge --ask --changed-deps=y --deep --newuse --update --verbose --with-bdeps=y @world

 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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

Calculating dependencies... done!

The following packages are causing rebuilds:

  (dev-lang/perl-5.34.0-r9:0/5.34::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (dev-perl/Parse-Yapp-1.210.0-r1:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/TimeDate-2.330.0-r1:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/IPC-System-Simple-1.300.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Canary-Stability-2013.0.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/libwww-perl-6.600.0-r1:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Try-Tiny-0.310.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/HTML-Parser-3.760.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Net-SSLeay-1.900.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Encode-Locale-1.50.0-r1:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Net-DBus-1.2.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/WWW-RobotRules-6.20.0-r2:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Digest-HMAC-1.40.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/XML-Parser-2.460.0-r2:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/File-Listing-6.140.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/XML-Twig-3.520.0-r1:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Module-Build-0.423.100:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/IO-HTML-1.4.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/File-BaseDir-0.90.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/HTTP-Date-6.50.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Socket6-0.290.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/IO-Socket-SSL-2.72.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/HTTP-Cookies-6.100.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/IO-Socket-INET6-2.720.0-r2:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/XML-XPath-1.440.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Tie-IxHash-1.230.0-r1:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Text-Iconv-1.700.0-r3:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Authen-SASL-2.160.0-r2:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/HTTP-Negotiate-6.10.0-r2:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/X11-Protocol-0.560.0-r2:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/File-DesktopEntry-0.220.0-r1:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Devel-CheckLib-1.140.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Locale-gettext-1.70.0-r1:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Unicode-LineBreak-2019.1.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/HTML-Tagset-3.200.0-r2:0/0::gentoo, ebuild scheduled for merge)
    (net-fs/samba-4.15.4-r3:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/LWP-Protocol-https-6.100.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/LWP-MediaTypes-6.40.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/File-MimeInfo-0.300.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/HTTP-Message-6.330.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Mozilla-CA-20999999-r1:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/URI-5.100.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Net-HTTP-6.210.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/MIME-Charset-1.12.2-r1:0/0::gentoo, ebuild scheduled for merge)

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-python/pygobject-3.36.1::dantrell-gnome-3-36
# required by app-i18n/ibus-1.5.25-r1::dantrell-gnome[python]
# required by gnome-base/gnome-shell-3.36.9::dantrell-gnome-3-36[ibus]
# required by gnome-extra/gnome-tweaks-3.34.1::dantrell-gnome
# required by @selected
# required by @world (argument)
>=dev-python/pycairo-1.18.2 -python_targets_python2_7

Would you like to add these changes to your config files? [Yes/No] n

 * In order to avoid wasting time, backtracking has terminated early
 * due to the above autounmask change(s). The --autounmask-backtrack=y
 * option can be used to force further backtracking, but there is no
 * guarantee that it will produce a solution.


I'm going to do that now.

Thank you.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Thu May 19, 2022 3:52 am    Post subject: Reply with quote

Hi,
Code:

IgorReinCloud /home/igor/wxWidgets/buildGTK # emerge --ask --changed-deps=y --deep --newuse --update --verbose --with-bdeps=y @world

 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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

Calculating dependencies... done!

[snip]

Total: 202 packages (151 upgrades, 6 new, 12 in new slots, 33 reinstalls), Size of downloads: 1,696,068 KiB

 * Error: circular dependencies:

(virtual/libcrypt-2:0/2::gentoo, ebuild scheduled for merge) depends on
 (sys-libs/libxcrypt-4.4.27:0/1::gentoo, ebuild scheduled for merge) (runtime)
  (sys-libs/glibc-2.34-r13:2.2/2.2::gentoo, ebuild scheduled for merge) (buildtime)
   (dev-lang/python-3.10.4:3.10/3.10::gentoo, ebuild scheduled for merge) (buildtime)
    (virtual/libcrypt-2:0/2::gentoo, ebuild scheduled for merge) (buildtime_slot_op)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-python/setuptools:0

  (dev-python/setuptools-62.1.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10 (-python3_11)" pulled in by
    >=dev-python/setuptools-60.5.0[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?,python_targets_python3_11(-)?] required by (dev-python/charset_normalizer-2.0.12:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10 (-python3_11)"
    ^^                      ^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
    (and 5 more with the same problem)

  (dev-python/setuptools-46.4.0-r3:0/0::localrepo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_8 python3_9 (-pypy3) -python3_7" pulled in by
    >=dev-python/setuptools-42.0.2[python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?,-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-),-python_single_target_python3_10(-)] required by (dev-python/pycairo-1.18.2:0/0::dantrell-gnome, ebuild scheduled for merge) USE="(-doc) -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_8 python3_9 (-pypy3) -python3_10"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

dev-lang/perl:0

  (dev-lang/perl-5.34.0-r9:0/5.34::gentoo, ebuild scheduled for merge) USE="gdbm -berkdb -debug -doc -ithreads -minimal" ABI_X86="(64)" pulled in by
    =dev-lang/perl-5.34* required by (virtual/perl-IO-Socket-IP-0.410.0:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                                       
    ~dev-lang/perl-5.34.0 required by (virtual/perl-Compress-Raw-Bzip2-2.101.0-r1:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)"
    ^              ^^^^^^                                                                                                                                                                                                 
    (and 34 more with the same problems)

  (dev-lang/perl-5.30.3:0/5.30::gentoo, installed) USE="berkdb gdbm -debug -doc -ithreads" ABI_X86="(64)" pulled in by
    dev-lang/perl:0/5.30= required by (dev-perl/Canary-Stability-2013.0.0:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                     
    (and 2 more with the same problem)

virtual/libcrypt:0

  (virtual/libcrypt-2:0/2::gentoo, ebuild scheduled for merge) USE="-static-libs" ABI_X86="32 (64) (-x32)" pulled in by
    virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?] required by (sys-libs/compiler-rt-sanitizers-13.0.1:13.0.1/13.0.1::gentoo, ebuild scheduled for merge) USE="asan cfi clang dfsan gwp-asan hwasan libfuzzer lsan memprof msan orc profile safestack scudo tsan ubsan xray -debug (-shadowcallstack) -test" ABI_X86="32 (64)"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
    =virtual/libcrypt-2 required by (sys-apps/accountsservice-0.6.55-r2:0/0::dantrell-gnome, ebuild scheduled for merge) USE="elogind introspection -ck (-consolekit) -doc -gtk-doc (-selinux) (-systemd)" ABI_X86="(64)"
    ^                 ^                                                                                                                                                                                                                                                                                                                                                                                                                                   
    (and 26 more with the same problems)

  (virtual/libcrypt-1-r1:0/1::gentoo, installed) USE="static-libs" ABI_X86="(64) -32 (-x32)" pulled in by
    virtual/libcrypt:0/1= required by (dev-lang/python-3.8.13:3.8/3.8::gentoo, installed) USE="gdbm ncurses readline sqlite ssl xml -bluetooth -build -examples -hardened -test -tk -verify-sig -wininst" ABI_X86="(64)"
                    ^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

sys-libs/glibc:2.2

  (sys-libs/glibc-2.34-r13:2.2/2.2::gentoo, ebuild scheduled for merge) USE="clone3 multiarch (multilib) ssp (static-libs) -audit -caps (-cet) -compile-locales (-crypt) (-custom-cflags) -doc -gd -headers-only -multilib-bootstrap -nscd -profile (-selinux) -static-pie -suid (-systemd) -systemtap -test (-vanilla)" ABI_X86="(64)" pulled in by
    sys-libs/glibc[-crypt(+)] required by (sys-libs/libxcrypt-4.4.27:0/1::gentoo, ebuild scheduled for merge) USE="(compat) (split-usr) (system) -static-libs -test" ABI_X86="32 (64) (-x32)"
                                                                                                                                                                                                                                                                                                                                                                     

  (sys-libs/glibc-2.32-r7:2.2/2.2::gentoo, installed) USE="(crypt) multiarch (multilib) ssp (static-libs) -audit -caps (-cet) -compile-locales (-custom-cflags) -doc -gd -headers-only -nscd -profile (-selinux) -static-pie -suid -systemtap -test (-vanilla)" ABI_X86="(64)" pulled in by
    sys-libs/glibc[crypt(+),static-libs(+)?] required by (virtual/libcrypt-1-r1:0/1::gentoo, installed) USE="static-libs" ABI_X86="(64) -32 (-x32)"
                                                                                                                                                                                                                                               

NOTE: Use the '--verbose-conflicts' option to display parents omitted above

It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-python/pygobject-3.36.1::dantrell-gnome-3-36[cairo]
# required by net-misc/networkmanager-1.18.10::dantrell-gnome[-test,introspection]
# required by gnome-extra/nm-applet-1.8.24::dantrell-gnome
# required by gnome-base/gnome-control-center-3.36.5::dantrell-gnome-3-36[networkmanager]
# required by net-libs/gnome-online-accounts-3.36.1::dantrell-gnome-3-36[gnome]
# required by gnome-extra/gnome-contacts-3.36.2::dantrell-gnome-3-36
# required by gnome-base/gnome-core-apps-3.36.0::dantrell-gnome-3-36
# required by gnome-base/gnome-3.36.0::dantrell-gnome-3-36
# required by @selected
# required by @world (argument)
>=dev-python/pycairo-1.18.2 python_targets_python2_7

Would you like to add these changes to your config files? [Yes/No]


I dont understand this.

I just fixed the USE-flag...

Thank you.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Thu May 19, 2022 4:44 am    Post subject: Reply with quote

I don't understand why dantrell's overlay is demanding Python 2.7 enabled for various things.

My hope is that it's because you have enabled it for one or two things, then it keeps spreading out?

Could you run: grep -rsin "python2_7" /etc/portage please? You should be able to comment out / remove all of it.

I was going to give you the circular dependency help for libxcrypt but it looks like Portage has mostly solved that OK, it's just stuck on the Python bits.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Thu May 19, 2022 5:07 am    Post subject: Reply with quote

Hi,
I'm running version 3.36 and this version is based/require python 2.7.
See this thread for details.

Thank you.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Thu May 19, 2022 5:24 am    Post subject: Reply with quote

Dantrell has a support thread in unsupported software. It is impossible to help you with common knowledge here, considering all the changes by the overlay.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Thu May 19, 2022 1:22 pm    Post subject: Reply with quote

ONEEYEMAN wrote:
dantrell,
Any idea what is this warning about:

Code:

/usr/lib/python3.8/site-packages/portage/package/ebuild/_config/KeywordsManager.py:67: UserWarning: /etc/portage/package.keywords is deprecated, use /etc/portage/package.accept_keywords instead
  warnings.warn(_("%s is deprecated, use %s instead") %


Given by every emerge I do.

Thank you.

rename /etc/portage/package.keyword to /etc/portage/package.accept_keywords
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Thu May 19, 2022 1:24 pm    Post subject: Reply with quote

1 year later?
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Thu May 19, 2022 1:39 pm    Post subject: Reply with quote

asturm,
In the past Dantrell did help in my dedicated thread. Thats why I made one.
But anyway - thx for moving the thread. Hopefully he will chme in soon.

Thank you.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Thu May 19, 2022 1:40 pm    Post subject: Reply with quote

The correct forum for problems with unofficial overlays has always been "Unsupported Software".
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Thu May 19, 2022 4:28 pm    Post subject: Reply with quote

ONEEYEMAN wrote:
In the past Dantrell did help in my dedicated thread. Thats why I made one.

I think dantrell have a mail notification in this thread, so you've best chance to get help posting here.
This is the motivation because I did a merge and not only a move.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Thu May 19, 2022 9:38 pm    Post subject: Reply with quote

ONEEYEMAN wrote:
I'm back yet again with the update of my laptop with the Dantrell overlay.

We have been through this a few times already that I'm just going to be frank.

I have already strongly advised you to keep your systems up-to-date to avoid these kind of issues.

Failing that, if you were routinely going to let your systems get out-of-date I also strongly suggested that you become familiar with all the pieces involved in updating out-of-date systems.

Most importantly, unless you have a reproducible GNOME-related build failure that I missed, the project overlays are unlikely to be the issue because all of the project overlays are up-to-date (even if you shouldn't be using certain release versions) and remain compatible (as best as it can while being a second-class citizen) with the main tree.

We have reached a point where my stance is that while your system can be updated, you are going to have to diagnose, resolve and update it yourself.

ONEEYEMAN wrote:
See this thread for details.

Everything you need to know is in the thread you linked.

I strongly suggest you re-read the entire thread to gain an understanding of how and why your system is in its current condition.

Further explanation on usable techniques for diagnosing and resolving emerge issues are in that thread as well as your previous threads.

ONEEYEMAN wrote:
I'm running version 3.36 and this version is based/require python 2.7.

Additionally, I'll touch on a few points:

1. This was already resolved but bears repeating for the future: in order for Gentoo to stay up to date, Portage must stay up to date. For details, see: Updating Portage.

2. GNOME 3.36 is not based around nor does it require Python 2.7. For details, see: Dantrell's GNOME Without Systemd Project (Part 4).

sam_ wrote:
I don't understand why dantrell's overlay is demanding Python 2.7 enabled for various things.

My hope is that it's because you have enabled it for one or two things, then it keeps spreading out?

In short, none of your issues have anything to do with the project overlays but rather with your end and changes you made. The reason why Python 2.7 is being pulled in can be found in the thread you linked (this also relates to your issue with Setuptools and Pycairo).

For the record, while you can continue to use Python 2.7 with the GNOME release versions that support it, changes in Gentoo mean that you must provide any missing components yourself.

I do not provide these components because maintenance is somewhat non-trivial if you lack the prerequisite know-how (and if you lack the prerequisite know-how then you probably shouldn't be using Python 2.7 with GNOME).

Your options are to either resolve the issue with Python 2.7 by getting it working (see above) or by uncoupling it then removing it (see your linked thread).

fedeliallalinea wrote:
This is the motivation because I did a merge and not only a move.

If there aren't reproducible GNOME-related build failures after the Python 2.7 issue is resolved then his thread should be unmerged (because the presence of unsupported software does not mean the issue is related to said software).

Particularly since my worse-case estimate is that his system is about a year out-of-date, so it's possible that resolving this will take about 5-30 pages (like before) and only a fraction would be related to the project overlays.
_________________
Dantrell B.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Fri May 20, 2022 12:37 am    Post subject: Reply with quote

dantrell,
I based my reply about python on the fact the last time we did it the version of overlay I updated to was using it and python 3 was I believe GNOME 40 which was unstable.

Now if I read you response correctly python3 is now a necessity on all version of the overlay.

So, if that is correct - I'm sorry. I will try to look on how to update python to version 3.x.

Thank you for clearing that up and sorry for the misunderstanding. Like I said my motion was based on the outdated fact.
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Fri May 20, 2022 1:04 am    Post subject: Reply with quote

ONEEYEMAN wrote:
I based my reply about python on the fact the last time we did it the version of overlay I updated to was using it and python 3 was I believe GNOME 40 which was unstable.

Now if I read you response correctly python3 is now a necessity on all version of the overlay

Neither of these is the case either.

I linked you to post that breaks down the status of Python 2/3 and GNOME multiple times (it's the first post of the previous support thread, you can't miss it).

Additionally, please remember that the title of your linked thread is "Updating python". In the end you never did that but I covered your situation with Python 2.7 and your upgrade path on pages 8 & 9 of that thread.
_________________
Dantrell B.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21624

PostPosted: Fri May 20, 2022 1:35 am    Post subject: Reply with quote

dantrell wrote:
fedeliallalinea wrote:
This is the motivation because I did a merge and not only a move.
If there aren't reproducible GNOME-related build failures after the Python 2.7 issue is resolved then his thread should be unmerged (because the presence of unsupported software does not mean the issue is related to said software).
As I read this thread, every post in the thread other than your opening post, up through and including my response here, would be split to the proposed separate thread. I'm happy to handle that split whenever you decide you want it done, whether we wait for confirmation that Python 2.7 is the problem or speculatively break it out since the system is known to be outdated and thus, at minimum, highly unusual. If you don't get a prompt reaction in this thread, you can use the Report button to draw attention back here. Give a reason stating you want a split and how the responder should identify which posts to split, and someone will take care of it. Splitting before anyone else brings up support questions here would be optimal, since that would let us split off everything other than the opening post.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Fri May 20, 2022 1:39 am    Post subject: Upgrading python from 2.7 to 3.x Reply with quote

Hi,
I've been told tht I need to update python in order to update my system.

So I tried following:

Code:

IgorReinCloud /home/igor/wxWidgets/buildGTK # emerge --depclean --pretend --verbose python:2.7

Calculating dependencies... done!
  dev-lang/python-2.7.18_p7 pulled in by:
    dev-lang/spidermonkey-68.12.0 requires dev-lang/python:2.7
    dev-python/certifi-10001 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/dbus-python-1.2.16 requires >=dev-lang/python-2.7.5-r2:2.7[threads(+)]
    dev-python/pycairo-1.18.2 requires >=dev-lang/python-2.7.5-r2:2.7[threads(+)]
    dev-python/pygobject-3.36.1 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/setuptools-46.4.0-r3 requires >=dev-lang/python-2.7.5-r2:2.7[xml(+)]
    dev-util/anjuta-3.34.0 requires >=dev-lang/python-2.7.5-r2:2.7

>>> No packages selected for removal by depclean
Packages installed:   1066
Packages in world:    55
Packages in system:   43
Required packages:    1066
Number to remove:     0
IgorReinCloud /home/igor/wxWidgets/buildGTK # emerge --depclean --pretend --verbose

 * Always study the list of packages to be cleaned for any obvious
 * mistakes. Packages that are part of the world set will always
 * be kept.  They can be manually added to this set with
 * `emerge --noreplace <atom>`.  Packages that are listed in
 * package.provided (see portage(5)) will be removed by
 * depclean, even if they are part of the world set.
 *
 * As a safety measure, depclean will not remove any packages
 * unless *all* required dependencies have been resolved.  As a
 * consequence of this, it often becomes necessary to run
 * `emerge --update --newuse --deep @world` prior to depclean.

Calculating dependencies... done!
 * Dependencies could not be completely resolved due to
 * the following required packages not being installed:
 *
 *   sys-devel/llvm:14 pulled in by:
 *     dev-lang/spidermonkey-68.12.0
 *
 * Have you forgotten to do a complete update prior to depclean? The
 * most comprehensive command for this purpose is as follows:
 *
 *   emerge --update --newuse --deep --with-bdeps=y @world
 *
 * Note that the --with-bdeps=y option is not required in many
 * situations. Refer to the emerge manual page (run `man emerge`)
 * for more information about --with-bdeps.
 *
 * Also, note that it may be necessary to manually uninstall
 * packages that no longer exist in the repository, since it may not
 * be possible to satisfy their dependencies.


but I don't understand this output.

First it says that spidermonkey is installed and then it says it is not.

Now if I understand correctly -- I should uninstall everything from the list of the first command and re-run "depclean".

Thank you.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Fri May 20, 2022 2:55 am    Post subject: Reply with quote

You have to complete a world upgrade before you can depclean Python 2.7 or depclean globally.

Start with: grep -rsin "python2_7" /etc/portage and comment out any relevant lines (or remove them).

Continue to run: emerge -p -uvDU @world and share the output each time you get stuck. Do not unmerge anything (-C).
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
Goto page Previous  1, 2, 3 ... 8, 9, 10 ... 14, 15, 16  Next
Page 9 of 16

 
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