----- Original Message -----
> From: "Robert-André Mauchin" <zebo...@gmail.com>
> To: devel@lists.fedoraproject.org
> Sent: Tuesday, July 17, 2018 2:52:05 PM
> Subject: Re: Mass rebuild, mass Golang packages failures
>
> On mardi 17 juillet 2018 14:34:49 CEST you wrote:
> > Hello,
> >
> >
> > Since the mass rebuild and maybe because of Golang 1.11 beta 1, all the
> > Golang package containing a binary fail because the debuginfo are not
> > generated:
> >
> > RPM build errors:
> > error: Empty %files file /builddir/build/BUILD/rclone-1.42/
> > debugsourcefiles.list
> > Empty %files file
> > /builddir/build/BUILD/rclone-1.42/debugsourcefiles.list Child return code
> > was: 1
> >
> > whereas it was working correctly before.
> >
> > Has anyone any idea what is causing this and how it can be fixed?
> >
> >
> > Best regards,
> >
> > Robert-André
>
> The problem seems to be caused by the compressing of debug info:
> https://github.com/golang/go/issues/11799
>
> Disabling the compression with -ldflags=-compressdwarf=false seems to solve
> the issue.
>
> I don't know if this should be made default in %gobuild or if we ned to find
> a
> way to extract compressed debuginfo.
>
For the record.
I have patched Golang to not output compressed DWARF information by default
until the underlying issue in the rpm/debuginfo is
resolved(https://bugzilla.redhat.com/show_bug.cgi?id=1602096). You can enable
it, if you wish to use it outside of RPM, by using the
-ldflags=-compressdwarf=true.
JC
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/EEF5P4JS5HE25ISRQWAVIYAVRAB4PTLJ/
>
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/NOVNHHLKC3V356MPVF5LSQVZN4GXL4D4/