On 3/26/25 16:10, Florian Weimer wrote:
How did you get such output from 'go version -m'? Or is it a theoretical output? Because if I call this on my ipp-usb binary, I get this output:
$ go version -m /usr/sbin/ipp-usb /usr/sbin/ipp-usb: go1.23.7 path github.com/OpenPrinting/ipp-usb build -buildmode=pie build -compiler=gc build -ldflags=" -X
I was quoting from /usr/bin/podman output, I think, so it's not made up:
$ go version -m /usr/bin/podman |& head -n 5 /usr/bin/podman: go1.24.1 path github.com/containers/podman/v5/cmd/podman mod github.com/containers/podman/v5 (devel) dep dario.cat/mergo v1.0.1 dep github.com/BurntSushi/toml v1.4.0
I don't know what's different about your build, sorry.
Thanks, Florian
FTR it is because podman uses vendor/modules.txt which is used by script Alejandro sent in the other email.
ipp-usb does not use the file, dependencies are generated from go.mod file, and 'go version -m' does not show such deps.
Zdenek