Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242802 - app-office/openoffice-3.0.0 emerge fails at filter/source/svg/spirit_supplements.hxx with gcc3
Summary: app-office/openoffice-3.0.0 emerge fails at filter/source/svg/spirit_suppleme...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-19 17:29 UTC by Stefan Werner
Modified: 2008-10-20 18:31 UTC (History)
1 user (show)

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


Attachments
updated patch from ebuild (openoffice/files) (gentoo-3.0.0.diff,1.56 KB, patch)
2008-10-19 17:31 UTC, Stefan Werner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Werner 2008-10-19 17:29:09 UTC
Please add the following patch to the openoffice-3.0.0 ebuild as it is still needed for gcc3 users.
It was part of 2.4.0 and 2.4.1 ebuild but disappeared in 3.0.0
See http://bugs.gentoo.org/show_bug.cgi?id=215447

--- patches/dev300/svg-import-filter.diff
+++ patches/dev300/svg-import-filter.diff
@@ -787,7 +787,7 @@
 +                      $(SLO)$/units.obj
 +
 +.IF "$(COMID)"=="gcc3"
-+.IF "$(CCNUMVER)">="000400000000"
++.IF "$(CCNUMVER)">="000400000000" || "$(SYSTEM_BOOST)"=="YES"
 +CFLAGS+=-DUSE_MODERN_SPIRIT
 +.ENDIF
  .ENDIF

Reproducible: Always

Steps to Reproduce:
1. emerge openoffice with gcc3
2.
3.
Comment 1 Stefan Werner 2008-10-19 17:31:35 UTC
Created attachment 169114 [details, diff]
updated patch from ebuild (openoffice/files)
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-19 17:35:07 UTC
Duplicate, please add your comments in the other bug. Also note, that obviously there seem to be other bugs in relation to gcc 3 and recent OOo release...

*** This bug has been marked as a duplicate of bug 220026 ***
Comment 3 Stefan Werner 2008-10-19 18:08:42 UTC
Sorry, but this is no duplicate, the bug summary might be misleading.

The bugreports your referring to deal with -fomit-frame-pointer and gcc3.
(yes, I'm suffering from this problem as well but it's totally different)

This bug is about a problem that was solved a few months ago for OO 2.4.0 (and also found its way into 2.4.1 ebuild) but has been reintroduced with 3.0.0 (because the patch got lost somehow)

Please see http://bugs.gentoo.org/show_bug.cgi?id=215447
Comment 4 Gordon Malm (RETIRED) gentoo-dev 2008-10-19 22:43:27 UTC
I can confirm reproduction of the problem and replacement patch in comment #1 is an accurate fix. 

interdiff shows a single line change, same as the fix in bug 215447:
-+.IF "$(CCNUMVER)">="000400000000"
++.IF "$(CCNUMVER)">="000400000000" || "$(SYSTEM_BOOST)"=="YES"

Please re-add it, thanks.
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-20 18:31:18 UTC
I've commited this fix and will push it upstream soonish. Thanks for reporting!