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 386CC158089 for ; Fri, 28 Jan 2022 07:53:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65DEC2BC074; Fri, 28 Jan 2022 07:53:58 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4D6032BC074 for ; Fri, 28 Jan 2022 07:53:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5B93B3432C8 for ; Fri, 28 Jan 2022 07:53:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A0FC82BF for ; Fri, 28 Jan 2022 07:53:54 +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: <1643356405.c2d46ef2558c4c67d0ba0d7f8c37b7e906f5b678.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/userspace-rcu/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/userspace-rcu/userspace-rcu-0.13.0.ebuild X-VCS-Directories: dev-libs/userspace-rcu/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c2d46ef2558c4c67d0ba0d7f8c37b7e906f5b678 X-VCS-Branch: master Date: Fri, 28 Jan 2022 07:53:54 +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: cd0b56c1-61cb-421f-9c03-31603c2031ab X-Archives-Hash: 7e552aab4a685feffeff1a4a4547ff17 commit: c2d46ef2558c4c67d0ba0d7f8c37b7e906f5b678 Author: Vaibhav Rustagi google com> AuthorDate: Wed Jan 26 19:09:15 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jan 28 07:53:25 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d46ef2 dev-libs/userspace-rcu: Do autoreconf to fix cross-compilation error. In the install phase, there are certain libraries which are re-linked using "/usr/lib64". This creates a problem when cross-compilation is done. Snippet from logs: libtool: relink: aarch64-cros-linux-gnu-clang -shared -fPIC -DPIC .libs/liburcu_la-urcu.o .libs/liburcu_la-urcu-pointer.o .libs/liburcu_la-compat_arch.o .libs/liburcu_la-compat_futex.o -L/build/lakitu-arm64/tmp/portage/dev-libs/userspace-rcu-0.13.0/image/usr/lib64 -L/usr/lib64 -lurcu-common -pthread -Os -march=armv8-a+crc -mtune=cortex-a57 -g -Wl,-O2 -Wl,--as-needed -Wl,--gc-sections -Wl,--icf=all -pthread -Wl,-soname -Wl,liburcu.so.8 -o .libs/liburcu.so.8.0.0 Doing `eautoreconf` in `src_prepare` fixes the problem. Signed-off-by: Vaibhav Rustagi google.com> Closes: https://github.com/gentoo/gentoo/pull/23973 Signed-off-by: Sam James gentoo.org> dev-libs/userspace-rcu/userspace-rcu-0.13.0.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev-libs/userspace-rcu/userspace-rcu-0.13.0.ebuild b/dev-libs/userspace-rcu/userspace-rcu-0.13.0.ebuild index 580b14a63699..4ec9c9c340cd 100644 --- a/dev-libs/userspace-rcu/userspace-rcu-0.13.0.ebuild +++ b/dev-libs/userspace-rcu/userspace-rcu-0.13.0.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit autotools + DESCRIPTION="userspace RCU (read-copy-update) library" HOMEPAGE="https://liburcu.org/" SRC_URI="https://lttng.org/files/urcu/${P}.tar.bz2" @@ -15,6 +17,12 @@ RESTRICT="!test? ( test )" DEPEND="test? ( sys-process/time )" +src_prepare() { + default + + eautoreconf +} + src_configure() { local myeconfargs=( --enable-shared