Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 61662

Summary: k3b 0.11.14 doesen't recognize language when $LINGUAS OR $LANGS are set
Product: Gentoo Linux Reporter: Alexander Roos <alexander.roos>
Component: New packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: minor CC: meyerm
Priority: High    
Version: 2004.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Roos 2004-08-25 11:12:42 UTC
There's a failure in the ebuild k3b-0.11.14.ebuild.
When you only have set $LINGUAS OR $LANGS the following command in the ebuild return a null-string:
echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq -d

Solution:
Delete "-d" from the command and you get the correct language.
echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq

Reproducible: Always
Steps to Reproduce:
1. emerge k3b
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-25 17:45:43 UTC
The null string is catched via

if [ -n "$MAKE_PO" ] ; then
        SRC_URI="${SRC_URI} mirror://sourceforge/k3b/${I18N}.tar.bz2"
fi

Please reopen, if there's still a problem

Comment 2 meyerm 2004-09-10 03:56:29 UTC
I guess Alexander wouldn't have open this bugreport if it would work ;-)

Well, so I want to append that I just tried to emerge K3B with ~x86 and LINGUAS="de" set and it only shows up in english. Since I must go back now learning I can't investigate further - perhaps later.

Thank you