Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105618 - openoffice-bin-1.9.130.ebuild has an out of order variable declaration
Summary: openoffice-bin-1.9.130.ebuild has an out of order variable declaration
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-11 10:56 UTC by Paul Varner (RETIRED)
Modified: 2005-09-19 09:27 UTC (History)
0 users

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


Attachments
openoffice-bin-1.9.128.ebuild patch (openoffice-bin.patch,738 bytes, patch)
2005-09-11 10:58 UTC, Paul Varner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Varner (RETIRED) gentoo-dev 2005-09-11 10:56:29 UTC
This problem is made apparent with portage-2.1.0-alpha as the ebuild fails with
"no such file or directory" errors. The following is the problem:

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

so S effectively becomes "${WORKDIR}/SRC680_m_native_packed-1_en-US.8951/RPMS"
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 >=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="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/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"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs distlocks fixpackages sandbox sfperms
strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo
http://gentoo.mirrors.pair.com/"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="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"
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
Comment 1 Paul Varner (RETIRED) gentoo-dev 2005-09-11 10:58:26 UTC
Created attachment 68183 [details, diff]
openoffice-bin-1.9.128.ebuild patch

Trivial patch to fix the out of order declaration
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2005-09-13 22:40:34 UTC
Oh my, that's one stupid bug. Fixed it, thanks for noticing
Comment 3 Paul Varner (RETIRED) gentoo-dev 2005-09-19 09:06:10 UTC
The recently released 1.9.130 ebuild also has this problem.
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2005-09-19 09:27:59 UTC
Aaaaaaaaaaaaaaaaaaaargh /me definately needs a vacation, fixed it, again.