<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>154409</bug_id>
          
          <creation_ts>2006-11-07 15:22 0000</creation_ts>
          <short_desc>app-i18n/koffice-i18n-1.6.0 and kde-base/kde-i18n-3.5.5 ebuilds bad pkg_setup()</short_desc>
          <delta_ts>2006-11-07 16:00:52 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2006.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>lxnay@lxnaydesign.net</reporter>
          <assigned_to>kde@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>lxnay@lxnaydesign.net</who>
            <bug_when>2006-11-07 15:22:00 0000</bug_when>
            <thetext>Hi,
both ebuilds contains this function:
pkg_setup() {
        if [ -z &quot;${A}&quot; ]; then
                echo
                eerror &quot;You must set the LINGUAS environment variable to a list of valid&quot;
                eerror &quot;language codes, one for each language you would like to install.&quot;
                eerror &quot;e.g.: LINGUAS=\&quot;sv de pt\&quot;&quot;
                eerror &quot;&quot;
                eerror &quot;The available language codes are:&quot;
                echo &quot;${LANGS}&quot;
                echo
                die
        fi
}

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

Just try (koffice-i18n example):
quickpkg koffice-i18n
emerge -K koffice-i18n --&gt; this will fail

Thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2006-11-07 16:00:52 0000</bug_when>
            <thetext>Thanks, fixed now.
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>