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

Bug 277072

Summary: =games-sports/toycars-0.3.10 fails to build with glibc-2.10+
Product: Gentoo Linux Reporter: Samuli Suominen (RETIRED) <ssuominen>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 270353    
Attachments: build.log
Patch solving compilation errors with gcc-4.4/glibc-2.10

Description Samuli Suominen (RETIRED) gentoo-dev 2009-07-08 17:58:04 UTC
Some "error: invalid conversion from ‘const char*’ to ‘char*’" errors with sys-libs/glibc-2.10.1 (and sys-devel/gcc-4.4.0)
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-07-08 17:58:55 UTC
Created attachment 197225 [details]
build.log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-07-08 18:26:53 UTC
This is also reported to upstream (Tracker in sourceforge) but no response yet. I've linked them to Flameeyes blog for correct fixing "manual".
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2009-07-14 16:45:34 UTC
I'll take a patch...
Comment 4 Dominik Kapusta (RETIRED) gentoo-dev 2009-08-12 19:56:07 UTC
Created attachment 201073 [details, diff]
Patch solving compilation errors with gcc-4.4/glibc-2.10

Attaching a patch allowing to compile toycars-0.3.10 with gcc-4.4 and glibc-2.10.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-08-12 20:37:28 UTC
Using commit message:
------------------------------------------------------------------------------
Fix building with GLIBC 2.10+ wrt #277072, thanks to Dominik Kapusta for patch.
(Portage version: 2.2_rc38/cvs/Linux x86_64)