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

Bug 277256

Summary: net-analyzer/labrea: fails to build because of wrong asm-include directory
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal CC: bircoph, esigra, fauli
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
fix asm iclude dir
ebuild patch

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-09 20:45:47 UTC
As per summary, check attached build log.

And _please_ try not to fix it in the wrong way: http://blog.flameeyes.eu/2009/07/02/how-_not_-to-fix-gcc-4-4-bugs
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-09 20:46:02 UTC
Created attachment 197410 [details]
Build log
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2009-07-28 19:39:40 UTC
/usr/include/asm/posix_types.h:2:30: error: posix_types_32.h: No such file or directory

Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-11-24 13:21:03 UTC
Hmm might actually be a linux-headers problem.
Comment 4 Andrew Savchenko gentoo-dev 2009-12-11 19:13:32 UTC
The same here.
posix_types_32.h is present on the system in /usr/include/asm, so it is added to the include path and everything works ok afterwards.
Comment 5 Andrew Savchenko gentoo-dev 2009-12-11 20:14:26 UTC
Created attachment 212730 [details, diff]
fix asm iclude dir

/usr/include/asm is added to include search path, but only as last resort, otherwise it will clash with system headers.
Comment 6 Andrew Savchenko gentoo-dev 2009-12-11 20:16:29 UTC
Created attachment 212732 [details, diff]
ebuild patch

Patch for current ebuild.

1) It applies incude-dirs patch above.
2) It switches ebuild to EAPI-2.
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2010-04-21 13:49:34 UTC
Should be fixed in -r1, thanks Andrew.  No issue with GCC 4.4, fast track stabilisation in another bug.