Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143805 - toolchain.eclass should use ewarn/elog instead of einfo
Summary: toolchain.eclass should use ewarn/elog instead of einfo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-13 11:29 UTC by Bo Ørsted Andresen (RETIRED)
Modified: 2006-08-19 06:36 UTC (History)
0 users

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


Attachments
Attachment to make the proposed change. (toolchain.patch,1.11 KB, patch)
2006-08-13 11:31 UTC, Bo Ørsted Andresen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bo Ørsted Andresen (RETIRED) gentoo-dev 2006-08-13 11:29:39 UTC
I think this information is important enough that it should be an ewarn.

gcc-compiler_pkg_postinst() {
    [....]
    if ! is_crosscompile && ! use multislot && [[ ${GCCMAJOR}.${GCCMINOR} == 3.4 ]] ; then
        echo
        einfo "You should make sure to rebuild all your C++ packages when"
        einfo "upgrading between different versions of gcc.  For example,"
        einfo "when moving to gcc-3.4 from gcc-3.3, emerge gentoolkit and run:"
        einfo "  # revdep-rebuild --library libstdc++.so.5"
        echo
        einfo "For more information on the steps to take when upgrading "
        einfo "from gcc-3.3 please refer to: "
        einfo "http://www.gentoo.org/doc/en/gcc-upgrading.xml"
        echo
    fi
    [....]
}
Comment 1 Bo Ørsted Andresen (RETIRED) gentoo-dev 2006-08-13 11:31:22 UTC
Created attachment 94164 [details, diff]
Attachment to make the proposed change.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2006-08-17 18:34:49 UTC
-        einfo "from gcc-3.3 please refer to: "
+        einfo "from from one GCC version to another please refer to: "
Comment 3 SpanKY gentoo-dev 2006-08-19 06:36:16 UTC
fixed in cvs, thanks