Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257340 - games-puzzle/toppler-1.1.3 fails with automagic FORTIFY_SOURCE=2
Summary: games-puzzle/toppler-1.1.3 fails with automagic FORTIFY_SOURCE=2
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
Depends on:
Blocks: fortify-source
  Show dependency tree
Reported: 2009-02-02 07:08 UTC by Martin Väth
Modified: 2009-02-18 00:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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,
    inlined from ‘Uint8 hsc_enter(Uint32, Uint8, char*)’ at
/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