From unknown Sat Jun 21 10:31:43 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#51424 <51424@debbugs.gnu.org> To: bug#51424 <51424@debbugs.gnu.org> Subject: Status: snooze: malformed installation path Reply-To: bug#51424 <51424@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:31:43 +0000 retitle 51424 snooze: malformed installation path reassign 51424 guix submitter 51424 Christopher Howard severity 51424 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 26 18:07:23 2021 Received: (at submit) by debbugs.gnu.org; 26 Oct 2021 22:07:23 +0000 Received: from localhost ([127.0.0.1]:47761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfUbK-0008Dy-Qw for submit@debbugs.gnu.org; Tue, 26 Oct 2021 18:07:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:48658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfUbI-0008Dn-PT for submit@debbugs.gnu.org; Tue, 26 Oct 2021 18:07:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfUbI-0003d9-LA for bug-guix@gnu.org; Tue, 26 Oct 2021 18:07:20 -0400 Received: from mx.kolabnow.com ([212.103.80.155]:64504) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfUb5-0008Cm-Bl for bug-guix@gnu.org; Tue, 26 Oct 2021 18:07:18 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 12BC913B0 for ; Wed, 27 Oct 2021 00:07:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:mime-version:content-type:content-type :date:date:from:from:subject:subject:message-id:received :received:received; s=dkim20160331; t=1635286022; x=1637100423; bh=FZJcFDdPRG3BwKdzfDuhWJQdbihcARn7Dhtjg1L2BN8=; b=djh43cZaAp59 i4yyZjzPMOjfbD3HtVgHXFO2z5VAA2t9e4ELwiBo/XsG4Aey/cMy0aIrscUESnqO fvIwATspuTZ0Vttrqljs/xDgOIS6chjH9EnENj5COozq1632YYVcsUutangaUtRm 6be1VP0GOsci4Om4OXylMNZcxGQ6EpmP0sPa36twpzTqbEcMvdjv1n4LXoiG14OZ av38Sbt59Jhx8gIg+YCDLH7MlYPe6EaUrPhZUf9BAYpwiqAdMNmPKiwx/C2ownlw 6W5cTbYtFTckuf82mIevtorIhdkszPTfjnKh9fti7OjoXDRi/Kw7YF5Fg5RWldhj jI3J9gTwlwnp4hi1YEDBiTutkqccx9drUbZ74hajK3qVTTwKqHuGZniVmz9oxZ2I mWawGWmXQebKAoRxcVo5ChHYCkkmJtsauybOLMm1NWnYUe8zioF4SDfVEbWcHEb2 8fSI4KtX9wSTd9CzZJAfPbBFNcNwM6sP64E2GEPToLJLskxXSp8i9QgAPqKbvGm7 SD3KQvLc9tNrQomRCC7aHlbvT1tpdHoIoaSigU+iQiDU6BsnBDzncjfCjWInY4yR IM3PADwGApatvuQC8gyjI7UQfOXMpxTiH9UpUsvXat8GDkJHqkoE9kLS7bnbvR+u ertfrIHjJkkfv1Y7pCRCfH0NmFtfLd8= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.899 X-Spam-Level: X-Spam-Status: No, score=-1.899 tagged_above=-10 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out001.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SuhAK8-f-CLv for ; Wed, 27 Oct 2021 00:07:02 +0200 (CEST) Received: from int-mx002.mykolab.com (unknown [10.9.13.2]) by mx.kolabnow.com (Postfix) with ESMTPS id 43529E7F for ; Wed, 27 Oct 2021 00:07:00 +0200 (CEST) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx002.mykolab.com (Postfix) with ESMTPS id D1BB7513F for ; Wed, 27 Oct 2021 00:07:00 +0200 (CEST) Message-ID: Subject: snooze: malformed installation path From: Christopher Howard To: bug-guix Date: Tue, 26 Oct 2021 14:06:48 -0800 Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Received-SPF: none client-ip=212.103.80.155; envelope-from=christopher@librehacker.com; helo=mx.kolabnow.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, I was just trying out the "snooze" package. On my system, the snooze package does not become available in PATH after installation. On my system, the path to the binary is malformed: ``` christopher@theoden ~$ guix build snooze /gnu/store/dvzyb6ya4679hqvrkz955gp7zs4dlclx-snooze-0.5 christopher@theoden ~$ ls /gnu/store/dvzyb6ya4679hqvrkz955gp7zs4dlclx- snooze-0.5/gnu/store/dvzyb6ya4679hqvrkz955gp7zs4dlclx-snooze-0.5/bin/ snooze ``` The binary does work if you call it using the malformed path. My system information: ``` christopher@theoden ~$ neofetch --stdout christopher@theoden ------------------- OS: Guix System c6adc0947396daa6d85ab08837f9cbc86f4d8722 x86_64 Host: OptiPlex 9020 00 Kernel: 5.14.8-gnu Uptime: 34 mins Packages: 95 (guix-system), 129 (guix-user) Shell: bash 5.0.16 Resolution: 1920x1080 DE: GNOME Theme: Adwaita [GTK2/3] Icons: Adwaita [GTK2/3] Terminal: .gnome-terminal CPU: Intel i5-4570 (4) @ 3.600GHz GPU: Intel HD Graphics GPU: AMD ATI Radeon HD 8490 / R5 235X OEM Memory: 1907MiB / 7869MiB ``` -- Christopher Howard Gemini capsule: gemini://gem.librehacker.com Web viewer: https://portal.mozz.us/gemini/gem.librehacker.com From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 26 18:28:07 2021 Received: (at 51424-done) by debbugs.gnu.org; 26 Oct 2021 22:28:07 +0000 Received: from localhost ([127.0.0.1]:47789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfUvO-0000Mj-Re for submit@debbugs.gnu.org; Tue, 26 Oct 2021 18:28:07 -0400 Received: from tobias.gr ([80.241.217.52]:54104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfUvN-0000MT-1h; Tue, 26 Oct 2021 18:28:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=dgbnmNFX1LZn3 YbonfFw/oF2HLaFTR99dEDvbsSGC84=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=Sq/AnUKnr04lECIG4+wWeaMMQh0A+PnnmoFMnp 6OzJsSQHH7mZs5MYqUIXECBjjNjaCoipF+AxA830wrPVfgre7/Ohj+TD1YMnZ1xNk0kJkf x20xO3pUK4UVu242UMYKQ8XeTq/eGbG9aW+Dyhk0XvVU0w8SfbNuv3QwfDMPgdXnqc1/tW EuagyzqPD8Exvh1XxvEpLsA6qlAnICtA7Clt3TkrKHNfGNdVPZ7vVnp8RzUe6sAwPC89k7 sTWrwVGEwZbcqkfDnWmVlc4YYP4Ev2YW7sP+Sf1CgoZOYmgdgTIT2jrrwWpzbythpUQXOS gtPNCnUJYqOKtQxO5fG84AHg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 97beeb09 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 26 Oct 2021 22:27:57 +0000 (UTC) References: From: Tobias Geerinckx-Rice To: Christopher Howard Subject: Re: bug#51424: snooze: malformed installation path Date: Wed, 27 Oct 2021 00:13:47 +0200 In-reply-to: BIMI-Selector: v=BIMI1; s=default; Message-ID: <87a6ivl8u0.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 51424-done Cc: 51113@debbugs.gnu.org, jgart , 51424-done@debbugs.gnu.org, Nicolas Goaziou X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Christopher, jgart, Nicolas, Christopher Howard =E5=86=99=E9=81=93=EF=BC=9A > the path to the binary is malformed: Indeed it was. DESTDIR does not mean =E2=80=98final destination=E2=80=99; it's meant as a= =20 temporary install-time =E2=80=98staging=E2=80=99 directory whose contents a= re=20 expected to move back to / later. For example, =E2=80=98make install=20 DESTDIR=3D/tmp/my-package-manager-output && cd=20 /tmp/my-package-manager-output && tar cf foo.pkg .=E2=80=99. Guix does=20 not use this packaging method. Setting DESTDIR in Guix is almost always a bug. The few places in=20 Guix where it is used are using it as a hack around buggy build=20 systems. It just happens to work (because, well, the build=20 system's buggy). When reviewing patches, I find the =E2=80=98tree=E2=80=99 command very usef= ul to=20 immediately spot such weirdness. Much more so than =E2=80=98ls -R=E2=80=99= .=20 YMMV. Fixed in commit 89d8417b371f3918f0508bbc561675ec100a6add. Thanks! T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYXiBBw0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15/ToBAJ3U9FOfWPmJV6XU2d5P/nEIpIL8yc6flqYYyBS4 /VR+APwPjRMOfR4OzxYDAtIDRwqc6FsQI2ZHv/kZvqGOe1GsDA== =B9PA -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 26 20:03:36 2021 Received: (at 51424-done) by debbugs.gnu.org; 27 Oct 2021 00:03:36 +0000 Received: from localhost ([127.0.0.1]:47926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfWPo-0005DD-3a for submit@debbugs.gnu.org; Tue, 26 Oct 2021 20:03:36 -0400 Received: from mx1.dismail.de ([78.46.223.134]:6322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfWPm-0005Ct-5G; Tue, 26 Oct 2021 20:03:35 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 92cf1404; Wed, 27 Oct 2021 02:03:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=date :message-id:from:to:cc:subject:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s= 20190914; bh=LaNT1AWOrQFwX4QL6x3IsVKagjr2M89hyGKoPRn8/ts=; b=Ai4 CTfwEQx+086mgjDrkMENL+uBKHQdrUFGWnS3g0qYrxOfAtxC0ebnn1iaxkor2kPJ YdqML0WgEUeBDXQ/EjAh8sZcEcajA7rU3polVJ8qOjdZc8PeAFH1c9DqsySYyFa4 MOE1e1l0oviR77nCGP8d55ZB5as4vE92DbKb71fUCFLCxZQ72CrcSBykVUDcpz4c IeidW3G3SsjUNy6Ynnh3jU2KJRvbttVeCZvfyDbZ8Kc2McmWzwEH8cQTiS9TBWrY 6LpSLcxQXvfP9CuC3cZxv8DEFF8H2HRjQgc3iUpERxbr/p6RQ6KhnipLPxFHavyJ pMQZhT2JxH4JaD86xBg== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 45e62a3a; Wed, 27 Oct 2021 02:03:26 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id dd6b5e45; Wed, 27 Oct 2021 02:03:26 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id a418518c (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 27 Oct 2021 02:03:25 +0200 (CEST) Date: Tue, 26 Oct 2021 20:03:22 -0400 Message-ID: <20211026200322.GB9051@gac.attlocal.net> From: jgart To: Tobias Geerinckx-Rice Subject: Re: bug#51424: snooze: malformed installation path In-Reply-To: <87a6ivl8u0.fsf@nckx> References: <87a6ivl8u0.fsf@nckx> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 51424-done Cc: Christopher Howard , 51113@debbugs.gnu.org, 51424-done@debbugs.gnu.org, Nicolas Goaziou X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Wed, 27 Oct 2021 00:13:47 +0200 Tobias Geerinckx-Rice wrote: > Christopher, jgart, Nicolas, > > Christopher Howard 写道: > > the path to the binary is malformed: > > Indeed it was. > > DESTDIR does not mean ‘final destination’; it's meant as a > temporary install-time ‘staging’ directory whose contents are > expected to move back to / later. For example, ‘make install > DESTDIR=/tmp/my-package-manager-output && cd > /tmp/my-package-manager-output && tar cf foo.pkg .’. Guix does > not use this packaging method. > > Setting DESTDIR in Guix is almost always a bug. The few places in > Guix where it is used are using it as a hack around buggy build > systems. It just happens to work (because, well, the build > system's buggy). > > Fixed in commit 89d8417b371f3918f0508bbc561675ec100a6add. > > Thanks! > > T G-R > When reviewing patches, I find the ‘tree’ command very useful to > immediately spot such weirdness. Much more so than ‘ls -R’. > YMMV. I use nnn or another file manager like broot sometimes but this one escaped me. Thanks for fixing that. I was actually going to send a patch fix for it but had not found the time. I noticed it after the patch was accepted. Thanks! all best, jgart From unknown Sat Jun 21 10:31:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 24 Nov 2021 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator