Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58082 - MPlayer-1.0_pre5-r1 does not pass configure due to LINGUAS having multiple similar languages set
Summary: MPlayer-1.0_pre5-r1 does not pass configure due to LINGUAS having multiple si...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Chris White (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-23 09:33 UTC by Patrick Borjesson
Modified: 2004-07-24 02:49 UTC (History)
0 users

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


Attachments
Patch to configure (mplayer-1.0_pre5-r1-conf_locale.patch,853 bytes, patch)
2004-07-23 09:36 UTC, Patrick Borjesson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Borjesson 2004-07-23 09:33:15 UTC
It seems that the configure script for mplayer does not handle when LINGUAS have multiple similar languages set. E.g: LINGUAS="sv sv_SE".
Configure contains some sed lines for excluding languages not supported, but those sed lines does not account for when LINGUAS is set as said above.

Reproducible: Always
Steps to Reproduce:
1. emerge mplayer
Actual Results:  
Snipped output:

...
Checking for i18n ... no
Checking for setlocale() ... yes
Checking for iconv ... yes
Checking for langinfo ... yes
Checking for language ... sv not found, sv_SE not found, using _SE (man pages:
_SE en)

Error: help/help_mp-_SE.h not found

Check "configure.log" if you do not understand why it failed.

!!! ERROR: media-video/mplayer-1.0_pre5-r1 failed.
!!! Function src_compile, Line 286, Exitcode 1
!!! (no error message)

Expected Results:  
MPlayer's configure script should account for LINGUAS being set with multiple
similar lang-defs, and thus emerge cleanly.

I've created a patch for the configure script which avoids this bug.
Comment 1 Patrick Borjesson 2004-07-23 09:36:06 UTC
Created attachment 36016 [details, diff]
Patch to configure
Comment 2 Chris White (RETIRED) gentoo-dev 2004-07-23 22:26:42 UTC
Turning this into a bug dependant on bug #58086, as I'm fixing all the issues (including this one) in it.
Comment 3 Brian Harring (RETIRED) gentoo-dev 2004-07-24 02:49:56 UTC
It's in cvs, clossing.