Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 492896 - sys-apps/fakeroot-ng-0.18 with sys-devel/gcc-4.8.2 - fails because include <sys/types.h> is not included?
Summary: sys-apps/fakeroot-ng-0.18 with sys-devel/gcc-4.8.2 - fails because include <s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-11-29 20:38 UTC by Martin Väth
Modified: 2014-05-30 13:44 UTC (History)
2 users (show)

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


Attachments
Fix for x86 with gcc-4.8.2 (fakeroot-ng-gcc-4.8.2,235 bytes, patch)
2013-11-29 20:38 UTC, Martin Väth
Details | Diff
fakeroot-ng-0.18-r1.ebuild (fakeroot-ng-0.18-r1.ebuild,586 bytes, text/plain)
2014-03-29 13:25 UTC, Anthoine Bourgeois
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2013-11-29 20:38:14 UTC
Created attachment 364222 [details, diff]
Fix for x86 with gcc-4.8.2

sys-apps/fakeroot-ng-0.18 does not compile on x86 with gcc-4.8.2:
The inclusion of the header file sys/types.h is missing in the x86-specific inclusion file; in the amd64-specific inclusion file the header present, i.e. on amd64 the problem does not occur.
I attach a patch which adds the missing #include on x86
Comment 1 Anthoine Bourgeois 2014-03-29 13:24:58 UTC
Hi,

Please find the new ebuild with the patch in my overlay:
http://git.overlays.gentoo.org/gitweb/?p=user/aluco.git;a=commitdiff;h=9844bda7f8fd11a5edc72872fc9bfc240d5bc032

The fakeroot-ng-0.18-r1 only apply the patch to fix the gcc-4.8.2 build.

Thanks to Martin Väth.
Comment 2 Anthoine Bourgeois 2014-03-29 13:25:24 UTC
Created attachment 373822 [details]
fakeroot-ng-0.18-r1.ebuild
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2014-05-30 13:44:46 UTC
Thanks! Committed to the tree.