diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-10-09 07:01:55 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-10-09 07:01:55 +0000 |
commit | 20f87bcff47263499ddf8ca24885edb2d79ca587 (patch) | |
tree | 7ddc039981c07b97d44451735b812d42cfc2465e | |
parent | 38e7ece7732e1a496b0580f5d457fc20f6e0bec6 (diff) | |
download | portage-20f87bcff47263499ddf8ca24885edb2d79ca587.tar.gz portage-20f87bcff47263499ddf8ca24885edb2d79ca587.tar.bz2 portage-20f87bcff47263499ddf8ca24885edb2d79ca587.zip |
Bug #270933 - Make the "If you need support ..." message ask for emerge
--info and the build.log. Thanks to Sebastian Mingramm (few) for this
patch.
svn path=/main/trunk/; revision=14521
-rwxr-xr-x | bin/isolated-functions.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index be0f2c5c0..bfec2d64e 100755 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -121,7 +121,8 @@ die() { | sed -e '1d' -e 's:^:RETAIN-LEADING-SPACE:' \ | while read -r n ; do eerror " ${n#RETAIN-LEADING-SPACE}" ; done eerror - eerror "If you need support, post the topmost build error, and the call stack if relevant." + eerror "If you need support, post emerge --info, the complete build log" + eerror "and the output of emerge -pqv =$CATEGORY/$PF." if [[ -n ${EBUILD_OVERLAY_ECLASSES} ]] ; then eerror "This ebuild used the following eclasses from overlays:" local x @@ -158,7 +159,7 @@ die() { fi [[ -n ${PORTAGE_LOG_FILE} ]] \ - && eerror "A complete build log is located at '${PORTAGE_LOG_FILE}'." + && eerror "The complete build log is located at '${PORTAGE_LOG_FILE}'." if [ -f "${T}/environment" ] ; then eerror "The ebuild environment file is located at '${T}/environment'." elif [ -d "${T}" ] ; then |