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

Bug 259305

Summary: app-text/epstool-3.08 fails to compile with gcc-4.3.3 (FORTIFY_SOURCE=2)
Product: Gentoo Linux Reporter: Richard Li <admin>
Component: Current packagesAssignee: Patrick Kursawe (RETIRED) <phosphan>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard: PATCH
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 259417    
Attachments: patch

Description Richard Li 2009-02-17 03:05:13 UTC
epstool-3.08 (and likely earlier versions) does not compile with gcc-4.3, apparently due to an upstream mistake.

I'll be attaching the patch.

Reproducible: Always

Steps to Reproduce:
Comment 1 Richard Li 2009-02-17 03:05:57 UTC
Created attachment 182299 [details, diff]
patch
Comment 2 Daniel J. 2009-02-17 18:35:49 UTC
This should block bug 198121 instead of 249226.  249226 is reserved for GCC 4.4 issues; 198121 is appropriate for 4.3.
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2009-02-17 21:23:49 UTC
Done, thanks for the patch.
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2009-02-17 22:10:14 UTC
DFORTIY_SOURCE failure. Changing tracker bug.

./src/epstool.c: In function ‘app_log’:
./src/epstool.c:2469: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
In function ‘open’,
    inlined from ‘exec_program’ at ./src/epstool.c:2827:
/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
In function ‘open’,
    inlined from ‘exec_program’ at ./src/epstool.c:2835:
/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: *** [epsobj/epstool.o] Error 1