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

Bug 277425

Summary: dev-libs/pslib: fails to build with glibc-2.10
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: normal CC: tex
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 270353    
Attachments: Build log
patch for ps_afm.c to fix the getline shenanigans
missed a parenthesis.
last update, missed src/ in front of filename.

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-11 12:11:23 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. Also make sure to fix it rather than sidestepping the issue [2] and [3].

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
[2] http://blog.flameeyes.eu/2009/07/02/how-_not_-to-fix-gcc-4-4-bugs
[3] http://blog.flameeyes.eu/2009/07/08/how-_not_-to-fix-glibc-2-10-function-collisions
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-11 12:13:18 UTC
Created attachment 197530 [details]
Build log
Comment 2 Viktor S 2009-07-11 12:48:41 UTC
Created attachment 197536 [details]
patch for ps_afm.c to fix the getline shenanigans

Made a patch. Not sure if that's all but I think so. Hopefully it works, I'm not entirely proficient with this.
Comment 3 Viktor S 2009-07-11 12:51:46 UTC
Created attachment 197538 [details]
missed a parenthesis.
Comment 4 Viktor S 2009-07-30 10:29:35 UTC
Created attachment 199632 [details, diff]
last update, missed src/ in front of filename.

Tried and tested, works. Missed a src/ infront of the filename in previous patches. Inclusion in tree imminent?
Comment 5 Alexis Ballier gentoo-dev 2009-08-03 10:26:59 UTC
(In reply to comment #4)
> Created an attachment (id=199632) [edit]
> last update, missed src/ in front of filename.
> 
> Tried and tested, works. Missed a src/ infront of the filename in previous
> patches. Inclusion in tree imminent?

applied, thanks