Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Circular dependencies on perl in out-of-the-box Gentoo 10.0
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
greanie
n00b
n00b


Joined: 13 Nov 2007
Posts: 42

PostPosted: Wed Sep 05, 2012 8:36 am    Post subject: Circular dependencies on perl in out-of-the-box Gentoo 10.0 Reply with quote

I just installed Gentoo a few weeks ago using the latest stable stage3 tarball. Trying to install almost anything through portage yields a circular dependency on perl:

> emerge perl
...
(dev-lang/perl-5.12.4-r1::gentoo, ebuild scheduled for merge) depends on
(sys-libs/zlib-1.2.5.1-r2::gentoo, ebuild scheduled for merge) (buildtime)
(sys-devel/autoconf-2.68::gentoo, ebuild scheduled for merge) (buildtime)
(dev-lang/perl-5.12.4-r1::gentoo, ebuild scheduled for merge) (buildtime)

System Info:
Kernel 3.3.8 / Gentoo 10.0 (by eselect profile list)
Gentoo Base System release 2.1 (by cat /etc/*-release

I can't seem to find any USE flags that will break this circular dependency. As such, I am stuck. Any ideas greatly appreciated. It was difficult enough to install gentoo once on this box. I don't want to have to go down a version.

Thanks!
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Wed Sep 05, 2012 10:29 am    Post subject: Reply with quote

Please post the output of
Code:
emerge -pv --nodeps zlib perl
.
Back to top
View user's profile Send private message
greanie
n00b
n00b


Joined: 13 Nov 2007
Posts: 42

PostPosted: Sat Sep 15, 2012 6:44 pm    Post subject: Reply with quote

Thanks for looking at this!!

# emerge -pv --nodeps sys-libs/zlib perl

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

[ebuild N ] sys-libs/zlib-1.2.5.1-r2 USE="static-libs -minizip" 536 kB
[ebuild N ] dev-lang/perl-5.12.4-r1 USE="berkdb gdbm -build -debug -doc -ithreads" 0 kB

Total: 2 packages (2 new), Size of downloads: 536 kB
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Sat Sep 15, 2012 7:22 pm    Post subject: Reply with quote

Hmm, it seems that this is actually a genuine circular dependency...
What happens when you do:
Code:
emerge -1 --nodeps -k perl zlib
? Do they both fail to install?
Either way, you should file a bug report about this as this is an error in the way the stage3 was built.
Back to top
View user's profile Send private message
greanie
n00b
n00b


Joined: 13 Nov 2007
Posts: 42

PostPosted: Mon Sep 17, 2012 9:17 am    Post subject: Reply with quote

No luck on the build.

> emerge -1 --nodeps -k perl zlib

* ERROR: sys-libs/zlib-1.2.5.1-r2 failed (install phase):
* unable to read SONAME from libz.so
*
* Call stack:
* ebuild.sh, line 85: Called src_install
* environment, line 2778: Called gen_usr_ldscript '-a' 'z'
* environment, line 1898: Called die
* The specific snippet of code:
* [[ -z ${tlib} ]] && die "unable to read SONAME from ${lib}";
*
* If you need support, post the output of `emerge --info '=sys-libs/zlib-1.2.5.1-r2'`,
* the complete build log and the output of `emerge -pqv '=sys-libs/zlib-1.2.5.1-r2'`.
* The complete build log is located at '/var/tmp/portage/sys-libs/zlib-1.2.5.1-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/zlib-1.2.5.1-r2/temp/environment'.
* Working directory: '/var/tmp/portage/sys-libs/zlib-1.2.5.1-r2/work/zlib-1.2.5.1'
* S: '/var/tmp/portage/sys-libs/zlib-1.2.5.1-r2/work/zlib-1.2.5.1'

>>> Failed to emerge sys-libs/zlib-1.2.5.1-r2, Log file:

>>> '/var/tmp/portage/sys-libs/zlib-1.2.5.1-r2/temp/build.log'

* Messages for package sys-libs/zlib-1.2.5.1-r2:

* This profile has not been tested thoroughly and is not considered to be
* a supported server profile at this time. For a supported server
* profile, please check the Hardened project (http://hardened.gentoo.org).
* This profile is merely a convenience for people who require a more
* minimal profile, yet are unable to use hardened due to restrictions in
* the software being used on the server. This profile should also be used
* if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this
* applies to you, then it doesn't and you should probably be using
* Hardened, instead.
* ERROR: sys-libs/zlib-1.2.5.1-r2 failed (install phase):
* unable to read SONAME from libz.so
*
* Call stack:
* ebuild.sh, line 85: Called src_install
* environment, line 2778: Called gen_usr_ldscript '-a' 'z'
* environment, line 1898: Called die
* The specific snippet of code:
* [[ -z ${tlib} ]] && die "unable to read SONAME from ${lib}";
*
* If you need support, post the output of `emerge --info '=sys-libs/zlib-1.2.5.1-r2'`,
* the complete build log and the output of `emerge -pqv '=sys-libs/zlib-1.2.5.1-r2'`.
* The complete build log is located at '/var/tmp/portage/sys-libs/zlib-1.2.5.1-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/zlib-1.2.5.1-r2/temp/environment'.
* Working directory: '/var/tmp/portage/sys-libs/zlib-1.2.5.1-r2/work/zlib-1.2.5.1'
* S: '/var/tmp/portage/sys-libs/zlib-1.2.5.1-r2/work/zlib-1.2.5.1'
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Mon Sep 17, 2012 4:51 pm    Post subject: Reply with quote

First of all, report a bug as this is a problem in the stage3. Secondly, grab a binary zlib from here: http://tinderbox.dev.gentoo.org/default-linux/amd64/sys-libs/zlib-1.2.5-r2.tbz2 (replace amd64 with your architecture) and unpack it to your filesystem. Then:
Code:
emerge -1 --nodeps perl
emerge -1 zlib
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