Hi - I am using pants on debian 11 machine and I g...
# development
h
Hi - I am using pants on debian 11 machine and I get this error while trying to compile/package a go project with
./pants package ::
Copy code
18:32:03.05 [ERROR] 1 Exception encountered:

  ProcessExecutionFailure: Process 'Link Go binary: ./bin' failed with exit code 1.
stdout:

stderr:
2022/08/24 18:32:03 link: unlinkable object (from package <http://golang.org/x/sys/unix|golang.org/x/sys/unix>) - compiler requires -p flag



Use `--no-process-cleanup` to preserve process chroots for inspection.
how do i add the "-p" flag it is asking for? I am using 2.12.0
f
Go 1.19 made a change to require a new option when build tools invoke it. Either downgrade Go or upgrade Pants to 2.13.0rc1.
👍 2