Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108822 - sound-media/mpc-0.11.2 fails to build on embedded
Summary: sound-media/mpc-0.11.2 fails to build on embedded
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-10 23:47 UTC by Natanael Copa
Modified: 2005-10-16 16:31 UTC (History)
0 users

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


Attachments
mpc-0.11.2.ebuild.patch (mpc-0.11.2.ebuild.patch,613 bytes, patch)
2005-10-10 23:49 UTC, Natanael Copa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Natanael Copa 2005-10-10 23:47:19 UTC
mpc will not link on systems without libiconv.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
emerge fails

Expected Results:  
emerge success

There should be a --disable-iconv parameter to ./configure whenever USE=-nls.
Comment 1 Natanael Copa 2005-10-10 23:49:45 UTC
Created attachment 70340 [details, diff]
mpc-0.11.2.ebuild.patch

The patch fixes the problem
Comment 2 Natanael Copa 2005-10-10 23:58:47 UTC
btw... while you are there... I suggest that you also add
--disable-dependency-tracking to reduce emerge time.

myconf="--with-gnu-ld --disable-dependency-tracking"

Thanks!
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-11 01:52:11 UTC
On embedded you can probably try to install dev-libs/libiconv to see if it 
works, in which case it can be made a dependency of mpc while being on non 
glibc libcs... 
 
And btw --with-gnu-ld should not be used. 
 
Comment 4 Natanael Copa 2005-10-11 03:55:32 UTC
(In reply to comment #3)
> On embedded you can probably try to install dev-libs/libiconv to see if it 
> works, in which case it can be made a dependency of mpc while being on non 
> glibc libcs... 

I used to have libiconv and the libiconv/mpc combination worked just fine. There
were alot of other problems related to libiconv on embedded so it is masked
(with good reason)

Why do you want force everyone to use nls, even if they have nls turned off in
USE? just curious...

> And btw --with-gnu-ld should not be used. 

I didn't know. It was already there. Nice that we can fix that too while we are
here.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-11 04:05:17 UTC
Sorry I phrased it wrong. I don't want to add libiconv as mandatory dependency 
if it can be avoided, but adding it with nls? ( !elibc_glibc( ) ) is probably 
good, as it's a dependency in that case. 
Comment 6 Natanael Copa 2005-10-11 04:14:47 UTC
(In reply to comment #5)
> Sorry I phrased it wrong. I don't want to add libiconv as mandatory dependency 
> if it can be avoided, but adding it with nls? ( !elibc_glibc( ) ) is probably 
> good, as it's a dependency in that case. 

It sounds reasonable, but I don't have any (gentoo) experience of anything else
but glibc and uclibc.

Thanks! :)
Comment 7 Andrej Kacian (RETIRED) gentoo-dev 2005-10-16 16:31:43 UTC
Fixed in 0.11.2-r1 with "nls? ( || ( sys-libs/glibc dev-libs/libiconv ) )" - it
is what gettext uses.

Also, --disable-dependency-tracking has been added to econf.

Thanks for reporting, Natanael.