From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MFp8NeZIxGW53QAA62LTzQ:P1 (envelope-from ) for ; Thu, 08 Feb 2024 04:22:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id MFp8NeZIxGW53QAA62LTzQ (envelope-from ) for ; Thu, 08 Feb 2024 04:22:14 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=K4gwmylu; dmarc=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707362534; a=rsa-sha256; cv=none; b=SiUTNCskChz3rDX3crCqTaDVVpO9lT3zPyY08ae1ExX05WIZpoy4Bo+A42QIgtdwdDLrKt sYdvhhx3AkyRnHBKNCsYB+4b1x83TOK6GPqQdn1gBzU6a95zy7DNhwT57CI6v0ND6jbRBt /SBw0ctaUlvhxrjGpuVdSwgmfJxtCsO1YEF/y7pr8pwHgW9YV+F9PJFv3LeGi8BAqtEp3m aknJCXr2/Hih7YnwNQkqLl+QmWR/zW39lXa0wuXX2SSHWyOsVpd8yUbd7zxOTNf+4cwMYU 6R09rwEldB25GgzQIB7GaQ8yigswxrQAc3LuF+f4S2JSiWR9rJjOnrFqs3JwCg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=K4gwmylu; dmarc=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707362534; 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: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=IVy6YOH/eYxrGbZWZCWHwcUR4//YiQvCEuQygTR+7aA=; b=p8cV9pkwdUJOGub2cxuI9ivAzUpTmLab7Ht+jSydc0Xwmjsz3mWV2gpSAZRjzz6qbQ6YJ4 PrGCLk1UWmiVql6fRlORR6eu1FtJrQwGs2Jsl2KFXBoloLg0aTi9oJqJmlaAFw6ExvOahX GYbXg7jaO52r1UEcz3p1t4mWNS4i9oHDp+tRPMVCKkjxepgSM1RWorLZkAzSyS5jQheYqZ 4cJMtgNaG51cKV9Pql+JWQ3lns6+7MENxz3r+btaReFFBqv+NEZUxy1+GcXtB4uhMbZgMS gVarETf0wOz6Fhi5q/09kjfb6gxVtDYLr9NRmH1MfK+LH9M50YaeE4idXrb5mQ== 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 921698165 for ; Thu, 8 Feb 2024 04:22:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXuz0-0003ib-K3; Wed, 07 Feb 2024 22:21:50 -0500 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 ) id 1rXuyy-0003fy-MS for bug-guix@gnu.org; Wed, 07 Feb 2024 22:21:48 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rXuyy-0006b4-E8 for bug-guix@gnu.org; Wed, 07 Feb 2024 22:21:48 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rXuzC-0003Z5-HW for bug-guix@gnu.org; Wed, 07 Feb 2024 22:22:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53423: [fix] nncp: Fails to build (renamed file not found) Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 08 Feb 2024 03:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53423 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Alan & Kim Zimmerman Cc: 53423@debbugs.gnu.org, Katherine Cox-Buday , Sharlatan Hellseher , Ivan Vilata i Balaguer Received: via spool by 53423-submit@debbugs.gnu.org id=B53423.170736248413643 (code B ref 53423); Thu, 08 Feb 2024 03:22:02 +0000 Received: (at 53423) by debbugs.gnu.org; 8 Feb 2024 03:21:24 +0000 Received: from localhost ([127.0.0.1]:58739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXuya-0003Xx-25 for submit@debbugs.gnu.org; Wed, 07 Feb 2024 22:21:24 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]:47222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXuyW-0003XS-Gm for 53423@debbugs.gnu.org; Wed, 07 Feb 2024 22:21:22 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 521AA1AA87; Wed, 7 Feb 2024 19:20:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1707362457; bh=80SZmBv0Rzjwtc4AKgulBZhi7Mw3xsVoWgLz5fWA290=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=K4gwmyluCV9fSAGTCyrEtOGx2c/GezrJC5+zc8tTJ/C2Fo+Sk9vJndvaug3k5kNOj 8Oc0BIX0lRPU48h1V4b6XqYPO0RNNbFPyWvSmXpHlJZvOAfPQYI0NrZobfNzREeEaL So6bdrcx/CTDz0/n5OomCfZBZzCoetQ95tajOtanK/rF+z9c0ED4uUCKXsjrxxSybh cSJZ5vuboFSbhWvMWCeNFQp0ugepzSXf5/aFG7bOyipasR5TH61FGR/TIhMZff8zeD Opd3s7khMcDiErwg9F9WyNZoQoSyhmbLmYi/CNP0llI5qQkwYxy/Tyxo5BmHZnH17r S7ycHiOqr7d2Q== From: Vagrant Cascadian In-Reply-To: References: Date: Wed, 07 Feb 2024 19:20:54 -0800 Message-ID: <878r3vprop.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -5.27 X-Migadu-Queue-Id: 921698165 X-Migadu-Spam-Score: -5.27 X-TUID: qkxvS9PESBKq --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2023-06-24, Alan & Kim Zimmerman wrote: > I took a look at this, and the problem seems to be that the cwd ends up > different from before, so all the file operations fail. > > It needs (chdir "../nncp-7.5.0") in the 'go-unpack section. > > Attached is a patch that does this, if it works via gmail. Thanks for the patch! Miraculously, it still applies after all this time, and it does allow the build to proceed further, but still fails in tests: starting phase `check' do test # _/tmp/guix-build-nncp-7.5.0.drv-0/nncp-7.5.0/src/cmd/nncp-cfgdir cmd/nncp-cfgdir/main.go:91:4: unknown field 'AllowMinusZero' in struct li= teral of type hjson.EncoderOptions ok _/tmp/guix-build-nncp-7.5.0.drv-0/nncp-7.5.0/src 37.407s = ? _/tmp/gu= ix-build-nncp-7.5.0.drv-0/nncp-7.5.0/src/cmd/nncp-bundle [no test fi= les] ? _/tmp/guix-build-nncp-7.5.0.drv-0/nncp-7.5.0/src/cmd/nncp-call [= no test files] ? _/tmp/guix-build-nncp-7.5.0.drv-0/nncp-7.5.0/src/cmd/nncp-caller = [no test files] do: test: got exit code 2 error: in phase 'check': uncaught exception: %exception #<&invoke-error program: "contrib/do" arguments: ("-c" "test")= exit-status: 1 term-signal: #f stop-signal: #f> phase `check' failed after 44.5 seconds command "contrib/do" "-c" "test" failed with status 1 CCed the members of the go team who may have a better idea of, well, packaging go programs. :) live well, vagrant > From f2cc08e9cd657717049936938077a210773ab193 Mon Sep 17 00:00:00 2001 > Message-Id: > From: Alan Zimmerman > Date: Fri, 23 Jun 2023 23:57:48 +0100 > Subject: [PATCH] nncp: set directory so build succeeds > > --- > gnu/packages/uucp.scm | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/gnu/packages/uucp.scm b/gnu/packages/uucp.scm > index e10de59aa2..65e71c1b1a 100644 > --- a/gnu/packages/uucp.scm > +++ b/gnu/packages/uucp.scm > @@ -98,6 +98,7 @@ (define-public nncp > (assoc-ref go:%standard-phases 'setup-go-environment)) > (add-after 'unpack 'go-unpack > (lambda* (#:key source #:allow-other-keys) > + (chdir "../nncp-7.5.0") > ;; Copy source to GOPATH. > (copy-recursively "src" "../src/go.cypherpunks.ru/nncp/v7") > ;; Move bundled dependencies to GOPATH. > > base-commit: f25529b08e356f89ca7cecc44295085531a8faba > --=20 > 2.40.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZcRIlgAKCRDcUY/If5cW qreEAQCzA3pmxNoQiItEOH/OpF56+oxiTedGSCUOlDMue+apZgD9HTrSnZHubtVr qCoyRu4Ky8G6X2e3yJnN2QUpUhOv0QY= =1oTo -----END PGP SIGNATURE----- --=-=-=--