Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 451384 - sys-fs/aufs3-3_p20130107 - sed: can't read include/uapi/linux/aufs_type.h: No such file or directory
Summary: sys-fs/aufs3-3_p20130107 - sed: can't read include/uapi/linux/aufs_type.h: No...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-01-11 10:43 UTC by Marcel Schilling
Modified: 2013-01-12 15:19 UTC (History)
0 users

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


Attachments
build log (build.log,2.17 KB, text/plain)
2013-01-11 10:46 UTC, Marcel Schilling
Details
emerge --info (info,5.08 KB, text/plain)
2013-01-11 10:48 UTC, Marcel Schilling
Details
emerge -pvq (pvq,131 bytes, text/plain)
2013-01-11 10:49 UTC, Marcel Schilling
Details
proposed patch for aufs3-3_p20130107.ebuild (aufs3-3_p20130107.ebuild.diff,131 bytes, patch)
2013-01-11 11:44 UTC, Marcel Schilling
Details | Diff
proposed patch in unified format (aufs3-3_p20130107.ebuild.diff,473 bytes, patch)
2013-01-11 12:22 UTC, Marcel Schilling
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Schilling 2013-01-11 10:43:42 UTC
When trying to update sys-fs/aufs3 from 3_p20121210 to 3_p20130107 the emerge failes in the prepare phase when trying to run 'sed -i "s:__user::g"' on a file 'include/uapi/linux/aufs_type.h'. This file, as the whole directory 'include/uapi', does not exist. However, there is a directory 'include/linux' containing a file 'aufs_type.h'.
Comment 1 Marcel Schilling 2013-01-11 10:46:43 UTC
Created attachment 335160 [details]
build log
Comment 2 Marcel Schilling 2013-01-11 10:48:06 UTC
Created attachment 335162 [details]
emerge --info
Comment 3 Marcel Schilling 2013-01-11 10:49:36 UTC
Created attachment 335164 [details]
emerge -pvq
Comment 4 Marcel Schilling 2013-01-11 11:44:22 UTC
Created attachment 335172 [details, diff]
proposed patch for aufs3-3_p20130107.ebuild

This patch seems to fix the problem.
I just changed the path of 'aufs_type.h' from 'include/uapi/linux' to 'include/linux' in the ebuild.
I digested the patched ebuild and updated the package.
It seems to run without any problem now.
Comment 5 Marcel Schilling 2013-01-11 12:22:35 UTC
Created attachment 335176 [details, diff]
proposed patch in unified format

This is the above patch in unified format.
I am sorry for the double-post but I just found out about the format requirements.
This is my first bug report, so please be kind. :)
Comment 6 Marcel Schilling 2013-01-11 12:31:04 UTC
I would like to assign this bug to Justin Lecher <jlec@gentoo.org> and somehow set the status to something reflecting me thinking it being fixed and requesting to double-check my patch and update the portage tree if it turns out to be correct.
But even though I am dealing with this simple request for about 3 hours now, I am not sure how to do that.
That is why I add this comment to state what I would like to do since I am not entirely sure about what I do.
So feel free to correct this report or just give me a hint how to do it.
All material I could find on this seems to be less recent but maybe I was just looking at the wrong places.

Best,
Marcel
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2013-01-12 15:19:02 UTC
+  12 Jan 2013; Justin Lecher <jlec@gentoo.org> aufs3-3_p20130107.ebuild:
+  Fix header file location for <linux-3.7, #451384
+