Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277425 - dev-libs/pslib: fails to build with glibc-2.10
Summary: dev-libs/pslib: fails to build with glibc-2.10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.10
  Show dependency tree
 
Reported: 2009-07-11 12:11 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-08-03 10:26 UTC (History)
1 user (show)

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


Attachments
Build log (pslib-0.4.1-r1:20090711-072113.log,27.66 KB, text/plain)
2009-07-11 12:13 UTC, Diego Elio Pettenò (RETIRED)
Details
patch for ps_afm.c to fix the getline shenanigans (ps_afm-fix-getline.patch,1.21 KB, text/plain)
2009-07-11 12:48 UTC, Viktor S
Details
missed a parenthesis. (ps_afm-fix-getline.patch,1.21 KB, text/plain)
2009-07-11 12:51 UTC, Viktor S
Details
last update, missed src/ in front of filename. (pslib-getline.patch,1.22 KB, patch)
2009-07-30 10:29 UTC, Viktor S
Details | Diff

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