Skip to content

gomobile init error #6579

Closed
Closed
@igor-sirotin

Description

@igor-sirotin

Description

gomobile init fails during mobile builds.

/nix/store/i6wd00maj94ah6bsyasdd21dxircxsjs-gomobile-0-unstable-2024-12-13/src/golang.org/x/mobile/internal/importers/ast.go:39:2: cannot find package "golang.org/x/tools/go/packages" in any of:
        /nix/store/i04a1a6qgxhjw6c0ld2b3x1v815sbxjc-go-1.22.3/share/go/src/golang.org/x/tools/go/packages (from $GOROOT)
        /Users/igorsirotin/go/src/golang.org/x/tools/go/packages (from $GOPATH)
        /nix/store/i6wd00maj94ah6bsyasdd21dxircxsjs-gomobile-0-unstable-2024-12-13/src/golang.org/x/tools/go/packages
/nix/store/i6wd00maj94ah6bsyasdd21dxircxsjs-gomobile-0-unstable-2024-12-13/bin/gomobile: go install -v golang.org/x/mobile/cmd/gobind failed: exit status 1

How to reproduce

Run make statusgo-ios
Reproduces both locally and on CI hosts.

Why is the CI green then?

Because #6578

Metadata

Metadata

Assignees

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