Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260183 - games-arcade/cdogs-sdl-0.3 __open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
Summary: games-arcade/cdogs-sdl-0.3 __open_missing_mode' declared with attribute error...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL: http://hardened.gentooexperimental.or...
Whiteboard:
Keywords:
Depends on:
Blocks: fortify-source
  Show dependency tree
 
Reported: 2009-02-24 21:00 UTC by Magnus Granberg
Modified: 2009-02-26 23:04 UTC (History)
0 users

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


Attachments
Build log of cdogs-sdl-0.3 (games-arcade_cdogs-sdl-0.3.log,7.53 KB, text/plain)
2009-02-24 21:00 UTC, Magnus Granberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Granberg gentoo-dev 2009-02-24 21:00:01 UTC
Compile with GCC 4.3.3 and glibc >=2.8 (FORTIFY_SOURCE=2)
man open:
mode specifies the permissions to use in case a new file is created.  This
argument must be supplied when O_CREAT is specified in flags;


Reproducible: Always

Steps to Reproduce:
1.Compile tha package with gcc 4.3.3 and glibc >=2.8from portage
2.
3.

Actual Results:  
In function 'open',
    inlined from 'SaveCampaign' at files.c:317:
/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
make: *** [files.o] Error 1

Expected Results:  
Would compile fine.
Comment 1 Magnus Granberg gentoo-dev 2009-02-24 21:00:44 UTC
Created attachment 183071 [details]
Build log of cdogs-sdl-0.3
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2009-02-26 23:04:08 UTC
fixed in cdogs-sdl-0.4