Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608648 - sys-kernel/hardened-sources: Failed to dry-run patch genpatches-4.9-9.base.tar.patch (also sys-kernel/gentoo-sources)
Summary: sys-kernel/hardened-sources: Failed to dry-run patch genpatches-4.9-9.base.ta...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal major
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-08 19:07 UTC by Alex
Modified: 2017-02-08 19:37 UTC (History)
0 users

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


Attachments
build.log (build.log,2.51 KB, text/plain)
2017-02-08 19:08 UTC, Alex
Details
environment (environment,151.62 KB, text/plain)
2017-02-08 19:08 UTC, Alex
Details
part1 of genpatches-4.9-9.base.tar.err (too big) (genpatches-4.9-9.base.tar.err-part1,735.94 KB, text/plain)
2017-02-08 19:17 UTC, Alex
Details
part2 of genpatches-4.9-9.base.tar.err (too big) (genpatches-4.9-9.base.tar.err-part2,753.38 KB, text/plain)
2017-02-08 19:17 UTC, Alex
Details

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