* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2019-10-14 3:14 Benda XU
0 siblings, 0 replies; 20+ messages in thread
From: Benda XU @ 2019-10-14 3:14 UTC (permalink / raw
To: gentoo-commits
commit: 47b6d14488f624111daa564f40ec49fc223b623c
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 14 03:11:31 2019 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Oct 14 03:14:20 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47b6d144
p/f/prefix/s/kernel-2.6.16+/package.use.mask: mask mesa USE flags.
USE='egl gles2 gallium llvm' contains unconditional code calling
F_DUPFD_CLOEXEC.
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
.../features/prefix/standalone/kernel-2.6.16+/package.use.mask | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask b/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask
index b5f69351385..fdc243ff8a1 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask
@@ -1,6 +1,12 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Benda Xu <heroxbd@gentoo.org> (2019-10-14)
+# The following mesa components calls fcntl(fd, F_DUPFD_CLOEXEC, 3) directly
+# without checking. That results on build time failure, because we have
+# stripped away F_DUPFD_CLOEXEC from glibc for this profile.
+media-libs/mesa egl gles2 gallium llvm
+
# Benda Xu <heroxbd@gentoo.org> (2018-02-21)
# We are on an old kernel that only glibc-2.19 is supported. That glibc does
# not build with PIE enabled. glibc-2.19 and linux-2.6.16 is end of life
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2020-11-24 5:51 Benda XU
0 siblings, 0 replies; 20+ messages in thread
From: Benda XU @ 2020-11-24 5:51 UTC (permalink / raw
To: gentoo-commits
commit: f7ae36c9547d429f58be24e0416848cd25e8d8bb
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 24 05:50:11 2020 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Tue Nov 24 05:51:48 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7ae36c9
profiles/f/p/s/kernel-2.6.16+/p.bashrc: libuv compatibility.
libuv is a dependency of cmake.
Switch off CLOEXEC related functions that are not introduced until
linux-2.6.27.
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
index ed5226a858d..6370f687cad 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -3,6 +3,10 @@
if [[ ${CATEGORY}/${PN} == dev-util/cmake && ${EBUILD_PHASE} == configure ]]; then
einfo "Removing utimensat outputs..."
sed -e '/UTIMENSAT=/d' -i "${S}"/Source/kwsys/CMakeLists.txt || die
+elif [[ ${CATEGORY}/${PN} == dev-libs/libuv && ${EBUILD_PHASE} == prepare ]]; then
+ einfo "Removing CLOEXEC related functions..."
+ sed -e 's/defined(__FreeBSD__) || defined(__linux__)/0/' \
+ -i "${S}"/src/unix/process.c || die
elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} == configure ]]; then
einfo "Removing pipe2 definitions..."
sed -e '/define.*HAVE_PIPE2/d' -i "${S}"/src/3rdparty/forkfd/forkfd.c || die
@@ -19,7 +23,7 @@ elif [[ ${CATEGORY}/${PN} == sys-apps/util-linux && ${EBUILD_PHASE} == configure
sed -r -e 's/inotify_init1\(.*\)/inotify_init\(\)/' \
-e '/open\(/s/\| *O_CLOEXEC//' \
-e 's/epoll_create1\(EPOLL_CLOEXEC/epoll_create\(1/' \
- -i "${S}"/libmount/src/monitor.c
+ -i "${S}"/libmount/src/monitor.c || die
fi
# Local Variables:
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2020-11-22 10:38 Benda XU
0 siblings, 0 replies; 20+ messages in thread
From: Benda XU @ 2020-11-22 10:38 UTC (permalink / raw
To: gentoo-commits
commit: 6dab4bf338cb68ba68726400eb72252bfdffcfe3
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 22 10:35:18 2020 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun Nov 22 10:38:36 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dab4bf3
profiles/f/p/s/kernel-2.6.16+/p.bashrc: libmount compatibility.
Replace CLOEXEC related functions that are not introduced until
linux-2.6.27 with old ones. The result is not thread safe, but
compiles.
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
index dad9dcbc585..ed5226a858d 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -14,6 +14,12 @@ elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} == configure ]]; t
elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == configure ]]; then
einfo "Removing dup3 and pipe2 definitions..."
sed -e '/hasgot dup3/,/^fi/d;/hasgot pipe2/,/^fi/d' -i "${S}"/configure || die
+elif [[ ${CATEGORY}/${PN} == sys-apps/util-linux && ${EBUILD_PHASE} == configure ]]; then
+ einfo "Removing CLOEXEC related functions..."
+ sed -r -e 's/inotify_init1\(.*\)/inotify_init\(\)/' \
+ -e '/open\(/s/\| *O_CLOEXEC//' \
+ -e 's/epoll_create1\(EPOLL_CLOEXEC/epoll_create\(1/' \
+ -i "${S}"/libmount/src/monitor.c
fi
# Local Variables:
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2020-05-11 7:17 Benda XU
0 siblings, 0 replies; 20+ messages in thread
From: Benda XU @ 2020-05-11 7:17 UTC (permalink / raw
To: gentoo-commits
commit: 9cad245879c2e9c311452bcc81a72baf49fb933f
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon May 11 07:13:50 2020 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon May 11 07:16:04 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cad2458
p/f/prefix/standalone/kernel-2.6.16+/use.mask: remove empty
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
profiles/features/prefix/standalone/kernel-2.6.16+/use.mask | 1 -
1 file changed, 1 deletion(-)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask b/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask
deleted file mode 100644
index 83862097866..00000000000
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask
+++ /dev/null
@@ -1 +0,0 @@
-# >=python-3 is masked
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2019-12-23 2:47 Benda XU
0 siblings, 0 replies; 20+ messages in thread
From: Benda XU @ 2019-12-23 2:47 UTC (permalink / raw
To: gentoo-commits
commit: 7d8fcc89055a18b03552f6acb20221426abd89c3
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 23 02:46:03 2019 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Dec 23 02:47:44 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d8fcc89
p/f/prefix/standalone/kernel-2.6.16+/profile.bashrc: hack qtcore to compile.
Lower the minimal version of Linux to 2.6.18.
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
index 049bbfe48ee..dad9dcbc585 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -8,6 +8,9 @@ elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} == configure ]]; t
sed -e '/define.*HAVE_PIPE2/d' -i "${S}"/src/3rdparty/forkfd/forkfd.c || die
einfo "Removing utimensat calls..."
sed -e '/_POSIX_VERSION/s/defined(_POSIX_VERSION)/0/' -i "${S}"/qmake/library/ioutils.cpp || die
+ einfo "Lower the minimal version of Linux..."
+ sed -r -e 's/MINLINUX_PATCH[[:space:]]+28/MINLINUX_PATCH 18/' \
+ -i "${S}"/src/corelib/global/minimum-linux_p.h || die
elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == configure ]]; then
einfo "Removing dup3 and pipe2 definitions..."
sed -e '/hasgot dup3/,/^fi/d;/hasgot pipe2/,/^fi/d' -i "${S}"/configure || die
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2019-12-22 13:58 Benda XU
0 siblings, 0 replies; 20+ messages in thread
From: Benda XU @ 2019-12-22 13:58 UTC (permalink / raw
To: gentoo-commits
commit: 1449cadc849bb6459f9c1425a7b1142d019435ed
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 22 09:52:39 2019 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 13:57:43 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1449cadc
p/f/prefix/s/kernel-2.6.16+: supports python-3 now.
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults | 4 ----
1 file changed, 4 deletions(-)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults b/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
index e8e0ce1eaea..2881aa37fc7 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
@@ -17,7 +17,3 @@ ac_cv_func_pipe2=no
ac_cv_func_dup3=no
# epoll_create1 requires >=linux-2.6.27.
ac_cv_func_epoll_create1=no
-
-# >=python-3 is masked.
-PYTHON_TARGETS=python2_7
-PYTHON_SINGLE_TARGET=python2_7
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2019-10-14 5:20 Benda XU
0 siblings, 0 replies; 20+ messages in thread
From: Benda XU @ 2019-10-14 5:20 UTC (permalink / raw
To: gentoo-commits
commit: 86a26b2e09c8c0451d5eb29259abdd5ea2213b0c
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 14 05:19:01 2019 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Oct 14 05:20:32 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86a26b2e
p/f/prefix/s/kernel-2.6.16+/package.use.mask: mask libepoxy[egl].
It depends on mesa[egl].
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask | 1 +
1 file changed, 1 insertion(+)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask b/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask
index fdc243ff8a1..f571cf79f38 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask
@@ -6,6 +6,7 @@
# without checking. That results on build time failure, because we have
# stripped away F_DUPFD_CLOEXEC from glibc for this profile.
media-libs/mesa egl gles2 gallium llvm
+media-libs/libepoxy egl
# Benda Xu <heroxbd@gentoo.org> (2018-02-21)
# We are on an old kernel that only glibc-2.19 is supported. That glibc does
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2019-10-11 6:57 Benda XU
0 siblings, 0 replies; 20+ messages in thread
From: Benda XU @ 2019-10-11 6:57 UTC (permalink / raw
To: gentoo-commits
commit: 0a96e2b065ec8d36db5057c6ee9ce3f4309c1f54
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 11 06:55:30 2019 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Fri Oct 11 06:57:46 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a96e2b0
p/f/prefix/s/kernel-2.6.16+/profile.bashrc: drop hacks for glibc.
The hacks have been converted into ebuild patches in glibc-2.19.
Closes: https://bugs.gentoo.org/666982
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
.../features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
index c08217181df..049bbfe48ee 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -11,16 +11,6 @@ elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} == configure ]]; t
elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == configure ]]; then
einfo "Removing dup3 and pipe2 definitions..."
sed -e '/hasgot dup3/,/^fi/d;/hasgot pipe2/,/^fi/d' -i "${S}"/configure || die
-elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == compile ]]; then
- einfo "Removing F_DUPFD_CLOEXEC definitions..."
- sed -e '/define.*F_DUPFD_CLOEXEC/,/*\//d' -i "${S}"/sysdeps/unix/sysv/linux/bits/fcntl-linux.h || die
- einfo "Removing pipe2 definitions..."
- sed -e '/^extern int pipe2/d' -i "${S}"/posix/unistd.h || die
- einfo "Removing epoll_create1 definitions..."
- sed -e '/^extern int epoll_create1/d' -i "${S}"/sysdeps/unix/sysv/linux/sys/epoll.h || die
- einfo "Removing lutimes and utimensat definitions..."
- sed -e '/^extern int lutimes/,/__THROW/d' -i "${S}"/time/sys/time.h || die
- sed -e '/^extern int utimensat/,/__THROW/d' -i "${S}"/io/sys/stat.h || die
fi
# Local Variables:
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2019-07-20 14:20 Benda XU
0 siblings, 0 replies; 20+ messages in thread
From: Benda XU @ 2019-07-20 14:20 UTC (permalink / raw
To: gentoo-commits
commit: 4bdcfa8a58717443d1f52d3c854d07bb498506c6
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 20 14:17:47 2019 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Jul 20 14:20:30 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bdcfa8a
p/f/prefix/s/kernel-2.6.16+/package.mask: mask a ebuild version.
net-analyzer/openbsd-netcat-1.190 requires >=linux-2.6.27.
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
profiles/features/prefix/standalone/kernel-2.6.16+/package.mask | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask b/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask
index 252f00524ee..ea94fc471ff 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask
@@ -2,6 +2,11 @@
# https://lwn.net/Articles/611162
>=sys-libs/glibc-2.20
+# Benda Xu <heroxbd@gentoo.org> (2019-07-20)
+# openbsd-netcat-1.190 requires SOCK_NONBLOCK from socket,
+# which is available since Linux 2.6.27.
+>=net-analyzer/openbsd-netcat-1.190
+
# Tupone Alfredo <tupone@gentoo.org> (2018-11-04)
# require newer glibc
dev-lang/gnat-gpl
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2019-07-18 4:08 Benda XU
0 siblings, 0 replies; 20+ messages in thread
From: Benda XU @ 2019-07-18 4:08 UTC (permalink / raw
To: gentoo-commits
commit: b57fffdff5e050324c6f218ec3ef2f750e58eb0d
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 17 03:00:12 2019 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu Jul 18 04:08:26 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b57fffdf
p/f/prefix/s/kernel-2.6.16+/package.use: glibc should enable suid.
On Prefix, we do not have control over /dev/pts, suid is needed
everywhere.
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
profiles/features/prefix/standalone/kernel-2.6.16+/package.use | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/package.use b/profiles/features/prefix/standalone/kernel-2.6.16+/package.use
new file mode 100644
index 00000000000..0358fd9248e
--- /dev/null
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/package.use
@@ -0,0 +1,5 @@
+# Benda Xu <heroxbd@gentoo.org> (2019-07-17)
+# We are on an old kernel and without root privilege, the suid mode of
+# glibc should enabled everywhere to avoid extra assumptions of the
+# environment we do not control.
+sys-libs/glibc suid
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2019-07-18 4:08 Benda XU
0 siblings, 0 replies; 20+ messages in thread
From: Benda XU @ 2019-07-18 4:08 UTC (permalink / raw
To: gentoo-commits
commit: fb4d361aa84e1c6b9ec313bfceb4307bb0eb615b
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 17 13:16:44 2019 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu Jul 18 04:08:27 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb4d361a
p/f/prefix/s/kernel-2.6.16+/package.mask: remove python-3 mask.
The missing kernel feature is encoded in sys-libs/glibc. Therefore
python-3 could configure correctly.
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
profiles/features/prefix/standalone/kernel-2.6.16+/package.mask | 5 -----
1 file changed, 5 deletions(-)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask b/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask
index 3dd562a06e8..252f00524ee 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask
@@ -2,11 +2,6 @@
# https://lwn.net/Articles/611162
>=sys-libs/glibc-2.20
-# >=python-3.4 assumes F_DUPFD_CLOEXEC of fcntl,
-# which requires >=linux-2.6.24.
-# python-3.3 seems to be unconditionally using utimensat.
->=dev-lang/python-3
-
# Tupone Alfredo <tupone@gentoo.org> (2018-11-04)
# require newer glibc
dev-lang/gnat-gpl
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2018-11-04 15:32 Alfredo Tupone
0 siblings, 0 replies; 20+ messages in thread
From: Alfredo Tupone @ 2018-11-04 15:32 UTC (permalink / raw
To: gentoo-commits
commit: ff6926105c895b7d7ef268cb8786eca69b4f1f3c
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 4 15:29:57 2018 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Nov 4 15:32:15 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff692610
Add dev-lang/gnat-gpl to package.mask
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
profiles/features/prefix/standalone/kernel-2.6.16+/package.mask | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask b/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask
index 0aa01a72efb..eb862b370f5 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask
@@ -6,3 +6,7 @@
# which requires >=linux-2.6.24.
# python-3.3 seems to be unconditionally using utimensat.
>=dev-lang/python-3
+
+# Tupone Alfredo <tupone@gentoo.org> (4 Nov 2018)
+# require newer glibc
+dev-lang/gnat-gpl
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2018-08-30 23:29 Benda XU
0 siblings, 0 replies; 20+ messages in thread
From: Benda XU @ 2018-08-30 23:29 UTC (permalink / raw
To: gentoo-commits
commit: 8f5b08e5a94376b0d02238b1cd3bad035050b315
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 30 23:28:16 2018 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu Aug 30 23:28:16 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f5b08e5
p/f/p/s/kernel-2.6.16+: remove definitions of lutimes.
profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults | 7 ++++++-
profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 3 +++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults b/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
index c64a419f389..e8e0ce1eaea 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
@@ -9,9 +9,14 @@
# utimensat is missing or not reliable until linux-2.6.32.
# needed by python-3.
+# lutimes requires utimensat
ac_cv_func_utimensat=no
-# pipe2 requires >=linux-2.6.27. Needed by python-3.
+ac_cv_func_lutimes=no
+# pipe2 and dup3 requires >=linux-2.6.27. Needed by python-3.
ac_cv_func_pipe2=no
+ac_cv_func_dup3=no
+# epoll_create1 requires >=linux-2.6.27.
+ac_cv_func_epoll_create1=no
# >=python-3 is masked.
PYTHON_TARGETS=python2_7
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
index 0fc68db876a..c08217181df 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -18,6 +18,9 @@ elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == compile ]]; th
sed -e '/^extern int pipe2/d' -i "${S}"/posix/unistd.h || die
einfo "Removing epoll_create1 definitions..."
sed -e '/^extern int epoll_create1/d' -i "${S}"/sysdeps/unix/sysv/linux/sys/epoll.h || die
+ einfo "Removing lutimes and utimensat definitions..."
+ sed -e '/^extern int lutimes/,/__THROW/d' -i "${S}"/time/sys/time.h || die
+ sed -e '/^extern int utimensat/,/__THROW/d' -i "${S}"/io/sys/stat.h || die
fi
# Local Variables:
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2018-08-30 7:33 Benda XU
0 siblings, 0 replies; 20+ messages in thread
From: Benda XU @ 2018-08-30 7:33 UTC (permalink / raw
To: gentoo-commits
commit: 085f50f00ae2751c88eaba887e20b4e5808345f7
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 30 07:29:41 2018 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu Aug 30 07:33:37 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=085f50f0
p/f/p/s/kernel-2.6.16+/profile.bashrc: glibc to be well to linux-2.6.16.
F_DUPFD_CLOEXEC is available from linux-2.6.24.
pipe2 and dup3 is introduced in linux-2.6.27.
.../prefix/standalone/kernel-2.6.16+/profile.bashrc | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
index eeba17808ec..0fc68db876a 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -2,15 +2,22 @@
if [[ ${CATEGORY}/${PN} == dev-util/cmake && ${EBUILD_PHASE} == configure ]]; then
einfo "Removing utimensat outputs..."
- sed -e '/UTIMENSAT=/d' -i ${S}/Source/kwsys/CMakeLists.txt || die
+ sed -e '/UTIMENSAT=/d' -i "${S}"/Source/kwsys/CMakeLists.txt || die
elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} == configure ]]; then
einfo "Removing pipe2 definitions..."
- sed -e '/define.*HAVE_PIPE2/d' -i ${S}/src/3rdparty/forkfd/forkfd.c || die
+ sed -e '/define.*HAVE_PIPE2/d' -i "${S}"/src/3rdparty/forkfd/forkfd.c || die
einfo "Removing utimensat calls..."
- sed -e '/_POSIX_VERSION/s/defined(_POSIX_VERSION)/0/' -i ${S}/qmake/library/ioutils.cpp || die
+ sed -e '/_POSIX_VERSION/s/defined(_POSIX_VERSION)/0/' -i "${S}"/qmake/library/ioutils.cpp || die
elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == configure ]]; then
einfo "Removing dup3 and pipe2 definitions..."
- sed -e '/hasgot dup3/,/^fi/d;/hasgot pipe2/,/^fi/d' -i ${S}/configure || die
+ sed -e '/hasgot dup3/,/^fi/d;/hasgot pipe2/,/^fi/d' -i "${S}"/configure || die
+elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == compile ]]; then
+ einfo "Removing F_DUPFD_CLOEXEC definitions..."
+ sed -e '/define.*F_DUPFD_CLOEXEC/,/*\//d' -i "${S}"/sysdeps/unix/sysv/linux/bits/fcntl-linux.h || die
+ einfo "Removing pipe2 definitions..."
+ sed -e '/^extern int pipe2/d' -i "${S}"/posix/unistd.h || die
+ einfo "Removing epoll_create1 definitions..."
+ sed -e '/^extern int epoll_create1/d' -i "${S}"/sysdeps/unix/sysv/linux/sys/epoll.h || die
fi
# Local Variables:
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2018-08-28 13:08 Benda XU
0 siblings, 0 replies; 20+ messages in thread
From: Benda XU @ 2018-08-28 13:08 UTC (permalink / raw
To: gentoo-commits
commit: 74f62a4b59e09b7c44cb1d76ac0fd106ed28ef13
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 28 13:07:01 2018 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Tue Aug 28 13:08:23 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74f62a4b
p/f/p/s/kernel-2.6.16+/profile.bashrc: no dup3 or pipe2 for ocaml.
They are not defined by kernel-2.6.16.
profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
index 2a505554239..eeba17808ec 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -8,9 +8,9 @@ elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} == configure ]]; t
sed -e '/define.*HAVE_PIPE2/d' -i ${S}/src/3rdparty/forkfd/forkfd.c || die
einfo "Removing utimensat calls..."
sed -e '/_POSIX_VERSION/s/defined(_POSIX_VERSION)/0/' -i ${S}/qmake/library/ioutils.cpp || die
-elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == compile ]]; then
- einfo "Removing dup3 definitions..."
- sed -e '/define.*HAS_DUP3/d' -i ${S}/config/s.h || die
+elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == configure ]]; then
+ einfo "Removing dup3 and pipe2 definitions..."
+ sed -e '/hasgot dup3/,/^fi/d;/hasgot pipe2/,/^fi/d' -i ${S}/configure || die
fi
# Local Variables:
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2018-08-28 12:49 Benda XU
0 siblings, 0 replies; 20+ messages in thread
From: Benda XU @ 2018-08-28 12:49 UTC (permalink / raw
To: gentoo-commits
commit: fb887e90dd9b95083f7dfad563f1756ebe8124de
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 28 12:48:09 2018 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Tue Aug 28 12:48:53 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb887e90
p/f/p/s/kernel-2.6.16+/use.mask: >=python3.6 actually works!
The newer versions of python have better compatibility on old linux
kernels.
profiles/features/prefix/standalone/kernel-2.6.16+/use.mask | 4 ----
1 file changed, 4 deletions(-)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask b/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask
index a2ccaca4c8e..d465a4d7db1 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask
@@ -1,9 +1,5 @@
# >=python-3 is masked
-python_single_target_python3_7
-python_single_target_python3_6
python_single_target_python3_5
python_single_target_python3_4
-python_targets_python3_7
-python_targets_python3_6
python_targets_python3_5
python_targets_python3_4
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2018-08-28 12:40 Benda XU
0 siblings, 0 replies; 20+ messages in thread
From: Benda XU @ 2018-08-28 12:40 UTC (permalink / raw
To: gentoo-commits
commit: 565ec9369ff37d2cec6cb5e7a01488d8ac46ec72
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 28 12:35:41 2018 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Tue Aug 28 12:40:04 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=565ec936
p/f/p/s/kernel-2.6.16+/profile.bashrc: avoid dup3 definitions.
profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
index fb926138685..2a505554239 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -8,6 +8,9 @@ elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} == configure ]]; t
sed -e '/define.*HAVE_PIPE2/d' -i ${S}/src/3rdparty/forkfd/forkfd.c || die
einfo "Removing utimensat calls..."
sed -e '/_POSIX_VERSION/s/defined(_POSIX_VERSION)/0/' -i ${S}/qmake/library/ioutils.cpp || die
+elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == compile ]]; then
+ einfo "Removing dup3 definitions..."
+ sed -e '/define.*HAS_DUP3/d' -i ${S}/config/s.h || die
fi
# Local Variables:
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2018-08-18 5:37 Benda XU
0 siblings, 0 replies; 20+ messages in thread
From: Benda XU @ 2018-08-18 5:37 UTC (permalink / raw
To: gentoo-commits
commit: 94b0c25e55cf4477438ddca4884589421748c428
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 18 05:35:12 2018 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Aug 18 05:37:23 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94b0c25e
p/f/p/s/kernel-2.6.16+/profile.bashrc: disable pipe2, utimensat
qtcore incorrectly uses kernel features without testing. Fix it.
.../features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
index e537cc0fa31..fb926138685 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -2,5 +2,14 @@
if [[ ${CATEGORY}/${PN} == dev-util/cmake && ${EBUILD_PHASE} == configure ]]; then
einfo "Removing utimensat outputs..."
- sed -i '/UTIMENSAT=/d' ${S}/Source/kwsys/CMakeLists.txt
+ sed -e '/UTIMENSAT=/d' -i ${S}/Source/kwsys/CMakeLists.txt || die
+elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} == configure ]]; then
+ einfo "Removing pipe2 definitions..."
+ sed -e '/define.*HAVE_PIPE2/d' -i ${S}/src/3rdparty/forkfd/forkfd.c || die
+ einfo "Removing utimensat calls..."
+ sed -e '/_POSIX_VERSION/s/defined(_POSIX_VERSION)/0/' -i ${S}/qmake/library/ioutils.cpp || die
fi
+
+# Local Variables:
+# mode: shell-script
+# End:
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2018-02-21 2:00 Benda XU
0 siblings, 0 replies; 20+ messages in thread
From: Benda XU @ 2018-02-21 2:00 UTC (permalink / raw
To: gentoo-commits
commit: b746bc3e9dffac056b7576071ecba7fee79910ee
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 21 01:56:51 2018 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed Feb 21 02:00:16 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b746bc3e
profiles/f/p/s/kernel-2.6.16+: mask PIE.
We cannot support PIE on linux-2.6.16 unless we know how to build
glibc-2.19 with PIE.
.../features/prefix/standalone/kernel-2.6.16+/package.use.mask | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask b/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask
new file mode 100644
index 00000000000..9ddfe805a61
--- /dev/null
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Benda Xu <heroxbd@gentoo.org> (Feb 21, 2018)
+# We are on an old kernel that only glibc-2.19 is supported. That glibc does
+# not build with PIE enabled. glibc-2.19 and linux-2.6.16 is end of life
+# anyway, so we don't care about security.
+sys-devel/gcc pie
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
@ 2018-01-13 13:21 Benda XU
0 siblings, 0 replies; 20+ messages in thread
From: Benda XU @ 2018-01-13 13:21 UTC (permalink / raw
To: gentoo-commits
commit: dd3ecd84e266d963e57d332ca1a3a8972f8fcedc
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 13 13:20:39 2018 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Jan 13 13:21:21 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd3ecd84
profiles/f/prefix/s/kernel-2.6.16+/make.defaults: fix PYTHON_TARGETS
profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults b/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
index 510e5e21b3c..c64a419f389 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
@@ -14,5 +14,5 @@ ac_cv_func_utimensat=no
ac_cv_func_pipe2=no
# >=python-3 is masked.
-PYTHON_TARGETS="-python3_*"
+PYTHON_TARGETS=python2_7
PYTHON_SINGLE_TARGET=python2_7
^ permalink raw reply related [flat|nested] 20+ messages in thread
end of thread, other threads:[~2020-11-24 5:51 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-14 3:14 [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/ Benda XU
-- strict thread matches above, loose matches on Subject: below --
2020-11-24 5:51 Benda XU
2020-11-22 10:38 Benda XU
2020-05-11 7:17 Benda XU
2019-12-23 2:47 Benda XU
2019-12-22 13:58 Benda XU
2019-10-14 5:20 Benda XU
2019-10-11 6:57 Benda XU
2019-07-20 14:20 Benda XU
2019-07-18 4:08 Benda XU
2019-07-18 4:08 Benda XU
2018-11-04 15:32 Alfredo Tupone
2018-08-30 23:29 Benda XU
2018-08-30 7:33 Benda XU
2018-08-28 13:08 Benda XU
2018-08-28 12:49 Benda XU
2018-08-28 12:40 Benda XU
2018-08-18 5:37 Benda XU
2018-02-21 2:00 Benda XU
2018-01-13 13:21 Benda XU
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox