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

Bug 124825

Summary: Fix xen-3.0.1-r3 compiliation on uClibc systems
Product: Gentoo Linux Reporter: Milan Holzäpfel <mail>
Component: Current packagesAssignee: Chris Bainbridge (RETIRED) <chrb>
Status: RESOLVED LATER    
Severity: normal CC: embedded
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to disable xentrace and xenmon compilation on uClibc-based systems

Description Milan Holzäpfel 2006-03-03 10:13:00 UTC
Hello, 

xentrace and xenmon in the tools directory of the xen-3.0.1 package want to include <argp.h>, which is not available on my uClibc-0.9.28 system. 
I do not know whether there is a both easy and proper solution for it, but the patch I will attach makes the rest of the xen package usable by disabling the compiliation of these two tools on uClibc-systems. 

Regards,
Milan
Comment 1 Milan Holzäpfel 2006-03-03 10:15:19 UTC
Created attachment 81219 [details, diff]
Patch to disable xentrace and xenmon compilation on uClibc-based systems

Should uclibc be added to IUSE? (there's a QA notice complaining)
Is "if use uclibc" the correct way to check?
Comment 2 Chris Bainbridge (RETIRED) gentoo-dev 2006-03-04 02:28:51 UTC
I'd rather not disable the tools. Will it compile with argp-standalone? Perhaps there should be an ebuild for that instead?
Comment 3 solar (RETIRED) gentoo-dev 2006-03-04 10:56:04 UTC
I never seen argp-standalone before. That might be interesting option to explore.
I personally perfer to see code written to use getopt_long() vs forcing non stardards, but I dont see that happening.
Comment 4 Milan Holzäpfel 2006-04-08 02:10:56 UTC
Side note: Xend doesn't work on gentoo-uClibc systems for me. (I can create User-Domains, but xm console doesn't work.) I do no think it't due to xentrace and xenmon missing, however, as these are monitoring tools for the user(..?). 
For now, I've given up using gentoo-uclibc-based system for Xen. Therefore, I'm changing this to "later", for the case that anyone will fix this (or maybe Xen 3.0.2 works better, who knows..) Please change if this is not appropriate. 

Regards,