Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277072 - =games-sports/toycars-0.3.10 fails to build with glibc-2.10+
Summary: =games-sports/toycars-0.3.10 fails to build with glibc-2.10+
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.10
  Show dependency tree
 
Reported: 2009-07-08 17:58 UTC by Samuli Suominen (RETIRED)
Modified: 2009-08-12 20:37 UTC (History)
0 users

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


Attachments
build.log (build.log,42.20 KB, text/plain)
2009-07-08 17:58 UTC, Samuli Suominen (RETIRED)
Details
Patch solving compilation errors with gcc-4.4/glibc-2.10 (toycars-0.3.10-gcc4.4.patch,3.24 KB, patch)
2009-08-12 19:56 UTC, Dominik Kapusta (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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)