Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154409 - app-i18n/koffice-i18n-1.6.0 and kde-base/kde-i18n-3.5.5 ebuilds bad pkg_setup()
Summary: app-i18n/koffice-i18n-1.6.0 and kde-base/kde-i18n-3.5.5 ebuilds bad pkg_setup()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-07 15:22 UTC by Fabio Erculiani
Modified: 2006-11-07 16:00 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Erculiani 2006-11-07 15:22:00 UTC
Hi,
both ebuilds contains this function:
pkg_setup() {
        if [ -z "${A}" ]; then
                echo
                eerror "You must set the LINGUAS environment variable to a list of valid"
                eerror "language codes, one for each language you would like to install."
                eerror "e.g.: LINGUAS=\"sv de pt\""
                eerror ""
                eerror "The available language codes are:"
                echo "${LANGS}"
                echo
                die
        fi
}

I think that you cannot use ${A} in this because you break quickpkg && emerge -K otherwise.

Just try (koffice-i18n example):
quickpkg koffice-i18n
emerge -K koffice-i18n --> this will fail

Thanks.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-07 16:00:52 UTC
Thanks, fixed now.