* Zdenek Dohnal:

> On 3/21/25 10:53, Florian Weimer wrote:
>> A different way to do this would involve a dependency generator that
>> looks at “go version -m” output like this:
>>
>>      dep     golang.org/x/crypto     v0.32.0 
>>      dep     golang.org/x/exp        v0.0.0-20250103183323-7d7fa50e5329      
>>      dep     golang.org/x/mod        v0.22.0 
>>      dep     golang.org/x/net        v0.34.0 
>>      dep     golang.org/x/oauth2     v0.25.0 
>>      dep     golang.org/x/sync       v0.10.0 
>>      dep     golang.org/x/sys        v0.29.0 
>>      dep     golang.org/x/term       v0.28.0 
>>      dep     golang.org/x/text       v0.21.0 
>>      dep     golang.org/x/time       v0.9.0
>
> 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

-- 
_______________________________________________
golang mailing list -- golang@lists.fedoraproject.org
To unsubscribe send an email to golang-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/golang@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to