Build fails on FreeBSD #38

Closed
opened 2024-04-03 09:00:43 +00:00 by tmb · 1 comment
Contributor

When trying to build current versions of act on FreeBSD, it fails with the following error:

$  gmake build
go build -ldflags "-X main.version=1.21.0" -o dist/local/act main.go
# github.com/nektos/act/pkg/runner
pkg/runner/run_context.go:573:58: too many arguments in call to container.NewDockerNetworkCreateExecutor
        have (string, *"github.com/docker/docker/api/types".NetworkCreate)
        want (string)
gmake: *** [Makefile:26: build] Error 1

As far as I can tell, this happens since #24. Version 1.16.0 (used by Forgejo Runner v3.2.0) works without issues.

When trying to build current versions of `act` on FreeBSD, it fails with the following error: $ gmake build go build -ldflags "-X main.version=1.21.0" -o dist/local/act main.go # github.com/nektos/act/pkg/runner pkg/runner/run_context.go:573:58: too many arguments in call to container.NewDockerNetworkCreateExecutor have (string, *"github.com/docker/docker/api/types".NetworkCreate) want (string) gmake: *** [Makefile:26: build] Error 1 As far as I can tell, this happens since #24. Version 1.16.0 (used by Forgejo Runner v3.2.0) works without issues.
Author
Contributor

Fixed by #39. So building should work again with versions after 1.21.0.

Fixed by #39. So building should work again with versions after 1.21.0.
tmb closed this issue 2024-04-06 19:08:42 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: forgejo/act#38
No description provided.