You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.
I'm porting this package into GNU Guix. When I run the tests I get these 2 errors:
phase `build' succeeded after 0.1 seconds
starting phase `check'
--- FAIL: TestFqdnHostname (0.00s)
fqdn_test.go:22: Unexpected fqdn, got: localhost
--- FAIL: TestFromLookup (0.00s)
fqdn_test.go:45: Unexpected error.
Expected: <nil>
Actual : fqdn.errFqdnNotFound
FAIL
FAIL github.com/Showmax/go-fqdn 0.007s
FAIL
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "go" arguments: ("test" "github.com/Showmax/go-fqdn") exit-status: 1 term-signal: #f stop-signal: #f>
phase `check' failed after 0.8 seconds
command "go" "test" "github.com/Showmax/go-fqdn" failed with status 1
Some deprecated features have been used. Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information. Set it to "no" to suppress
this message.
builder for `/gnu/store/i4v68lpc3bgyd2hcj0nz2rqxna5rjj0g-go-github-com-showmax-go-fqdn-1.0.0.drv' failed with exit code 1
build of /gnu/store/i4v68lpc3bgyd2hcj0nz2rqxna5rjj0g-go-github-com-showmax-go-fqdn-1.0.0.drv failed
View build log at '/var/log/guix/drvs/i4/v68lpc3bgyd2hcj0nz2rqxna5rjj0g-go-github-com-showmax-go-fqdn-1.0.0.drv.bz2'.
guix build: error: build of `/gnu/store/i4v68lpc3bgyd2hcj0nz2rqxna5rjj0g-go-github-com-showmax-go-fqdn-1.0.0.drv' failed
If I run the hostname outside the build environment I get my HOSTNAME. The package is build in a sandbox therefore the hostname returns localhost.
I can patch the package in the build process so that the test succeeds.
I'm just posting it here in case you'd have some other idea how to fix them :-)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I'm porting this package into GNU Guix. When I run the tests I get these 2 errors:
If I run the
hostname
outside the build environment I get my HOSTNAME. The package is build in a sandbox therefore thehostname
returnslocalhost
.I can patch the package in the build process so that the test succeeds.
I'm just posting it here in case you'd have some other idea how to fix them :-)
The text was updated successfully, but these errors were encountered: