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

Bug 257340

Summary: games-puzzle/toppler-1.1.3 fails with automagic FORTIFY_SOURCE=2
Product: Gentoo Linux Reporter: Martin Väth <martin>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 259417    

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

In function ‘int open(const char*, int, ...)’,
    inlined from ‘bool hsc_lock()’ at highscore.cc:142,
    inlined from ‘Uint8 hsc_enter(Uint32, Uint8, char*)’ at highscore.cc:289:
/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 Mr. Bones. (RETIRED) gentoo-dev 2009-02-06 22:31:50 UTC
fixed.