----- Original Message -----
> From: "Robert-André Mauchin" <zebo...@gmail.com>
> To: de...@lists.fedoraproject.org, jca...@redhat.com
> Cc: jchal...@redhat.com
> Sent: Tuesday, July 17, 2018 2:34:49 PM
> Subject: Mass rebuild, mass Golang packages failures
> 
> 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?

We have been just discussing this at fedora-devel IRC. It seems that it is most 
probably caused by compress debug information that Go1.11 is now generating and 
rpm/debuginfo not understanding them. Adding -compressdwarf=false to the 
ldflags should workaround this. I will add it in to the gobuild macros so all 
packages that use it will pick it up automatically. ETA tomorrow. 

Thanks to sgallagh, mjw and most notably eclipseo who narrowed that down to the 
debug info compression and came up with the workaround.

JC

> 
> 
> Best regards,
> 
> Robert-André
> 
> 
> 
_______________________________________________
golang mailing list -- golang@lists.fedoraproject.org
To unsubscribe send an email to golang-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/golang@lists.fedoraproject.org/message/SD5VRKOZZJC276PAUIFYB5VE2ZK2B7Q5/

Reply via email to