[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/legacy/
commit: 1f35beaa649d28172f6fbaf881a9bb43063df70c Author: Benda Xu gentoo org> AuthorDate: Fri Sep 8 04:21:57 2017 + Commit: Benda XU gentoo org> CommitDate: Fri Sep 8 04:23:43 2017 + 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 000..0d7380b4273 --- /dev/null +++ b/profiles/features/prefix/standalone/legacy/package.unmask @@ -0,0 +1,2 @@ +# >=glibc-2.20 requires >=linux-2.6.32. +
[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/legacy/
commit: c05b73f6161db1778532f3f1e529fa73aaaf0b1a Author: Benda Xu gentoo org> AuthorDate: Mon Jun 5 06:22:28 2017 + Commit: Benda XU gentoo org> CommitDate: Mon Jun 5 06:23:51 2017 + 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 000..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
[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/legacy/
commit: 74bd7224b522d82a3009fbdc17bfc59d3f5ac739 Author: Benda Xu gentoo org> AuthorDate: Sat Jun 4 03:14:28 2016 + Commit: Benda XU gentoo org> CommitDate: Sat Jun 4 05:54:32 2016 + 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 https://sourceware.org/ml/libc-announce/2012/msg1.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
[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/legacy/, ...
commit: a15129d45ac962fb21e793a2929b643a861ec327 Author: Benda Xu gentoo org> AuthorDate: Fri Jun 3 07:42:57 2016 + Commit: Benda XU gentoo org> CommitDate: Sat Jun 4 02:25:25 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a15129d4 profiles: add linux standalone legacy profile for =python-3.4 is masked. +PYTHON_TARGETS="python2_7 python3_3" diff --git a/profiles/features/prefix/standalone/legacy/package.mask b/profiles/features/prefix/standalone/legacy/package.mask new file mode 100644 index 000..29807dd --- /dev/null +++ b/profiles/features/prefix/standalone/legacy/package.mask @@ -0,0 +1,6 @@ +# >=glibc-2.20 requires >=linux-2.6.32. +>=sys-libs/glibc-2.20 + +# >=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 diff --git a/profiles/prefix/linux-standalone/amd64/legacy/eapi b/profiles/prefix/linux-standalone/amd64/legacy/eapi new file mode 100644 index 000..7ed6ff8 --- /dev/null +++ b/profiles/prefix/linux-standalone/amd64/legacy/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/linux-standalone/amd64/legacy/parent b/profiles/prefix/linux-standalone/amd64/legacy/parent new file mode 100644 index 000..21df735 --- /dev/null +++ b/profiles/prefix/linux-standalone/amd64/legacy/parent @@ -0,0 +1,2 @@ +../../../../features/prefix/standalone/legacy +.. diff --git a/profiles/profiles.desc b/profiles/profiles.desc index fa1aa40..a7a35ac 100644 --- a/profiles/profiles.desc +++ b/profiles/profiles.desc @@ -251,6 +251,7 @@ x86-linux prefix/linux/x86 exp # Linux Standalone Profiles amd64-linuxprefix/linux-standalone/amd64 exp +amd64-linuxprefix/linux-standalone/amd64/legacyexp x86-linux prefix/linux-standalone/x86 exp # Mac OS X Profiles