Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133218 - portage-2.0.54-r2 uses bash-3 features but has RDEPEND on >=app-shells/bash-2.05a
Summary: portage-2.0.54-r2 uses bash-3 features but has RDEPEND on >=app-shells/bash-2...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-05-13 09:55 UTC by Petteri Räty (RETIRED)
Modified: 2006-05-25 10:55 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 Petteri Räty (RETIRED) gentoo-dev 2006-05-13 09:55:59 UTC
/usr/lib/portage/bin/ebuild.sh: eval: line 3: syntax error near `=~'

I stumbled onto this when updating a Gentoo machine that hasn't been touched in ages.

Portage 2.0.54-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.9-nitro4 i686)
=================================================================
System uname: 2.6.9-nitro4 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.16
ccache version 2.3 [disabled]
dev-lang/python:     2.3.4-r1
dev-python/pycrypto: [Not Present]
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=pentium2 -march=pentium2 -pipe -ffast-math -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=pentium2 -march=pentium2 -pipe -ffast-math -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo http://lame.lut.fi/linux/gentoo "
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apm audiofile avi bash-completion berkdb bitmap-fonts bzip2 bzlib cdb cli crypt cups curl divx4linux dri eds emboss expat fbcon foomaticdb ftp gif gstreamer gtk2 imagemagick imlib isdnlog java jpeg kde lcms libg++ libwww lzo mad mmx mng motif mozilla mp3 mpeg ncurses network nls nptl nptlonly ogg opengl pam pcre pdflib png ppds pppd python qt quicktime readline real reflection rtc session slp spell spl ssl symlink tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vorbis xml2 xmms xorg xosd xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2006-05-25 03:59:09 UTC
Fixed this myself with permission from solar.
Comment 2 Fabian Groffen gentoo-dev 2006-05-25 08:19:47 UTC
This broke ppc-macos, did someone run repoman before comitting?  Thanks.
Comment 3 solar (RETIRED) gentoo-dev 2006-05-25 09:44:47 UTC
(In reply to comment #2)
> This broke ppc-macos, did someone run repoman before comitting?  Thanks.

I'm sure he probably assumed OSX ~arch deptrees did not matter as you guys have 
been on 2.0.51.x for a long time.

The ~= used in .54 appears to be for q QA_ELF handling. You should not hit that 
chunk of code in ebuild.sh as you don't support the ELF format so would adding 
!userland_Darwin? ( ) [suggested by jakub on IRC] be a rasonable workaround for the dep?
Comment 4 Fabian Groffen gentoo-dev 2006-05-25 10:06:23 UTC
If that means something like
userland_Darwin? ( >=app-shells/bash-2.05a )
!userland_Darwin? ( >=app-shells/bash-3.0 )
it would be solved, given that the dependencies are valid again.

Alternative is that we package.provide bash-3 on OSX, even though we don't have it for real.  But I'm not really in favour of that solution.

Thanks.
Comment 5 Zac Medico gentoo-dev 2006-05-25 10:45:44 UTC
(In reply to comment #4)
> userland_Darwin? ( >=app-shells/bash-2.05a )
> !userland_Darwin? ( >=app-shells/bash-3.0 )

This is now in cvs.
Comment 6 Fabian Groffen gentoo-dev 2006-05-25 10:55:15 UTC
thanks a lot!