1 |
commit: 92b792402254e0ae4b269fbc48ba75815deb3f19 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 3 18:56:31 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 3 18:56:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92b79240 |
7 |
|
8 |
sys-libs/libxcrypt: only show < GCC 10 warning with distcc |
9 |
|
10 |
The issues should only occur if configure is confused |
11 |
which should only happen with a mismatch between |
12 |
the compiler used for configure and compilation |
13 |
(e.g. distcc). |
14 |
|
15 |
Bug: https://bugs.gentoo.org/823179 |
16 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
17 |
|
18 |
sys-libs/libxcrypt/libxcrypt-4.4.25-r1.ebuild | 8 ++++---- |
19 |
sys-libs/libxcrypt/libxcrypt-4.4.26-r1.ebuild | 8 ++++---- |
20 |
2 files changed, 8 insertions(+), 8 deletions(-) |
21 |
|
22 |
diff --git a/sys-libs/libxcrypt/libxcrypt-4.4.25-r1.ebuild b/sys-libs/libxcrypt/libxcrypt-4.4.25-r1.ebuild |
23 |
index d73e13788fd3..13858d396505 100644 |
24 |
--- a/sys-libs/libxcrypt/libxcrypt-4.4.25-r1.ebuild |
25 |
+++ b/sys-libs/libxcrypt/libxcrypt-4.4.25-r1.ebuild |
26 |
@@ -43,13 +43,13 @@ python_check_deps() { |
27 |
} |
28 |
|
29 |
pkg_pretend() { |
30 |
- if [[ ${BUILD_TYPE} != "binary" ]] && tc-is-gcc && [[ $(gcc-major-version) -lt 10 ]] ; then |
31 |
- die "libxcrypt is known to fail to build or be broken at runtime with < GCC 10 (bug #823179)!" |
32 |
- fi |
33 |
- |
34 |
if has "distcc" ${FEATURES} ; then |
35 |
ewarn "Please verify all distcc nodes are using the same versions of GCC (>= 10) and Binutils!" |
36 |
ewarn "Older/mismatched versions of GCC may lead to a misbehaving library: bug #823179." |
37 |
+ |
38 |
+ if [[ ${BUILD_TYPE} != "binary" ]] && tc-is-gcc && [[ $(gcc-major-version) -lt 10 ]] ; then |
39 |
+ die "libxcrypt is known to fail to build or be broken at runtime with < GCC 10 (bug #823179)!" |
40 |
+ fi |
41 |
fi |
42 |
} |
43 |
|
44 |
|
45 |
diff --git a/sys-libs/libxcrypt/libxcrypt-4.4.26-r1.ebuild b/sys-libs/libxcrypt/libxcrypt-4.4.26-r1.ebuild |
46 |
index b25eb93a2469..fa017859016b 100644 |
47 |
--- a/sys-libs/libxcrypt/libxcrypt-4.4.26-r1.ebuild |
48 |
+++ b/sys-libs/libxcrypt/libxcrypt-4.4.26-r1.ebuild |
49 |
@@ -43,13 +43,13 @@ python_check_deps() { |
50 |
} |
51 |
|
52 |
pkg_pretend() { |
53 |
- if [[ ${BUILD_TYPE} != "binary" ]] && tc-is-gcc && [[ $(gcc-major-version) -lt 10 ]] ; then |
54 |
- die "libxcrypt is known to fail to build or be broken at runtime with < GCC 10 (bug #823179)!" |
55 |
- fi |
56 |
- |
57 |
if has "distcc" ${FEATURES} ; then |
58 |
ewarn "Please verify all distcc nodes are using the same versions of GCC (>= 10) and Binutils!" |
59 |
ewarn "Older/mismatched versions of GCC may lead to a misbehaving library: bug #823179." |
60 |
+ |
61 |
+ if [[ ${BUILD_TYPE} != "binary" ]] && tc-is-gcc && [[ $(gcc-major-version) -lt 10 ]] ; then |
62 |
+ die "libxcrypt is known to fail to build or be broken at runtime with < GCC 10 (bug #823179)!" |
63 |
+ fi |
64 |
fi |
65 |
} |