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.

_______________________________________________
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/

Reply via email to