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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3B11415ACFC for ; Fri, 5 May 2023 04:44:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30761E089D; Fri, 5 May 2023 04:44:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 145E6E089D for ; Fri, 5 May 2023 04:44:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 185C633F6A5 for ; Fri, 5 May 2023 04:44:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 816718AC for ; Fri, 5 May 2023 04:44:29 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1683261702.b53a8bbfb7f20ca11a936818443f7080fcad5ad4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/slibtool/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/slibtool/slibtool-0.5.34.ebuild sys-devel/slibtool/slibtool-9999.ebuild X-VCS-Directories: sys-devel/slibtool/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b53a8bbfb7f20ca11a936818443f7080fcad5ad4 X-VCS-Branch: master Date: Fri, 5 May 2023 04:44:29 +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: 8bc9bdec-c2a8-43be-b375-922cf484eed2 X-Archives-Hash: 9368b270ec1244a84b8a8a624db809c3 commit: b53a8bbfb7f20ca11a936818443f7080fcad5ad4 Author: orbea riseup net> AuthorDate: Fri May 5 01:23:35 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri May 5 04:41:42 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b53a8bbf sys-devel/slibtool: fix the build in some chroots When building slibtool in a chroot where the SHELL is set as /sbin/nologin the sofort configure will fail. This can be worked around for now by explicitly setting the shell as /bin/sh during configure. Also fixes the libdir path and updates to EAPI=8. Closes: https://bugs.gentoo.org/905721 Signed-off-by: orbea riseup.net> Closes: https://github.com/gentoo/gentoo/pull/30878 Signed-off-by: Sam James gentoo.org> sys-devel/slibtool/slibtool-0.5.34.ebuild | 7 ++++--- sys-devel/slibtool/slibtool-9999.ebuild | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/sys-devel/slibtool/slibtool-0.5.34.ebuild b/sys-devel/slibtool/slibtool-0.5.34.ebuild index c176e886d89c..747b80b4a308 100644 --- a/sys-devel/slibtool/slibtool-0.5.34.ebuild +++ b/sys-devel/slibtool/slibtool-0.5.34.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit toolchain-funcs @@ -32,6 +32,7 @@ src_configure() { --compiler="$(tc-getCC)" \ --host=${CHOST} \ --prefix="${EPREFIX}"/usr \ - --libdir="$(get_libdir)" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --shell="${EPREFIX}"/bin/sh \ || die } diff --git a/sys-devel/slibtool/slibtool-9999.ebuild b/sys-devel/slibtool/slibtool-9999.ebuild index 200a19a514d4..5295be737954 100644 --- a/sys-devel/slibtool/slibtool-9999.ebuild +++ b/sys-devel/slibtool/slibtool-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit toolchain-funcs @@ -32,6 +32,7 @@ src_configure() { --compiler="$(tc-getCC)" \ --host=${CHOST} \ --prefix="${EPREFIX}"/usr \ - --libdir="$(get_libdir)" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --shell="${EPREFIX}"/bin/sh \ || die }