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

Bug 73635

Summary: libcap can't be built with nocxx (when USE=python)
Product: Gentoo Linux Reporter: Peter S. Mazinger <ps.m>
Component: [OLD] LibraryAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 73450    
Attachments: patch for ebuild to allow building w/o a c++ compiler

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