Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701338 - sys-kernel/linux-headers misses a gentoo-sources patch for xattr.h
Summary: sys-kernel/linux-headers misses a gentoo-sources patch for xattr.h
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-27 15:33 UTC by Ulenrich
Modified: 2019-11-27 20:46 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulenrich 2019-11-27 15:33:30 UTC
When installing any ebuild of sys-kernel/linux-headers
I do this diff:
---diff /usr/include/linux/xattr.h /usr/src/linux/include/uapi/linux/xattr.h 
14,15c14,15
< #ifndef _LINUX_XATTR_H
< #define _LINUX_XATTR_H
---
> #ifndef _UAPI_LINUX_XATTR_H
> #define _UAPI_LINUX_XATTR_H
79a80,83
> /* User namespace */
> #define XATTR_PAX_PREFIX XATTR_USER_PREFIX "pax."
> #define XATTR_PAX_FLAGS_SUFFIX "flags"
> #define XATTR_NAME_PAX_FLAGS XATTR_PAX_PREFIX XATTR_PAX_FLAGS_SUFFIX
81c85
< #endif /* _LINUX_XATTR_H */
---
> #endif /* _UAPI_LINUX_XATTR_H */
--- end diff

When I emerge sys-kernel/linux-headers with an sys-kernel/gentoo-sources
patch, which changes include/uapi/linux/xattr.h
1500_XATTR_USER_PREFIX.patch
And now I diff
---# diff /usr/include/linux/xattr.h /usr/src/linux/include/uapi/linux/xattr.h 
14,15c14,15
< #ifndef _LINUX_XATTR_H
< #define _LINUX_XATTR_H
---
> #ifndef _UAPI_LINUX_XATTR_H
> #define _UAPI_LINUX_XATTR_H
85c85
< #endif /* _LINUX_XATTR_H */
---
> #endif /* _UAPI_LINUX_XATTR_H */
--- end diff

I get much less from this diff. My question:
Is something lost with the sys-kernel/linux-headers from gentoo-sources patches?
Is it intended?


Reproducible: Always
Comment 1 Ulenrich 2019-11-27 15:44:10 UTC
I got the attention of this, because I remember there were some difficulties with newer versions of 
sys-apps/attr
Comment 2 Jonas Stein gentoo-dev 2019-11-27 20:46:38 UTC
Thank you for the report. Please recompile and 
*attach* the logfiles and 
paste the emerge info as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks.
Please reopen this ticket (Status:unconfirmed) afterwards.

Add the exact version to the summary (title).