From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CtUbJgvUWGAOKgAA0tVLHw (envelope-from ) for ; Mon, 22 Mar 2021 17:29:47 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uNh6IQvUWGAnFQAA1q6Kng (envelope-from ) for ; Mon, 22 Mar 2021 17:29:47 +0000 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 30E1212952 for ; Mon, 22 Mar 2021 18:29:47 +0100 (CET) Received: from localhost ([::1]:35806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOON8-0004Mw-8Z for larch@yhetil.org; Mon, 22 Mar 2021 13:29:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOOAp-000812-5Y for bug-guix@gnu.org; Mon, 22 Mar 2021 13:17:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46896) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOOAo-0000dD-R1 for bug-guix@gnu.org; Mon, 22 Mar 2021 13:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lOOAo-0007qI-Ln for bug-guix@gnu.org; Mon, 22 Mar 2021 13:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47325: newlib-nano: are lib names wrong? Resent-From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 Mar 2021 17:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47325 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 47325@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161643337727920 (code B ref -1); Mon, 22 Mar 2021 17:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Mar 2021 17:16:17 +0000 Received: from localhost ([127.0.0.1]:58438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOO9q-00072e-KO for submit@debbugs.gnu.org; Mon, 22 Mar 2021 13:16:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:60446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOO9o-00070F-FW for submit@debbugs.gnu.org; Mon, 22 Mar 2021 13:16:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOO9o-00070a-1Q for bug-guix@gnu.org; Mon, 22 Mar 2021 13:16:00 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:34593) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOO9l-0008Rb-D1 for bug-guix@gnu.org; Mon, 22 Mar 2021 13:15:59 -0400 Received: by mail-wr1-x42f.google.com with SMTP id j7so17985794wrd.1 for ; Mon, 22 Mar 2021 10:15:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=GEscOTOBNsuj3XDHs/ymOX4s+wszhMzbf6f6vBJuQzk=; b=ADdpO8rM5VUZD6e7Ud8NOIyFcgnCIyoSS1AH+kCshMwa7nTDuxsqclVQT/QEenWPdr L9RdRWSvCISgDTUr+vXMYhA1bUCuTw+0q5s5oT1tGI2vaWFi8m9e7D4mXOtVB6tF28yb yLKbLGjLq39JdxBr3U3CwQXb5N8uw7BNW4QHnhgtHi8zlCbgxzE6d+wWQty76m8D5rXa roPqa8Si9i0U7HnzretlqJ2Uno77Izj83xiI5RphJ5vn/yP2vZSDQkt+48Wh9Tme50hg shMmdMueO77+DXi+Qony2BuEzK0/NUaBW52gKjTXYvPdsvalCcSPbSi9kNKb/7eOycfc 6V4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=GEscOTOBNsuj3XDHs/ymOX4s+wszhMzbf6f6vBJuQzk=; b=jsRStM5lndG1QvPjdBBq2I1itWgTgRmJMddjiDHIlXiRuQhXkubvb8v0FEcfoGj3Oo uNWtcH2dhaI3t5RaQMGNyC/9UxoJsEoe/PaDypxwpyz148HNykf2ZadKLGI2f3VcQBjh b465UsWkw3XaB73oDL4dtB7jFA3F6ZizOhgUXtteNOZQQbZCOB1E9WK6e7Rj/7BfuJiC dl4MRpP57jm1QbRjv1/Fyx7jUAREL78+t+qUp19kwINk+BO4RpJKsrrLm2SQxrQiTsjl g5Hl730mGTKsJXl/1pFLrfM27cxqPtOFDRwV5tKyDEOWN7dNwYuL11+7hKTVcy1HouTD XaQQ== X-Gm-Message-State: AOAM531rnsb/r62MiPYjaP+Mx7yvPC6uroG0WfaVsTgGz4HHoSIBZBgE gEwFEiKU6MA0WWJBuIrf94EqANkYPQM= X-Google-Smtp-Source: ABdhPJwJ542UFDqK72F7TOW7nqbdvdCH95EkY1TDQufS/Agv17lRY2zCcJ4KFUG8ssvK1ZgZk14GyA== X-Received: by 2002:adf:a18a:: with SMTP id u10mr539343wru.197.1616433353696; Mon, 22 Mar 2021 10:15:53 -0700 (PDT) Received: from guixSD (host-79-17-142-89.retail.telecomitalia.it. [79.17.142.89]) by smtp.gmail.com with ESMTPSA id i3sm21597034wra.66.2021.03.22.10.15.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Mar 2021 10:15:53 -0700 (PDT) From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Date: Mon, 22 Mar 2021 18:15:52 +0100 Message-ID: <87ft0nnm7r.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=anothersms@gmail.com; helo=mail-wr1-x42f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616434187; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=GEscOTOBNsuj3XDHs/ymOX4s+wszhMzbf6f6vBJuQzk=; b=Y++Hc5Kz2Jlwlq14oeVSOQvBY+Gyvf9JJfUX8Ul6Osyg3vPCg93YbNXJRcmZK4pZ9R+IlF VjHXEg7BvGvjiUHhIA8gfH+9I2cVQL0rpcwf8YrCooxQAQYdPe+lWk5SZd70U/9gZMYT9S 8J/k8vWUsfCnJMObu5K4OyPqb6caX8nR4Xxx/+fOphUMo1m2ZroHS61n8/mGpgXiTXTnUf 93Ba0viGuJB6YLynYNbkXNNKUZh+iZXIjB4Tgq+l/XG/Xh5ZNUlE5U5uEHZpL8RRJg4XEA eZxnDZ3LK9a/d2uW8rJqKVEt5AZDPzdQrC6+6t7zewWuXS/8Cj6HQ/vij+gOBg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616434187; a=rsa-sha256; cv=none; b=a5rLcVKA0PkNcrUwNTruAJvWpfx+msSPioT/rKcGaI/5NYEyjLvTwWtAO8qOl4oKZEvbTW 4oL9o110XhfVURAy0/GRyjQoKhl29cKERv5tSZTZA6OCq5+WvX+G2MMxLsPO/WfUGNItwf MOglhL8RwHqq/q79wTh9dBlZu7cvd/v/qJgasrLm4S1bZTE7dDQZLYnfnYatSmKfc6QY/0 Yefx1HypNRzrNmnITJWhwJy3vlticXbRtwOMTBaeN6x5Fy8bA6dTup4jfGcLPM6bTJjB/x q7dpAcFAuOlT2vHzYWN9Au8FQTOJubuO/HHMadk/cO2WWyKbdnGfKB8yqfgm0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=ADdpO8rM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -0.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=ADdpO8rM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 30E1212952 X-Spam-Score: -0.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7s4AzI6OkeZn Hi guix! A program I'm packaging requires newlib-nano, but when building, the linker fails to find g_nano and c_nano. I found out those names are taken from the nano.specs file we install > cat $(guix build newlib-nano)/arm-none-eabi/lib/nano.specs | grep -- -l -lc_nano %{specs=3Drdimon.specs:-lrdimon_nano} %{specs=3Dnosys.specs:-lnosys} %(nano_link) %:replace-outfile(-lc -lc_nano) %:replace-outfile(-lg -lg_nano) %:replace-outfile(-lrdimon -lrdimon_nano) %:replace-outfile(-lstdc++ -lstdc= ++_nano) %:replace-outfile(-lsupc++ -lsupc++_nano) %{!shared:%{g*:-lg_nano} %{!p:%{!pg:-lc_nano}}%{p:-lc_p}%{pg:-lc_p}} However, those files are missing: > ls $(guix build newlib-nano)/arm-none-eabi/lib/ | grep lib libc.a libg.a libgloss-linux.a libm.a libnosys.a librdimon.a librdimon-v2m.a librdpmon.a I was able to build the program by modifing the .specs file with: (add-after 'install 'remove-suffix (lambda* (#:key outputs #:allow-other-keys) (substitute* (string-append (assoc-ref outputs "out") "/arm-none-eabi/lib/nano.specs") (("_nano") "")) #t)) But reading online, it seems the _nano is a common suffix. Should we rename the output libs? Should we symlink? I know nothing about this, but it might be a bug. Thanks! Nicol=C3=B2