Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246810 - uclibc build fix for app-arch/pbzip2
Summary: uclibc build fix for app-arch/pbzip2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-11-15 03:43 UTC by René Rhéaume (a.k.a. repzilon, rener)
Modified: 2008-12-22 05:12 UTC (History)
0 users

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


Attachments
Uclibc patch (pbzip2-1.0.2-uclibc.patch,1.23 KB, patch)
2008-11-15 03:44 UTC, René Rhéaume (a.k.a. repzilon, rener)
Details | Diff
Updated ebuild (pbzip2-1.0.2-r1.ebuild,885 bytes, text/plain)
2008-11-15 03:44 UTC, René Rhéaume (a.k.a. repzilon, rener)
Details
A similar patch for the 1.0.3 version (pbzip2-1.0.3-uclibc.patch,1.14 KB, patch)
2008-11-17 07:42 UTC, Jeroen Roovers (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description René Rhéaume (a.k.a. repzilon, rener) 2008-11-15 03:43:30 UTC
uclibc lacks the getloadavg function, just like Cygwin and some almost dead Unices. There is already a dine to disable the support. Simply add uclibc to the list.

Reproducible: Always

Steps to Reproduce:
1. emerge pbzip2 on a uclibc system

Actual Results:  
Emerge died at the src_compile stage because getloadavg is undefined

Expected Results:  
pbzip2 merged into the system
Comment 1 René Rhéaume (a.k.a. repzilon, rener) 2008-11-15 03:44:01 UTC
Created attachment 171773 [details, diff]
Uclibc patch
Comment 2 René Rhéaume (a.k.a. repzilon, rener) 2008-11-15 03:44:26 UTC
Created attachment 171775 [details]
Updated ebuild
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-17 07:24:00 UTC
Please send this patch upstream too.
I have applied it to 1.0.2-r1 and slightly cleaned up the ebuild in the process.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-17 07:42:04 UTC
Created attachment 172046 [details, diff]
A similar patch for the 1.0.3 version
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-17 07:44:24 UTC
(In reply to comment #4)
> Created an attachment (id=172046) [edit]
> A similar patch for the 1.0.3 version

Which is now in the tree, patched and all. :)
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-17 07:49:24 UTC
1.0.3 patch sent upstream.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-22 05:12:13 UTC
Fixed in 1.0.4.