[Rpm-maint] [rpm-software-management/rpm] error: Missing build-id in /builddir/build/BUILDROOT/... (#177)
Mark Wielaard
mjw at redhat.com
Wed Mar 15 19:50:41 UTC 2017
On Wed, 2017-03-15 at 10:10 -0700, John Dulaney wrote:
> When scratch building a source rpm (0) in koji (1), I receive the following error in the build log:
>
> error: Missing build-id in /builddir/build/BUILDROOT/guile-2.1.8-1.fc27.x86_64/usr/lib64/guile/2.2/ccache/language/elisp/spec.go
> error: Missing build-id in /builddir/build/BUILDROOT/guile-2.1.8-1.fc27.x86_64/usr/lib64/guile/2.2/ccache/language/elisp/falias.go
> error: Missing build-id in /builddir/build/BUILDROOT/guile-2.1.8-1.fc27.x86_64/usr/lib64/guile/2.2/ccache/language/elisp/runtime/function-slot.go
>
> I will attempt to reproduce by rebuilding the same srpm (2).
>
> (0) https://st.jdulaney.com/guile-2.1.8-1.fc25.src.rpm
> (1) https://kojipkgs.fedoraproject.org//work/tasks/1877/18391877/build.log
> (2) https://koji.fedoraproject.org/koji/taskinfo?taskID=18400786
Thanks for the report.
I couldn't replicate this with the current fedora guile-2.0.14-1
package. There the .go files are not actual ELF files. So rpm will not
complain about them not having a build-id. If that has changed in with
guile 2.1.8 and the .go files are ELF binaries now and it is intended
that they don't have a build-id then you could work around it by
undefining %_missing_build_ids_terminate_build.
I'll try with the src.rpm you provided.
More information about the Rpm-maint
mailing list