Skip to content

yarn generate broken on M1 Macbooks (arm64), go 1.16.7 #5082

@jwhitlock

Description

@jwhitlock

Describe the bug

When running yarn generate:

✖ Update generic-worker README (Error: Nonzero exit status 2; 
...
# github.com/taskcluster/taskcluster/v44/workers/generic-worker
/usr/local/go/pkg/tool/darwin_arm64/link: /usr/local/go/pkg/tool/darwin_arm64/link: combining dwarf failed: unknown load command 0x80000034 (2147483700)
)
98% finished
Error: Nonzero exit status 2;  (while executing task Update generic-worker README)
...
# github.com/taskcluster/taskcluster/v44/workers/generic-worker
/usr/local/go/pkg/tool/darwin_arm64/link: /usr/local/go/pkg/tool/darwin_arm64/link: combining dwarf failed: unknown load command 0x80000034 (2147483700)

    at ChildProcess.<anonymous> (/Users/john/src/taskcluster/infrastructure/tooling/src/utils/command.js:62:16)
    at Object.onceWrapper (events.js:520:26)
    at ChildProcess.emit (events.js:400:28)
    at ChildProcess.emit (domain.js:470:12)
    at maybeClose (internal/child_process.js:1055:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Expected behavior

All yarn generate steps complete.

Taskcluster version
Current main branch, v44.4.0. Current go version is go1.16.7.

**Platform **

  • OS: macOS Monterey 12.1

Additional context
This issue suggests that this issue is fixed in go 1.17.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions