Re: Mass rebuild, mass Golang packages failures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message -----
> From: "Robert-André Mauchin" <zebob.m@xxxxxxxxx>
> To: devel@xxxxxxxxxxxxxxxxxxxxxxx, jcajka@xxxxxxxxxx
> Cc: jchaloup@xxxxxxxxxx
> 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é
> 
> 
> 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx/message/SD5VRKOZZJC276PAUIFYB5VE2ZK2B7Q5/




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux