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

Bug 232081

Summary: sys-devel/gettext-0.17-r1 - open with O_CREAT in second argument needs 3 arguments in gettext
Product: Gentoo Linux Reporter: Magnus Granberg <zorry>
Component: [OLD] GCC PortingAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 259417    
Attachments: Fix O_CREAT bug in gettext

Description Magnus Granberg gentoo-dev 2008-07-17 15:33:11 UTC
fPIC -DPIC -o .libs/color.o
In function 'open',
    inlined from 'msgdomain_list_print' at write-catalog.c:223:
/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[4]: *** [write-catalog.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
O_CREAT bug in 0.17 gettext
Gcc 4.3.1 whit fortify_source=2
https://hardened.gentooexperimental.org/secure/ticket/29
Comment 1 Magnus Granberg gentoo-dev 2008-07-17 15:34:53 UTC
Created attachment 160644 [details, diff]
Fix O_CREAT bug in gettext
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-09-26 22:31:19 UTC
+  26 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
+  +files/gettext-0.17-open-args.patch, gettext-0.17.ebuild:
+  Fix bug #232081, gcc-4.3 compat. Thanks to Magnus Granberg <zorry@ume.nu>.
+