* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/
@ 2017-08-22 11:59 Benda XU
0 siblings, 0 replies; 14+ messages in thread
From: Benda XU @ 2017-08-22 11:59 UTC (permalink / raw
To: gentoo-commits
commit: 6c8e2396d9cf4fe13057741f5bd1b9989eeeb746
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 22 11:47:05 2017 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Tue Aug 22 11:58:48 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c8e2396
p/f/prefix/s/make.defaults: disable getentropy for <linux-3.17.
It is first introduced by glibc-2.25.
Reference: http://bugs.python.org/issue31255
profiles/features/prefix/standalone/make.defaults | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/profiles/features/prefix/standalone/make.defaults b/profiles/features/prefix/standalone/make.defaults
new file mode 100644
index 00000000000..0e1661e1014
--- /dev/null
+++ b/profiles/features/prefix/standalone/make.defaults
@@ -0,0 +1,7 @@
+# getentropy is available from linux-3.17 and glibc-2.25
+# disable it unconditionally for Python-3.4 and 2.7.
+# http://bugs.python.org/issue31255
+# remove when python-3.4 goes end-of-life on 2019-03-16,
+# and when python-2.7 goes end-of-life on 2020-01-01.
+# https://docs.python.org/devguide/#status-of-python-branches
+ac_cv_func_getentropy=no
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/
@ 2018-07-05 17:39 Guilherme Amadio
0 siblings, 0 replies; 14+ messages in thread
From: Guilherme Amadio @ 2018-07-05 17:39 UTC (permalink / raw
To: gentoo-commits
commit: 9f5cbe65e5f2689faf356e647d889aa3dab0cdd4
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 5 17:27:25 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Jul 5 17:38:15 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f5cbe65
profiles: fix sys-devel/clang on standalone prefix
On standalone prefix, sys-devel/clang needs to be configured with
-DDEFAULT_SYSROOT=${EPREFIX} and also needs the same treatment as
sys-devel/gcc to remove --sysroot=${EPREFIX} from ld calls.
profiles/features/prefix/standalone/profile.bashrc | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/profiles/features/prefix/standalone/profile.bashrc b/profiles/features/prefix/standalone/profile.bashrc
index 60a2af632d1..d167e7a9155 100644
--- a/profiles/features/prefix/standalone/profile.bashrc
+++ b/profiles/features/prefix/standalone/profile.bashrc
@@ -15,12 +15,21 @@ if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == configure ]]; the
eend $?
done
- # use sysroot of toolchain to get currect include and library at compile time
+ # use sysroot of toolchain to get correct include and library at compile time
EXTRA_ECONF="${EXTRA_ECONF} --with-sysroot=${EPREFIX}"
ebegin "remove --sysroot call on ld for native toolchain"
sed -i 's/--sysroot=%R//' gcc/gcc.c
eend $?
+elif [[ ${CATEGORY}/${PN} == sys-devel/clang && ${EBUILD_PHASE} == configure ]]; then
+ ebegin "Use ${EPREFIX} as default sysroot"
+ sed -i -e "s@DEFAULT_SYSROOT \"\"@DEFAULT_SYSROOT \"${EPREFIX}\"@" "${S}"/CMakeLists.txt
+ eend $?
+ pushd "${S}/lib/Driver/ToolChains" >/dev/null
+ ebegin "Remove --sysroot call on ld for native toolchain"
+ sed -i -e "$(grep -n -B1 sysroot= Gnu.cpp | sed -ne '{1s/-.*//;1p}'),+1 d" Gnu.cpp
+ eend $?
+ popd >/dev/null
elif [[ ${CATEGORY}/${PN} == sys-devel/binutils && ${EBUILD_PHASE} == prepare ]]; then
ebegin "Prefixifying native library path"
sed -i -r "/NATIVE_LIB_DIRS/s,((/usr(/local|)|)/lib),${EPREFIX}\1,g" \
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/
@ 2018-11-15 13:38 Guilherme Amadio
0 siblings, 0 replies; 14+ messages in thread
From: Guilherme Amadio @ 2018-11-15 13:38 UTC (permalink / raw
To: gentoo-commits
commit: d7cd91a14608932fb2afe06635f9da5c0be8d225
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 14 14:41:49 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Nov 15 13:37:33 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7cd91a1
profiles: prefixify dynamic linker used by sys-devel/clang
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
profiles/features/prefix/standalone/profile.bashrc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/profiles/features/prefix/standalone/profile.bashrc b/profiles/features/prefix/standalone/profile.bashrc
index d167e7a9155..20a3aff74cf 100644
--- a/profiles/features/prefix/standalone/profile.bashrc
+++ b/profiles/features/prefix/standalone/profile.bashrc
@@ -26,6 +26,9 @@ elif [[ ${CATEGORY}/${PN} == sys-devel/clang && ${EBUILD_PHASE} == configure ]];
sed -i -e "s@DEFAULT_SYSROOT \"\"@DEFAULT_SYSROOT \"${EPREFIX}\"@" "${S}"/CMakeLists.txt
eend $?
pushd "${S}/lib/Driver/ToolChains" >/dev/null
+ ebegin "Use dynamic linker from ${EPREFIX}"
+ sed -i -e "/LibDir.*Loader/s@return \"\/\"@return \"${EPREFIX%/}/\"@" Linux.cpp
+ eend $?
ebegin "Remove --sysroot call on ld for native toolchain"
sed -i -e "$(grep -n -B1 sysroot= Gnu.cpp | sed -ne '{1s/-.*//;1p}'),+1 d" Gnu.cpp
eend $?
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/
@ 2019-01-26 11:22 Benda XU
0 siblings, 0 replies; 14+ messages in thread
From: Benda XU @ 2019-01-26 11:22 UTC (permalink / raw
To: gentoo-commits
commit: 9d51cfe7979a6bef52a7eb4b1d4136086fc9aed5
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 26 11:19:08 2019 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Jan 26 11:21:58 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d51cfe7
p/f/prefix/s/package.use.mask: mask fancy extensions of portage.
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
profiles/features/prefix/standalone/package.use.mask | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/profiles/features/prefix/standalone/package.use.mask b/profiles/features/prefix/standalone/package.use.mask
new file mode 100644
index 00000000000..c48c34b15f2
--- /dev/null
+++ b/profiles/features/prefix/standalone/package.use.mask
@@ -0,0 +1,6 @@
+# Copyright 1999-2019 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Benda Xu <heroxbd@gentoo.org> (Jan 26, 2019)
+# native-extensions requires >=linux=4.6 for __NR_copy_file_range
+sys-apps/portage native-extensions
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/
@ 2019-10-09 10:54 Benda XU
0 siblings, 0 replies; 14+ messages in thread
From: Benda XU @ 2019-10-09 10:54 UTC (permalink / raw
To: gentoo-commits
commit: a49d20a1735cf5816c0e18a14e4aa9647b662fe7
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 9 10:47:46 2019 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed Oct 9 10:54:33 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a49d20a1
p/f/prefix/standalone/package.use.mask: mask sys-apps/util-linux[pam]
sys-libs/pam is not essential in a Prefix system. We would rather
defer prefixifying it.
This commit just removes sys-libs/pam reverse dependency by @system.
Closes: https://bugs.gentoo.org/695966
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
profiles/features/prefix/standalone/package.use.mask | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/profiles/features/prefix/standalone/package.use.mask b/profiles/features/prefix/standalone/package.use.mask
index 7653e7fd7c1..636ee9549d9 100644
--- a/profiles/features/prefix/standalone/package.use.mask
+++ b/profiles/features/prefix/standalone/package.use.mask
@@ -1,6 +1,11 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Benda Xu <heroxbd@gentoo.org> (2019-10-09)
+# Do not draw pam from @system. Bug 695966.
+# runuser is not necessary for Prefix.
+sys-apps/util-linux pam
+
# Benda Xu <heroxbd@gentoo.org> (2019-01-26)
# native-extensions requires >=linux=4.6 for __NR_copy_file_range
sys-apps/portage native-extensions
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/
@ 2019-10-09 11:33 Benda XU
0 siblings, 0 replies; 14+ messages in thread
From: Benda XU @ 2019-10-09 11:33 UTC (permalink / raw
To: gentoo-commits
commit: 050cc8275578ea0422d6c1044a292efc55111e03
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 9 11:31:34 2019 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed Oct 9 11:33:20 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=050cc827
p/f/prefix/standalone/package.use.mask: mask net-misc/openssh[pam]
pam is not necessary in the @system set of Prefix.
Bug: https://bugs.gentoo.org/695966
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
profiles/features/prefix/standalone/package.use.mask | 1 +
1 file changed, 1 insertion(+)
diff --git a/profiles/features/prefix/standalone/package.use.mask b/profiles/features/prefix/standalone/package.use.mask
index 636ee9549d9..d875d29e2a2 100644
--- a/profiles/features/prefix/standalone/package.use.mask
+++ b/profiles/features/prefix/standalone/package.use.mask
@@ -5,6 +5,7 @@
# Do not draw pam from @system. Bug 695966.
# runuser is not necessary for Prefix.
sys-apps/util-linux pam
+net-misc/openssh pam
# Benda Xu <heroxbd@gentoo.org> (2019-01-26)
# native-extensions requires >=linux=4.6 for __NR_copy_file_range
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/
@ 2020-02-12 12:16 Benda XU
0 siblings, 0 replies; 14+ messages in thread
From: Benda XU @ 2020-02-12 12:16 UTC (permalink / raw
To: gentoo-commits
commit: 0e74313ccdf8a00d796f76583a3aece6cf4beb05
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 12 12:13:09 2020 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed Feb 12 12:15:51 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e74313c
p/f/prefix/s/profile.bashrc: new location of emultempl/elf32.em.
From binutils-2.34, /etc/ld.so.conf is coded in ld/ldelf.c instead.
Closes: https://bugs.gentoo.org/708184
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
profiles/features/prefix/standalone/profile.bashrc | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/profiles/features/prefix/standalone/profile.bashrc b/profiles/features/prefix/standalone/profile.bashrc
index 20a3aff74cf..49293adb98d 100644
--- a/profiles/features/prefix/standalone/profile.bashrc
+++ b/profiles/features/prefix/standalone/profile.bashrc
@@ -38,8 +38,15 @@ elif [[ ${CATEGORY}/${PN} == sys-devel/binutils && ${EBUILD_PHASE} == prepare ]]
sed -i -r "/NATIVE_LIB_DIRS/s,((/usr(/local|)|)/lib),${EPREFIX}\1,g" \
"${S}"/ld/configure.tgt
eend $?
+
ebegin "Prefixifying path to /etc/ld.so.conf"
- sed -i -r "s,\"/etc,\"${EPREFIX}/etc," "${S}"/ld/emultempl/elf32.em
+ local f=
+ if [[ -f "${S}"/ld/emultempl/elf32.em ]]; then
+ f="${S}"/ld/emultempl/elf32.em
+ elif [[ -f "${S}"/ld/ldelf.c ]]; then
+ f="${S}"/ld/ldelf.c
+ fi
+ [[ -n "${f}" ]] && sed -i -r "s,\"/etc,\"${EPREFIX}/etc," "${f}"
eend $?
elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == compile ]]; then
cd "${S}"
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/
@ 2020-05-11 7:17 Benda XU
0 siblings, 0 replies; 14+ messages in thread
From: Benda XU @ 2020-05-11 7:17 UTC (permalink / raw
To: gentoo-commits
commit: ef7b5d2753a1f756a09223de2ac1b85697faed83
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Tue May 5 14:13:18 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=ef7b5d27
p/f/prefix/s/profile.bashrc: move glibc hack to configure.
sys-libs/glibc are migrated to modern EAPI to provide src_configure().
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
profiles/features/prefix/standalone/profile.bashrc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/profiles/features/prefix/standalone/profile.bashrc b/profiles/features/prefix/standalone/profile.bashrc
index 49293adb98d..bef26cfd012 100644
--- a/profiles/features/prefix/standalone/profile.bashrc
+++ b/profiles/features/prefix/standalone/profile.bashrc
@@ -48,10 +48,10 @@ elif [[ ${CATEGORY}/${PN} == sys-devel/binutils && ${EBUILD_PHASE} == prepare ]]
fi
[[ -n "${f}" ]] && sed -i -r "s,\"/etc,\"${EPREFIX}/etc," "${f}"
eend $?
-elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == compile ]]; then
+elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == configure ]]; then
cd "${S}"
einfo "Prefixifying hardcoded path"
-
+
for f in libio/iopopen.c \
shadow/lckpwdf.c resolv/{netdb,resolv}.h elf/rtld.c \
nis/nss_compat/compat-{grp,initgroups,{,s}pwd}.c \
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/
@ 2021-06-07 15:23 Guilherme Amadio
0 siblings, 0 replies; 14+ messages in thread
From: Guilherme Amadio @ 2021-06-07 15:23 UTC (permalink / raw
To: gentoo-commits
commit: 07433fc7688d7b49c29440b995719210bb441d22
Author: Alexei Colin <acolin <AT> isi <DOT> edu>
AuthorDate: Fri Jan 22 05:01:50 2021 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Jun 7 15:22:22 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07433fc7
profiles: prefixify dynamic linker for ppc64
Bug: https://bugs.gentoo.org/755551
The issue: prefix stage3 fails because the binaries built
by the stage3 GCC toolchain fail to run, because they
refer to the host's dynamic linker:
$ which gawk
/myprefix/usr/bin/gawk
$ gawk --version
gawk: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by gawk)
$ readelf -l $(which gawk) | grep -i 'program
[Requesting program interpreter: /lib64/ld64.so.2]
The cause is that the toolchain doesn't insert a prefixified path
into the binary because the default -dynamic-linker is not prefixified:
$ which powerpc64le-unknown-linux-gnu-gcc
/myprefix/usr/bin/powerpc64le-unknown-linux-gnu-gcc
$ echo 'int main() { return 0; }' > test.c
$ powerpc64le-unknown-linux-gnu-gcc -v -o test test.c
COLLECT_GCC_OPTIONS='-v' '-o' 'testx'
/myprefix/usr/libexec/gcc/powerpc64le-unknown-linux-gnu/10.2.0/collect2
--eh-frame-hdr -V -m elf64lppc -dynamic-linker /libb64/ld64.so.2 ...
The root cause:
Prefixifying is done by patching the GCC source code with a sed
expression in profile.bashrc. The pattern in that sed expression doesn't
match the source file for ppc64 (aka. rs6000). The ppc64 file differs
from the rest in that it has a macro for the prefix.
Notes on fix:
I opted to special-case another sed expression to set that unique
DYNAMIC_LINKER_PREFIX macro rather than attempt to make a single sed
expression that would modify the *_DYNAMIC_LINKER macros in ppc64.
Rationale is that if someone happens to look at the patched source file,
it would make more sense if the DYNAMIC_LINKER_PREFIX is set to our
prefix, instead of if that macro is set to empty but the
*_DYNAMIC_LINKER macros have effectively two prefixes, one hardcoded
added by sed, one from the DYNAMIC_LINKER_PREFIX macro.
Signed-off-by: Alexei Colin <ac <AT> alexeicolin.com>
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
profiles/features/prefix/standalone/profile.bashrc | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/profiles/features/prefix/standalone/profile.bashrc b/profiles/features/prefix/standalone/profile.bashrc
index ff58c68a562..76ef2455b35 100644
--- a/profiles/features/prefix/standalone/profile.bashrc
+++ b/profiles/features/prefix/standalone/profile.bashrc
@@ -14,7 +14,11 @@ if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == configure ]]; the
einfo "Prefixifying dynamic linkers..."
for h in gcc/config/*/*linux*.h; do
ebegin " Updating $h"
- sed -i -r "/_DYNAMIC_LINKER/s,([\":])(/lib),\1${EPREFIX}\2,g" $h
+ if [[ "${h}" == gcc/config/rs6000/linux*.h ]]; then
+ sed -i -r "s,(DYNAMIC_LINKER_PREFIX\s+)\"\",\1\"${EPREFIX}\",g" $h
+ else
+ sed -i -r "/_DYNAMIC_LINKER/s,([\":])(/lib),\1${EPREFIX}\2,g" $h
+ fi
eend $?
done
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/
@ 2021-07-15 16:53 Benda XU
0 siblings, 0 replies; 14+ messages in thread
From: Benda XU @ 2021-07-15 16:53 UTC (permalink / raw
To: gentoo-commits
commit: 8e5e1f3ef263363ec0426ce7a8a3dec6f5f5bb5d
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 15 16:48:22 2021 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu Jul 15 16:53:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e5e1f3e
p/f/prefix/standalone/profile.bashrc: remove Debian magic.
We are Gentoo, and we unconditionally turn off Debian related tests.
The upstreaming process has stalled and we work around this bug by
hacking the profile. Remove this when upstream figure out how to deal
with distributions.
Reference: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/5047
Reference: https://gitlab.kitware.com/cmake/cmake/-/issues/18979
Bug: https://bugs.gentoo.org/733480
Closes: https://bugs.gentoo.org/757006
Closes: https://github.com/gentoo/gentoo/pull/20274
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
profiles/features/prefix/standalone/profile.bashrc | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/profiles/features/prefix/standalone/profile.bashrc b/profiles/features/prefix/standalone/profile.bashrc
index 76ef2455b35..5423535d0fc 100644
--- a/profiles/features/prefix/standalone/profile.bashrc
+++ b/profiles/features/prefix/standalone/profile.bashrc
@@ -1,5 +1,5 @@
# -*- mode: shell-script; -*-
-# Copyright 2018-2020 Gentoo Authors
+# Copyright 2018-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# RAP specific patches pending upstream:
@@ -109,4 +109,11 @@ elif [[ ${CATEGORY}/${PN} == dev-lang/php && ${EBUILD_PHASE} == prepare ]]; then
ebegin "Prefixifying ext/iconv/config.m4 paths"
sed -i -r "/for i in/s,(/usr(/local|)),${EPREFIX}\1,g" "${S}"/ext/iconv/config.m4
eend $?
+elif [[ ${CATEGORY}/${PN} == dev-util/cmake && ${EBUILD_PHASE} == prepare ]]; then
+ einfo "Removing Debian magic..."
+ for f in Modules/{CMakeFindPackageMode,FindPkgConfig,GNUInstallDirs,Platform/{GNU,Linux}}.cmake; do
+ ebegin " Updating $f"
+ sed -i -e 's,EXISTS "/etc/debian_version",FALSE,' "${S}"/$f
+ eend $?
+ done
fi
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/
@ 2022-06-29 14:29 Sam James
0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2022-06-29 14:29 UTC (permalink / raw
To: gentoo-commits
commit: 6a7bc278de50e4f3dc4e88338b59b047bd093d10
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 29 13:44:43 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 29 14:29:46 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a7bc278
profiles/features/prefix/standalone: fix GCC sed for 12+
GCC 12 renamed a bunch of .c -> .cc. Reported by Ionen.
Signed-off-by: Sam James <sam <AT> gentoo.org>
profiles/features/prefix/standalone/profile.bashrc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/profiles/features/prefix/standalone/profile.bashrc b/profiles/features/prefix/standalone/profile.bashrc
index 5423535d0fc9..d23eeb81797d 100644
--- a/profiles/features/prefix/standalone/profile.bashrc
+++ b/profiles/features/prefix/standalone/profile.bashrc
@@ -26,7 +26,7 @@ if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == configure ]]; the
EXTRA_ECONF="${EXTRA_ECONF} --with-sysroot=${EPREFIX}"
ebegin "remove --sysroot call on ld for native toolchain"
- sed -i 's/--sysroot=%R//' gcc/gcc.c
+ sed -i 's/--sysroot=%R//' gcc/gcc.c*
eend $?
elif [[ ${CATEGORY}/${PN} == sys-devel/clang && ${EBUILD_PHASE} == configure ]]; then
ebegin "Use ${EPREFIX} as default sysroot"
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/
@ 2023-02-11 22:28 James Le Cuirot
0 siblings, 0 replies; 14+ messages in thread
From: James Le Cuirot @ 2023-02-11 22:28 UTC (permalink / raw
To: gentoo-commits
commit: 80d8703c52f23ca672a0e690f9daa4aff6520ee1
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 9 23:04:15 2023 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Feb 11 22:27:24 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80d8703c
profiles: Don't prefixify /etc/ld.so.conf path in binutils
Now that the compiler's sysroot is being respected, prefixifying the
path to /etc/ld.so.conf results in a double prefix.
Bug: https://bugs.gentoo.org/892549
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
profiles/features/prefix/standalone/profile.bashrc | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/profiles/features/prefix/standalone/profile.bashrc b/profiles/features/prefix/standalone/profile.bashrc
index d46933210dcc..8c500da85519 100644
--- a/profiles/features/prefix/standalone/profile.bashrc
+++ b/profiles/features/prefix/standalone/profile.bashrc
@@ -14,16 +14,6 @@ if [[ ${CATEGORY}/${PN} == sys-devel/binutils && ${EBUILD_PHASE} == prepare ]];
sed -i -r "/NATIVE_LIB_DIRS/s,((/usr(/local|)|)/lib),${EPREFIX}\1,g" \
"${S}"/ld/configure.tgt
eend $?
-
- ebegin "Prefixifying path to /etc/ld.so.conf"
- local f=
- if [[ -f "${S}"/ld/emultempl/elf32.em ]]; then
- f="${S}"/ld/emultempl/elf32.em
- elif [[ -f "${S}"/ld/ldelf.c ]]; then
- f="${S}"/ld/ldelf.c
- fi
- [[ -n "${f}" ]] && sed -i -r "s,\"/etc,\"${EPREFIX}/etc," "${f}"
- eend $?
elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == configure ]]; then
cd "${S}"
einfo "Prefixifying hardcoded path"
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/
@ 2023-03-04 2:23 Sam James
0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2023-03-04 2:23 UTC (permalink / raw
To: gentoo-commits
commit: 8d8e2619bd8d6edf4e95ed33b664765b0db9dc8c
Author: Bart Oldeman <bart.oldeman <AT> calculquebec <DOT> ca>
AuthorDate: Fri Mar 3 03:27:50 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 4 02:22:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d8e2619
profiles/features/prefix/standalone: mask getentropy
When bootstrapping on a 3.10 kernel (e.g. CentOS 7.x), libgcrypt notes the following:
```
* Messages for package dev-libs/libgcrypt-1.10.1-r3:
* The getentropy function requires the getrandom syscall.
* This was introduced in Linux 3.17.
* Your system is currently running Linux 3.10.0-1160.45.1.el7.x86_64.
* Disable the 'getentropy' USE flag or upgrade your kernel.
* ERROR: dev-libs/libgcrypt-1.10.1-r3::gentoo failed (pretend phase):
* Kernel is too old for getentropy
```
Since without getrandom it will do a runtime check it's ok to mask.
Signed-off-by: Bart Oldeman <bart.oldeman <AT> calculquebec.ca>
Closes: https://github.com/gentoo/gentoo/pull/29906
Signed-off-by: Sam James <sam <AT> gentoo.org>
profiles/features/prefix/standalone/package.use.mask | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/profiles/features/prefix/standalone/package.use.mask b/profiles/features/prefix/standalone/package.use.mask
index 6c81333b0b2a..cb74107fef3b 100644
--- a/profiles/features/prefix/standalone/package.use.mask
+++ b/profiles/features/prefix/standalone/package.use.mask
@@ -1,6 +1,10 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Bart Oldeman <bart.oldeman@calculquebec.ca> (2022-03-02)
+# getentropy requires >=linux=3.17 for __NR_getrandom
+dev-libs/libgcrypt getentropy
+
# Georgy Yakovlev <gyakovlev@gentoo.org> (2021-01-19)
# uchardet not stable/keyworded yet on this profile keyword
# bug #750032
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/
@ 2023-09-11 22:39 James Le Cuirot
0 siblings, 0 replies; 14+ messages in thread
From: James Le Cuirot @ 2023-09-11 22:39 UTC (permalink / raw
To: gentoo-commits
commit: 5afd6fc2d73b96515972c527df7f6b82384fe711
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 11 22:37:28 2023 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Sep 11 22:38:49 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5afd6fc2
profiles: Update standalone prefix glibc sed call
nis/nss_compat moved to nss/nss_compat some years ago.
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
profiles/features/prefix/standalone/profile.bashrc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/profiles/features/prefix/standalone/profile.bashrc b/profiles/features/prefix/standalone/profile.bashrc
index 8c500da85519..87a6dacd7913 100644
--- a/profiles/features/prefix/standalone/profile.bashrc
+++ b/profiles/features/prefix/standalone/profile.bashrc
@@ -20,7 +20,7 @@ elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == configure ]];
for f in libio/iopopen.c \
shadow/lckpwdf.c resolv/{netdb,resolv}.h elf/rtld.c \
- nis/nss_compat/compat-{grp,initgroups,{,s}pwd}.c \
+ n[is]s/nss_compat/compat-{grp,initgroups,{,s}pwd}.c \
nss/{bug-erange,nss_files/files-{XXX,init{,groups}}}.c \
sysdeps/{{generic,unix/sysv/linux}/paths.h,posix/system.c}
do
^ permalink raw reply related [flat|nested] 14+ messages in thread
end of thread, other threads:[~2023-09-11 22:39 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-15 13:38 [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/ Guilherme Amadio
-- strict thread matches above, loose matches on Subject: below --
2023-09-11 22:39 James Le Cuirot
2023-03-04 2:23 Sam James
2023-02-11 22:28 James Le Cuirot
2022-06-29 14:29 Sam James
2021-07-15 16:53 Benda XU
2021-06-07 15:23 Guilherme Amadio
2020-05-11 7:17 Benda XU
2020-02-12 12:16 Benda XU
2019-10-09 11:33 Benda XU
2019-10-09 10:54 Benda XU
2019-01-26 11:22 Benda XU
2018-07-05 17:39 Guilherme Amadio
2017-08-22 11:59 Benda XU
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox