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

Bug 608648

Summary: sys-kernel/hardened-sources: Failed to dry-run patch genpatches-4.9-9.base.tar.patch (also sys-kernel/gentoo-sources)
Product: Gentoo Linux Reporter: Alex <fuantaji>
Component: HardenedAssignee: The Gentoo Linux Hardened Team <hardened>
Status: RESOLVED INVALID    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
environment
part1 of genpatches-4.9-9.base.tar.err (too big)
part2 of genpatches-4.9-9.base.tar.err (too big)

Description Alex 2017-02-08 19:07:03 UTC
After switching to hardened profile and rebuilding system sys-kernel/hardened-sources and sys-kernel/gentoo-sources fail to emerge. 
After unpacking sources genpatches can't be applied to sources.

Reproducible: Always




I'm running gentoo-sources kernel 4.9.8. System build with GCC 6.3 (maybe the problem is with gcc; is it ready for hardened profile?)

I've decided to switch to hardened/linux/amd64 profile.
I've rebuild GCC and some other packages and then proceeded to rebuild the world with --keep-going.
It failed twice:
 - virtualbox-modules (don't care for now)
 - sys-kernel/gentoo-sources
So I've decided to wait for hardened-sources-4.9.x to arrive and suddenly;) they are here.
Emerging sys-kernel/hardened-sources fail at exactly same point while trying to apply genpatches on top of kernel sources.
Comment 1 Alex 2017-02-08 19:08:14 UTC
Created attachment 462876 [details]
build.log
Comment 2 Alex 2017-02-08 19:08:52 UTC
Created attachment 462878 [details]
environment
Comment 3 Alex 2017-02-08 19:17:08 UTC
Created attachment 462880 [details]
part1 of genpatches-4.9-9.base.tar.err (too big)
Comment 4 Alex 2017-02-08 19:17:35 UTC
Created attachment 462882 [details]
part2 of genpatches-4.9-9.base.tar.err (too big)
Comment 5 Magnus Granberg gentoo-dev 2017-02-08 19:20:41 UTC
https://bugs.gentoo.org/show_bug.cgi?id=608644 same problem?
Comment 6 Alex 2017-02-08 19:26:02 UTC
(In reply to Magnus Granberg from comment #5)
> https://bugs.gentoo.org/show_bug.cgi?id=608644 same problem?

Yes, it fails in the same place when applying genpatches to kernel sources. As for the reason...
Comment 7 Alex 2017-02-08 19:36:14 UTC
Ok. After rolling back sys-apps/grep https://bugs.gentoo.org/show_bug.cgi?id=608644 hardened-sources emerged successfully.