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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 104AD158042 for ; Fri, 18 Oct 2024 13:47:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94751E090A; Fri, 18 Oct 2024 13:47:53 +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 78569E090A for ; Fri, 18 Oct 2024 13:47:53 +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 7F76A343065 for ; Fri, 18 Oct 2024 13:47:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B4FCD1E06 for ; Fri, 18 Oct 2024 13:47:50 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1729258627.f77f6be9737de0f9d1fa729a32eb3ed9c62ca66a.heroxbd@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/slurm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/slurm/slurm-22.05.11.ebuild sys-cluster/slurm/slurm-24.05.3.ebuild X-VCS-Directories: sys-cluster/slurm/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: f77f6be9737de0f9d1fa729a32eb3ed9c62ca66a X-VCS-Branch: master Date: Fri, 18 Oct 2024 13:47:50 +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: b1993b44-35cd-4dce-a3f5-f84292498fc2 X-Archives-Hash: 26e9ceff29301a4ae63fcfea22dc1949 commit: f77f6be9737de0f9d1fa729a32eb3ed9c62ca66a Author: Benda Xu gentoo org> AuthorDate: Wed Oct 9 10:51:06 2024 +0000 Commit: Benda XU gentoo org> CommitDate: Fri Oct 18 13:37:07 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f77f6be9 sys-cluster/slurm: use lazy binding to let plugins work. Follow the guidence from slurm.spec and Debian turning off -bindnow. Bug: https://bugs.gentoo.org/698994 Reference: https://salsa.debian.org/hpc-team/slurm-wlm/-/blob/master/debian/rules Signed-off-by: Benda Xu gentoo.org> sys-cluster/slurm/slurm-22.05.11.ebuild | 9 +++++++-- sys-cluster/slurm/slurm-24.05.3.ebuild | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/sys-cluster/slurm/slurm-22.05.11.ebuild b/sys-cluster/slurm/slurm-22.05.11.ebuild index 48a6b283d77a..3f4b55be81d8 100644 --- a/sys-cluster/slurm/slurm-22.05.11.ebuild +++ b/sys-cluster/slurm/slurm-22.05.11.ebuild @@ -21,14 +21,18 @@ else KEYWORDS="~amd64 ~arm64 ~riscv ~x86" fi -inherit autotools bash-completion-r1 lua-single pam perl-module prefix toolchain-funcs systemd ${INHERIT_GIT} tmpfiles +inherit autotools bash-completion-r1 flag-o-matic lua-single pam \ + perl-module prefix toolchain-funcs systemd ${INHERIT_GIT} \ + tmpfiles DESCRIPTION="A Highly Scalable Resource Manager" HOMEPAGE="https://www.schedmd.com https://github.com/SchedMD/slurm" LICENSE="GPL-2" SLOT="0" -IUSE="X debug hdf5 html ipmi json lua multiple-slurmd +munge mysql numa nvml ofed pam perl slurmdbd slurmrestd static-libs torque ucx yaml" + +IUSE="X debug hdf5 html ipmi json lua multiple-slurmd +munge mysql numa + nvml ofed pam perl slurmdbd slurmrestd static-libs torque ucx yaml" # See bug #813924 for hdf5lib < dep, needs proper fix COMMON_DEPEND=" @@ -87,6 +91,7 @@ PATCHES=( ) pkg_setup() { + append-ldflags -Wl,-z,lazy use lua && lua-single_pkg_setup } diff --git a/sys-cluster/slurm/slurm-24.05.3.ebuild b/sys-cluster/slurm/slurm-24.05.3.ebuild index 1f7beec432cf..2570ebff8b1b 100644 --- a/sys-cluster/slurm/slurm-24.05.3.ebuild +++ b/sys-cluster/slurm/slurm-24.05.3.ebuild @@ -21,14 +21,18 @@ else KEYWORDS="~amd64 ~arm64 ~riscv ~x86" fi -inherit autotools bash-completion-r1 lua-single pam perl-module prefix toolchain-funcs systemd ${INHERIT_GIT} tmpfiles +inherit autotools bash-completion-r1 flag-o-matic lua-single pam \ + perl-module prefix toolchain-funcs systemd ${INHERIT_GIT} \ + tmpfiles DESCRIPTION="A Highly Scalable Resource Manager" HOMEPAGE="https://www.schedmd.com https://github.com/SchedMD/slurm" LICENSE="GPL-2" SLOT="0" -IUSE="X debug hdf5 html ipmi json lua multiple-slurmd +munge mysql numa nvml ofed pam perl slurmdbd slurmrestd static-libs torque ucx yaml" + +IUSE="X debug hdf5 html ipmi json lua multiple-slurmd +munge mysql numa + nvml ofed pam perl slurmdbd slurmrestd static-libs torque ucx yaml" # See bug #813924 for hdf5lib < dep, needs proper fix COMMON_DEPEND=" @@ -83,6 +87,7 @@ LIBSLURMDB_PERL_S="${S}/contribs/perlapi/libslurmdb/perl" RESTRICT="test" pkg_setup() { + append-ldflags -Wl,-z,lazy use lua && lua-single_pkg_setup }