From: Frederick Muriuki Muriithi <fredmanglis@gmail.com>
To: guix-forge@systemreboot.net
Cc: fredmanglis@protonmail.com
Subject: [PATCH 0/1] webhook: Update to version 2.8.2
Date: Tue, 19 Aug 2025 12:16:33 -0500 [thread overview]
Message-ID: <20250819171728.112226-1-fredmanglis@gmail.com> (raw)
I encountered the following build error when attempting to build `webhook` with
`guix` (commit 34453b97):
```sh
=== RUN TestStaticParams
webhook_test.go:63: Unexpected error: fork/exec /tmp/with space: no such file or directory
--- FAIL: TestStaticParams (0.00s)
⋮
FAIL
FAIL github.com/adnanh/webhook 15.619s
FAIL github.com/adnanh/webhook/internal/hook [build failed]
? github.com/adnanh/webhook/internal/middleware [no test files]
⋮
? github.com/adnanh/webhook/test [no test files]
FAIL
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "go" arguments: ("test" "github.com/adnanh/webhook/...") exit-status: 1 term-signal: #f stop-signal: #f>
phase `check' failed after 40.1 seconds
command "go" "test" "github.com/adnanh/webhook/..." failed with status 1
```
I have skipped over passing tests for brevity.
Looks like some missing test files.
I tried the lazy fix: change version from `2.8.0` to `2.8.2` but the failure
still showed up, and I had to dig in further.
Run the build with `--keep-failed` option and get a somewhat similar build
environment
```sh
$ cd /tmp/guix-build-webhook-2.8.2.drv-0
$ guix shell -L /home/frederick/repositories/projects/guix-forge/guix --container --network --development webhook
$ source "/tmp/guix-build-webhook-2.8.2.drv-0/environment-variables"
[env]$ go test ./src/github.com/adnanh/webhook/
```
All tests pass in this environment.
In `src/github.com/adnanh/webhook/webhook_test.go`, a file named "with space" is
created, and then run with `fork/exec`. I have verified that the file is
actually created, but the `fork/exec` portion cannot find the file for some
reason (It is not the space, I tried changing the name to remove the space).
Attempted skipping just specific tests ("-skip TestStaticParams -skip TestHooksLoadFromFile -skip TestHooksTemplateLoadFromFile") to no avail.
Removed the entire test files for now.
The patch is attached to this email thread.
next reply other threads:[~2025-08-19 17:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-19 17:16 Frederick Muriuki Muriithi [this message]
2025-08-19 17:16 ` [PATCH] " Frederick Muriuki Muriithi
2025-08-20 10:09 ` [PATCH 0/1] " Arun Isaac
2025-08-20 13:48 ` Frederick M. Muriithi
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=20250819171728.112226-1-fredmanglis@gmail.com \
--to=fredmanglis@gmail.com \
--cc=fredmanglis@protonmail.com \
--cc=guix-forge@systemreboot.net \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox