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

Bug 257342

Summary: net-misc/dhcdbd-3.0 fails with automagic FORTIFY_SOURCE=2
Product: Gentoo Linux Reporter: Martin Väth <martin>
Component: Current packagesAssignee: Steev Klimaszewski (RETIRED) <steev>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Väth 2009-02-02 07:14:26 UTC
Since gcc-4.3.3 uses now the automagic FORTIFY_SOURCE=2, dhcdbd-1.1.3
won't compile because of the usual wrong call of open:

    inlined from ‘dhcdbd_run’ at dhcdbd.c:2816:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared
with attribute error: open with O_CREAT in second argument needs 3 arguments
Comment 1 Magnus Granberg gentoo-dev 2009-02-17 01:15:05 UTC
http://bugs.gentoo.org/show_bug.cgi?id=232084
Comment 2 Martin Väth 2009-02-17 09:01:02 UTC

*** This bug has been marked as a duplicate of bug 232084 ***