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

Bug 33158

Summary: compiling svgalib 1.4.3-r4 under GCC 3.3.2-r2
Product: Gentoo Linux Reporter: Darryl Bleau <darrylbleau>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gcc-porting, mholzer
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: getint patch for svgalib 1.4.3
new svgalib ebuild

Description Darryl Bleau 2003-11-10 11:06:10 UTC
As is, svgalib fails out with lots of "... does not give a valid preprocessing token" when attempted to compile under GCC 3.3.2-r2.
Comment 1 Darryl Bleau 2003-11-10 11:08:27 UTC
Created attachment 20534 [details, diff]
getint patch for svgalib 1.4.3

Need to apply attached patch to get svgalib-1.4.3-r4 to compile under GCC
3.3.2-r2. I've tried it in an overlay and it will compile fine after the
patch
is applied.
Comment 2 Darryl Bleau 2003-11-10 11:10:58 UTC
Created attachment 20535 [details]
new svgalib ebuild

I created a new ebuild for svgalib with the patch, not sure if this requires
a
version bump but I called it -r5. Forgive me if I did something wrong I'm
new
to this.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-11-16 11:40:48 UTC
Why do you use svgalib-1.4.3 with gcc-3.3.2 ?  I would assume (and thus why
I only fixed the 1.9.17 ebuilds for gcc-3.3) that you would also use unstable
version of svgalib ???
Comment 4 Darryl Bleau 2003-11-17 11:39:39 UTC
I only added gcc-3.3 to my portage overlay, (and a few other apps, epiphany, anjuta) and bison as well as gcc 3.3. needed new bison. I then proceeded to recompile the entire system under 3.3, so using default portage tree, svgalib-1.4.3 is what it tried to install.

I could run svgalib 1.9.17, but I was staying with the otherwize 'stable' portage tree packages, and fixing 1.4.3 wasn't that hard.

If you don't want to put the patch in portage it doesn't matter to me, I was trying to be helpful for anyone else who might do what I did.
Comment 5 SpanKY gentoo-dev 2004-01-09 15:05:03 UTC

*** This bug has been marked as a duplicate of 23515 ***