* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/legacy/
@ 2016-06-04 5:54 Benda XU
0 siblings, 0 replies; 3+ messages in thread
From: Benda XU @ 2016-06-04 5:54 UTC (permalink / raw
To: gentoo-commits
commit: 74bd7224b522d82a3009fbdc17bfc59d3f5ac739
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 4 03:14:28 2016 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Jun 4 05:54:32 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74bd7224
p/f/prefix/s/legacy: python-3.3 fails on linux-2.6.18. Mask.
profiles/features/prefix/standalone/legacy/make.defaults | 15 +++++++++++++--
profiles/features/prefix/standalone/legacy/package.mask | 3 ++-
2 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/profiles/features/prefix/standalone/legacy/make.defaults b/profiles/features/prefix/standalone/legacy/make.defaults
index 7584425..254b730 100644
--- a/profiles/features/prefix/standalone/legacy/make.defaults
+++ b/profiles/features/prefix/standalone/legacy/make.defaults
@@ -1,6 +1,17 @@
+# This profile is supporting >=linux-2.6.16[a] and <linux-2.6.32[b].
+
+# a. https://sourceware.org/ml/libc-announce/2012/msg00001.html
+# lowest version supported by glibc-2.17 to glibc-2.19.
+
+# b. https://sourceware.org/ml/libc-alpha/2014-09/msg00088.html
+# lowest version supported by glibc-2.20 onwards.
+
+
# utimensat is missing or not reliable until linux-2.6.32.
# needed by python-3.
ac_cv_func_utimensat=no
+# pipe2 requires >=linux-2.6.27. Needed by python-3.
+ac_cv_func_pipe2=no
-# >=python-3.4 is masked.
-PYTHON_TARGETS="python2_7 python3_3"
+# >=python-3 is masked.
+PYTHON_TARGETS="-python3_4"
diff --git a/profiles/features/prefix/standalone/legacy/package.mask b/profiles/features/prefix/standalone/legacy/package.mask
index 29807dd..5125269 100644
--- a/profiles/features/prefix/standalone/legacy/package.mask
+++ b/profiles/features/prefix/standalone/legacy/package.mask
@@ -3,4 +3,5 @@
# >=python-3.4 assumes F_DUPFD_CLOEXEC of fcntl,
# which requires >=linux-2.6.24.
->=dev-lang/python-3.4
\ No newline at end of file
+# python-3.3 seems to be unconditionally using utimensat.
+>=dev-lang/python-3
\ No newline at end of file
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/legacy/
@ 2017-06-05 6:23 Benda XU
0 siblings, 0 replies; 3+ messages in thread
From: Benda XU @ 2017-06-05 6:23 UTC (permalink / raw
To: gentoo-commits
commit: c05b73f6161db1778532f3f1e529fa73aaaf0b1a
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 5 06:22:28 2017 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Jun 5 06:23:51 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c05b73f6
profiles/f/p/s/legacy/profile.bashrc: disable utimensat syscall
cmake based build system does not provide an interface to override
compile checks, therefore this hack.
profiles/features/prefix/standalone/legacy/profile.bashrc | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/profiles/features/prefix/standalone/legacy/profile.bashrc b/profiles/features/prefix/standalone/legacy/profile.bashrc
new file mode 100644
index 00000000000..e537cc0fa31
--- /dev/null
+++ b/profiles/features/prefix/standalone/legacy/profile.bashrc
@@ -0,0 +1,6 @@
+# tricks to circumvent false positive checks of old kernel
+
+if [[ ${CATEGORY}/${PN} == dev-util/cmake && ${EBUILD_PHASE} == configure ]]; then
+ einfo "Removing utimensat outputs..."
+ sed -i '/UTIMENSAT=/d' ${S}/Source/kwsys/CMakeLists.txt
+fi
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/legacy/
@ 2017-09-08 4:23 Benda XU
0 siblings, 0 replies; 3+ messages in thread
From: Benda XU @ 2017-09-08 4:23 UTC (permalink / raw
To: gentoo-commits
commit: 1f35beaa649d28172f6fbaf881a9bb43063df70c
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 8 04:21:57 2017 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Fri Sep 8 04:23:43 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f35beaa
profiles/f/p/s/l/package.unmask: unmask glibc-2.19.
The host kernels are usually linux-2.6.18, like RHEL 5.
profiles/features/prefix/standalone/legacy/package.unmask | 2 ++
1 file changed, 2 insertions(+)
diff --git a/profiles/features/prefix/standalone/legacy/package.unmask b/profiles/features/prefix/standalone/legacy/package.unmask
new file mode 100644
index 00000000000..0d7380b4273
--- /dev/null
+++ b/profiles/features/prefix/standalone/legacy/package.unmask
@@ -0,0 +1,2 @@
+# >=glibc-2.20 requires >=linux-2.6.32.
+<sys-libs/glibc-2.20
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-09-08 4:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-08 4:23 [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/legacy/ Benda XU
-- strict thread matches above, loose matches on Subject: below --
2017-06-05 6:23 Benda XU
2016-06-04 5:54 Benda XU
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox