----- Original Message -----
From: "Robert-André Mauchin" zebob.m@gmail.com To: devel@lists.fedoraproject.org, jcajka@redhat.com Cc: jchaloup@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é