10000 Build error on Ubuntu 22.04: " expected 'package', found 'EOF'" · Issue #290 · abenz1267/walker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Build error on Ubuntu 22.04: " expected 'package', found 'EOF'" #290
Closed
@clemencyworld1

Description

@clemencyworld1

I got the above error for multiple dependencies while building walker. Am using the latest version of go from the release website go1.24.2 linux/amd64. I also tried the version from the package manager but the same error.

Below is the output i got:
"clemency@localhost:/tmp/walker/cmd$ go build -x -o walker
WORK=/tmp/go-build3781610279
/home/clemency/go/pkg/mod/golang.org/x/image@v0.23.0/bmp/reader.go:1:1: expected 'package', found 'EOF'
/home/clemency/go/pkg/mod/golang.org/x/text@v0.21.0/encoding/encoding.go:1:1: expected 'package', found 'EOF'
/home/clemency/go/pkg/mod/golang.org/x/text@v0.21.0/encoding/charmap/charmap.go:1:1: expected 'package', found 'EOF'
/home/clemency/go/pkg/mod/golang.org/x/text@v0.21.0/encoding/htmlindex/gen.go:1:1: expected 'package', found 'EOF'
/home/clemency/go/pkg/mod/golang.org/x/text@v0.21.0/transform/examples_test.go:1:1: expected 'package', found 'EOF'"

I manually checked and the files are there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0