GNU bug report logs - #76843
Fwd: Help with packaging go-github-com-charmbracelet-x-exp-teatest on Guix?

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Sharlatan Hellseher <sharlatanus@HIDDEN>; dated Fri, 7 Mar 2025 20:43:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Mar 2025 20:42:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 07 15:42:37 2025
Received: from localhost ([127.0.0.1]:50783 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tqeWi-0004o1-PN
	for submit <at> debbugs.gnu.org; Fri, 07 Mar 2025 15:42:37 -0500
Received: from lists.gnu.org ([2001:470:142::17]:51576)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <sharlatanus@HIDDEN>)
 id 1tqeWg-0004nl-0l
 for submit <at> debbugs.gnu.org; Fri, 07 Mar 2025 15:42:35 -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 <sharlatanus@HIDDEN>)
 id 1tqeWX-00088q-Sk
 for guix-patches@HIDDEN; Fri, 07 Mar 2025 15:42:26 -0500
Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <sharlatanus@HIDDEN>)
 id 1tqeWU-00026W-TD
 for guix-patches@HIDDEN; Fri, 07 Mar 2025 15:42:25 -0500
Received: by mail-lf1-x131.google.com with SMTP id
 2adb3069b0e04-5495078cd59so2590567e87.1
 for <guix-patches@HIDDEN>; Fri, 07 Mar 2025 12:42:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1741380141; x=1741984941; darn=gnu.org;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :from:to:cc:subject:date:message-id:reply-to;
 bh=25il6AUlUmONyZ8XXRZNuna7BaueQhZU+MoJVgYQlsU=;
 b=NLYF4cl/v3gsZyAiek++A7dVnmq5V71A+3VixsyYElazTUQS9Aag/eDYkhRTDkR27o
 Iqdl9EI14DHL8ZLomAXPk7ue4xs2jU/hGSsM8ErNBsij4StnaJS+WsUcVGDQXp+bFSN1
 LsP2aXgFK6880nAF4WomCUlzcYL6XBmm1BqsER5bqA3vdcbbZjg1nvdGj46WD0TgOqp/
 9EHMT2zOqpwLgPJHteYfQnQrrKThnMNuU46xXyp0B6coT8QDjxzY1ok1q3SBwAWwmLd8
 J47zBnxTnCU+PkX5osaaVMs2IPCCUABqyrhX1ewdB01vDMPq0ulaBH2ycEHQhlePYW+8
 xihA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1741380141; x=1741984941;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=25il6AUlUmONyZ8XXRZNuna7BaueQhZU+MoJVgYQlsU=;
 b=Sv8nNzrCM+2lOU4qg+r1y9+iPlTPLVzTY0CGc2U5k4mrUitw2lzaUHQuf2Ovlhue+6
 yCsiZFQqe2HoYSNbf6pP1b6pI7ulFWQiIxAAhOj3LzBRaRk7KEzsCz1/3qxbFQf+4T4X
 6TsMfMTy/gLJtC9lQ4wDIqy/oI0WG4mVW/mL/RfpTlsbAlWLoJNyMdtqvRgHBCQuYksx
 FsEhfmCZFT4Cu/P0Fhy6PRu2kiVriZv7ruMFd36oTA/TcSwpxkg3/uffWmWZbkCA2ft0
 g/z24M9K3jHC1P8n7zfB/GohZLtZfMK6dO1F/PMgkJYPkimHy0jgw8Z1U8LI56G0HKVC
 89oQ==
X-Gm-Message-State: AOJu0Yz13cSbNreE+9JM9qxsRqE8m1Mcqi4+UyBXOwdJ9vtGwn9oyp1I
 7fYkL4uGi6443NuLMzP9YvQNNF4zoTPuh2lhI2JO6adrL1PBZV7pa7nrC5U4r0sL100dy+BZdCF
 938Es88x+IFckxKxqIOyat6ahpm23rn04
X-Gm-Gg: ASbGncvX2MubDXNli3sWlxgUTecNDchpJiwhWFRiDjSGiFQaGrxen7OwdOgxbu7fjnX
 g+Etxcr+a3kkKrPgV+HX/vO7G4sACdWE5JQ4cq/k2fXt9clPQZIUdgCiFH8Wi4ZQzMduyozzVr6
 SEPcoN9PBxyEOBu3ICFtdI6c7i
X-Google-Smtp-Source: AGHT+IFiCgdYa05fttidXe1CNZPX3JbjQgn4cmnXfhQ2DtAsgEXw4iq86pA8imVq+8BRGCiiTj552soYrrWWkbNp4CU=
X-Received: by 2002:ac2:4c46:0:b0:549:5822:c334 with SMTP id
 2adb3069b0e04-54990ec2e9emr1782141e87.52.1741380140615; Fri, 07 Mar 2025
 12:42:20 -0800 (PST)
MIME-Version: 1.0
References: <1956bf6dbb8.473e3a89189066.423520168848767514@HIDDEN>
 <87r038tw6w.fsf@HIDDEN>
In-Reply-To: <87r038tw6w.fsf@HIDDEN>
From: Sharlatan Hellseher <sharlatanus@HIDDEN>
Date: Fri, 7 Mar 2025 20:42:08 +0000
X-Gm-Features: AQ5f1Jp70fJqGEQVT3xe5f8NCdnbKCaUhiqr0QnpQm7w5yMU1g1AJZcXVpxLuNU
Message-ID: <CAO+9K5rA7VVuuCnwPxOHtqFekyAtzpU+cEi5Hn6je6YwtSqpOg@HIDDEN>
Subject: Fwd: Help with packaging go-github-com-charmbracelet-x-exp-teatest on
 Guix?
To: guix-patches@HIDDEN
Content-Type: multipart/mixed; boundary="000000000000b36558062fc6a8e7"
Received-SPF: pass client-ip=2a00:1450:4864:20::131;
 envelope-from=sharlatanus@HIDDEN; helo=mail-lf1-x131.google.com
X-Spam_score_int: 0
X-Spam_score: -0.1
X-Spam_bar: /
X-Spam_report: (-0.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, FREEMAIL_FROM=0.001,
 PDS_OTHER_BAD_TLD=1.976, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 2.9 (++)
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: Forwarded message --------- From: Sharlatan Hellseher Date:
 Fri, 7 Mar 2025 at 20:36 Subject: Re: Help with packaging
 go-github-com-charmbracelet-x-exp-teatest
 on Guix? To: , Hi Ashvith, 
 Content analysis details:   (2.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (sharlatanus[at]gmail.com)
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: github.incerto.xyz (xyz)]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.9 (+)
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:  Forwarded message --------- From: Sharlatan Hellseher Date:
    Fri, 7 Mar 2025 at 20:36 Subject: Re: Help with packaging go-github-com-charmbracelet-x-exp-teatest
    on Guix? To: , Hi Ashvith, 
 
 Content analysis details:   (1.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [2001:470:142:0:0:0:0:17 listed in]
                             [list.dnswl.org]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (sharlatanus[at]gmail.com)
  1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: github.incerto.xyz (xyz)]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

--000000000000b36558062fc6a8e7
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

---------- Forwarded message ---------
From: Sharlatan Hellseher <sharlatanus@HIDDEN>
Date: Fri, 7 Mar 2025 at 20:36
Subject: Re: Help with packaging
go-github-com-charmbracelet-x-exp-teatest on Guix?
To: <ashvithshetty0010@HIDDEN>, <gnu-patches@HIDDEN>



Hi Ashvith,

The issue you experience is due to fact that Golang projects started
practiced Workspaces or monorepor e.g. source code for verity of
modules distributed from the single repository but tagged individually.
It make live for go-build-system harder as it symlinks inputs from the
store by the #:import-path and if any path is intersecting it rise
"Permission Denied" issue.

Do you really need this package (that is a working variant)? It stands as
a testing library for already packaged go-github-com-charmbracelet-bubblete=
a :

--8<---------------cut here---------------start------------->8---
(define-public go-github-com-charmbracelet-x-exp-teatest
  ;; No version tag, use commit from Golang pseudo version:
  ;; 0.0.0-20250303111204-ce812b082f54
  (let ((commit "ce812b082f548a1a39b1a2bab82d931514ee89d8")
        (revision "0"))
    (package
      (name "go-github-com-charmbracelet-x-exp-teatest")
      (version (git-version "0.0.0" revision commit))
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
               (url "https://github.com/charmbracelet/x")
               (commit commit)))
         (file-name (git-file-name name version))
         (sha256
          (base32 "0l748wpw689k79hnwh905hslqdg31nlh80xabs72b3yjqvxxpr1x"))
         (modules '((guix build utils)))
         (snippet
          #~(begin
              ;; Submodules with their own go.mod files and packed as separ=
ated
              ;; packages:
              ;;
              ;; - github.com/charmbracelet/x/ansi
              ;; - github.com/charmbracelet/x/cellbuf
              ;; - github.com/charmbracelet/x/colors
              ;; - github.com/charmbracelet/x/conpty
              ;; - github.com/charmbracelet/x/editor
              ;; - github.com/charmbracelet/x/errors
              ;; - github.com/charmbracelet/x/examples
              ;; - github.com/charmbracelet/x/exp/golden
              ;; - github.com/charmbracelet/x/exp/higherorder
              ;; - github.com/charmbracelet/x/exp/maps
              ;; - github.com/charmbracelet/x/exp/open
              ;; - github.com/charmbracelet/x/exp/ordered
              ;; - github.com/charmbracelet/x/exp/slice
              ;; - github.com/charmbracelet/x/exp/strings
              ;; - github.com/charmbracelet/x/exp/teatest/v2
              ;; - github.com/charmbracelet/x/input
              ;; - github.com/charmbracelet/x/json
              ;; - github.com/charmbracelet/x/sshkey
              ;; - github.com/charmbracelet/x/term
              ;; - github.com/charmbracelet/x/termios
              ;; - github.com/charmbracelet/x/vt
              ;; - github.com/charmbracelet/x/wcwidth
              ;; - github.com/charmbracelet/x/windows
              ;; - github.com/charmbracelet/x/xpty
              (for-each delete-file-recursively
                        (list "ansi"
                              "cellbuf"
                              "colors"
                              "conpty"
                              "editor"
                              "errors"
                              "examples"
                              "exp/golden"
                              "exp/higherorder"
                              "exp/maps"
                              "exp/open"
                              "exp/ordered"
                              "exp/slice"
                              "exp/strings"
                              "exp/teatest/v2"
                              "input"
                              "json"
                              "sshkey"
                              "term"
                              "termios"
                              "vt"
                              "wcwidth"
                              "windows"
                              "xpty"))))))
      (build-system go-build-system)
      (arguments
       (list
        #:import-path "github.com/charmbracelet/x/exp/teatest"
        #:unpack-path "github.com/charmbracelet/x"
        #:test-flags
        ;; XXX: Two tests with not matching escape character, check
with upstream.
        #~(list "-skip" "TestApp|TestAppSendToOtherProgram")))
      (propagated-inputs
       (list go-github-com-charmbracelet-bubbletea
             go-github-com-charmbracelet-x-exp-golden))
      (home-page "https://github.com/charmbracelet/x")
      (synopsis "Golang library for testing Bubble Tea programs")
      (description
       "Package teatest provides helper functions to test
@code{https://github.com/charmbracelet/bubbletea, Bubble Tea}'s
@code{tea.Model}.")
      (license license:expat))))
--8<---------------cut here---------------end--------------->8---

Let me know if you might need more help and take a look at go-team branch
which is in a queue to master it contains 100+ new packages and some update=
s.

---
Oleg


--=20
VCS: https://github.incerto.xyz/; https://git.sr.ht/~hellseher/
GPG: 9847 81DE 689C 21C2 6418 0867 76D7 27BF F62C D2B5

=E2=80=A6 =D0=BD=D0=B0=D1=88 =D1=80=D0=B0=D0=B7=D1=83=D0=BC - =D0=BF=D1=80=
=D0=B5=D0=B2=D0=BE=D1=81=D1=85=D0=BE=D0=B4=D0=BD=D0=B0=D1=8F =D0=BE=D0=B1=
=D1=8A=D1=8F=D1=81=D0=BD=D0=B8=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D0=B0=D1=8F =
=D0=BC=D0=B0=D1=88=D0=B8=D0=BD=D0=B0 =D0=BA=D0=BE=D1=82=D0=BE=D1=80=D0=B0=
=D1=8F =D1=81=D0=BF=D0=BE=D1=81=D0=BE=D0=B1=D0=BD=D0=B0
=D0=BD=D0=B0=D0=B9=D1=82=D0=B8 =D1=81=D0=BC=D1=8B=D1=81=D0=BB =D0=BF=D0=BE=
=D1=87=D1=82=D0=B8 =D0=B2 =D1=87=D0=B5=D0=BC =D1=83=D0=B3=D0=BE=D0=B4=D0=BD=
=D0=BE, =D0=B8=D1=81=D1=82=D0=BE=D0=BB=D0=BA=D0=BE=D0=B2=D0=B0=D1=82=D1=8C =
=D0=BB=D1=8E=D0=B1=D0=BE=D0=B9 =D1=84=D0=B5=D0=BD=D0=BE=D0=BC=D0=B5=D0=BD, =
=D0=BD=D0=BE
=D1=81=D0=BE=D0=B2=D0=B5=D1=80=D1=88=D0=B5=D0=BD=D0=BD=D0=BE =D0=BD=D0=B5 =
=D0=B2 =D1=81=D0=BE=D1=81=D1=82=D0=BE=D1=8F=D0=BD=D0=B8=D0=B8 =D0=BF=D1=80=
=D0=B8=D0=BD=D1=8F=D1=82=D1=8C =D0=BC=D1=8B=D1=81=D0=BB=D1=8C =D0=BE =D0=BD=
=D0=B5=D0=BF=D1=80=D0=B5=D0=B4=D1=81=D0=BA=D0=B0=D0=B7=D1=83=D0=B5=D0=BC=D0=
=BE=D1=81=D1=82=D0=B8.

--000000000000b36558062fc6a8e7
Content-Type: text/plain; charset="US-ASCII"; name="signature.asc"
Content-Disposition: attachment; filename="signature.asc"
Content-Transfer-Encoding: base64
Content-ID: <1957257ec7761a8e03b1>
X-Attachment-Id: 1957257ec7761a8e03b1

LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0NCg0KaVFKS0JBRUJDZ0EwRmlFRW1FZUIzbWlj
SWNKa0dBaG5kdGNudi9ZczByVUZBbWZMV01jV0hITm9ZWEpzWVhSaA0KYm5WelFHZHRZV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c6a8e7--




Acknowledgement sent to Sharlatan Hellseher <sharlatanus@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#76843; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 7 Mar 2025 20:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.