From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QAJsFS8m/mE0yQAAgWs5BA (envelope-from ) for ; Sat, 05 Feb 2022 08:24:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +MfcEi8m/mHS4wAA9RJhRA (envelope-from ) for ; Sat, 05 Feb 2022 08:24:31 +0100 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 0B52D1402E for ; Sat, 5 Feb 2022 08:24:31 +0100 (CET) Received: from localhost ([::1]:60008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGFQs-000093-3h for larch@yhetil.org; Sat, 05 Feb 2022 02:24:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGFPS-00007l-LX for bug-guix@gnu.org; Sat, 05 Feb 2022 02:23:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39723) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGFPS-0004Oh-Bj for bug-guix@gnu.org; Sat, 05 Feb 2022 02:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGFPS-00035T-46 for bug-guix@gnu.org; Sat, 05 Feb 2022 02:23:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53790: Audacity has extraneous binary at directory root Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 05 Feb 2022 07:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53790 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari , 53790@debbugs.gnu.org Received: via spool by 53790-submit@debbugs.gnu.org id=B53790.164404576211832 (code B ref 53790); Sat, 05 Feb 2022 07:23:02 +0000 Received: (at 53790) by debbugs.gnu.org; 5 Feb 2022 07:22:42 +0000 Received: from localhost ([127.0.0.1]:33620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGFP7-00034m-US for submit@debbugs.gnu.org; Sat, 05 Feb 2022 02:22:42 -0500 Received: from mail-ej1-f66.google.com ([209.85.218.66]:41630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGFP5-00034X-WB for 53790@debbugs.gnu.org; Sat, 05 Feb 2022 02:22:41 -0500 Received: by mail-ej1-f66.google.com with SMTP id a8so25980084ejc.8 for <53790@debbugs.gnu.org>; Fri, 04 Feb 2022 23:22:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=f2Uc9LgoK5Ya7YgpigkF6Fhj6/y2zcEMO+QrN8BGbhQ=; b=pqHdSMU0yERmu0yX4TR7b7AvoktVwFJvudYU1v1AKU1naWbpFyOOFAdSapubF4sB7Z ADBypEzrIvJ+/6EGHDfUiOfQtcRimvbzlwPKHGOdH+VLtdKVSLEdrK36Y80o5usSwsNl Xq5RryGzZOR8vhl1/NqIqPD/ieHg86zWFrGwCDWY7FcRWp+cxvaVMewfTjHJhEbR8zL4 qguw397wMhjcEEK3iHsWw6TqAxwA3P5ygRlLOVXhDCwOJF4Z8JkukeNKVsMl6KQ/fGmV 7zVFjQlZFgCCpUk0mjWd+mpnEeLkCYvMlbhyG7ntyNwqjZfXAjzpHFrQg+0b351Oeqlp 2ssg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=f2Uc9LgoK5Ya7YgpigkF6Fhj6/y2zcEMO+QrN8BGbhQ=; b=gZ3gIrfp4o864YRLVLddbv2dakz3W6ZFK7VH1QNXGxp+4GwRuFx64HQfhGXm1JhlvU 1xdfiMUKYNomJiGmY4fkVLI8qomWJBaIFJmrpMNkr4T0ZdIv5CGviSYJqeVdC4rH3zAm 6Pfu7mFvRMifAcMBm52RVseCCToMSe2on8dOI1Ceq7KJySlitzKxrVpYC7wxTTBK8BCL TAzve/oHp2FbbWSXXBF6Tf+ZMkh9BRoo8ri6Ps6QC5ISL/Ivytlr2PnfO5hwH8tuSEqQ VHe91f395qRyOto2+AfrO4L2znNp3aNJ8E6nlTanSNj4VsKAcKEQbAaP/i9GfIEN/P+Z u4cw== X-Gm-Message-State: AOAM532CvV2oCfPBhMQcfCN3Aq5Bw5zUmsXqMDXXij8S7m7PBCEh6MmX vOEUZOTTIMFhWBLYEbREBss2MkW3rWk= X-Google-Smtp-Source: ABdhPJw9TdnqIVPECRXkv2Ko4wOaOh/JgELIymXwHbdx21lg11fDbt9gus5OumAn41oe+FWCQ60Oug== X-Received: by 2002:a17:907:7248:: with SMTP id ds8mr2180822ejc.713.1644045753863; Fri, 04 Feb 2022 23:22:33 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id n11sm1755887edv.52.2022.02.04.23.22.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Feb 2022 23:22:33 -0800 (PST) Message-ID: <0977b665cebe329f3a4765e02e67f8e71d275979.camel@gmail.com> From: Liliana Marie Prikler Date: Sat, 05 Feb 2022 08:22:32 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644045871; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=f2Uc9LgoK5Ya7YgpigkF6Fhj6/y2zcEMO+QrN8BGbhQ=; b=Z/LprXpRPrB/2A8V3togANtMpt4jmdnSWkAsvVvarD+OlvwLoU9KMBpd+QOMrsQU1Goyib PQUFR25LwKyzBOC101T5RNpu6MSKUbcSU0dZ5Ayfv7DR6gOxZc/S5dX+7TK4vx2mfVPIpm SATBU0Q5iSuyloxPidIqqAp8Kc7+IK2CxAozUSmUfU8efM22hMlp6/IDhgjiDBJ1NfhQke TpDvUZg4ZmRyGVvcSYfnNgpk+8+AClLKxrWSHZUix8eCTjunJk63GG5gXuz89xLg7S9F24 UCk6JlSsjJSUnAKdesx6PQhM83yy164wmilg+5vIX9rhkCGoaHpURbD9S+tT3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644045871; a=rsa-sha256; cv=none; b=RHBkI75HSv0aFdpsGiFqB0DKQBuaL1SxrwwRD4BlgnMG05FRcqtQBA0A0GtqYQiBwiX/mX Eqs3rvWAqmEtXdD3j5xGwSjL6v2H9mhD9PqF7pPAYyRP6QC5NsaMeKec3IATrWjrDppwPw htf/FZo6i1k0zImvPFye3y4QO5rgsCeqOlF4Smuf4az3Bno7UbsCcxahf8fw9JkIBcCkWh 2GRiC8Idd/YBoh3YjU1c2LkoYVAOPhU+a6omEzgc4AMKRT0eszMAbgNZU2iSg1qD4F6uBH E2rk2+ehsjaZie1/6IjFMAHIadfrxkXLwG8rAnXPLS2stGLuBQwu3QiIcXprxA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=pqHdSMU0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: -2.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=pqHdSMU0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: 0B52D1402E X-Spam-Score: -2.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: VhSya9sblRFB Hi Leo, Am Freitag, dem 04.02.2022 um 17:03 -0500 schrieb Leo Famulari: > Our Audacity package creates an extraneous "audacity" binary in the > root of the store item: > > ------ > $ git describe                                   > v1.3.0-15695-gba60aede97 > $ ls -la $(./pre-inst-env guix build audacity)    > total 49012                > dr-xr-xr-x    6 root root          4096 Dec 31  1969 . > drwxrwxr-t 3440 root guixbuild 50139136 Feb  4 17:00 .. > -r-xr-xr-x    1 root root           337 Dec 31  1969 audacity > dr-xr-xr-x    2 root root          4096 Dec 31  1969 bin > dr-xr-xr-x    2 root root          4096 Dec 31  1969 etc > dr-xr-xr-x    3 root root          4096 Dec 31  1969 lib > dr-xr-xr-x   11 root root          4096 Dec 31  1969 share > $ ls -la $(./pre-inst-env guix build audacity)/bin > total 18404 > dr-xr-xr-x 2 root root     4096 Dec 31  1969 . > dr-xr-xr-x 6 root root     4096 Dec 31  1969 .. > -r-xr-xr-x 1 root root      600 Dec 31  1969 audacity > -r-xr-xr-x 2 root root 18827912 Dec 31  1969 .audacity-real > ------ Looking at the size of this thing compared to our audacity, I thought to myself "hmm, that's a shell script" and sure enough --8<---------------cut here---------------start------------->8--- #!/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/sh lib="${0%/*}/lib/audacity" share="${0%/*}/share/audacity" export LD_LIBRARY_PATH="${lib}:${LD_LIBRARY_PATH}" export AUDACITY_MODULES_PATH="${AUDACITY_MODULES_PATH}:${lib}/modules" export AUDACITY_PATH="${AUDACITY_PATH}:${share}" exec "${0%/*}/bin/audacity" "$@" --8<---------------cut here---------------end--------------->8--- At the time of writing none of these appear particularly needed, though if the time comes we might just port over the 'wrap-emacs-paths phase. We can try searching for the bits in CMakeLists that install this wrapper or we can simply drop the file. WDYT?