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

Bug 281155

Summary: net-misc/curl installs ABI specific curlbuild.h
Product: Gentoo Linux Reporter: ferret <ferret-bgo>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED LATER    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description ferret 2009-08-11 22:52:31 UTC
/usr/include/curl/curlbuild.h contains ABI-specific lines like:
#define CURL_SIZEOF_LONG 8

Meaning that building curl with say a 64-bit compiler, then cross-compiling or multilib-ing with -m32 will fail.

It is easily fixed by adding this line to the bottom of the src_install function:

prep_ml_includes /usr/include/curl

'inherit multilib' is already present for some reason.
Comment 1 ferret 2009-08-11 23:02:14 UTC
I should mention; currently of course on, say, amd64 'emerge curl' only installs 32-bit curl, but in the future there will be sensible multilib!

I'm closing this bug to RESOLVED->LATER, as it won't make a difference to portage at this time.