GNU bug report logs - #53790
Audacity has extraneous binary at directory root

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Leo Famulari <leo@HIDDEN>; dated Fri, 4 Feb 2022 22:04:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 53790 <at> debbugs.gnu.org:


Received: (at 53790) by debbugs.gnu.org; 5 Feb 2022 22:52:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 05 17:52:18 2022
Received: from localhost ([127.0.0.1]:35838 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nGTuk-0004CS-Bq
	for submit <at> debbugs.gnu.org; Sat, 05 Feb 2022 17:52:18 -0500
Received: from mail-ej1-f66.google.com ([209.85.218.66]:36756)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1nGTuh-0004CE-Mf
 for 53790 <at> debbugs.gnu.org; Sat, 05 Feb 2022 17:52:16 -0500
Received: by mail-ej1-f66.google.com with SMTP id s13so30638288ejy.3
 for <53790 <at> debbugs.gnu.org>; Sat, 05 Feb 2022 14:52:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=message-id:subject:from:to:cc:date:in-reply-to:references
 :user-agent:mime-version:content-transfer-encoding;
 bh=RNDCyYBU6zJWGnRZT/fCjfp7TmyQZkPQMRSFFbSFDOI=;
 b=q7BjzKaqK/RcUDtGq9SR8UVAKUmSbCDHZAraO13aWtI/ySy0+mf7yk0CxEDTuX20px
 NOp5X9pR0w+kTTUiTCeLqVRZNP3nCRhRe1dlLtPQaBco9s/qutvKF66CWDc0mp71O6Ip
 083qtF5OmZqzY25OaEcH8omUzB5kG95OVJpGvAdD36YQGQrxqNmOq5bKRiCLMil46RVy
 n0Jc0ndsKESrwDC4BdfPLdAB1eXc3JjdOYVR/RIvCjxkzKXwt08ovfggW39ariNa1n4o
 lLFdvw5J1iqbNyXy+BBpsCDYYxY6uDtQPUyJMTDphPK7AvUO89xNjqjC2cCnweAwYLPX
 6rAg==
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:cc:date:in-reply-to
 :references:user-agent:mime-version:content-transfer-encoding;
 bh=RNDCyYBU6zJWGnRZT/fCjfp7TmyQZkPQMRSFFbSFDOI=;
 b=BhSNEb8Oz29hqLoPvlq7F91HlKtdMN16/Vvem81rPWNi/j5zS+6x7dEk/MhMIw6jYS
 055UDK9lyYwxX5kJJgZbp7nnAsSLLaHmeTXpoQuhgWoxaO7HJgh4FjCf8Vbi4CKQJPkG
 A5YfKM6OmjIPbnSsn+5EXH9JBqLZ2q5xnzG2IdDFEAqfWXy1ExvDL4veQLQRHokyF3BX
 SpjlfE30Hy8OafIY8+qI0VyvddFb69RwWnTTwdODNf+xyZU7rUH9/Ppwf8bBIMvQsfRC
 huVZ1K83y36u3W63n1lNp0HlKRCAuNmBXqw9DzRjzyAruixU9NC2my1nzQAWy45BsPcL
 FQlQ==
X-Gm-Message-State: AOAM5327EULOe97tv0T00ZSkVhr3gTb5yn6kAC+MVBWMu34fr38Ph3to
 i+DH7G2w1FwboTQL5eqDflA=
X-Google-Smtp-Source: ABdhPJzr76FOC5IeKrjppxtcmGuBEiUQN8lD8IBCHZEWMK/cEBSJCp1IlvANcexZixYV6DxgS/9cSA==
X-Received: by 2002:a17:907:2887:: with SMTP id
 em7mr4451743ejc.145.1644101529483; 
 Sat, 05 Feb 2022 14:52:09 -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 d10sm1040229eja.212.2022.02.05.14.52.08
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 05 Feb 2022 14:52:09 -0800 (PST)
Message-ID: <00f84dc630379d9faa930de4cf2196c840a108ee.camel@HIDDEN>
Subject: Re: Audacity has extraneous binary at directory root
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Leo Famulari <leo@HIDDEN>
Date: Sat, 05 Feb 2022 23:52:07 +0100
In-Reply-To: <Yf7HZe/HspekeRBN@HIDDEN>
References: <Yf2ioy+/nH5u9/X6@HIDDEN>
 <0977b665cebe329f3a4765e02e67f8e71d275979.camel@HIDDEN>
 <Yf7HZe/HspekeRBN@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.42.1 
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 53790
Cc: 53790 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

Am Samstag, dem 05.02.2022 um 13:52 -0500 schrieb Leo Famulari:
> On Sat, Feb 05, 2022 at 08:22:32AM +0100, Liliana Marie Prikler
> wrote:
> > 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---
> 
> Interesting...
> 
> > 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.
> 
> I figure it's there for a reason. Maybe we just need to make sure it
> ends up in 'bin/'? But, it's weird that the build scripts create
> multiple executables with the same name in these different
> directories.
I don't think it should be in bin/. Looking at the script, it appears
to be written for the install root, which... eh...

> > We can try searching for the bits in CMakeLists that install this
> > wrapper or we can simply drop the file.  WDYT?
> 
> I don't know... I wonder if Audacity is worse for Guix users since
> this shell script doesn't end up in $PATH.
Concerning LD_LIBRARY_PATH, that probably has no effect on Guix users.
AUDACITY_MODULES_PATH and AUDACITY_PATH could bug them, but only if run
through the store – I already added search-path specifications for
them. The question therefore really is whether to extend our wrapper or
not.

   1. Cheers





Information forwarded to bug-guix@HIDDEN:
bug#53790; Package guix. Full text available.

Message received at 53790 <at> debbugs.gnu.org:


Received: (at 53790) by debbugs.gnu.org; 5 Feb 2022 18:52:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 05 13:52:32 2022
Received: from localhost ([127.0.0.1]:35588 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nGQAi-0004PE-0y
	for submit <at> debbugs.gnu.org; Sat, 05 Feb 2022 13:52:32 -0500
Received: from out2-smtp.messagingengine.com ([66.111.4.26]:55847)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1nGQAf-0004Oz-CL
 for 53790 <at> debbugs.gnu.org; Sat, 05 Feb 2022 13:52:30 -0500
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.nyi.internal (Postfix) with ESMTP id BEA775C0093;
 Sat,  5 Feb 2022 13:52:23 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute3.internal (MEProxy); Sat, 05 Feb 2022 13:52:23 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=cc:cc:content-type:date:date:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:sender
 :subject:subject:to:to; s=mesmtp; bh=Az1pKbqF0zVZfqYu8l0m3uS60qX
 Sczl7c3FGt/ygnFY=; b=MVlpINJqTbVuNKfvqvRUE4CKDobwBLq+u2LgTuWejAF
 S3aN50JOfeURzVU130lpzlqKeDOIw0lSJa2HAZ+j83xbx1y0F0h98xQqyqxeE8gu
 fv6uZ021egnjKpcbheB05zvWLiHBpQb84S+P4XGCsoWPPpKQsLGIswh97atzJ9hA
 =
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:date:date:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Az1pKbqF0zVZfqYu8
 l0m3uS60qXSczl7c3FGt/ygnFY=; b=OWC05BFHSrH2ZAJRVYswq57OcPUGn9K8j
 3/TdmweH4MlJP04JM6SYGDCFaZWpg8vKqIpH43o5VB2ifUcZalEEO6ea3Gik80ia
 0FucWeUFBXrVNWaqHuBDV66U01OvIt6DZ5TktHe0SjxPiQ8fQCtjRzZ1CCmvV5gO
 3P8yilfYlPUJaxrvR91hfKiHZpr+KrilhywiJMX74TASsxqwGJurarT0nJ/cgcYO
 dqj47jyrOClVU4XWErV2dHqzUdNjhQax1hbvs9zb15EcHTlGKdfEOwPLzphk/C4s
 JDux7UwJs6y1al8eCYHind3YWdwVqXJjj6lwsmvIlDqasDTxRVxPg==
X-ME-Sender: <xms:Z8f-YXvmZol5iCEpA31O9-7Z978K_IXrPmQsehW4Q73FnEdeSQ88dg>
 <xme:Z8f-YYfAPF_eEm5XabmUrNCz5q0wt8LRmea2iy3e_Isw7uNYZ8C17_Wfeeoyp8gzH
 4NAn38VAPtoM79LaA>
X-ME-Received: <xmr:Z8f-Yaybq6cScDlqvDV9F3zXekRn5C2-QhrlfQeflmL6az9uSq__7gC9AwGki43wSPjaSE-sZpY_NRkAOv64dkpUhA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrhedugdduudejucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh
 rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth
 gvrhhnpeeukeektdffvddtudegjeegtdevhfeufeeivdejiedtieegtdevjedvjeehffev
 gfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvg
 hosehfrghmuhhlrghrihdrnhgrmhgv
X-ME-Proxy: <xmx:Z8f-YWM8YYEtB4Sfp62gNzcV762dFh2oEy0zFqPTL4ukUM8J7ANnng>
 <xmx:Z8f-YX9sLzSGDMrfHofRj4HGL4K1Wm6x8-YPSbjpCbjlMULfl6Hh4Q>
 <xmx:Z8f-YWXopXs-j3tDw03iToBd5Eqv36Wdmotcy5FUs7h1E95pI7t-mQ>
 <xmx:Z8f-YUEC-K459oNaLG24Zv5phUm1cfGWnhihKpWAh8uW9hIUNBXgMg>
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat,
 5 Feb 2022 13:52:23 -0500 (EST)
Date: Sat, 5 Feb 2022 13:52:21 -0500
From: Leo Famulari <leo@HIDDEN>
To: Liliana Marie Prikler <liliana.prikler@HIDDEN>
Subject: Re: Audacity has extraneous binary at directory root
Message-ID: <Yf7HZe/HspekeRBN@HIDDEN>
References: <Yf2ioy+/nH5u9/X6@HIDDEN>
 <0977b665cebe329f3a4765e02e67f8e71d275979.camel@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <0977b665cebe329f3a4765e02e67f8e71d275979.camel@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 53790
Cc: 53790 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Sat, Feb 05, 2022 at 08:22:32AM +0100, Liliana Marie Prikler wrote:
> 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---

Interesting...

> 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.

I figure it's there for a reason. Maybe we just need to make sure it
ends up in 'bin/'? But, it's weird that the build scripts create multiple
executables with the same name in these different directories.

> We can try searching for the bits in CMakeLists that install this
> wrapper or we can simply drop the file.  WDYT?

I don't know... I wonder if Audacity is worse for Guix users since this
shell script doesn't end up in $PATH.




Information forwarded to bug-guix@HIDDEN:
bug#53790; Package guix. Full text available.

Message received at 53790 <at> debbugs.gnu.org:


Received: (at 53790) by debbugs.gnu.org; 5 Feb 2022 07:22:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 05 02:22:42 2022
Received: from localhost ([127.0.0.1]:33620 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nGFP7-00034m-US
	for submit <at> 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 <liliana.prikler@HIDDEN>) id 1nGFP5-00034X-WB
 for 53790 <at> 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 <at> 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@HIDDEN>
Subject: Re: Audacity has extraneous binary at directory root
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Leo Famulari <leo@HIDDEN>, 53790 <at> debbugs.gnu.org
Date: Sat, 05 Feb 2022 08:22:32 +0100
In-Reply-To: <Yf2ioy+/nH5u9/X6@HIDDEN>
References: <Yf2ioy+/nH5u9/X6@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.42.1 
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 53790
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

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?




Information forwarded to bug-guix@HIDDEN:
bug#53790; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Feb 2022 22:03:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 04 17:03:29 2022
Received: from localhost ([127.0.0.1]:33077 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nG6fx-0006Zj-BL
	for submit <at> debbugs.gnu.org; Fri, 04 Feb 2022 17:03:29 -0500
Received: from lists.gnu.org ([209.51.188.17]:57620)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1nG6fv-0006Zb-AL
 for submit <at> debbugs.gnu.org; Fri, 04 Feb 2022 17:03:27 -0500
Received: from eggs.gnu.org ([209.51.188.92]:41636)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <leo@HIDDEN>) id 1nG6fs-0007Jq-QR
 for bug-guix@HIDDEN; Fri, 04 Feb 2022 17:03:25 -0500
Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:49873)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <leo@HIDDEN>) id 1nG6fq-0003XJ-Ok
 for bug-guix@HIDDEN; Fri, 04 Feb 2022 17:03:24 -0500
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
 by mailout.west.internal (Postfix) with ESMTP id 142E83202090;
 Fri,  4 Feb 2022 17:03:21 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute2.internal (MEProxy); Fri, 04 Feb 2022 17:03:21 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=cc:content-type:date:date:from:from:in-reply-to:message-id
 :mime-version:reply-to:sender:subject:subject:to:to; s=mesmtp;
 bh=6ggAhowtZr7Q2nFpTJ1cjUH3wAJUgq/SNg4ZxsDzNIM=; b=wMsBjXs5oFSV
 WvPZkdno+WySleo/PfviJhRZShC3laKgrltMtUqAFU0OBC1CSFgEtsU9lJaTBLzt
 i4T+OAwmahgqjTcpnf8yrxDBEypuxOR+Qg+6b2UJIug1CGHktReEJcNHiLEXGW6X
 oOFOEugrrTvCnJlfOiC/xqRWJinzRSI=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:date:from:from
 :in-reply-to:message-id:mime-version:reply-to:sender:subject
 :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm2; bh=6ggAhowtZr7Q2nFpTJ1cjUH3wAJUgq/SNg4ZxsDzN
 IM=; b=S9T7BahOS3tI3aKnPF+hZQsXChqVPdpk6hvcwBzQcfaJFh1G6a1Q5B9HC
 18YDlggo5ynYCPMXmxO3bTrb/8zHbuGsIh1qCvvb0BTrYq4y6gtNadLfCP57AvdT
 bhzTw537i6wqHnqfM4o2/+sI4s76O/D47ZNqTeqLFk5D+yD7VG4OQogsr8uF5F9v
 LS57hgk2x41Ot9du9JM0BrRiFDmUm9I7SbCPiCOmTqs1m3IhbNSKSaiVpnX/Pkxs
 37nONf7FHVR3uMok68pNdIIQwR/RLhzxmLlb+AxvgTh75vBW9UEl2q00VNoQFjQ/
 pSF9v4t/q6UjIPQEme22Iwcf3Ye1w==
X-ME-Sender: <xms:qKL9YSJMcA5KXmAPANm5FEhUcqRyLHhKcgRn4UJqj80XLZ25M1Jdig>
 <xme:qKL9YaIShf3ijbqjUh_JsDMkhde7hHZHpdEZotRPEjkMXkkw6Awkh9uSCJWsAniLr
 bW7CTQzdbOzLXP55g>
X-ME-Received: <xmr:qKL9YSvTHiHJpRFElrDWs6fO31HdGi7DTLF79ErS4qh3Xr62POAdntV0SFumuydqIg1xc2pymXujfbSk7W3WFlcUJQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrgeelgdduheeiucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugesthdtredttd
 dtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhi
 rdhnrghmvgeqnecuggftrfgrthhtvghrnhepffehtdeffedtvdeuieefudeujedvkeehff
 euieejgfdvteelgeehgeefheehuddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghr
 rghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg
X-ME-Proxy: <xmx:qKL9YXb3XwbmQmodbTFGDrcSFxykGePF83uYuxUanawSl5g3v9qXTQ>
 <xmx:qKL9YZYlPKBdJT134AAJU8dHDAY24l0O4nbDeB22ng8kDiXv7KwWOg>
 <xmx:qKL9YTBhj37AN3EvEMf6fmoKl9ECe6b4hXJl9FJXCo7Oxlt1Jr_yHg>
 <xmx:qKL9Yb036BNHaqoAJde4l2NjGS-1jVqahT-OIXIL62tLM6Q251HyUQ>
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
 <bug-guix@HIDDEN>; Fri, 4 Feb 2022 17:03:20 -0500 (EST)
Date: Fri, 4 Feb 2022 17:03:15 -0500
From: Leo Famulari <leo@HIDDEN>
To: bug-guix@HIDDEN
Subject: Audacity has extraneous binary at directory root
Message-ID: <Yf2ioy+/nH5u9/X6@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Received-SPF: pass client-ip=64.147.123.19; envelope-from=leo@HIDDEN;
 helo=wout3-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

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
------

This didn't occur before the update from Audacity 2.4.2 to 3.1.3.




Acknowledgement sent to Leo Famulari <leo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#53790; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 5 Feb 2022 23:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.