Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

stuck at glibc [crypt] to libxcrypt circular dependency

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
12 posts • Page 1 of 1
Author
Message
ManOwaR
n00b
n00b
Posts: 6
Joined: Thu Feb 17, 2022 6:06 pm

stuck at glibc [crypt] to libxcrypt circular dependency

  • Quote

Post by ManOwaR » Thu Feb 17, 2022 6:10 pm

I think I tried all receipts from wiki and forums, but still got stuck at this circular dependency:

Code: Select all

 * 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-r8:2.2/2.2::gentoo, ebuild scheduled for merge) (buildtime)
   (dev-lang/python-3.9.10-r1:3.9/3.9::gentoo, ebuild scheduled for merge) (buildtime)
    (virtual/libcrypt-2:0/2::gentoo, ebuild scheduled for merge) (buildtime_slot_op)
Please help - have no idea what try next.

[Moderator edit: added [code] tags to preserve output layout. -Hu]
[Admin edit: split from Problem with migrating from glibc[crypt] to libxcrypt --pjp]
Top
eccerr0r
Watchman
Watchman
Posts: 10240
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Thu Feb 17, 2022 7:25 pm

tried

Code: Select all

# emerge -v1 --ignore-built-slot-operator-deps=y dev-lang/python:3.8 dev-lang/python:3.9
# emerge -v1 virtual/libcrypt sys-libs/libxcrypt
(Ref: news)
and then see if it goes away ?
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
ManOwaR
n00b
n00b
Posts: 6
Joined: Thu Feb 17, 2022 6:06 pm

  • Quote

Post by ManOwaR » Thu Feb 17, 2022 10:12 pm

Code: Select all

Calculating dependencies... done!
[ebuild  N     ] sys-devel/autoconf-archive-2022.02.11::gentoo  660 KiB
[ebuild     U  ] sys-devel/autoconf-wrapper-20220130::gentoo [13-r1::gentoo] 4 KiB
[ebuild  N     ] dev-lang/python-exec-conf-2.4.6:2::gentoo  PYTHON_TARGETS="python3_9 -pypy3 -python3_8 -python3_10" 86 KiB
[ebuild     U  ] dev-lang/python-exec-2.4.8:2::gentoo [2.4.6:2::gentoo] USE="(native-symlinks%*) -test%" PYTHON_TARGETS="(pypy3) (python3_8%*) (python3_9%*) (python3_10%*) (-jython2_7%*) (-pypy%*) (-python2_7%*) (-python3_4%*) (-python3_5%*) (-python3_6%*) (-python3_7%*)" 81 KiB
[ebuild  NS    ] sys-devel/autoconf-2.71-r1:2.71::gentoo [2.69-r4:2.69::gentoo] USE="-emacs" 1,263 KiB
[ebuild     U  ] dev-libs/openssl-1.1.1m:0/1.1::gentoo [1.0.2p:0/0::gentoo] USE="asm -rfc3779 -sctp -sslv3* -static-libs -test -tls-compression% -tls-heartbeat* -vanilla (-bindist%) (-gmp%) (-kerberos%) (-sslv2%) (-zlib%*)" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" 9,617 KiB
[ebuild     U  ] sys-devel/automake-1.16.5:1.16::gentoo [1.16.1-r1:1.16::gentoo] USE="-test" 1,565 KiB
[ebuild  NS    ] dev-lang/python-3.9.10-r1:3.9::gentoo [3.7.8-r2:3.7/3.7m::gentoo] USE="gdbm lto%* ncurses readline sqlite ssl xml -bluetooth -build -examples -hardened -pgo% -test -tk -verify-sig% -wininst (-ipv6%) (-libressl%)" 18,718 KiB
[blocks B      ] <net-misc/openssh-8.0_p1-r3 ("<net-misc/openssh-8.0_p1-r3" is soft blocking dev-libs/openssl-1.1.1m)
[blocks B      ] <dev-lang/python-exec-2.4.6-r4 ("<dev-lang/python-exec-2.4.6-r4" is soft blocking dev-lang/python-exec-conf-2.4.6)

Total: 8 packages (4 upgrades, 2 new, 2 in new slots), Size of downloads: 31,990 KiB
Conflict: 2 blocks (2 unsatisfied)

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

dev-lang/python-exec:2

  (dev-lang/python-exec-2.4.8:2/2::gentoo, ebuild scheduled for merge) USE="(native-symlinks) -test" ABI_X86="(64)" PYTHON_TARGETS="(pypy3) (python3_10) (python3_8) (python3_9)" pulled in by
    dev-lang/python-exec[python_targets_python3_9(-)] required by (dev-lang/python-3.9.10-r1:3.9/3.9::gentoo, ebuild scheduled for merge) USE="gdbm lto ncurses readline sqlite ssl xml -bluetooth -build -examples -hardened -pgo -test -tk -verify-sig -wininst" ABI_X86="(64)"
[Moderator edit: added [code] tags to preserve output layout. -Hu]
Top
eccerr0r
Watchman
Watchman
Posts: 10240
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Fri Feb 18, 2022 12:41 am

Ouch Ouch... Your box is really out of date :(
Omit dev-lang/python:3.9 and see if it will go through? If not, then try only python:3.7 and see if that will complete...
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
sam_
Developer
Developer
User avatar
Posts: 2823
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Fri Feb 18, 2022 12:52 am

See the wiki page ("Old install") but please start a new thread.

The news item mentions this case now too.
Top
ManOwaR
n00b
n00b
Posts: 6
Joined: Thu Feb 17, 2022 6:06 pm

  • Quote

Post by ManOwaR » Fri Feb 18, 2022 7:36 am

eccerr0r wrote:Ouch Ouch... Your box is really out of date :(
Omit dev-lang/python:3.9 and see if it will go through? If not, then try only python:3.7 and see if that will complete...
can't exclude python 3.9 because looks like newest glibc and crypt stuff depends on it

Code: Select all

!!! All ebuilds that could satisfy ">=dev-lang/python-3.9.9-r1:3.9" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-lang/python-3.9.10-r1::gentoo (masked by: package.mask)
- dev-lang/python-3.9.10::gentoo (masked by: package.mask)
- dev-lang/python-3.9.9-r1::gentoo (masked by: package.mask)

(dependency required by "sys-libs/glibc-2.34-r8::gentoo" [ebuild])
(dependency required by "sys-libs/libxcrypt-4.4.27::gentoo" [ebuild])
(dependency required by "virtual/libcrypt-2::gentoo" [ebuild])
(dependency required by "virtual/libcrypt" [argument])

[Moderator edit: added [code] tags to preserve output layout. -- pietinger]
Top
pietinger
Administrator
Administrator
Posts: 6640
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Fri Feb 18, 2022 12:18 pm

ManOwaR,

please use code-tags in your posts !
Top
ManOwaR
n00b
n00b
Posts: 6
Joined: Thu Feb 17, 2022 6:06 pm

  • Quote

Post by ManOwaR » Fri Feb 18, 2022 2:06 pm

pietinger wrote:please use code-tags in your posts !
My bad, will do.

As a workaround I removed dependency on virtual/libcrypt from python ebuild file, rebuilt digest, then I was able to install python 3.9.
Now trying to update glibc/crypt stuff.
Top
sam_
Developer
Developer
User avatar
Posts: 2823
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Fri Feb 18, 2022 6:09 pm

ManOwaR wrote:
pietinger wrote:please use code-tags in your posts !
My bad, will do.

As a workaround I removed dependency on virtual/libcrypt from python ebuild file, rebuilt digest, then I was able to install python 3.9.
Now trying to update glibc/crypt stuff.
Why not follow my link instead?
Top
ManOwaR
n00b
n00b
Posts: 6
Joined: Thu Feb 17, 2022 6:06 pm

  • Quote

Post by ManOwaR » Fri Feb 18, 2022 6:22 pm

sam_ wrote:Why not follow my link instead?
I checked wiki receipts (temporary masks) - did not work for me.
Now waiting for the @world update (except glibc and crypt) to complete
Top
ManOwaR
n00b
n00b
Posts: 6
Joined: Thu Feb 17, 2022 6:06 pm

  • Quote

Post by ManOwaR » Sun Feb 20, 2022 8:51 pm

Well, managed to update everything except the following weird dependency conflict (I can see it on many machines):

Code: Select all

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-python/docutils:0

  (dev-python/docutils-0.18.1:0/0::gentoo, ebuild scheduled for merge) USE="" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" conflicts with
    <dev-python/docutils-0.18[python_targets_python3_9(-)] required by (dev-python/sphinx_rtd_theme-1.0.0:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8"
    ^                    ^^^^
    <dev-python/docutils-0.18[python_targets_python3_9(-)] required by (dev-python/sphinx-4.4.0:0/0::gentoo, installed) USE="-doc -latex -test" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8"
    ^                    ^^^^
And also can't update GCC to version 9 or above (tried 9, 10, 11) latest 8 is compiling without issues:

Code: Select all

...
...
x86_64-pc-linux-gnu/libgcc/_gcov_pow2_profiler.o differs
x86_64-pc-linux-gnu/libgcc/_gcov_merge_time_profile.o differs
x86_64-pc-linux-gnu/libgcc/_gcov_interval_profiler.o differs
x86_64-pc-linux-gnu/libgcc/generic-morestack.o differs
gcc/lto1 differs
make[2]: *** [Makefile:23532: compare] Error 1
make[2]: Leaving directory '/tmp/portage/portage/sys-devel/gcc-11.2.1_p20220115/work/build'
make[1]: *** [Makefile:23512: stage3-bubble] Error 2
make[1]: Leaving directory '/tmp/portage/portage/sys-devel/gcc-11.2.1_p20220115/work/build'
make: *** [Makefile:23586: bootstrap-lean] Error 2
 * ERROR: sys-devel/gcc-11.2.1_p20220115::gentoo failed (compile phase):
 *   emake failed
Top
sam_
Developer
Developer
User avatar
Posts: 2823
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Sun Feb 20, 2022 10:20 pm

ManOwaR wrote:Well, managed to update everything except the following weird dependency conflict (I can see it on many machines):

Code: Select all

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-python/docutils:0

  (dev-python/docutils-0.18.1:0/0::gentoo, ebuild scheduled for merge) USE="" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" conflicts with
    <dev-python/docutils-0.18[python_targets_python3_9(-)] required by (dev-python/sphinx_rtd_theme-1.0.0:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8"
    ^                    ^^^^
    <dev-python/docutils-0.18[python_targets_python3_9(-)] required by (dev-python/sphinx-4.4.0:0/0::gentoo, installed) USE="-doc -latex -test" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8"
    ^                    ^^^^
This one is okay: it's because Sphinx needs to be updated (upstream) to support docutils. Ignore it. See bug 829842 and bug 802618.
ManOwaR wrote: And also can't update GCC to version 9 or above (tried 9, 10, 11) latest 8 is compiling without issues:

Code: Select all

...
...
x86_64-pc-linux-gnu/libgcc/_gcov_pow2_profiler.o differs
x86_64-pc-linux-gnu/libgcc/_gcov_merge_time_profile.o differs
x86_64-pc-linux-gnu/libgcc/_gcov_interval_profiler.o differs
x86_64-pc-linux-gnu/libgcc/generic-morestack.o differs
gcc/lto1 differs
make[2]: *** [Makefile:23532: compare] Error 1
make[2]: Leaving directory '/tmp/portage/portage/sys-devel/gcc-11.2.1_p20220115/work/build'
make[1]: *** [Makefile:23512: stage3-bubble] Error 2
make[1]: Leaving directory '/tmp/portage/portage/sys-devel/gcc-11.2.1_p20220115/work/build'
make: *** [Makefile:23586: bootstrap-lean] Error 2
 * ERROR: sys-devel/gcc-11.2.1_p20220115::gentoo failed (compile phase):
 *   emake failed
This one, however, is a problem. Please file a bug on bugs.gentoo.org with the full build.log and a compressed tarball of the workdir (/tmp/portage/portage/sys-devel/gcc-11.2.1_p20220115/).

I would expect e.g. GCC 9.4.0, GCC 10.3.0, GCC 11.2.0 to be fine.
Top
Post Reply

12 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic