Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260060 - kdelibs does not build against uclibc
Summary: kdelibs does not build against uclibc
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-23 20:45 UTC by Ryan Hope
Modified: 2009-11-09 11:14 UTC (History)
0 users

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


Attachments
A patch to prevent the building of kpac (remove-kpac-for-uclibc.patch,396 bytes, patch)
2009-02-23 20:47 UTC, Ryan Hope
Details | Diff
A patch to modify the kdelibs ebuild to apply the remove kpac patch if ELIBC==uclibc (remove-kpac-for-uclibc.ebuild.patch,472 bytes, patch)
2009-02-23 20:49 UTC, Ryan Hope
Details | Diff
Implement dn_skipname for uclibc builds (kdelibs-add-dn_skipname-for-uclibc.patch,3.83 KB, patch)
2009-02-25 04:02 UTC, Ryan Hope
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hope 2009-02-23 20:45:38 UTC
kdelibs-4 does not build against uclibc because uclibc does not provide dn_skipname...

Reproducible: Always

Steps to Reproduce:
1.install 2008 uclibc stage3
2. emerge kdelibs

Actual Results:  
emerge fails when it gets to kio/misc/kpac/discovery.cpp

Expected Results:  
kdelibs should build as expected

not building kpac solves this problem
Comment 1 Ryan Hope 2009-02-23 20:47:27 UTC
Created attachment 182943 [details, diff]
A patch to prevent the building of kpac
Comment 2 Ryan Hope 2009-02-23 20:49:19 UTC
Created attachment 182944 [details, diff]
A patch to modify the kdelibs ebuild to apply the remove kpac patch if ELIBC==uclibc
Comment 3 Maciej Mrozowski gentoo-dev 2009-02-24 21:52:18 UTC
Well, the real solution would be to use some uclibc (common in glibc as well) equivalent for dn_skipname instead stripping-off kio functionality that may have in theory unpredictable consequences.
Comment 4 Ryan Hope 2009-02-24 22:08:30 UTC
(In reply to comment #3)
> Well, the real solution would be to use some uclibc (common in glibc as well)
> equivalent for dn_skipname instead stripping-off kio functionality that may
> have in theory unpredictable consequences.
> 

something like this: http://bugs.gentoo.org/attachment.cgi?id=136036 ?????
Comment 5 Ryan Hope 2009-02-25 04:02:10 UTC
Created attachment 183112 [details, diff]
Implement dn_skipname for uclibc builds
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2009-02-27 12:30:14 UTC
Hi,
tiny suggestion.
Sent this to upstream.
They should fix this not us.

When you open upstream bug add link to it here. We will apply that when upstream applies that too :]
Comment 7 Ryan Hope 2009-02-27 15:10:49 UTC
(In reply to comment #6)
> Hi,
> tiny suggestion.
> Sent this to upstream.
> They should fix this not us.
> 
> When you open upstream bug add link to it here. We will apply that when
> upstream applies that too :]
> 

Yeah I have a better patch in the works as suggested by someone on the kde bug tracker, I will link to that once its done.