From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QMIKIP3//mGCNwEAgWs5BA (envelope-from ) for ; Sat, 05 Feb 2022 23:53:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SO/SGP3//mGFVQEAG6o9tA (envelope-from ) for ; Sat, 05 Feb 2022 23:53:49 +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 1845A408E8 for ; Sat, 5 Feb 2022 23:53:49 +0100 (CET) Received: from localhost ([::1]:50614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGTwC-0008As-5I for larch@yhetil.org; Sat, 05 Feb 2022 17:53:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGTvi-00089B-JM for bug-guix@gnu.org; Sat, 05 Feb 2022 17:53:18 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41946) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGTvS-0006Zf-TK for bug-guix@gnu.org; Sat, 05 Feb 2022 17:53:14 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGTvS-0004Dm-SM for bug-guix@gnu.org; Sat, 05 Feb 2022 17:53: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 22:53: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 Received: via spool by 53790-submit@debbugs.gnu.org id=B53790.164410153816153 (code B ref 53790); Sat, 05 Feb 2022 22:53:02 +0000 Received: (at 53790) by debbugs.gnu.org; 5 Feb 2022 22:52:18 +0000 Received: from localhost ([127.0.0.1]:35838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGTuk-0004CS-Bq for submit@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 ) id 1nGTuh-0004CE-Mf for 53790@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@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@gmail.com> From: Liliana Marie Prikler Date: Sat, 05 Feb 2022 23:52:07 +0100 In-Reply-To: References: <0977b665cebe329f3a4765e02e67f8e71d275979.camel@gmail.com> 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: , Cc: 53790@debbugs.gnu.org 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=1644101629; 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=RNDCyYBU6zJWGnRZT/fCjfp7TmyQZkPQMRSFFbSFDOI=; b=XN12yk4ksMgEHe6Nk/ioS9nqN+wMT4zb/c9PyCoaAQHC6cgu/XbG95ptQw/sfHUCKQgwGy BNm8Tnlg8KzMwqpo2ESeOl4dAc2HRTVocbk36nO++7wCEXQpaguuLZWedPwvI/ioQTRm4y 4yKy/YntzJhKAkERoMcddNpK8S2sAB4+Oulv1zhWP/kNHlOd1nHmeLIZ2WcHEnGk9PcI0v wm9X3VyxlB7hg5Pkg8E/qt/8qKQmv0BVtfnhOU/WQQJctJeBLllhOReMFYMehyT1h9DJYC 82X/FjKpZtxxBdC95XD9m3ktZNU1VdBG3VbXghYykyv0uXqtTeLC22cHF7nqig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644101629; a=rsa-sha256; cv=none; b=ORyX4nHPYLBudoqhNozlR9H/ueWCFd34CJZ+Lag70pc9+RK1LrMAgLoC39IQVMJUfZKDhi HDGHIIVFXpNZvcJJtUvCNjF7KPy79RV0+A/GHgKtbUpJsupOLYYOwp7PwpVEM4J7GsnFy6 fKT5EwrROPOOZwViXR7H3RV1ms/rlmO31GrduB1Js6I61/M8+JEaRYqqbsoPREwB9EvPPv XZMB6rQTnM90astCVT3J5jeYExpLUazQ2EJ6kKGrx4qVk1pvXRyEMU8txXb38jK1M6Jsp6 mjuz9OnszwnUyU0YNbtTJg/o+bdedR+yOx9/VlYzhH4kYlbHW5ht5bD6F4ySOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=q7BjzKaq; 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=q7BjzKaq; 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: 1845A408E8 X-Spam-Score: -2.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: O8Jrm48kMJMj 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