From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id sH2dEV/XbGb8VwAAe85BDQ:P1 (envelope-from ) for ; Fri, 14 Jun 2024 23:50:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id sH2dEV/XbGb8VwAAe85BDQ (envelope-from ) for ; Sat, 15 Jun 2024 01:50:55 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=IOKYraXA; dkim=pass header.d=wolfsden.cz header.s=mail header.b="X/kFQ7zT"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=wolfsden.cz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718409055; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kIE6Pa5oo36zqr9ElWhT9TSgQSeM0syVqfPvxwdIT6k=; b=TSYZE1k4E2w8vGtGaamPeNZOOy10h2gsJA72b0hcPYqDrGh+4IS+NzzxpgjlsuPBWKGtqn pgsEAg7MZY2eyDRYUwyFrQjG7Cp0E6V18zhu2Qsn2ZpQw/Op6BHQBklmMJz3kj86z/CTfn 8TDoTbIIzu7C48Mw8rJTkK/toBg7eCq8KANbT8Ew8yv5UGPISZfAtHXc56oYpuMkjkka8R HhcxmjLif8zu1INNHexG27Y4Pr2E/PHHKe33VPRqqbcm5/h1OsG3IjGSfRBYLHO1nLnsp+ lPDOblWXGAsiqsx7Abop2y2U/C2Lb9bmPewZJCm4BlqPFrywM7OGt92A1CWqKw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=IOKYraXA; dkim=pass header.d=wolfsden.cz header.s=mail header.b="X/kFQ7zT"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=wolfsden.cz ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718409055; a=rsa-sha256; cv=none; b=QVZGEbdUndxHtOxBsGtZslFlX2fJXfw1FjMdvfFyKJ74lC7UAY4dLbeVpPIK9VMMBFXyaU BtJLbkvwe9rbvH6Lk3coKgwcM/ZEZ+Hd764mQyJzbp/7amqEUeLfUKNP3UZvPlSg0F0ZFj UKKpjxv6z1srNHb/pqdt780GGhbSt0o40TGmToPs/HeLWuYZkopWKFfGHyq+S8qya1c1ZW i2uWe2iaC2PjC9txxFiA7dUQKNB4JRWqqSbcHraHd/e063ZYrtAlrevEq28TUfbo7rgSSn ZAcY4tHInQiaAtQXggt0QvFILiofMIPMkOo41xpoVbT8bULdeiT33ipI2FPVyg== 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 5BEC32180C for ; Sat, 15 Jun 2024 01:50:54 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sIGgK-0004uH-Uh; Fri, 14 Jun 2024 19:50:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sIGgJ-0004th-6z for help-guix@gnu.org; Fri, 14 Jun 2024 19:50:07 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sIGgG-0001o5-Ps for help-guix@gnu.org; Fri, 14 Jun 2024 19:50:06 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 619A329E1B9; Fri, 14 Jun 2024 23:50:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1718409001; bh=fdct/KE5c+IZ8VqjHNong26Js4pzhnYTODKKbe3oh9I=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=IOKYraXAHRfxazgrLDF3XJ8R9s6/ahvCubS76LWOfFqKSAFwy8dP1UCa3OkYxwZCT faqeKtPMIuuL4OKZUsWRBBV2qqr5CY4p8mgyNcb/xxw7c2zhRbA+Tfq9uDPKrSAckR s1ZTK5RiF5Pyp2BYCAz0Plk+zQuir9M7mjC3fpMkTOq9P63x5QiztUBtp0tEPaXE71 aZmVnSypjRNPjopxsVY5fk8A+elaw/PEjDscMzpH6DBTVe3yDvMr2JJ7JAqgtfSSwu GB78mdwhqsxLnm/1S39zqQPXZEUxHw11VHxj4TqwzolHd+drLC34SxGLTmDvP7Yieo WGdtKVa+iaRr32ZQTkTawALjq9Vjtk99rGNYolQpZ2V5evgG4kpGDlpyKXz8AgNvtv U0+d5BYKK/a/AX7InoRgT8k5P2zj946ApcZ9/RJ5FewJF54pmC96lFAjRhMd8HpoPA 7IxcwcOKMGbe314XMzMbeLUjWNX0Mvx0vMkKnXp0JXYjVVvk6TOI+vk6Q0L0G+5LJA oQLUqH6RR7HGKoevP4W69KggCQnqcsz2eayfyk2rs2A/dokRMCq20JqNZdJB3dVEo5 43+WECVULlX/dN9PePMfe0GP3UtDVq78RhF8pxrq+gWl334hCTXU6yuuvyimDZXk73 oQx4QsIENCe2sg5/yfV1yd8M= Received: from localhost (unknown [81.17.16.79]) by wolfsden.cz (Postfix) with ESMTPSA id 7AF1D29E450; Fri, 14 Jun 2024 23:50:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1718409000; bh=fdct/KE5c+IZ8VqjHNong26Js4pzhnYTODKKbe3oh9I=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=X/kFQ7zTm4GPAsEKXfofQTterbwYuY7s8AuRBVz3dcgtG7ih1o/qU34SNnsPE+/1H diRYFozCD9uu3Xe613FBeWCR6Jo3INm9TtrRhc3cZd/N/3PIMvQqWlW/knIEB77+IO SXoctp6Kf/VQKvNVJaTP8pI6TblFWF/CGUrRSWQxuKO9IK2plkI3jdesB8iOaI8kPF P0h8GKzCIMg6Ib+yCKYVHmNbVUwYSyBjPJcLDBymjXiXXFEhbnP5RkAwYY4khCSwgK pi8TQzQ++PUZJa1ZKp56UApIoxbnxYHV8G3vrmW9A+QwC57Hp0sSz4MakEvM2kHxz+ VE4cMCYHQ1IrjpKVanhEUCSz3xj0U/j8PHbhXBKN05R6Okq7CJdGGAxGXHVByEvkEm ihm0xO8op09PXDLkBmr6qsmR2PMN40iF+nWMRYut27GUST0/RM3ZKbaL2t8TyQabC4 o9ZKBuFMNwfBq2tha8YbAiRQwpNcCM+raLduWTa4C24c9IVFVSM/FZXVVEtwMm3GzQ 5KA+g2s1Hr//bMekJioKDKyALvEp6ECX2PucgqMqUmW7n3B9yt6fxaPuBRpGRt/VD0 5C1kxV1csqQs28/R6Cf9XvN8qHAPMZYE4+ay4UkGp9iRSL7nagT2iFacASb0hRludo mbyDONCSKYmhoc5GEfusBfFA= Date: Sat, 15 Jun 2024 01:49:59 +0200 From: Tomas Volf <~@wolfsden.cz> To: Felix Lechner Cc: help-guix@gnu.org Subject: Re: Is a graft warranted here? Message-ID: Mail-Followup-To: Felix Lechner , help-guix@gnu.org References: <871q4z2jh4.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="loiBaf2ve5m7sItb" Content-Disposition: inline In-Reply-To: <871q4z2jh4.fsf@lease-up.com> Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -10.49 X-Migadu-Queue-Id: 5BEC32180C X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -10.49 X-TUID: iY+FSVOOXa6o --loiBaf2ve5m7sItb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello Felix, On 2024-06-14 16:27:35 -0700, Felix Lechner via wrote: > Hi, > > Why does the package definition below provide a grafted version 1.08.1 > instead of the source I requested, please? > > Kind regards > Felix > > * * * > > (define-public nyacc/juix > (let* ((commit "41691b062b598a92549821879766e0ee48b635da") > (revision "0")) > (package > (inherit nyacc) > (name "nyacc") > (version "1.10-dev") > (source (origin > (method git-fetch) > (uri (git-reference > (url "https://git.savannah.nongnu.org/git/nyacc.git") > (commit commit))) > (file-name (git-file-name name version)) > (sha256 > (base32 > "1fa88fix6avyazyiy4k70v9fzdkz1i0p99xnmxmq94j3wpc76y3j")) > (modules '((guix build utils))) > (snippet > '(substitute* "configure" > (("GUILE_GLOBAL_SITE=\\$prefix.*") > "GUILE_GLOBAL_SITE=\ > $prefix/share/guile/site/$GUILE_EFFECTIVE_VERSION\n")))))))) > Maybe I misunderstood something, but for me it seems to provide what I assume would be 1.10-dev: $ cat $(guix build -e '(begin (use-modules (guix git-download) (gnu packages mes) (guix) (gnu) (gnu packages)) (let* ((commit "41691b062b598a92549821879766e0ee48b635da") (revision "0")) (package (inherit nyacc) (name "nyacc") (version "1.10-dev") (source (origin (method git-fetch) (uri (git-reference (url "https://git.savannah.nongnu.org/git/nyacc.git") (commit commit))) (file-name (git-file-name name version)) (sha256 (base32 "1fa88fix6avyazyiy4k70v9fzdkz1i0p99xnmxmq94j3wpc76y3j")) (modules (quote ((guix build utils)))) (snippet (quote (substitute* "configure" (("GUILE_GLOBAL_SITE=\\$prefix.*") "GUILE_GLOBAL_SITE=\ $prefix/share/guile/site/$GUILE_EFFECTIVE_VERSION\n")))))))))')/share/guile/site/3.0/nyacc/version.scm | tail -n7 | head -n5 (define-module (nyacc version) #:export (*nyacc-version*) #:version (1 09 4)) (define *nyacc-version* "1.09.4") When I do the same for nyacc I get different output: $ cat $(guix build nyacc)/share/guile/site/3.0/nyacc/version.scm | tail -n7 | head -n5 (define-module (nyacc version) #:export (*nyacc-version*) #:version (1 08 1)) (define *nyacc-version* "1.08.1") This is on up-to-date Guix. I am probably not seeing the problem (it is bit late). Could you write bit more about how to reproduce it and what to look for? Thanks, Tomas -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --loiBaf2ve5m7sItb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmZs1ycACgkQL7/ufbZ/ wak5vg//XESH5PvLK9QHAP7khV1QM+PMnDW7YZ1joy4I+Vb/rGvjFQpZ8e/HQQRv WDuQOdgFwdxUVWkTy349GkaLionYGU0Ls82eVIpU1vJE/GdgvlRP55/iOrSmQM5U VhWmltiaxr8O2zW+BoRPHLv+H4jQpi4gey2YkDB7Zu4ebfWOVOlKXhhPqKlLyMrt sX0gXNMFOwbJntUAoT1w36xYS91k13vIfU9WgCpYwcXNFN2tGglHA2LHhY7uKZve Qb5W+SUnhLUa5vbTAQMh7SgLDIV6x268VlSqfXdIcQMUcK6N7EZ3R8MgzwfMaoQO T+ALcYBvh+P6sY+SOOSWtwgpDhDbmwosyg3FsjKF62tBJy9kdoSZOEeD4mvduwUd hx9NjEM9KtgKSztRq8t3xtpSeHSoxkEZFM3HKEa264Bl+SFLCyBeEPsf/AH8iuKg fAStT7/7HpI2kAOL1VP/7X4Bb996QZp822HWqwbTf7oGijolzRKYPLX3XyJSro5k 32FhSOCkR20f6seQ7r3GHN1zAVkuCx3OLfJiVJEgx/Tdm3F1AWgVBBvDwUxWL+MA WvmqhEhNIweKoHUJMxHfn+1gANUa7OqsLzzSRVBYLIjMxMN+1i9lTIErcaN7GQTd lmBJy9REdU90Yk/M27TfpjekdYRoYIawei27Zokh0K2hb4ymU50= =4P4v -----END PGP SIGNATURE----- --loiBaf2ve5m7sItb--