Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230898 - [gcc-4.3] media-gfx/surf-1.0.5 fails to compile w/ gcc-4.3
Summary: [gcc-4.3] media-gfx/surf-1.0.5 fails to compile w/ gcc-4.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-07-05 22:27 UTC by Marek Miller
Modified: 2008-07-09 21:41 UTC (History)
0 users

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


Attachments
surf-1.0.5-gcc43.patch (surf-1.0.5-gcc43.patch,6.15 KB, patch)
2008-07-05 22:28 UTC, Marek Miller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Miller 2008-07-05 22:27:37 UTC
Again missing headers.


Steps to reproduce:
1. echo "=media-gfx/surf-1.0.5" >> /etc/portage/package.keywords
2. USE="gtk" emerge -v1 =media-gfx/surf-1.0.5

The error messages:
1.
> polyx.h:29:22: error: iostream.h: No such file or directory

2.
> polyx.h:72: error: expected constructor, destructor, or type conversion before '&' token

3.
mymemory.cc:35:22: error: iostream.h: No such file or directory

4.
SymbolTable.cc:26:22: error: iostream.h: No such file or directory

5.
> ../curve/Monom.h: In function 'void negate(CMonom<Coeff, num>&)':
> ../curve/Monom.h:125: error: reference to 'negate' is ambiguous
> ../curve/Monom.h:123: error: candidates are: template<class Coeff, int num> void negate(CMonom<Coeff, num>&)
> ../curve/doubleMath.h:34: error: candidates are: void negate(double&)

etc. etc.

My emerge --info: as in the Bug 230511, comment 4.
The patch is huge!

NOTE: The patch does no work! I must tell I gave up...
Comment 1 Marek Miller 2008-07-05 22:28:16 UTC
Created attachment 159667 [details, diff]
surf-1.0.5-gcc43.patch
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-07-09 21:41:51 UTC
+*surf-1.0.5-r1 (09 Jul 2008)
+
+  09 Jul 2008; Peter Alfredsen <loki_val@gentoo.org>
+  +files/surf-1.0.5-configurefixup.patch, +files/surf-1.0.5-gcc43.patch,
+  -surf-1.0.5.ebuild, +surf-1.0.5-r1.ebuild:
+  Fixup for gcc-4.3, bug #230898. Thank you very much to Marek Miller
+  <mlm@shells.pl> for half of the gcc43 patch. Also fixup configure so it
+  actually detects tiffio and gmp headers, which it did not do before. Drop
+  old.
+