all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arun Isaac <arunisaac@systemreboot.net>
To: Sarah Morgensen <iskarian@mgsn.dev>
Cc: 49494@debbugs.gnu.org
Subject: [bug#49494] [PATCH 0/7] Add nncp
Date: Wed, 04 Aug 2021 01:42:58 +0530	[thread overview]
Message-ID: <87a6ly70dx.fsf@systemreboot.net> (raw)
In-Reply-To: <86y29j4rlz.fsf_-_@mgsn.dev>

[-- Attachment #1: Type: text/plain, Size: 1353 bytes --]


Hi Sarah,

>> I set up a tmpfs file system at /tmp. And, curiously, now the package
>> builds successfully. No idea why this is happening, though.
>
> I actually just figured this out as well. You're on a rotational disk,
> aren't you?

Yep.

> Since nncp makes heavy use of the spool file (which I think
> it mocks in /tmp for testing), I think that's why your tests are taking
> so long and timing out. Tests complete for me on a SSD in ~40s. (All the
> error messages are red herrings; they're expected errors.) If this is
> the case, it might be worth it to increase the test timeout for those
> who use --no-substitutes.

Indeed, that makes sense! I have now disabled the timeout. Without a
tmpfs, the tests take ~47 minutes on my rotational disk, but they do
complete successfully.

>>>>>> Does CFGPATH need to be set?
>>>>>
>>>>> I have now set CFGPATH TO /etc/nncp.hjson.
>>>>
>>>> When I run any of the executables, I get:
>>>>
>>>> main.go:73: Error during initialization: stat /usr/local/etc/nncp.hjson:
>>>> no such file or directory

I fixed this as well. `go list` wasn't finding the correct module path,
and thus the correct cfgpath variable was not being set.

I'm sending a v3 of the patch. Let me know if everything looks good, and
I'll push. Thanks for the comprehensive review! :-) The package looks
much better now.

Regards,
Arun

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 524 bytes --]

  reply	other threads:[~2021-08-03 20:14 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-09 16:12 [bug#49494] [PATCH 0/7] Add nncp Arun Isaac
2021-07-09 16:19 ` [bug#49494] [PATCH 1/7] gnu: Add go-github-com-davecgh-go-xdr Arun Isaac
2021-07-09 16:19   ` [bug#49494] [PATCH 2/7] gnu: Add go-github-com-dustin-go-humanize Arun Isaac
2021-07-09 16:19   ` [bug#49494] [PATCH 3/7] gnu: Add go-lukechampine-com-blake3 Arun Isaac
2021-07-09 16:19   ` [bug#49494] [PATCH 4/7] gnu: Add go-golang-org-x-term Arun Isaac
2021-07-09 16:19   ` [bug#49494] [PATCH 5/7] gnu: Add go-github-com-flynn-noise Arun Isaac
2021-07-09 16:19   ` [bug#49494] [PATCH 6/7] gnu: Add go-github-com-klauspost-compress Arun Isaac
2021-07-22 23:38     ` [bug#49494] [PATCH 0/7] Add nncp Sarah Morgensen
2021-07-09 16:19   ` [bug#49494] [PATCH 7/7] gnu: " Arun Isaac
2021-07-23  1:22     ` [bug#49494] [PATCH 0/7] " Sarah Morgensen
2021-08-01 20:16       ` Arun Isaac
2021-08-01 20:19         ` [bug#49494] [PATCH v2] gnu: " Arun Isaac
2021-08-02  5:54         ` [bug#49494] [PATCH 0/7] " Sarah Morgensen
2021-08-02 17:10           ` Arun Isaac
2021-08-02 18:33             ` Arun Isaac
2021-08-02 18:40               ` Sarah Morgensen
2021-08-03 20:12                 ` Arun Isaac [this message]
2021-08-03 20:16                 ` [bug#49494] [PATCH v3] gnu: " Arun Isaac
2021-08-03 21:40                   ` [bug#49494] [PATCH 0/7] " Sarah Morgensen
2021-08-04  6:42                     ` bug#49494: " Arun Isaac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6ly70dx.fsf@systemreboot.net \
    --to=arunisaac@systemreboot.net \
    --cc=49494@debbugs.gnu.org \
    --cc=iskarian@mgsn.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.