Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 599404 - =sys-kernel/hardened-sources-4.8.6 fail to build
Summary: =sys-kernel/hardened-sources-4.8.6 fail to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
: 599670 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-11-10 14:43 UTC by Manuel Rüger (RETIRED)
Modified: 2016-11-16 11:48 UTC (History)
5 users (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 Manuel Rüger (RETIRED) gentoo-dev 2016-11-10 14:43:42 UTC
CC      kernel/power/hibernate.o
  CC      kernel/power/snapshot.o
kernel/power/snapshot.c:1157:6: error: redefinition of 'clear_free_pages'
 void clear_free_pages(void)
      ^
kernel/power/snapshot.c:1023:6: note: previous definition of 'clear_free_pages' was here
 void clear_free_pages(void)
      ^
scripts/Makefile.build:289: recipe for target 'kernel/power/snapshot.o' failed
make[2]: *** [kernel/power/snapshot.o] Error 1
scripts/Makefile.build:440: recipe for target 'kernel/power' failed
make[1]: *** [kernel/power] Error 2
Makefile:970: recipe for target 'kernel' failed
make: *** [kernel] Error 2
Comment 1 Manuel Rüger (RETIRED) gentoo-dev 2016-11-11 15:22:59 UTC
There's a grsec patch for 4.8.7 out now.
Comment 2 Anthony Basile gentoo-dev 2016-11-11 15:38:35 UTC
(In reply to Manuel Rüger from comment #1)
> There's a grsec patch for 4.8.7 out now.

Yes, I have automagic scripts that alert me.  I'm working on some other stuff and should get to this soon.  Can you give me your .config so I can see if the new grsec patch fixes this.
Comment 3 Anthony Basile gentoo-dev 2016-11-12 00:23:26 UTC
(In reply to Anthony Basile from comment #2)
> (In reply to Manuel Rüger from comment #1)
> > There's a grsec patch for 4.8.7 out now.
> 

okay please try =sys-kernel/hardened-sources-4.8.7
Comment 4 Frédéric Barthelery 2016-11-12 09:08:20 UTC
Same error with hardened-sources-4.8.7
Comment 5 Anthony Basile gentoo-dev 2016-11-13 23:08:47 UTC
*** Bug 599670 has been marked as a duplicate of this bug. ***
Comment 6 Manuel Rüger (RETIRED) gentoo-dev 2016-11-14 11:24:42 UTC
The other bug had just hardened and not hardened-sources in its title, marking as a dup.

*** This bug has been marked as a duplicate of bug 599376 ***
Comment 7 Anthony Basile gentoo-dev 2016-11-16 11:48:50 UTC
(In reply to Frédéric Barthelery from comment #4)
> Same error with hardened-sources-4.8.7

please try 4.8.8 which I just pushed to the tree