Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73635 - libcap can't be built with nocxx (when USE=python)
Summary: libcap can't be built with nocxx (when USE=python)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 73450
  Show dependency tree
 
Reported: 2004-12-07 01:52 UTC by Peter S. Mazinger
Modified: 2005-02-03 09:24 UTC (History)
0 users

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


Attachments
patch for ebuild to allow building w/o a c++ compiler (libcap-ebuild-nocxx.patch,1.50 KB, patch)
2004-12-07 01:53 UTC, Peter S. Mazinger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter S. Mazinger 2004-12-07 01:52:16 UTC
if use python and libcap is built, it pulls in swig, that can't be built w/o
a c++ compiler (the modules are written in cxx)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Peter S. Mazinger 2004-12-07 01:53:37 UTC
Created attachment 45419 [details, diff]
patch for ebuild to allow building w/o a c++ compiler
Comment 2 Peter S. Mazinger 2004-12-07 01:56:25 UTC
not added to the nocxx tracker bug, libcap is not part of emerge system
Comment 3 solar (RETIRED) gentoo-dev 2004-12-07 20:01:48 UTC
With this patch enabled.
sys-libs/libcap-1.10-r4  -debug -nocxx +pic +python -static
The python does not appear to be getting built at all.
I think this is the problem.
-	if use python ; then
+	if !use nocxx && use python ; then

Also with and without the patch and my /usr/bin/g++ in and out of the way I can't see where any cxx is getting used.. clue me in please.
Comment 4 Peter S. Mazinger 2004-12-07 23:34:24 UTC
not libcap is the problem, swig is not allowed to be pulled in, because the
building the modules in swig need c++
Comment 5 solar (RETIRED) gentoo-dev 2005-02-03 09:23:28 UTC
fixed in CVS
Comment 6 solar (RETIRED) gentoo-dev 2005-02-03 09:24:06 UTC
closing bug