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

Bug 261320

Summary: sys-apps/einit fails to build with _FORTIFY_SOURCE=2
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Christian Faulhammer (RETIRED) <fauli>
Status: RESOLVED FIXED    
Severity: normal CC: dma05, l.valerimanera
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 259417    
Attachments: Build log
fix for O_CREAT bug in src/modules/linux/linux-urandom.c

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-03-05 14:55:30 UTC
Check attached build log.

Note: I killed the build because scons seems to have frozen at that point, no clue why.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-03-05 14:56:21 UTC
Created attachment 184018 [details]
Build log
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2009-03-06 08:14:27 UTC
Dear upstream...will you prepare a fix or should we wait for the successor that will have that fixed?
Comment 3 Magnus Deininger 2009-03-06 09:09:21 UTC
Seems doubtful anyone's gonna fix this, so either just filter/deactivate the flag, compile with a different compiler or deactivate/use-flag the "linux-urandom" module in einit's sconscript. the successor shouldn't have this particular issue.
Comment 4 Magnus Granberg gentoo-dev 2009-03-10 22:18:22 UTC
Created attachment 184628 [details, diff]
fix for O_CREAT bug in src/modules/linux/linux-urandom.c
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2009-03-12 00:49:40 UTC
Patch looks good to me, please test.