From 47b6d14488f624111daa564f40ec49fc223b623c Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Mon, 14 Oct 2019 11:11:31 +0800 Subject: [PATCH] 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 --- .../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 b5f69351385a..fdc243ff8a1d 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 (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 (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 -- 2.26.2