Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337050 - sys-apps/portage-2.1.9.4 fails with bash-3.1_p17
Summary: sys-apps/portage-2.1.9.4 fails with bash-3.1_p17
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 335925
  Show dependency tree
 
Reported: 2010-09-13 10:03 UTC by Peter Volkov (RETIRED)
Modified: 2010-09-13 22:49 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 Peter Volkov (RETIRED) gentoo-dev 2010-09-13 10:03:09 UTC
After =bash-3.1_p17 installation portage stopped working with the following errors:

/usr/lib64/portage/bin/ebuild.sh: line 502: syntax error in conditional expression: unexpected token `('
/usr/lib64/portage/bin/ebuild.sh: line 503: syntax error near `^'#!'[[:space:]]*/bin/sh(['
/usr/lib64/portage/bin/ebuild.sh: line 503: `			"$(head -n1 "$ECONF_SOURCE/configure")" =~ ^'#!'[[:space:]]*/bin/sh([[:space:]]|$) ]] ; then'
/usr/lib64/portage/bin/ebuild.sh: line 502: syntax error in conditional expression: unexpected token `('
/usr/lib64/portage/bin/ebuild.sh: line 503: syntax error near `^'#!'[[:space:]]*/bin/sh(['
/usr/lib64/portage/bin/ebuild.sh: line 503: `			"$(head -n1 "$ECONF_SOURCE/configure")" =~ ^'#!'[[:space:]]*/bin/sh([[:space:]]|$) ]] ; then'
/usr/lib64/portage/bin/misc-functions.sh: line 972: source_all_bashrcs: command not found

I'm not sure what causes this but putting back app-shells/bash-4.0_p37 fixed this error.
Comment 1 Zac Medico gentoo-dev 2010-09-13 11:57:38 UTC
It already has a dependency on >=app-shells/bash-3.2_p17, but I guess we could add a blocker against lower versions in order to emphasize it.
Comment 2 Zac Medico gentoo-dev 2010-09-13 22:49:56 UTC
The blockers are in cvs now.