From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qL++OO5mG2ft2AAAe85BDQ:P1 (envelope-from ) for ; Fri, 25 Oct 2024 09:37:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id qL++OO5mG2ft2AAAe85BDQ (envelope-from ) for ; Fri, 25 Oct 2024 11:37:51 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=uZG2Mzc1; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729849070; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=OAGi/ehhp6m4dN/1O5rc8DkV3s9gNXF0fyL671RkTeo=; b=A1FS0e8Iebi2IDZD8cr+O30FRC8lriINvSSopkOReBuIM39/Nizg5BwEsR/vQl5ZlzHyvK wsFUMKsjMPhPmiiBt3WL/VBnwZrfz/YMrDNRQDgtHmk3ebfMcxv9cZZFYZURQNlUdYzgq3 kiuFbhchUoAqp1XkNwQ6b9EGlRLWL3LvkHkhIl1efxwvQzdsMxcIPwpF3JHl9ODbz3QmMO KzMTh7HZThF2Rs4g0xGew4ibm2KfEvTgJZrHo0GVn/7vA14OVGaUbkhwEqU2Ru280MaSfZ inzK2amOeWnzYdQqbEjtSFgVNfV4gpzQzB7VTLfo+7D5SP2zackC+BkhOZYxqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=uZG2Mzc1; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729849070; a=rsa-sha256; cv=none; b=ShUmbWC/C2KcJakB3SAN/eWsYjIe+1jtwyO5YXaoPBxamtCC5got2vCW8wH5Xhu0zUZUqa Kdlgha2AxCNF9C4o+Ovu56EKgz7r5MY/fwla3hqW9muchG5k+KJBJ8LfEMDCy4h3M+eiFE klobXrnjh2Xag0Zf9yDBLkS50Dk2Ip6hxnGHSsp5L+CVllMxEtrdhfU85HYF0SacwWkCQr 8SUmKp2/Mut95BkvO5jEgWlE0B8HE/r8qXkapgWKVKcD8BGnk/Xbwk8Eumvy69DUpPF+YP dPn8S4qqxBnZjCPPXm0kATFJrjYW1bI0jA0QWJbhU3K0BAlhEDpq6vmD0IFkRQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 435F88E31D for ; Fri, 25 Oct 2024 11:37:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t4GlB-0000a8-QT; Fri, 25 Oct 2024 05:37:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t4Gl9-0000Zv-Dy for bug-guix@gnu.org; Fri, 25 Oct 2024 05:37:31 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t4Gl9-0002yi-2I for bug-guix@gnu.org; Fri, 25 Oct 2024 05:37:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=OAGi/ehhp6m4dN/1O5rc8DkV3s9gNXF0fyL671RkTeo=; b=uZG2Mzc1cLpYCzdS4eImL8ll2njOgiL2p5GXpMxWbpf1BU6/N9SOfTdH/RLRDqLCyRqi3aoE5oNTMI8KZpvlLLUkrRt+D0OG4Kb8lNkCQhQsvXHNIX4/gc2yj/ZvIw1ULO6UHRIBb8WjG5e5o3VdIV9R+MMaN2ho+0TXo7orq1r3KXiQmTronmatqmBwZvwkSqdAr4HfJYwC5Dc9j4c2eNXoZRT8uPPNNlZ/1hCsCJpYSdjVoUtEnHEQELCvgW6g2JYgTP5pDpmAKLjbx45mCW0ZTHBVfVonEpvjTvgfDrYa9TMOXqyJB3hjaGqSe/H4U0tqXpAKYAgi2mvZD1enCQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t4Gle-0001oy-N4 for bug-guix@gnu.org; Fri, 25 Oct 2024 05:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#74010: openmpi@5 requires propagated libraries Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 25 Oct 2024 09:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74010 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 74010@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17298490526951 (code B ref -1); Fri, 25 Oct 2024 09:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Oct 2024 09:37:32 +0000 Received: from localhost ([127.0.0.1]:37272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4Gl9-0001o2-Ie for submit@debbugs.gnu.org; Fri, 25 Oct 2024 05:37:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:37722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4Gl6-0001ns-Ew for submit@debbugs.gnu.org; Fri, 25 Oct 2024 05:37:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t4Gka-0000T7-B6 for bug-guix@gnu.org; Fri, 25 Oct 2024 05:36:56 -0400 Received: from gaia.aquilenet.fr ([2a0c:e300::2]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t4GkX-0002vr-Cg for bug-guix@gnu.org; Fri, 25 Oct 2024 05:36:56 -0400 Received: from hera.aquilenet.fr (hera.aquilenet.fr [185.233.100.1]) by gaia.aquilenet.fr (Postfix) with ESMTP id A3D07517C for ; Fri, 25 Oct 2024 11:36:49 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 8243A51D; Fri, 25 Oct 2024 11:36:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eV4YX38XVn1Y; Fri, 25 Oct 2024 11:36:48 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 098B610A; Fri, 25 Oct 2024 11:36:47 +0200 (CEST) Date: Fri, 25 Oct 2024 11:36:46 +0200 From: Andreas Enge Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=2a0c:e300::2; envelope-from=andreas@enge.fr; helo=gaia.aquilenet.fr X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_XBL=0.375, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 0.01 X-Spam-Score: 0.01 X-Migadu-Queue-Id: 435F88E31D X-TUID: 4ATBwMhGUmUl Hello, when updating openmpi from @4 to @5, my code does not link any more with the messages: ld: cannot find -lrdmacm: No such file or directory ld: cannot find -lefa: No such file or directory ld: cannot find -libverbs: No such file or directory ld: cannot find -lpsm2: No such file or directory Installing rdma-core and psm2 solves the problem. Here is a way to reproduce the problem: cd /tmp tar xvf `guix build -S cm` cd cm-0.4.3 guix shell --pure openmpi -D cm -- /bin/sh --norc ./configure --enable-mpi make -j Hm, I think the culprit is actually libfabric. It has these two packages as inputs, and contains this in its libfabric.pc: Libs.private: -lpsm2 -lrdmacm -libverbs -lefa -latomic -lpthread -ldl I am not familiar with pkgconfig and do not know what distinguishes the Libs from the Libs.private field. But the line for linking my binary contains this in exactly this order: /gnu/store/0f6bjfrf9kkdqh27y0bab9x9b4i8w5gi-libfabric-1.22.0/lib/libfabric.so -lrdmacm -lefa -libverbs -lpsm2 So this at least confirms the idea that something needs to be done for libfabric. Propagate its inputs? ldd on libfabric.so shows the required libraries librdmacm.so.1 => /gnu/store/2d... and so on, so I do not understand what goes wrong. Andreas