GNU logs - #75450, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75450: tor-onion-service-configuration example in Guix Manual does not work
Resent-From: raid5atemyhomework <raid5atemyhomework@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 09 Jan 2025 03:16:01 +0000
Resent-Message-ID: <handler.75450.B.173639251912205 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 75450
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 75450 <at> debbugs.gnu.org
X-Debbugs-Original-To: "bug-guix@HIDDEN" <bug-guix@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.173639251912205
          (code B ref -1); Thu, 09 Jan 2025 03:16:01 +0000
Received: (at submit) by debbugs.gnu.org; 9 Jan 2025 03:15:19 +0000
Received: from localhost ([127.0.0.1]:49768 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tVj0w-0003Aj-F1
	for submit <at> debbugs.gnu.org; Wed, 08 Jan 2025 22:15:18 -0500
Received: from lists.gnu.org ([2001:470:142::17]:35534)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <raid5atemyhomework@HIDDEN>)
 id 1tVj0t-000351-3i
 for submit <at> debbugs.gnu.org; Wed, 08 Jan 2025 22:15:16 -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 <raid5atemyhomework@HIDDEN>)
 id 1tVj0m-0005Zd-DR
 for bug-guix@HIDDEN; Wed, 08 Jan 2025 22:15:08 -0500
Received: from mail-106110.protonmail.ch ([79.135.106.110])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <raid5atemyhomework@HIDDEN>)
 id 1tVj0j-0001e2-Rr
 for bug-guix@HIDDEN; Wed, 08 Jan 2025 22:15:08 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail3; t=1736391872; x=1736651072;
 bh=ifbJv1EN74PN+JI1Ev4kUe8HWYlCPpq9BbKLh+bUziY=;
 h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date:
 Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector:
 List-Unsubscribe:List-Unsubscribe-Post;
 b=A5J7FHaXItwesvMsuNwkVCXqXjzRiQI+4Mr/MLW7qe5eP3EVE+ycLy4o3/H7i2jUS
 r2bojp//nsl3AsEp1UwBqZ110hIRz9Cs88WHN2PIgRhVNBNfdCFnFMBMRxS/Tln9Iy
 O3TGsGNaF3mgLvR/e63JpXXPFSYoYM+ViHwarydNsBk5cfqhwartaBK/2urzHfwtgn
 0Wb4w4q0VEXHrZN0iq+lN3KJgbDZhsSwOtHhJuH24g1EdRjSb9n2I7aAdugB0P6dsU
 7d9vLjGkL+XPPbYhL9XEvSmjXKmywDaUSBlz3hULdQs5dvUo9byMdd/dONYu7vK0Mh
 tPMX/o+ovM6sQ==
Date: Thu, 09 Jan 2025 03:04:29 +0000
From: raid5atemyhomework <raid5atemyhomework@HIDDEN>
Message-ID: <_RvdQNewziiAa0eDz9sY0SkB5aYYI2d8atxY4aNcnGxrdRPm-DCXAuBNgLbevNypdpOjYYW7V6rUl4luPwE6tZsMplpBKNRXTOHl6lrrErQ=@protonmail.com>
Feedback-ID: 28717774:user:proton
X-Pm-Message-ID: 808302504c10bb8a34182bb5e3ff3958c6dc4dbc
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="b1=_ESh5FFwD3IwAT5cnErARBaSh0hNVFiTmq0D8EWlF0Cs"
Received-SPF: pass client-ip=79.135.106.110;
 envelope-from=raid5atemyhomework@HIDDEN;
 helo=mail-106110.protonmail.ch
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, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
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: -0.0 (/)

--b1=_ESh5FFwD3IwAT5cnErARBaSh0hNVFiTmq0D8EWlF0Cs
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Guix has been pestering me about the deprecation of `tor-hidden-service` fo=
r a year now.  So I checked out the manual to see the correct official way =
that replaces `tor-hidden-service`:

```text
 -- Variable: tor-service-type
     Type for a service that runs the Tor (https://torproject.org)
     anonymous networking daemon.  The service is configured using a
     =E2=80=98<tor-configuration>=E2=80=99 record.  By default, the Tor dae=
mon runs as
     the =E2=80=98tor=E2=80=99 unprivileged user, which is a member of the =
=E2=80=98tor=E2=80=99 group.

     Services of this type can be extended by other services to specify
     =E2=80=9Conion services=E2=80=9D (in addition to those already specifi=
ed in
     =E2=80=98tor-configuration=E2=80=99) as in this example:

          (simple-service 'my-extra-onion-service tor-service-type
                          (list (tor-onion-service-configuration
                                  (name "extra-onion-service")
                                  (mapping '((80 . "127.0.0.1:8080"))))))
```

I created a simple `configuration.scm` that uses the above example verbatim=
 in the `services` list, and got this error on `guix system build`:

```text
building /gnu/store/c3x922pfx3lcb8nzwcns6k43ncaj2asj-torrc.drv...
Backtrace:=20
           4 (primitive-load "/gnu/store/1flyd8skq8cx6p8d7cpv5b99rxc?")
In ice-9/ports.scm:
   433:17  3 (call-with-output-file _ _ #:binary _ #:encoding _)
In ice-9/eval.scm:
    619:8  2 (_ #(#(#<directory (guile-user) 7ffff7812c80>) #<outp?>))
In ice-9/boot-9.scm:
   260:13  1 (for-each #<procedure 7ffff2d3fe00 at ice-9/eval.scm:3?> ?)
In ice-9/eval.scm:
    619:8  0 (_ #(#(#<directory (guile-user) 7ffff7812c80> ("e?" ?))))

ice-9/eval.scm:619:8: Throw to key `match-error' with args `("match" "no ma=
tching pattern" ("extra-onion-service" (80 . "127.0.0.1:8080")))'.
builder for `/gnu/store/c3x922pfx3lcb8nzwcns6k43ncaj2asj-torrc.drv' failed =
with exit code 1
build of /gnu/store/c3x922pfx3lcb8nzwcns6k43ncaj2asj-torrc.drv failed
```

Please do not deprecate `tor-hidden-service` until your replacement has act=
ually been tested to ***actually work*** on some very simple use-case examp=
le.

I attached the simple example that fails.
--b1=_ESh5FFwD3IwAT5cnErARBaSh0hNVFiTmq0D8EWlF0Cs
Content-Type: application/vnd.lotus-screencam; name=base.scm
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=base.scm

OzsgVGhpcyBpcyBhbiBvcGVyYXRpbmcgc3lzdGVtIGNvbmZpZ3VyYXRpb24gZ2VuZXJhdGVkCjs7
IGJ5IHRoZSBncmFwaGljYWwgaW5zdGFsbGVyLgoKKHVzZS1tb2R1bGVzIChnbnUpKQoodXNlLXNl
cnZpY2UtbW9kdWxlcyBkZXNrdG9wIG5ldHdvcmtpbmcgc3NoIHhvcmcpCgoob3BlcmF0aW5nLXN5
c3RlbQogIChsb2NhbGUgImVuX1VTLnV0ZjgiKQogICh0aW1lem9uZSAiRXRjL1VUQyIpCiAgKGtl
eWJvYXJkLWxheW91dCAoa2V5Ym9hcmQtbGF5b3V0ICJ1cyIpKQogIChob3N0LW5hbWUgImthZ3V5
YSIpCiAgKHVzZXJzIChjb25zKiAodXNlci1hY2NvdW50CiAgICAgICAgICAgICAgICAgIChuYW1l
ICJyYWlkNWF0ZW15aG9tZXdvcmsiKQogICAgICAgICAgICAgICAgICAoY29tbWVudCAicmFpZDVh
dGVteWhvbWV3b3JrIikKICAgICAgICAgICAgICAgICAgKGdyb3VwICJ1c2VycyIpCiAgICAgICAg
ICAgICAgICAgIChob21lLWRpcmVjdG9yeSAiL2hvbWUvem1uc2NweGoiKQogICAgICAgICAgICAg
ICAgICAoc3VwcGxlbWVudGFyeS1ncm91cHMKICAgICAgICAgICAgICAgICAgICAnKCJ3aGVlbCIg
Im5ldGRldiIgImF1ZGlvIiAidmlkZW8iKSkpCiAgICAgICAgICAgICAgICAlYmFzZS11c2VyLWFj
Y291bnRzKSkKICAocGFja2FnZXMKICAgIChhcHBlbmQKICAgICAgJWJhc2UtcGFja2FnZXMpKQog
IChzZXJ2aWNlcwogICAgKGFwcGVuZAogICAgICAobGlzdCAoc2VydmljZSBvcGVuc3NoLXNlcnZp
Y2UtdHlwZSkKICAgICAgICAgICAgKHNlcnZpY2UgZGhjcC1jbGllbnQtc2VydmljZS10eXBlKQog
ICAgICAgICAgICAoc2VydmljZSB0b3Itc2VydmljZS10eXBlKQogICAgICAgICAgICAoc2ltcGxl
LXNlcnZpY2UgJ215LWV4dHJhLW9uaW9uLXNlcnZpY2UgdG9yLXNlcnZpY2UtdHlwZQogICAgICAg
ICAgICAgICAgICAgICAgICAgICAgKGxpc3QgKHRvci1vbmlvbi1zZXJ2aWNlLWNvbmZpZ3VyYXRp
b24KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKG5hbWUgImV4dHJhLW9uaW9u
LXNlcnZpY2UiKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAobWFwcGluZyAn
KCg4MCAuICIxMjcuMC4wLjE6ODA4MCIpKSkpKSkpCiAgICAgICViYXNlLXNlcnZpY2VzKSkKICAo
Ym9vdGxvYWRlcgogICAgKGJvb3Rsb2FkZXItY29uZmlndXJhdGlvbgogICAgICAoYm9vdGxvYWRl
ciBncnViLWJvb3Rsb2FkZXIpCiAgICAgICh0YXJnZXRzICIvZGV2L3NkYSIpCiAgICAgIChrZXli
b2FyZC1sYXlvdXQga2V5Ym9hcmQtbGF5b3V0KSkpCiAgKGZpbGUtc3lzdGVtcwogICAgKGNvbnMq
IChmaWxlLXN5c3RlbQogICAgICAgICAgICAgKG1vdW50LXBvaW50ICIvIikKICAgICAgICAgICAg
IChkZXZpY2UKICAgICAgICAgICAgICAgKHV1aWQgImRhYjhmYWRlLTUyYTctNDRjMC04M2RlLTM0
ZmI4NGZlZWU1NSIKICAgICAgICAgICAgICAgICAgICAgJ2V4dDQpKQogICAgICAgICAgICAgKHR5
cGUgImV4dDQiKSkKICAgICAgICAgICAlYmFzZS1maWxlLXN5c3RlbXMpKSkK

--b1=_ESh5FFwD3IwAT5cnErARBaSh0hNVFiTmq0D8EWlF0Cs--





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: raid5atemyhomework <raid5atemyhomework@HIDDEN>
Subject: bug#75450: Acknowledgement (tor-onion-service-configuration
 example in Guix Manual does not work)
Message-ID: <handler.75450.B.173639251912205.ack <at> debbugs.gnu.org>
References: <_RvdQNewziiAa0eDz9sY0SkB5aYYI2d8atxY4aNcnGxrdRPm-DCXAuBNgLbevNypdpOjYYW7V6rUl4luPwE6tZsMplpBKNRXTOHl6lrrErQ=@protonmail.com>
X-Gnu-PR-Message: ack 75450
X-Gnu-PR-Package: guix
Reply-To: 75450 <at> debbugs.gnu.org
Date: Thu, 09 Jan 2025 03:16:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 75450 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
75450: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75450
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



Last modified: Sun, 12 Jan 2025 05:45:02 UTC

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