Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407211 - sys-libs/zlib-1.2.5.1-r2 causes circular dependencies during bootstrap [latest_tree]
Summary: sys-libs/zlib-1.2.5.1-r2 causes circular dependencies during bootstrap [lates...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-07 02:27 UTC by Richard Yao (RETIRED)
Modified: 2012-03-09 16:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Yao (RETIRED) gentoo-dev 2012-03-07 02:27:35 UTC
I am using latest_tree to try to bootstrap Gentoo Prefix on ppc64-linux. It appears that sys-libs/zlib-1.2.5.1-r2 now inherits autotools, which introduces a circular dependency. This is similar to bug #406131.

$ emerge -pv =sys-libs/zlib-1.2.5.1-r2

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

Calculating dependencies... done!


[ebuild  N     ] sys-libs/zlib-1.2.5.1-r2  USE="-minizip -static-libs" 536 kB
[ebuild  N     ]  sys-devel/libtool-2.4-r4  USE="-static-libs -test -vanilla" 833 kB
[ebuild  N     ]   sys-devel/automake-1.11.1  1,042 kB
[ebuild  N     ]    sys-apps/help2man-1.40.6  USE="-nls" 180 kB
[nomerge       ] sys-devel/libtool-2.4-r4  USE="-static-libs -test -vanilla" 
[nomerge       ]  sys-devel/autoconf-2.68  USE="-emacs" 
[nomerge       ]   dev-lang/perl-5.12.4-r2  USE="-berkdb -build -debug -doc -gdbm -ithreads" 
[ebuild  N     ]    app-admin/perl-cleaner-2.7  6 kB
[ebuild  N     ]  sys-devel/autoconf-2.68  USE="-emacs" 1,350 kB
[ebuild  N     ]   dev-lang/perl-5.12.4-r2  USE="-berkdb -build -debug -doc -gdbm -ithreads" 12,069 kB

Total: 7 packages (7 new), Size of downloads: 16,014 kB

 * Error: circular dependencies:

(dev-lang/perl-5.12.4-r2::gentoo, ebuild scheduled for merge) depends on
 (sys-libs/zlib-1.2.5.1-r2::gentoo, ebuild scheduled for merge) (buildtime)
  (sys-devel/automake-1.11.1::gentoo, ebuild scheduled for merge) (buildtime)
   (dev-lang/perl-5.12.4-r2::gentoo, ebuild scheduled for merge) (buildtime)

Using sys-libs/zlib-1.2.5-r2 will workaround the dependency:

$ emerge -pv =sys-libs/zlib-1.2.5-r2

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

Calculating dependencies... done!
[ebuild  N     ] sys-libs/zlib-1.2.5-r2  475 kB

Total: 1 package (1 new), Size of downloads: 475 kB
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-03-07 03:43:40 UTC
Thanks for testing, fixed docs in cvs.
Comment 2 Richard Yao (RETIRED) gentoo-dev 2012-03-09 08:19:54 UTC
I just re-encountered this issue on x64-macos. I am reopening this because the issue does not appear to be fixed. This is during the Mac OS X bootstrap when grep is emerged.

Calculating dependencies... done!


[nomerge       ] sys-apps/grep-2.11  USE="-nls -pcre" 
[nomerge       ]  virtual/libiconv-0 
[nomerge       ]   dev-libs/libiconv-1.13.1 
[nomerge       ]    sys-devel/libtool-2.4-r4  USE="-static-libs -test -vanilla" 
[nomerge       ]     sys-devel/automake-1.11.1 
[nomerge       ]      sys-devel/autoconf-2.68  USE="-emacs" 
[nomerge       ]       dev-lang/perl-5.12.4-r2  USE="-berkdb -build -debug -doc -gdbm -ithreads" 
[ebuild  N     ]        sys-libs/zlib-1.2.5.1-r2  USE="-minizip -static-libs" 536 kB
[ebuild  N     ]         sys-devel/libtool-2.4-r4  USE="-static-libs -test -vanilla" 833 kB
[ebuild  N     ]          sys-devel/automake-1.11.1  1,042 kB
[ebuild  N     ]           sys-apps/help2man-1.40.6  USE="-nls" 180 kB
[ebuild  N     ]        app-admin/perl-cleaner-2.7  6 kB
[ebuild  N     ]      sys-devel/autoconf-2.68  USE="-emacs" 1,350 kB
[ebuild  N     ]       dev-lang/perl-5.12.4-r2  USE="-berkdb -build -debug -doc -gdbm -ithreads" 12,069 kB
[ebuild  N     ]   dev-libs/libiconv-1.13.1  4,606 kB
[ebuild  N     ] sys-apps/grep-2.11  USE="-nls -pcre" 1,102 kB
[ebuild  N     ]  virtual/libiconv-0  0 kB

Total: 10 packages (10 new), Size of downloads: 21,721 kB

 * Error: circular dependencies:

(dev-lang/perl-5.12.4-r2::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-r2::gentoo, ebuild scheduled for merge) (buildtime)
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-03-09 16:21:01 UTC
(In reply to comment #1)
> Thanks for testing, fixed docs in cvs.

I need to revert the doc changes then.

(In reply to comment #2)
> I just re-encountered this issue on x64-macos. I am reopening this because
> the issue does not appear to be fixed. This is during the Mac OS X bootstrap
> when grep is emerged.

Ahh, fixed the ebuild in svn.
http://overlays.gentoo.org/proj/alt/changeset/60400