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

Bug 273877

Summary: app-office/abiword-plugins: fails to build with glibc-2.10
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: GNOME Office (OBSOLETE) <gnome-office+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: david.finkel
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://cvs.fedoraproject.org/viewvc/devel/abiword/abiword-plugins-2.6.8-rindex.patch?revision=1.1
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 270353    
Attachments: Build log

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-12 14:32:47 UTC
There are a few changes in glibc-2.10 that might make your software fail to build with it, please refer to my blog post [1] if you're not sure what the problem is.

And no I don't usually provide emerge --info with these bugs because they are caused by glibc-2.10!

Thanks, Diego

[1] http://blog.flameeyes.eu/2009/05/24/c-libraries-galore
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-12 14:33:09 UTC
Created attachment 194421 [details]
Build log
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2009-06-13 13:19:52 UTC
Patch in URL, please test
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-13 13:30:21 UTC
Patch looks not perfect to me, why the static_cast? O_o
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2009-07-29 22:15:01 UTC
*** Bug 277257 has been marked as a duplicate of this bug. ***
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2009-07-29 22:42:46 UTC
Fix pulled from upstream.
Comment 6 Romain Perier (RETIRED) gentoo-dev 2009-07-30 06:05:44 UTC
I agree with diego, the static_cast isn't necessary.
If rindex (pCom1->utf8_str (), '.') returns a real const char *, we've just to assign the returned value into a const char *, and that all.

(diego correct me if wrong of course)