From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gCLxJbd9G2fMNQAA62LTzQ:P1 (envelope-from ) for ; Fri, 25 Oct 2024 11:15:03 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id gCLxJbd9G2fMNQAA62LTzQ (envelope-from ) for ; Fri, 25 Oct 2024 13:15:03 +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=iXlGlx9b; 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=1729854903; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=IQ7F2/uDhmJZUmGDJg4lGUS/fjEg0kLkohe94KQvBv0=; b=UY9CGyqV+OVkJ18BuCk8aXGOkjkKwtevENK7UJG3wmTUseecN8GACJUYCej0jHhxtQElqp a7dYxUHVvIuAL6MClAJdK26Pik5oBsgoPDDPeEO9jRpaielLiDOIfOa/Zd8NPHlCLtFrMf shlVtLlt7Yc0Gb4ES6FzS/WK6GJKAIwiQsnCjrl4ONcFeXaN8iksx4tlsXibzjaN7uOPSf kojKw3vBcRiDU/TTkV9MuLRrrS1DyYr08HVIc5mDaaw65adSdSS9jcUhqHbh11I0EWT/CJ HVa72edAxYJfVUzQL4O6bJtuhQazdrC8Ta541h8zRQvrm6Hgz4t2jA+B2G4WDw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729854903; a=rsa-sha256; cv=none; b=cwu2pRXNheGtqEKup7clzg58boQBWD+h5JpE5VhwgYoQfgOl1per3c7rZM6eip6HSBWilx Yr1qHLYv4hLJZBN9MfC9Tpdc03JQ8s0Jd4ZAENwIcDe7eZmJRbS5lUscgJW3Vef1JnUm/l 4IZa11TZDDk0iq7MCGbJNvsQWu61DuoV6fN1i1rzK3uCu/aAb4Z1SaRQXlFoLpMAVuKUuH T7a6SyGdCkJFcYWxE1pzyLmbN9mkLkz+ZdLydUfreZFoldloMXr6LVbYMxg8BoNFa/EEZR CHVRnWvWFfi9tauj2uqtujvhkEmQgSeNmIcyfwQrSwcDjCsFWVF3ztKTmvbvRA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=iXlGlx9b; 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 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 05A797E13D for ; Fri, 25 Oct 2024 13:15:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t4IH3-0001Q5-Fe; Fri, 25 Oct 2024 07:14: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 1t4IH1-0001Px-UQ for bug-guix@gnu.org; Fri, 25 Oct 2024 07:14:32 -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 1t4IH1-00074v-J3 for bug-guix@gnu.org; Fri, 25 Oct 2024 07:14:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:MIME-Version:References:From:Date:To:Subject; bh=IQ7F2/uDhmJZUmGDJg4lGUS/fjEg0kLkohe94KQvBv0=; b=iXlGlx9bdfmHo+guGqhaMBg34zOkIdKQphUh37DIs4KTuCE/aY/xw0JzXkel7EJWMVwuXDZhQ89LfDDU7UWqcy+VJpGrZYV3Pu1+lZyKxb7eNAqtnMg1eWx9dI9iZp/+asBPesrsmqWZMZ7Juf6MRHKWtqhQtJVF6wm1SHosanzFs4Yc5+LoPSSn/9SPSo8wZrSE3iLSQFFQKrv5d5HcTDlwK5vPwgXngi7O98NsLONubbZVov/+ccPfiNBioMPdR6lExIlAkEnXGOJdH89tPrkqYECCWn3lyEgPHH5QOtGItOOd6TczNJed8D+G/mS5PuSU8cdzAoLrdOlpdQ2ilA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t4IHW-0006SQ-Gy for bug-guix@gnu.org; Fri, 25 Oct 2024 07:15: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 11:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74010 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 74010@debbugs.gnu.org Received: via spool by 74010-submit@debbugs.gnu.org id=B74010.172985488024778 (code B ref 74010); Fri, 25 Oct 2024 11:15:02 +0000 Received: (at 74010) by debbugs.gnu.org; 25 Oct 2024 11:14:40 +0000 Received: from localhost ([127.0.0.1]:37540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4IH9-0006Ra-Tp for submit@debbugs.gnu.org; Fri, 25 Oct 2024 07:14:40 -0400 Received: from gaia.aquilenet.fr ([185.233.100.2]:44086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4IH7-0006RL-9q for 74010@debbugs.gnu.org; Fri, 25 Oct 2024 07:14:38 -0400 Received: from hera.aquilenet.fr (hera.aquilenet.fr [185.233.100.1]) by gaia.aquilenet.fr (Postfix) with ESMTP id 1216A517C; Fri, 25 Oct 2024 13:13:29 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id DB734417; Fri, 25 Oct 2024 13:13:28 +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 Itmg4HZk40AM; Fri, 25 Oct 2024 13:13:28 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 4029F10A; Fri, 25 Oct 2024 13:13:28 +0200 (CEST) Date: Fri, 25 Oct 2024 13:13:26 +0200 From: Andreas Enge Message-ID: References: <87a5es324e.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87a5es324e.fsf@gnu.org> 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.25 X-Spam-Score: -4.25 X-Migadu-Queue-Id: 05A797E13D X-Migadu-Scanner: mx13.migadu.com X-TUID: 96QmrWc8OyBi Am Fri, Oct 25, 2024 at 12:31:29PM +0200 schrieb Ludovic Courtès: > It looks like the culprit is not pkg-config but Libtool: > --8<---------------cut here---------------start------------->8--- > $ cat $(guix build openmpi@5 |grep -v debug)/lib/libmpi.la |grep ^dependency_libs > dependency_libs=' > ... > /gnu/store/0f6bjfrf9kkdqh27y0bab9x9b4i8w5gi-libfabric-1.22.0/lib/libfabric.la -lrdmacm -lefa -libverbs -lpsm2 /gnu/store/zzpbp6rr43smwxzvzd4qd317z5j7qblj-gcc-11.4.0-lib/lib/libatomic.la -lpthread This part comes from libfabric, which has this line in /gnu/store/0f6bjfrf9kkdqh27y0bab9x9b4i8w5gi-libfabric-1.22.0/lib/libfabric.la : dependency_libs=' -lrdmacm -lefa -libverbs -lpsm2 /gnu/store/zzpbp6rr43smwxzvzd4qd317z5j7qblj-gcc-11.4.0-lib/lib/libatomic.la -lpthread -ldl' But both openmpi@4 and @5 depend on libfabric, so this does not explain the difference. Then I do not understand why one of the libraries has an absolute path, and the others just their name. Maybe something should be changed in the building of libfabric? But indeed my code using openmpi@4 does not link with libfabric, as you noticed, and it works nevertheless. Andreas