Summary: | emerge fails silently no errors due to bash and ebuild.sh not sourcing correctly | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jim Brown <jbrown105> |
Component: | [OLD] Core system | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED INVALID | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge info |
Description
Jim Brown
2005-06-11 08:54:10 UTC
Created attachment 61058 [details]
emerge info
(In reply to comment #0) > Steps to Reproduce: > 1. Install a bash shell from a Redhat 7.1 system. Huh??? Sorry, only Gentoo bugs go here, ask Red Hat why their bash from an ancient and for ages unsupported distribution does not work with Gentoo portage. > The real fix was to emerge bash - for some reason gentoo's bash is not affected by this. What a surprise... :) It is a Portage bug. Portage should be able to work with different bash versions and warn if the version of bash is too old. (As a side note, same version of bash (2.04) but from a gentoo ebuild doesn't have this problem, so bash 2.04 is clearly not too "ancient".) Unless of course Portage requires gentoo bash for gentoo-specific patches, but as far as I know this is not the case. (Sorry for pointing out the obvious, but 'emerge bash' won't do the trick on such a system either - that would silently fail before bash could be installed.) This is easy enough to work around - as I explained, one merely needs to edit ebuild.sh to strip the shell functions and read-only variables from the temp environment file. (The code I used didn't work correctly, it sometimes mangled other environment variables. That's the only reason I emerged gentoo's bash.) Portage explicitly depends on >=bash-2.05a and is not designed to run on RH 7.1. That Portage explicitly depends on >=bash-2.05a and is not designed to run on RH 7.1. That´s about it. You're using an unsupported configuration so you're really on your own, but try to have all the dependencies that portage requires (such as >=bash-2.05a) before reopening and/or opening any other bug reports. |