Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259305 - app-text/epstool-3.08 fails to compile with gcc-4.3.3 (FORTIFY_SOURCE=2)
Summary: app-text/epstool-3.08 fails to compile with gcc-4.3.3 (FORTIFY_SOURCE=2)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard: PATCH
Keywords:
Depends on:
Blocks: fortify-source
  Show dependency tree
 
Reported: 2009-02-17 03:05 UTC by Richard Li
Modified: 2009-02-17 22:10 UTC (History)
0 users

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


Attachments
patch (epstool.patch,731 bytes, patch)
2009-02-17 03:05 UTC, Richard Li
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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