<?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>105618</bug_id>
          
          <creation_ts>2005-09-11 10:56 0000</creation_ts>
          <short_desc>openoffice-bin-1.9.130.ebuild has an out of order variable declaration</short_desc>
          <delta_ts>2005-09-19 09:27:59 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>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>fuzzyray@gentoo.org</reporter>
          <assigned_to>openoffice@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>fuzzyray@gentoo.org</who>
            <bug_when>2005-09-11 10:56:29 0000</bug_when>
            <thetext>This problem is made apparent with portage-2.1.0-alpha as the ebuild fails with
&quot;no such file or directory&quot; errors. The following is the problem:

S=&quot;${WORKDIR}/SRC680_m${SNV}_native_packed-1_en-US.8951/RPMS&quot;
is defined before
SNV=&quot;$(get_version_component_range 3)&quot;

so S effectively becomes &quot;${WORKDIR}/SRC680_m_native_packed-1_en-US.8951/RPMS&quot;
which does not exist.

Moving the declaration of S to after the declaration of SNV fixes the issue.

Reproducible: Always
Steps to Reproduce:
1. emerge &gt;=sys-apps/portage-2.1.0_alpha
2. emerge openoffice-bin-1.9.128
3.

Actual Results:  
emerge of openoffice-bin fails

Expected Results:  
successful emerge of openoffice-bin

Portage 1.589-cvs (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1,
2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.12.0_pre8
Python:              dev-lang/python-2.3.5,dev-lang/python-2.4.1-r1 [2.4.1 (#1,
Jun 17 2005, 01:55:04)]
distcc: No such file or directory [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.9.6, 1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=pentium4 -O2 -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=pentium4 -O2 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache cvs distlocks fixpackages sandbox sfperms
strict&quot;
GENTOO_MIRRORS=&quot;http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo
http://gentoo.mirrors.pair.com/&quot;
LINGUAS=&quot;en&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 X acpi alsa apache2 arts artswrappersuid audiofile avi bash-completion
berkdb bitmap-fonts browserplugin cdr crypt cups curl dvd eds emboss encode fam
fbcon flac foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imagemagick imlib
java javascript jpeg kde kdeenablefinal kdexdeltas libg++ libwww mad maildir
mikmod mmx motif mp3 mpeg ncurses nls nptl ogg oggvorbis opengl pam pdflib perl
png ppds python qt quicktime readline samba sasl sdl spell sqlite sse ssl tcltk
tcpd tiff truetype truetype-fonts type1-fonts usb vorbis win32codecs xine xml2
xmms xscreensaver xv zlib linguas_en userland_GNU kernel_linux elibc_glibc&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS

Config files: /etc/make.conf, /etc/portage/mirrors, /etc/portage/package.mask,
/etc/portage/package.unmask, /etc/portage/package.keywords,
/etc/portage/profile/packages, /etc/portage/profile/virtuals</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fuzzyray@gentoo.org</who>
            <bug_when>2005-09-11 10:58:26 0000</bug_when>
            <thetext>Created an attachment (id=68183)
openoffice-bin-1.9.128.ebuild patch

Trivial patch to fix the out of order declaration</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>suka@gentoo.org</who>
            <bug_when>2005-09-13 22:40:34 0000</bug_when>
            <thetext>Oh my, that&apos;s one stupid bug. Fixed it, thanks for noticing</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fuzzyray@gentoo.org</who>
            <bug_when>2005-09-19 09:06:10 0000</bug_when>
            <thetext>The recently released 1.9.130 ebuild also has this problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>suka@gentoo.org</who>
            <bug_when>2005-09-19 09:27:59 0000</bug_when>
            <thetext>Aaaaaaaaaaaaaaaaaaaargh /me definately needs a vacation, fixed it, again.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>68183</attachid>
            <date>2005-09-11 10:58 0000</date>
            <desc>openoffice-bin-1.9.128.ebuild patch</desc>
            <filename>openoffice-bin.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9hcHAtb2ZmaWNlL29wZW5vZmZpY2UtYmluL29wZW5vZmZpY2UtYmlu
LTEuOS4xMjguZWJ1aWxkCTIwMDUtMDktMTAgMDM6MzU6MjUuMDAwMDAwMDAwIC0wNTAwCisrKyBv
cGVub2ZmaWNlLWJpbi0xLjkuMTI4LmVidWlsZAkyMDA1LTA5LTExIDEyOjI3OjQ5LjAwMDAwMDAw
MCAtMDUwMApAQCAtOCwxMCArOCwxMCBAQAogCiBJTlNURElSPSIvdXNyL2xpYi9vcGVub2ZmaWNl
IgogCi1TPSIke1dPUktESVJ9L1NSQzY4MF9tJHtTTlZ9X25hdGl2ZV9wYWNrZWQtMV9lbi1VUy44
OTUxL1JQTVMiCiBERVNDUklQVElPTj0iT3Blbk9mZmljZSBwcm9kdWN0aXZpdHkgc3VpdGUiCiAK
IFNOVj0iJChnZXRfdmVyc2lvbl9jb21wb25lbnRfcmFuZ2UgMykiCitTPSIke1dPUktESVJ9L1NS
QzY4MF9tJHtTTlZ9X25hdGl2ZV9wYWNrZWQtMV9lbi1VUy44OTUxL1JQTVMiCiBMQU5HUEFDSz0i
T09vXyR7UFZ9X0xpbnV4SW50ZWxfbGFuZ3BhY2siCiBMQU5HUEFDS1BBVEg9Imh0dHA6Ly9vb290
cmFuc2xhdGlvbi5zZXJ2aWNlcy5vcGVub2ZmaWNlLm9yZy9wdWIvT3Blbk9mZmljZS5vcmcvNjgw
bSR7U05WfS8ke0xBTkdQQUNLfSIKIExBTkdMT0M9Imh0dHA6Ly9mdHAubGludXguY3ovcHViL2xv
Y2FsaXphdGlvbi9PcGVuT2ZmaWNlLm9yZy9kZXZlbC82ODAvU1JDNjgwX20ke1NOVn0vQnVpbGQt
MS9PT29fU1JDNjgwX20ke1NOVn1fbmF0aXZlX0xpbnV4SW50ZWxfbGFuZ3BhY2tzX3JwbSIK
</data>        

          </attachment>
    </bug>

</bugzilla>