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

Bug 230898

Summary: [gcc-4.3] media-gfx/surf-1.0.5 fails to compile w/ gcc-4.3
Product: Gentoo Linux Reporter: Marek Miller <mlm>
Component: Current packagesAssignee: MATSUU Takuto (RETIRED) <matsuu>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: surf-1.0.5-gcc43.patch

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.
+