Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 372421

Summary: Circular dependency on default USE=fam (profile default/linux/amd64/10.0/desktop)
Product: Gentoo Linux Reporter: Sebastian Pipping <sping>
Component: EclassesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sebastian Pipping gentoo-dev 2011-06-21 00:50:55 UTC
Without USE=-fam I run into this when adding packages to a naked stage3 in profile default/linux/amd64/10.0/desktop:

==================================================================
 * Error: circular dependencies:

(dev-libs/libgamin-0.1.10-r2, ebuild scheduled for merge) depends on
 (dev-util/pkgconfig-0.26, ebuild scheduled for merge) (buildtime)
  (dev-libs/glib-2.28.8, ebuild scheduled for merge) (buildtime)
   (virtual/fam-0, ebuild scheduled for merge) (buildtime)
    (app-admin/gamin-0.1.10, ebuild scheduled for merge) (runtime)
     (dev-libs/libgamin-0.1.10-r2, ebuild scheduled for merge) (runtime)
==================================================================

I'd pick an assignee if I knew whom.
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2011-06-23 10:46:30 UTC
This comes from 

targets/desktop/make.default

I will assign this to base-system. I remember this problem as well. I am not sure if removing 'fam' from desktop profiles is desirable. I think portage should handle this kind of problems more efficiently.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-06-23 11:08:18 UTC
The solution is to make libgamin stop depending on pkg-config, usually involves something along these lines:

- export FOOBAR_LIBS and FOOBAR_CFLAGS to make it detect packages without pkg-config

- ship the pkg.m4 for stuff like eautoreconf from SRC_URI

so this bug belongs to the libgamin maintainer.
Comment 3 SpanKY gentoo-dev 2011-06-23 16:05:29 UTC
you'd get the dep regardless of USE flag defaults in the profile, so that really doesnt matter
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-06-23 16:14:41 UTC
I thought USE=fam had been removed years ago. It is only useful for fbsd arches afaik.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2011-12-22 16:49:19 UTC

*** This bug has been marked as a duplicate of bug 374775 ***