From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 787E0138350 for ; Sun, 15 Mar 2020 17:26:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7857FE0D56; Sun, 15 Mar 2020 17:26:42 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4F47DE0D56 for ; Sun, 15 Mar 2020 17:26:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F00A534F075 for ; Sun, 15 Mar 2020 17:26:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 65C8E13A for ; Sun, 15 Mar 2020 17:26:38 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1584293043.7bc3d2f5403cedd036d85ef2740b0fa3931271d6.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/python/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/python/python-2.7.17-r1.ebuild dev-lang/python/python-3.6.10.ebuild dev-lang/python/python-3.7.7.ebuild dev-lang/python/python-3.8.2.ebuild dev-lang/python/python-3.9.0_alpha4.ebuild X-VCS-Directories: dev-lang/python/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7bc3d2f5403cedd036d85ef2740b0fa3931271d6 X-VCS-Branch: master Date: Sun, 15 Mar 2020 17:26:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1e004a9e-6895-4847-83a8-a2d7563137c6 X-Archives-Hash: e274cb74e53d3f837a45ec74c8ed0dff commit: 7bc3d2f5403cedd036d85ef2740b0fa3931271d6 Author: Michał Górny gentoo org> AuthorDate: Sun Mar 15 17:18:58 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Mar 15 17:24:03 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bc3d2f5 dev-lang/python: Force-fail stropts.h check for future glibc upgrade Bug: https://bugs.gentoo.org/699668 Signed-off-by: Michał Górny gentoo.org> dev-lang/python/python-2.7.17-r1.ebuild | 4 ++++ dev-lang/python/python-3.6.10.ebuild | 6 ++++++ dev-lang/python/python-3.7.7.ebuild | 5 +++++ dev-lang/python/python-3.8.2.ebuild | 5 +++++ dev-lang/python/python-3.9.0_alpha4.ebuild | 5 +++++ 5 files changed, 25 insertions(+) diff --git a/dev-lang/python/python-2.7.17-r1.ebuild b/dev-lang/python/python-2.7.17-r1.ebuild index 7f6c843e9f5..544e46b4ffc 100644 --- a/dev-lang/python/python-2.7.17-r1.ebuild +++ b/dev-lang/python/python-2.7.17-r1.ebuild @@ -175,6 +175,10 @@ src_configure() { # https://bugs.gentoo.org/596798 # (upstream dropped this flag in 3.2a4 anyway) ac_cv_opt_olimit_ok=no + # glibc-2.30 removes it; since we can't cleanly force-rebuild + # Python on glibc upgrade, remove it proactively to give + # a chance for users rebuilding python before glibc + ac_cv_header_stropts_h=no --with-fpectl --enable-shared diff --git a/dev-lang/python/python-3.6.10.ebuild b/dev-lang/python/python-3.6.10.ebuild index 04d1b2520cd..72e2472af8f 100644 --- a/dev-lang/python/python-3.6.10.ebuild +++ b/dev-lang/python/python-3.6.10.ebuild @@ -133,6 +133,11 @@ src_configure() { fi local myeconfargs=( + # glibc-2.30 removes it; since we can't cleanly force-rebuild + # Python on glibc upgrade, remove it proactively to give + # a chance for users rebuilding python before glibc + ac_cv_header_stropts_h=no + --with-fpectl --enable-shared $(use_enable ipv6) @@ -150,6 +155,7 @@ src_configure() { OPT="" econf "${myeconfargs[@]}" + if use threads && grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then eerror "configure has detected that the sem_open function is broken." eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777." diff --git a/dev-lang/python/python-3.7.7.ebuild b/dev-lang/python/python-3.7.7.ebuild index 98a67f6b142..6ad2817ec1e 100644 --- a/dev-lang/python/python-3.7.7.ebuild +++ b/dev-lang/python/python-3.7.7.ebuild @@ -128,6 +128,11 @@ src_configure() { fi local myeconfargs=( + # glibc-2.30 removes it; since we can't cleanly force-rebuild + # Python on glibc upgrade, remove it proactively to give + # a chance for users rebuilding python before glibc + ac_cv_header_stropts_h=no + --enable-shared $(use_enable ipv6) --infodir='${prefix}/share/info' diff --git a/dev-lang/python/python-3.8.2.ebuild b/dev-lang/python/python-3.8.2.ebuild index 0960b3a6497..831650e0d93 100644 --- a/dev-lang/python/python-3.8.2.ebuild +++ b/dev-lang/python/python-3.8.2.ebuild @@ -133,6 +133,11 @@ src_configure() { fi local myeconfargs=( + # glibc-2.30 removes it; since we can't cleanly force-rebuild + # Python on glibc upgrade, remove it proactively to give + # a chance for users rebuilding python before glibc + ac_cv_header_stropts_h=no + --enable-shared $(use_enable ipv6) --infodir='${prefix}/share/info' diff --git a/dev-lang/python/python-3.9.0_alpha4.ebuild b/dev-lang/python/python-3.9.0_alpha4.ebuild index 77a4321ff04..cf3bb88ec5b 100644 --- a/dev-lang/python/python-3.9.0_alpha4.ebuild +++ b/dev-lang/python/python-3.9.0_alpha4.ebuild @@ -149,6 +149,11 @@ src_configure() { fi local myeconfargs=( + # glibc-2.30 removes it; since we can't cleanly force-rebuild + # Python on glibc upgrade, remove it proactively to give + # a chance for users rebuilding python before glibc + ac_cv_header_stropts_h=no + --enable-shared $(use_enable ipv6) --infodir='${prefix}/share/info'