[pkg-go] Bug#907263: Bug#907263: Bug#907263: dh-golang: Failed to build with gccgo-8

Michael Hudson-Doyle michael.hudson at canonical.com
Sun Aug 26 23:03:57 BST 2018


It's available in go list as well, e.g.

$ go list -f '{{if not .Standard}}{{ .ImportPath }}{{end}}'
github.com/snapcore/snapd/snap bytes
github.com/snapcore/snapd/snap
$

Cheers,
mwh

On Mon, 27 Aug 2018 at 03:33, Michael Stapelberg <stapelberg at debian.org>
wrote:

> There is a way, dh-make-golang does it:
> https://github.com/Debian/dh-make-golang/blob/f0afc0f7169eb4f261449d8c4bd6fc7950583617/make.go#L177-L192
>
> On Sun, Aug 26, 2018 at 12:34 PM, Shengjing Zhu <i at zhsj.me> wrote:
>
>> On Sun, Aug 26, 2018 at 5:44 PM Michael Hudson-Doyle
>> <michael.hudson at canonical.com> wrote:
>> >
>> > I've forgotten everything about this code even though I wrote it, but
>> wouldn't it be better to filter out the standard library dependencies?
>> >
>>
>> For golang-go, currently it uses std library to producing the
>> Built-Using for golang-go compiler. For gccgo, there's no such need
>> because it will depends libgo.
>> So for gccgo, it's true that we can filter out the std library. But I
>> doubt if there's clean way...
>>
>> --
>> Best regards,
>> Shengjing Zhu
>>
>> _______________________________________________
>> Pkg-go-maintainers mailing list
>> Pkg-go-maintainers at alioth-lists.debian.net
>>
>> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers
>
>
>
>
> --
> Best regards,
> Michael
> _______________________________________________
> Pkg-go-maintainers mailing list
> Pkg-go-maintainers at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20180827/90232972/attachment-0001.html>


More information about the Pkg-go-maintainers mailing list