Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 550856 - =dev-util/pkgconfig-0.28-r3 inherits autotools which creates dependency cycle
Summary: =dev-util/pkgconfig-0.28-r3 inherits autotools which creates dependency cycle
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-31 06:28 UTC by Fabian Groffen
Modified: 2015-06-01 06:41 UTC (History)
2 users (show)

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


Attachments
Avoid calling eautoreconf (pkgconfig-autotools.patch,8.77 KB, patch)
2015-05-31 15:23 UTC, Mike Gilbert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Groffen gentoo-dev 2015-05-31 06:28:21 UTC
Portage complains:

(sys-devel/automake-1.12.4:1.12/1.12::gentoo_prefix, ebuild scheduled for merge) depends on
 (sys-apps/texinfo-5.2:0/0::gentoo_prefix, ebuild scheduled for merge) (buildtime)
  (dev-perl/libintl-perl-1.230.0:0/0::gentoo_prefix, ebuild scheduled for merge) (buildtime)
   (virtual/libintl-0-r1:0/0::gentoo_prefix, ebuild scheduled for merge) (buildtime)
    (sys-devel/gettext-0.19.3:0/0::gentoo_prefix, ebuild scheduled for merge) (runtime)
     (dev-libs/libxml2-2.9.2-r1:2/2::gentoo_prefix, ebuild scheduled for merge) (buildtime)
      (virtual/pkgconfig-0-r1:0/0::gentoo_prefix, ebuild scheduled for merge) (buildtime)
       (dev-util/pkgconfig-0.28-r3:0/0::gentoo_prefix, ebuild scheduled for merge) (runtime)
        (sys-devel/automake-1.12.4:1.12/1.12::gentoo_prefix, ebuild scheduled for merge) (buildtime)

This is a problem while bootstrapping.  Would it be possible to avoid autotools in non-live versions?
Comment 1 Mike Gilbert gentoo-dev 2015-05-31 15:23:30 UTC
Created attachment 404374 [details, diff]
Avoid calling eautoreconf

pkgconfig-0.28-lfs.patch modifies configure.ac, so it's a little tricky to avoid calling automake.

Here's a patch that seems to do the job.
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-05-31 21:04:11 UTC
Thanks for reporting. Ugly patch is ugly, but I suppose the only alternative would be append-lfs-flags, which I don't want to put in a core ebuild that's used in all sorts of prefix systems.

+  31 May 2015; Alexandre Rostovtsev <tetromino@gentoo.org>
+  pkgconfig-0.28-r3.ebuild, pkgconfig-9999.ebuild,
+  files/pkgconfig-0.28-lfs.patch:
+  We cannot use autotools.eclass in pkgconfig, it creates a circular dependency
+  (bug #550856, thanks to Fabian Groffen, Mike Gilbert).
Comment 3 Fabian Groffen gentoo-dev 2015-06-01 06:41:26 UTC
thanks a lot!