public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux/
@ 2016-02-11 20:07 Fabian Groffen
  0 siblings, 0 replies; 7+ messages in thread
From: Fabian Groffen @ 2016-02-11 20:07 UTC (permalink / raw
  To: gentoo-commits

commit:     660ff2fbc9c25cd73dce6edf3518b106c8934627
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 11 20:06:37 2016 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Feb 11 20:07:17 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=660ff2fb

profiles/prefix/linux: inherit from profiles/prefix too

 profiles/prefix/linux/parent | 1 +
 1 file changed, 1 insertion(+)

diff --git a/profiles/prefix/linux/parent b/profiles/prefix/linux/parent
index 9c65475..085c1b8 100644
--- a/profiles/prefix/linux/parent
+++ b/profiles/prefix/linux/parent
@@ -1 +1,2 @@
 ../../features/prefix/rpath
+..


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux/
@ 2016-02-21 16:59 Fabian Groffen
  0 siblings, 0 replies; 7+ messages in thread
From: Fabian Groffen @ 2016-02-21 16:59 UTC (permalink / raw
  To: gentoo-commits

commit:     022e9119a570763a27a3a9a5b1563a90e115220b
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 21 16:58:51 2016 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Feb 21 16:59:27 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=022e9119

profiles/prefix/linux/profile.bashrc: do not require ldd, bug #572902

 profiles/prefix/linux/profile.bashrc | 23 ++++++++++++++++++++---
 1 file changed, 20 insertions(+), 3 deletions(-)

diff --git a/profiles/prefix/linux/profile.bashrc b/profiles/prefix/linux/profile.bashrc
index 4e92182..693dd8e 100644
--- a/profiles/prefix/linux/profile.bashrc
+++ b/profiles/prefix/linux/profile.bashrc
@@ -3,10 +3,27 @@
 #
 # # Remember, bash treats floats like strings..
 
+get_libc_vers_min() {
+	if [[ -x /usr/bin/ldd ]] ; then
+		/usr/bin/ldd --version \
+			| head -n1 \
+			| grep -o ") 2\.[0-9]\+" \
+			| cut -d. -f2
+		return
+	elif [[ -x /lib/libc.so.6 || -x /lib64/libc.so.6 ]] ; then
+		/lib/libc.so.6 || lib64/libc.so.6 \
+			| head -n1 \
+			| grep -o 'version 2\.[0-9]\+' \
+			| cut -d. -f2
+		return
+	fi
+	echo "0"
+}
+
 if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == unpack ]]; then
     # Since 2.3 > 2.12 in numerical terms, just compare 2.X to 2.Y, will break
     # if >=3.0 is ever released
-    VERS=$(/usr/bin/ldd --version | head -n1 | grep -o ") [0-9]\.[0-9]\+" | cut -d. -f2 )
+    VERS=$(get_libc_vers_min)
     if [[ $VERS -lt 12 ]]; then # compare host glibc 2.x to 2.12
         ewarn "Your host glibc is too old; disabling automatic fortify. bug 289757"
         EPATCH_EXCLUDE+=" 10_all_gcc-default-fortify-source.patch" # <=gcc-4.5*
@@ -15,11 +32,11 @@ if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == unpack ]]; then
 fi
 
 if [[ ${EBUILD_PHASE} == setup ]]; then
-    VERS=$(/usr/bin/ldd --version | head -n1 | grep -o ") [0-9]\.[0-9]\+" | cut -d. -f2 )
+    VERS=$(get_libc_vers_min)
     if [[ $VERS -lt 6 && "${CFLAGS} " != *'gnu89-inline '* ]]; then # compare host glibc 2.x to 2.6
         einfo "Your host glibc is too old; enabling -fgnu89-inline compiler flag. bug 473524"
         CFLAGS="${CFLAGS} -fgnu89-inline" # for C only
     fi  
 fi
 
-# vim: set syn=sh expandtab ts=4:
+# vim: set syn=sh:


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux/
@ 2016-02-23  8:06 Fabian Groffen
  0 siblings, 0 replies; 7+ messages in thread
From: Fabian Groffen @ 2016-02-23  8:06 UTC (permalink / raw
  To: gentoo-commits

commit:     a757e440fa4ada01e9e025b4469f0f0cdcf4bfbe
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 23 08:05:34 2016 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Feb 23 08:05:34 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a757e440

profiles/prefix/linux/profile.bashrc: fix libc code parsing, bug #572902

 profiles/prefix/linux/profile.bashrc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/profiles/prefix/linux/profile.bashrc b/profiles/prefix/linux/profile.bashrc
index 693dd8e..9a48901 100644
--- a/profiles/prefix/linux/profile.bashrc
+++ b/profiles/prefix/linux/profile.bashrc
@@ -11,7 +11,9 @@ get_libc_vers_min() {
 			| cut -d. -f2
 		return
 	elif [[ -x /lib/libc.so.6 || -x /lib64/libc.so.6 ]] ; then
-		/lib/libc.so.6 || lib64/libc.so.6 \
+		{
+			/lib/libc.so.6 || /lib64/libc.so.6
+		} 2>/dev/null \
 			| head -n1 \
 			| grep -o 'version 2\.[0-9]\+' \
 			| cut -d. -f2


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux/
@ 2016-04-19  7:26 Michael Haubenwallner
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Haubenwallner @ 2016-04-19  7:26 UTC (permalink / raw
  To: gentoo-commits

commit:     c67fdc8eecdcff599caf4a1a8af92ee6257fb788
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 19 07:25:14 2016 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Tue Apr 19 07:25:46 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c67fdc8e

profiles/prefix/linux: unmask elibc_glibc and kernel_linux, bug#574822

 profiles/prefix/linux/use.mask | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/profiles/prefix/linux/use.mask b/profiles/prefix/linux/use.mask
new file mode 100644
index 0000000..669adbe
--- /dev/null
+++ b/profiles/prefix/linux/use.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Michael Haubenwallner <haubi@gentoo.org> (19 Apr 2016)
+# Unmask the linux-glibc combo, or we get bug#574822.
+-elibc_glibc
+-kernel_linux


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux/
@ 2017-09-13  9:46 Fabian Groffen
  0 siblings, 0 replies; 7+ messages in thread
From: Fabian Groffen @ 2017-09-13  9:46 UTC (permalink / raw
  To: gentoo-commits

commit:     80e9e730d08bf2fe60baf2408434e2f41c073a97
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 13 09:46:06 2017 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Sep 13 09:46:17 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80e9e730

profiles/prefix/linux/make.defaults: remove multilib-strict from FEATURES

 profiles/prefix/linux/make.defaults | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/profiles/prefix/linux/make.defaults b/profiles/prefix/linux/make.defaults
index ab544dd53ce..4e2672bc1ce 100644
--- a/profiles/prefix/linux/make.defaults
+++ b/profiles/prefix/linux/make.defaults
@@ -5,6 +5,11 @@
 ELIBC="glibc"
 KERNEL="linux"
 
+# Fabian Groffen <grobian@gentoo.org> (13 Sep 2017)
+# Traditional Prefix is no-multilib, and always installs in /lib so
+# don't check against this for "incompatible" objects
+FEATURES="-multilib-strict"
+
 # 2006/10/28 - Luca Barbato <lu_zero@gentoo.org>
 # on glibc system you cannot turn it off
 USE="iconv"


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux/
@ 2019-01-08 16:56 Michael Haubenwallner
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Haubenwallner @ 2019-01-08 16:56 UTC (permalink / raw
  To: gentoo-commits

commit:     2c90572d4947254855f83c1cbb182cb2d3d5fb0f
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  8 16:54:21 2019 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Tue Jan  8 16:56:18 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c90572d

profiles/prefix/linux(guest): p.mask sys-kernel/linux-headers

Prefix Guest does use host libc and host kernel's headers,
hence packages should depend on virtual/os-headers instead.
Signed-off-by: Michael Haubenwallner <haubi <AT> gentoo.org>

 profiles/prefix/linux/package.mask | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/profiles/prefix/linux/package.mask b/profiles/prefix/linux/package.mask
index 17532723914..b13eb34a520 100644
--- a/profiles/prefix/linux/package.mask
+++ b/profiles/prefix/linux/package.mask
@@ -1,2 +1,7 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
+
+# Michael Haubenwallner <haubi@gentoo.org> (08 Jan 2019)
+# Prefix Guest does use host libc and host kernel's headers,
+# hence packages should depend on virtual/os-headers instead.
+sys-kernel/linux-headers


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux/
@ 2023-05-03 19:07 Fabian Groffen
  0 siblings, 0 replies; 7+ messages in thread
From: Fabian Groffen @ 2023-05-03 19:07 UTC (permalink / raw
  To: gentoo-commits

commit:     578ff3ee42365ac9de7f3c80db76b0208b5acbb5
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed May  3 19:06:12 2023 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed May  3 19:06:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=578ff3ee

profiles/prefix/linux/package.use.mask: mask USE=getentroy on libgcrypt

Bug: https://bugs.gentoo.org/899900
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 profiles/prefix/linux/package.use.mask | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/profiles/prefix/linux/package.use.mask b/profiles/prefix/linux/package.use.mask
index 1c74e8a689af..bcae2df08740 100644
--- a/profiles/prefix/linux/package.use.mask
+++ b/profiles/prefix/linux/package.use.mask
@@ -1,6 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Fabian Groffen <grobian@gentoo.org> (2023-05-03)
+# this pulls in glibc or musl, which requires RAP
+dev-libs/libgcrypt getentropy
+
 # Michael Haubenwallner <haubi@gentoo.org> (2019-05-02)
 # gold is linux only, and is required by cxx
 sys-devel/binutils -gold -default-gold


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-05-03 19:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-21 16:59 [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux/ Fabian Groffen
  -- strict thread matches above, loose matches on Subject: below --
2023-05-03 19:07 Fabian Groffen
2019-01-08 16:56 Michael Haubenwallner
2017-09-13  9:46 Fabian Groffen
2016-04-19  7:26 Michael Haubenwallner
2016-02-23  8:06 Fabian Groffen
2016-02-11 20:07 Fabian Groffen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox