diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-11-01 18:49:12 -0800 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2020-11-12 17:35:03 -0600 |
commit | 8486795240d2e2b9bba91e410874fd0b8a9645c4 (patch) | |
tree | dca2bc37ad311301f7ebd2cb2a2d12e580137845 /dev-lang | |
parent | app-emulation/wine-vanilla: x86 stable (bug #753443) (diff) | |
download | gentoo-8486795240d2e2b9bba91e410874fd0b8a9645c4.tar.gz gentoo-8486795240d2e2b9bba91e410874fd0b8a9645c4.tar.bz2 gentoo-8486795240d2e2b9bba91e410874fd0b8a9645c4.zip |
dev-lang/go: mention new @go-rebuild set in pkg_postinst
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/go/go-9999.ebuild | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-lang/go/go-9999.ebuild b/dev-lang/go/go-9999.ebuild index fa07749bdeb3..a65f588db763 100644 --- a/dev-lang/go/go-9999.ebuild +++ b/dev-lang/go/go-9999.ebuild @@ -186,3 +186,18 @@ src_install() install_name_tool -id "${libmac64}" "${D}${libmac64}" fi } + +pkg_postinst() { + [[ -z ${REPLACING_VERSIONS} ]] && return + has_version "<sys-apps/portage-3.0.9" && return + + einfo "After ${CATEGORY}/${PN} is updated it is recommended to rebuild" + einfo "all packages compiled with previous versions of ${CATEGORY}/${PN}" + einfo "due to the static linking nature of go." + einfo "If this is not done, the packages compiled with the older" + einfo "version of the compiler will not be updated until they are" + einfo "updated individually, which could mean they will have" + einfo "vulnerabilities." + einfo "Run 'emerge @go-rebuild' to rebuild all 'go' packages" + einfo "See https://bugs.gentoo.org/752153 for more info" +} |