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

Bug 346567

Summary: sys-kernel/linux-headers will silently fail if unifdef crashes
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: VERIFIED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-11-23 20:32:54 UTC
Don't ask me what's really going on in the tinderbox for this to have happened, let's just say that trying to get gold to work was definitely a mistake. On the other hand, it really shouldn't happen that a botched build of unifdef can cause all this trouble. It installs a number of empty files as headers, with the result that all the definition coming from linux-headers are missing.

Can we add at least a bit of safety check to ensure that there is some content in the headers before replacing them?

Thanks,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-11-23 20:33:35 UTC
Created attachment 255229 [details]
Build log
Comment 2 SpanKY gentoo-dev 2010-11-23 22:21:43 UTC
ive sent a patch upstream.  not planning on adding the patch to all the older ebuilds though since this is unlikely to occur.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-11-23 22:37:40 UTC
Thanks.