Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174078 - circular loop between sys-libs/libcap and dev-lang/swig
Summary: circular loop between sys-libs/libcap and dev-lang/swig
Status: RESOLVED DUPLICATE of bug 175808
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-10 19:59 UTC by Manuel Gomez
Modified: 2008-02-05 23:11 UTC (History)
0 users

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


Attachments
Output of "emerge info". (emerge.info,5.67 KB, text/plain)
2007-04-10 20:02 UTC, Manuel Gomez
Details
Log of emerge attempt. (portage.log,18.88 KB, text/plain)
2007-04-10 20:06 UTC, Manuel Gomez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Gomez 2007-04-10 19:59:23 UTC
The libcap-1.10-r9 compile requires swig being installed.  If it isn't, the compile fails.  Attached is a log of the attempt to emerge it.  Furthermore, attempting to manually emerge swig without --no-deps has libcap listed as one of the dependencies (although quite deep in the list; this error was observed right after installing Gentoo, while emerging basically everything (X, updating portage, etc) with lots of USE stuff turned on).  The problem is fixed by doing emerge --no-deps swig, and then emerge libcap.

Reproducible: Always

Steps to Reproduce:
1.Don't have swig installed.
2.Try to emerge libcap.
3.Fail!
Actual Results:  
libcap fails to emerge:
swig -python -o libcap_wrap.c include/sys/capability.h
make[1]: swig: Command not found
make[1]: *** [libcap_wrap.c] Error 127

Expected Results:  
The libcap ebuild should depend on swig, thus eliminating this issue.

Failed emerge log and output of emerge info attached.
Comment 1 Manuel Gomez 2007-04-10 20:02:44 UTC
Created attachment 115933 [details]
Output of "emerge info".

Excuse my huge USE flag; I just want it all! :-)
Comment 2 Manuel Gomez 2007-04-10 20:06:18 UTC
Created attachment 115935 [details]
Log of emerge attempt.

I believe this has color control characters; sorry about that.  They're only on the first few lines, though.
The error happens near the end, naturally.  It tries using swig, but that program isn't installed.  While a trivial solution is simply doing emerge --no-deps swig, swig should be listed in libcap's dependencies.
Comment 3 Manuel Gomez 2007-04-10 20:17:45 UTC
emerge info output attached as I believe it's rather large and ugly.
Comment 4 SpanKY gentoo-dev 2007-04-10 21:31:21 UTC
libcap emerges just fine w/out swig ... you have USE=python which means you requested libcap build with swig
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-02-05 23:11:08 UTC

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