Skip to content

Build fails on Windows 10 21H2 with Go 1.25.0 #390

@haja-fgabriel

Description

@haja-fgabriel

After cloning the repo and typing go install, I come at this error:

go: downloading sigs.k8s.io/yaml v1.3.0
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
# github.com/benchkram/bob/pkg/ctl
pkg\ctl\signals.go:10:28: undefined: syscall.SIGSTOP

C:\workspace\bob>go install
# github.com/benchkram/bob/pkg/ctl
pkg\ctl\signals.go:10:28: undefined: syscall.SIGSTOP

I found that the only place the ctl.Stop constaint is used is in bobrun/compose.go

			case ctl.Stop:
				err = ctler.Down(ctx)
				if err != nil {
					rc.EmitError(err)
				} else {
					rc.EmitStopped()
				}

I propose opening a pull request doing a workaround for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions