Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277256 - net-analyzer/labrea: fails to build because of wrong asm-include directory
Summary: net-analyzer/labrea: fails to build because of wrong asm-include directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-09 20:45 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-04-21 13:49 UTC (History)
3 users (show)

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


Attachments
Build log (labrea-2.5:20090709-203020.log,19.89 KB, text/plain)
2009-07-09 20:46 UTC, Diego Elio Pettenò (RETIRED)
Details
fix asm iclude dir (labrea-2.5-stable-1-incdir.patch,395 bytes, patch)
2009-12-11 20:14 UTC, Andrew Savchenko
Details | Diff
ebuild patch (labrea-2.5.ebuild.patch,752 bytes, patch)
2009-12-11 20:16 UTC, Andrew Savchenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.