From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 06 14:55:37 2021 Received: (at submit) by debbugs.gnu.org; 6 Aug 2021 18:55:37 +0000 Received: from localhost ([127.0.0.1]:51364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mC50L-0001zn-0S for submit@debbugs.gnu.org; Fri, 06 Aug 2021 14:55:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:46318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mC50J-0001zf-2U for submit@debbugs.gnu.org; Fri, 06 Aug 2021 14:55:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mC50I-0005qH-P3 for guix-patches@gnu.org; Fri, 06 Aug 2021 14:55:34 -0400 Received: from out0.migadu.com ([2001:41d0:2:267::]:57789) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mC50F-0001HV-J3 for guix-patches@gnu.org; Fri, 06 Aug 2021 14:55:34 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1628276128; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=RyraWT4nInL/pAsIVA+fp8YdyrkYdwMiJr5qsY/BI6Y=; b=YEwIyb30SiW/aREHQ6XeN4qxB+3LZLqTP8CMoy4Rz1zqpTtR9nKYFgd43udrZi8btehJsd X2Tu5OSY6AMTWeV/pSosYdLbW4MW0JWTprVaBieO7yIU3jitAPSR/O497Jgqd8/hKPgBKT cXuTUBiZBT8IMBnEUtURGYhxtQ10CVY= From: Sarah Morgensen To: guix-patches@gnu.org Subject: [PATCH 1/3] gnu: go-github-com-mattn-go-shellwords: Update to 1.0.12. Date: Fri, 6 Aug 2021 11:55:26 -0700 Message-Id: <38f52b13a45c8e0792433861748499f1f5638cf7.1628275842.git.iskarian@mgsn.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: iskarian@mgsn.dev Received-SPF: pass client-ip=2001:41d0:2:267::; envelope-from=iskarian@mgsn.dev; helo=out0.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) * gnu/packages/golang.scm (go-github-com-mattn-go-shellwords): Update to 1.0.12. --- Hello Guix, I came across this package in my codebase travels; I've updated it and re-enabled tests. I verified that dependents go-github-com-junegunn-fzf@0.25.0 and ytfzf@1.2.0 build on x86-64. -- Sarah gnu/packages/golang.scm | 71 ++++++++++++++++++++--------------------- 1 file changed, 34 insertions(+), 37 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 15f3ea46c4..c32324f235 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5257,48 +5257,45 @@ systems.") (license license:expat)))) (define-public go-github-com-mattn-go-shellwords - (let ((commit "2444a32a19f450fabaa0bb3e96a703f15d9a97d2") - (version "1.0.5") - (revision "1")) - (package - (name "go-github-com-mattn-go-shellwords") - (version (git-version version revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/mattn/go-shellwords") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "08zcgr1az1n8zaxzwdd205j86hczgyc52nxfnw5avpw7rrkf7v0d")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/mattn/go-shellwords" - ;; TODO: can't make homeless-shelter: - ;; go: disabling cache (/homeless-shelter/.cache/go-build) due to - ;; initialization failure: mkdir /homeless-shelter: permission denied + (package + (name "go-github-com-mattn-go-shellwords") + (version "1.0.12") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mattn/go-shellwords") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0l0l5s4hlsrm4z6hygig2pp1qirk5ycrzn9z27ay3yvg9k7zafzx")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/mattn/go-shellwords" + ;; TODO: can't make homeless-shelter: + ;; go: disabling cache (/homeless-shelter/.cache/go-build) due to + ;; initialization failure: mkdir /homeless-shelter: permission denied - ;; This doesn't seem to work: + ;; This doesn't seem to work: - ;; #:phases - ;; (modify-phases %standard-phases - ;; (replace 'check - ;; (lambda* (#:key import-path #:allow-other-keys) - ;; (setenv "HOME" "/tmp") - ;; (invoke "go" "test" import-path)))) + ;; #:phases + ;; (modify-phases %standard-phases + ;; (replace 'check + ;; (lambda* (#:key import-path #:allow-other-keys) + ;; (setenv "HOME" "/tmp") + ;; (invoke "go" "test" import-path)))) - ;; TODO: There are also a couple of tests that have stymied Debian in - ;; the past. They seem to work when run locally. + ;; TODO: There are also a couple of tests that have stymied Debian in + ;; the past. They seem to work when run locally. - #:tests? #f - )) - (home-page "https://github.com/mattn/go-shellwords") - (synopsis "Parse lines into shell words") - (description "This package parses text into shell arguments. Based on + #:tests? #f + )) + (home-page "https://github.com/mattn/go-shellwords") + (synopsis "Parse lines into shell words") + (description "This package parses text into shell arguments. Based on the @code{cpan} module @code{Parse::CommandLine}.") - (license license:expat)))) + (license license:expat))) (define-public go-github-com-burntsushi-locker (let ((commit "a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a") base-commit: c8e2be3b32fe784a9db52d8a1a12902ab12ae7cb -- 2.31.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 06 14:57:42 2021 Received: (at 49915) by debbugs.gnu.org; 6 Aug 2021 18:57:42 +0000 Received: from localhost ([127.0.0.1]:51370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mC52M-00023R-GG for submit@debbugs.gnu.org; Fri, 06 Aug 2021 14:57:42 -0400 Received: from out1.migadu.com ([91.121.223.63]:48159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mC52J-00023H-Ry for 49915@debbugs.gnu.org; Fri, 06 Aug 2021 14:57:40 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1628276258; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eSJH0UNN1vkoH8N3RFHjmlFw2SbTZlU4WYq046MxZoo=; b=ZjFlJmSdfTaR/6PD96ziNF+mlVByGb2F5PE5jVO5f/Aqad3BANWHMWeR7NhKbfYaWiDpKP ndLRpTqe9uqUX6sXWIG7WqeyJkATC77DRsGdSYYAwvpC3WuRUtzqHxyZj3FgMmhRfc+Rpv gf9OKMkWtVPorGc5RFLOdSBPOOfjt04= From: Sarah Morgensen To: 49915@debbugs.gnu.org Subject: [PATCH 2/3] gnu: go-github-com-mattn-go-shellwords: Fix sh path. Date: Fri, 6 Aug 2021 11:57:36 -0700 Message-Id: <291625dd0fc68e516af6d6707fe37ab6f8c86b6c.1628275842.git.iskarian@mgsn.dev> In-Reply-To: <38f52b13a45c8e0792433861748499f1f5638cf7.1628275842.git.iskarian@mgsn.dev> References: <38f52b13a45c8e0792433861748499f1f5638cf7.1628275842.git.iskarian@mgsn.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: iskarian@mgsn.dev X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 49915 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 (-) * gnu/packages/golang.scm (go-github-com-mattn-go-shellwords)[arguments] <#:phases>{patch-sh-path}: New phase. [inputs]: Add bash. --- gnu/packages/golang.scm | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index c32324f235..b46f9e9bbf 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -58,6 +58,7 @@ #:use-module (gnu packages) #:use-module (gnu packages admin) #:use-module (gnu packages base) + #:use-module (gnu packages bash) #:use-module ((gnu packages bootstrap) #:select (glibc-dynamic-linker)) #:use-module (gnu packages gcc) #:use-module (gnu packages glib) @@ -5273,24 +5274,14 @@ systems.") (build-system go-build-system) (arguments `(#:import-path "github.com/mattn/go-shellwords" - ;; TODO: can't make homeless-shelter: - ;; go: disabling cache (/homeless-shelter/.cache/go-build) due to - ;; initialization failure: mkdir /homeless-shelter: permission denied - - ;; This doesn't seem to work: - - ;; #:phases - ;; (modify-phases %standard-phases - ;; (replace 'check - ;; (lambda* (#:key import-path #:allow-other-keys) - ;; (setenv "HOME" "/tmp") - ;; (invoke "go" "test" import-path)))) - - ;; TODO: There are also a couple of tests that have stymied Debian in - ;; the past. They seem to work when run locally. - #:tests? #f - )) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-sh-path + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/github.com/mattn/go-shellwords/util_posix.go" + (("/bin/sh") (which "sh")))))))) + (inputs `(("bash" ,bash))) (home-page "https://github.com/mattn/go-shellwords") (synopsis "Parse lines into shell words") (description "This package parses text into shell arguments. Based on -- 2.31.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 06 14:57:43 2021 Received: (at 49915) by debbugs.gnu.org; 6 Aug 2021 18:57:43 +0000 Received: from localhost ([127.0.0.1]:51372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mC52N-00023e-Ny for submit@debbugs.gnu.org; Fri, 06 Aug 2021 14:57:43 -0400 Received: from out2.migadu.com ([188.165.223.204]:42576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mC52M-00023P-A0 for 49915@debbugs.gnu.org; Fri, 06 Aug 2021 14:57:42 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1628276260; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=U0PJJpXWcajUX1kNUXiy8rJSIw+wfaR7/WC2pjUsajs=; b=G4Uvq+3U6nmxZ6GRDnEutTYQpFSURMLmbLsbRHu/RRareAyvqK4OxmZ0QhFa3G6XoAKojr XLdNPRY/NIvQHoauhjY435qhDKB83rfMN3ezyLZj8Joi4Z9SuBHmkgAH/XIRROwoOeB7G/ JZZnrf1Otbbt7zaZpbFOtvdmFTuYtdY= From: Sarah Morgensen To: 49915@debbugs.gnu.org Subject: [PATCH 3/3] gnu: go-github-com-mattn-go-shellwords: Enable tests. Date: Fri, 6 Aug 2021 11:57:37 -0700 Message-Id: In-Reply-To: <38f52b13a45c8e0792433861748499f1f5638cf7.1628275842.git.iskarian@mgsn.dev> References: <38f52b13a45c8e0792433861748499f1f5638cf7.1628275842.git.iskarian@mgsn.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: iskarian@mgsn.dev X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 49915 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 (-) Tests fixed by previous commit. * gnu/packages/golang.scm (go-github-com-mattn-go-shellwords)[arguments] <#:tests?>: Enable tests. --- gnu/packages/golang.scm | 1 - 1 file changed, 1 deletion(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index b46f9e9bbf..2b18b6ed18 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5274,7 +5274,6 @@ systems.") (build-system go-build-system) (arguments `(#:import-path "github.com/mattn/go-shellwords" - #:tests? #f #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-sh-path -- 2.31.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 15 16:31:31 2024 Received: (at 49915-done) by debbugs.gnu.org; 15 Feb 2024 21:31:31 +0000 Received: from localhost ([127.0.0.1]:57594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rajKM-0006N5-OL for submit@debbugs.gnu.org; Thu, 15 Feb 2024 16:31:31 -0500 Received: from mail-wm1-f53.google.com ([209.85.128.53]:45389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rajKK-0006Mk-Kk for 49915-done@debbugs.gnu.org; Thu, 15 Feb 2024 16:31:29 -0500 Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-41211097adcso9260745e9.3 for <49915-done@debbugs.gnu.org>; Thu, 15 Feb 2024 13:31:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708032603; x=1708637403; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=Xx6Qy90+61KdI7HZsdB3qa+A3zkFGxAllFdVaoiHflY=; b=FtWP3IIoo7SbojWsVa+JBsskq9K6WKcIu/7Efu/LXAKnkBjfN4UzzZjQb4wOqdHKZW Jt12f9lXVCVFYrfOO7WZVBTEm77TCq2Lor758dtpkAbsDDThkwNtz6sQg/NHpiHflGKK oUKkUQ2ExPU34/2S0PUQNg/+1C41AL3jtXuuve/hnMOqViwZQwUelELp9BOMODXe/Z0/ ytiieBTKzH+rAHd2FHmTf1vz50Uef1ms6wVu8FVeunJic91M1JsfGECZElUePHskga43 T0zsrdDLR6mDwHzRzebNzDfhq3LIbesdd18OKZsFKbB7dm3zLdcuMheS5ztpqzoFpcXO ZPWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708032604; x=1708637404; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Xx6Qy90+61KdI7HZsdB3qa+A3zkFGxAllFdVaoiHflY=; b=LyYB9CSFL+9Nr3y7bq+ESEBBwDxHqR5TNDg+Kqo6UGYJmDomxmDOivdIHraSHtoyJf LcnN4PbAqC3YfBQbo13BXaQZmO4BINXFaN+li1nNmycOtkuv/TLZJE7EQD8pP5BNTebm faUQQNfoUirdOJLOU0XPKaMULliNm5X/gM6BKhMZ5irShmJMwi4AjCpb+rP+Iacs0N0h zspbkbfuO2oquUL2oyXpoLajJUQz/sI75uKQLwmPJbgnbK/F7nvxFsRy9vvIi02S/Ur0 oGCmR2tizbkK8U1uD2OMn3UnhUtKNoIpUXJVDfJnpr/oIf5gRYmTEZ3j8vvfDKmwEd6f gCyA== X-Gm-Message-State: AOJu0Yxa03maSZcp0LLZ7Ql+6zlpxY/jin3USyikfIErUrpA6Dy2ZQIj 7/uDkgkTp3oeOElZIOE1oBFU1BcVDg6G35HEkWq3c08bgQVlr/IKQ/tD3ogBOQZZsw== X-Google-Smtp-Source: AGHT+IHbYEw3LKuhWSsEtDNcK+Ra+Fx61ullhp4twf1SKACqY0sImZjvkn5mlCrYJJLB0SmjyCflrQ== X-Received: by 2002:a05:600c:4708:b0:411:af2d:3295 with SMTP id v8-20020a05600c470800b00411af2d3295mr2317678wmo.6.1708032603478; Thu, 15 Feb 2024 13:30:03 -0800 (PST) Received: from guxtil (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id u12-20020a05600c19cc00b0041061f094a2sm317975wmq.11.2024.02.15.13.30.02 for <49915-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 13:30:02 -0800 (PST) From: Sharlatan Hellseher To: 49915-done@debbugs.gnu.org Subject: [PATCH 1/3] gnu: go-github-com-mattn-go-shellwords: Update to 1.0.12. Date: Thu, 15 Feb 2024 21:30:01 +0000 Message-ID: <87a5o1wh46.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 49915-done 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: -2.9 (--) --=-=-= Content-Type: text/plain Hi, I've fixed patch apply failure, added one intermediate patch to fix indentation and move the package to golang-xyz. Pushed as 008811aef6..8c9bc0e710 to master. -- Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmXOglkACgkQdtcnv/Ys 0rXSqBAAmtZuRboXpIM4oOg3/WllHKHDSePoeeF4dMgkzofy7sqBynOOsXrtGY7d 2gEQgv7D14VcFAsrnoHhsP/rLDecgNwfRH8ZF6sLwr7l64V077DtkiZpRzmbGnmc J99Haq7pRl0sjU8xWLULf8ttn19Djdyc3BPN0eAn5n/gFhRUgvA/E0cH0Yj8snCR nmwWBoQWT94tsh33zv1/qmKmQior9grbOT5ci/z6loFYkM/2caJUODKzLHglDU9e LS919hcW3uNSSHsnO3nyeZgD6GGEBnBAKyj2xzFf9d7Pu7RsP1s0xTgthrQ3HfrX MMxGrIMrIlXcVrWx8dK0cHUUJ/Uxf5LJ/HvY+1Af8pE2ByJNaMLQG6+qdLz8WTWP Ftut/AU8cErD3jBvdGKlheCpR5p/acbleMLCx6nd1KoDO2NId/7c+wllnQFZ7nqs Qbc+JmVU/GLbdza4ETCXIYn/MAZhTK2LQ9kzmhQKuhnRjIcT0ruqYqiXO1MlSjHS /18PE0rXreUsLdet8DXBI/MnHSk2hadn4/tb3yf/qxjVyZVQsMBsYYZzMyFb1+tO 2O81zrzHRSZFEUcKgfo2R7uAt9eC2m//PEvKOkigti7ZFS6TrhrZoo+oYlY7zw5E rej6eGDRqzbRbtAX0tQf++XmSk4D2ZzkpZDQCNwmtIYz8nYIIGo= =XMLm -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Jun 21 10:40:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 15 Mar 2024 11:24:06 +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