De: "Mark Wielaard"
On Wed, 2017-10-11 at 20:36 +0200, nicolas.mailhot(a)laposte.net wrote:
> De: "Frank Ch. Eigler"
> > nicolas.mailhot wrote:
> >
> > > [...]
> > > extracting debug info from
> > > /builddir/build/BUILDROOT/golang-github-performancecopilot-speed-
> > > 2.0.0-1.el7.llt.x86_64/usr/bin/mmvdump
> > > *** ERROR: No build ID note found in
> > > /builddir/build/BUILDROOT/golang-github-performancecopilot-speed-
> > > 2.0.0-1.el7.llt.x86_64/usr/bin/mmvdump
> >
> > See
https://fedoraproject.org/wiki/PackagingDrafts/Go#Build_ID
>
> Thanks, I somewhat missed it in all the not-really current EL6-
> oriented stuff in this document
I CCed Jakub, who maintains the go package. He might have some update
to this. We did recently discuss adding the support directly to the go
linker, but I believe that isn't yet there.
The problem indeed is that the golang linker doesn't insert a
build-id
note in the executable. In theory this can also be worked around by
using %undefine _missing_build_ids_terminate_build in your spec file.
But the workaround in the wiki is better.
Please let me know if there are any other issues with debuginfo
packages for go programs that you cannot work around with the hints in
the wiki page.
Thanks for the proposal, I will indeed try to report issues rather than workarounding them
silently and forgetting about long-term fixing. Even if the best intentions tend to erode
around the 20th Go spec ;)
Regards,
--
Nicolas Mailhot