From unknown Thu Jun 12 19:22:48 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#39377 <39377@debbugs.gnu.org> To: bug#39377 <39377@debbugs.gnu.org> Subject: Status: guix search reports bad location for bytestructures Reply-To: bug#39377 <39377@debbugs.gnu.org> Date: Fri, 13 Jun 2025 02:22:48 +0000 retitle 39377 guix search reports bad location for bytestructures reassign 39377 guix submitter 39377 Matt Wette severity 39377 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 31 17:07:49 2020 Received: (at submit) by debbugs.gnu.org; 31 Jan 2020 22:07:49 +0000 Received: from localhost ([127.0.0.1]:38189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixeS5-00071X-4E for submit@debbugs.gnu.org; Fri, 31 Jan 2020 17:07:49 -0500 Received: from lists.gnu.org ([209.51.188.17]:57622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixeS3-00071P-Lc for submit@debbugs.gnu.org; Fri, 31 Jan 2020 17:07:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51246) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixeS2-0001z8-GF for bug-guix@gnu.org; Fri, 31 Jan 2020 17:07:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixeS1-0002UZ-DF for bug-guix@gnu.org; Fri, 31 Jan 2020 17:07:46 -0500 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]:41879) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ixeS1-0002RK-7X for bug-guix@gnu.org; Fri, 31 Jan 2020 17:07:45 -0500 Received: by mail-pf1-x434.google.com with SMTP id j9so964638pfa.8 for ; Fri, 31 Jan 2020 14:07:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=TnNvmzuD/SYG//9TlgrwEcaaKMHB6um55cw0F1aON9E=; b=sD5oTETdZimAsC1WrQCQNh+JN7Zg1UMHAhvqktGdk+5QKtfzayoWC9xMPdpLB9akS6 IgnKJHwpkzasjurgD9kXtHDH4o/rCZc9E5cQ+EQeKeWAHYDgh1vHjAio8WLSFnbAymhg vpWEoJLurYGNBTlQZ9UoGaTBVDlE2SkjUcDyGP5kTqpQoR5s+xNVNKeVvb64wFFOLYi0 WZuwq6YWNFfpEJotF+4JXS8zWeC5thlVbtuytLPDDMpCeOgvmx4qyeRD9NbNLUP4Pwvh GSyMxciBX3ZXBH4woEP1yyOO+qcnvE/yNJX+PoAZ7TKzPii5cw9D7MQ+eq7CHapYu8wx 7NBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=TnNvmzuD/SYG//9TlgrwEcaaKMHB6um55cw0F1aON9E=; b=IrmVe7up3LortfRi2KUbhYelxMFu7gkyI/lR6eiyQ65o53d8MPSzh5zi6/oZ3mGxAj RPg/DWoH7nucXywQGyI893/5E/DzFXJO5SwC/iul+5+X46ugUdhUDK/kb0x+h6M7Yyky qP2GNsws7vuZS2QvQpn8C4G8F2z/e7BWW7Af4S2nByBgZdWLForVA3npWOw9GjT73ghH aLCRVL0kQiRpSWuuVqTU3oj0cRkk2ydY5iyOkfP24brQsXj25Pi2rgP4baVYFK1/wMey O6f+wPj4yZvPlwU/MmxLXDk/OS0x2wtBP7Rh+RleJBRcD4tx54jIrZog8VJfu7UOkCtT ublA== X-Gm-Message-State: APjAAAWFVnIliniyPmLPlbc1+XKKIvV6tA/PugY4LIAJdAZ5p/JBhbOB lp45CHIjL14l3WAVN3KpwruUsaWb X-Google-Smtp-Source: APXvYqx6sja4nuSsCfx6lhuGnrLW51p1iHpCq/5AaRqNwMLqJv0HcUXOXKJOWFIn+fwLkA+Mw8Mvxw== X-Received: by 2002:a62:5bc7:: with SMTP id p190mr5171079pfb.16.1580508463619; Fri, 31 Jan 2020 14:07:43 -0800 (PST) Received: from [192.168.2.183] (64-52-176-132.championbroadband.com. [64.52.176.132]) by smtp.gmail.com with ESMTPSA id 136sm10832821pgg.74.2020.01.31.14.07.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 31 Jan 2020 14:07:43 -0800 (PST) To: bug-guix@gnu.org From: Matt Wette Subject: guix search reports bad location for bytestructures Message-ID: <52d09f27-9b5f-8f8d-1f11-04d1e05e2239@gmail.com> Date: Fri, 31 Jan 2020 14:07:42 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::434 X-Spam-Score: 2.3 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I'm using guix-1.0.1 on Fedora 30, x86_64. I wanted to get module spec for bytestructures, but failed: location points to (guix packages), but it's actually in (gnu packages guile). $ guix search bytestructures name: guile3.0-bytestructures version: 1.0.7 outputs: out systems: x86_64-linux i686-linux dependencies: autoconf@2.69 automake@1.16.1 guile-next@3.0.0 pkg-config@0.29.2 l [...] Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.17 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (matt.wette[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.0 SPOOFED_FREEMAIL No description available. 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: -0.7 (/) I'm using guix-1.0.1 on Fedora 30, x86_64. I wanted to get module spec for bytestructures, but failed: location points to (guix packages), but it's actually in (gnu packages guile). $ guix search bytestructures name: guile3.0-bytestructures version: 1.0.7 outputs: out systems: x86_64-linux i686-linux dependencies: autoconf@2.69 automake@1.16.1 guile-next@3.0.0 pkg-config@0.29.2 location: guix/packages.scm:880:11 homepage: https://github.com/TaylanUB/scheme-bytestructures license: GPL 3+ synopsis: Structured access to bytevector contents for Guile description: Guile bytestructures offers a system imitating the type system of + the C programming language, to be used on bytevectors.  C's type system works + on raw memory, and Guile works on bytevectors which are an abstraction over + raw memory.  It's also more powerful than the C type system, elevating types + to first-class status. relevance: 6 $ guix repl scheme@(guix-user)> guile3.0-bytestructures ;;; : warning: possibly unbound variable `guile3.0-bytestructures' ERROR: error: guile3.0-bytestructures: unbound variable Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue. scheme@(guix-user) [1]> ,use (gnu packages guile) scheme@(guix-user) [1]> guile3.0-bytestructures $1 = # From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 02 17:52:51 2020 Received: (at 39377) by debbugs.gnu.org; 2 Feb 2020 22:52:51 +0000 Received: from localhost ([127.0.0.1]:40722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iyO6l-0007HO-8y for submit@debbugs.gnu.org; Sun, 02 Feb 2020 17:52:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iyO6j-0007H9-FS for 39377@debbugs.gnu.org; Sun, 02 Feb 2020 17:52:49 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iyO6d-0007HK-WD; Sun, 02 Feb 2020 17:52:44 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=55518 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iyO6d-0004Bu-HA; Sun, 02 Feb 2020 17:52:43 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Matt Wette Subject: Re: bug#39377: guix search reports bad location for bytestructures References: <52d09f27-9b5f-8f8d-1f11-04d1e05e2239@gmail.com> Date: Sun, 02 Feb 2020 23:52:41 +0100 In-Reply-To: <52d09f27-9b5f-8f8d-1f11-04d1e05e2239@gmail.com> (Matt Wette's message of "Fri, 31 Jan 2020 14:07:42 -0800") Message-ID: <87r1zc38li.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39377 Cc: 39377@debbugs.gnu.org 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 (-) Hi Matt, Matt Wette skribis: > I'm using guix-1.0.1 on Fedora 30, x86_64. > > I wanted to get module spec for bytestructures, but failed: > location points to (guix packages), but it's actually in (gnu packages > guile). > > $ guix search bytestructures > name: guile3.0-bytestructures > version: 1.0.7 > outputs: out > systems: x86_64-linux i686-linux > dependencies: autoconf@2.69 automake@1.16.1 guile-next@3.0.0 > pkg-config@0.29.2 > location: guix/packages.scm:880:11 The location here is that of the =E2=80=98package-input-rewriting=E2=80=99 = procedure, which is used to define this =E2=80=9Cguile3.0-=E2=80=9D variant. But note= that =E2=80=98guile-bytestructures=E2=80=99 has the right location info: --8<---------------cut here---------------start------------->8--- $ guix show guile-bytestructures name: guile-bytestructures version: 1.0.7 outputs: out systems: x86_64-linux i686-linux dependencies: autoconf@2.69 automake@1.16.1 guile@2.2.6 pkg-config@0.29.2 location: gnu/packages/guile.scm:594:2 --8<---------------cut here---------------end--------------->8--- We could arrange so that =E2=80=98package-input-rewriting=E2=80=99 preserve= s source location info (that would still be somewhat inaccurate, but hopefully less misleading.) Ludo=E2=80=99.