[Rpm-maint] [rpm-software-management/rpm] Missing build id, Generating build-id links failed (#367)
Mark Wielaard
mark at klomp.org
Thu Dec 7 23:35:44 UTC 2017
Hi Eli,
On Thu, Dec 07, 2017 at 03:20:01PM -0800, Eli Uriegas wrote:
> ```
> error: Missing build-id in /root/rpmbuild/BUILDROOT/docker-ce-17.12.0.ce-0.1.rc1.fc27.x86_64/usr/bin/docker-containerd-shim
> error: Generating build-id links failed
> Missing build-id in /root/rpmbuild/BUILDROOT/docker-ce-17.12.0.ce-0.1.rc1.fc27.x86_64/usr/bin/docker-containerd-shim
> Generating build-id links failed
> ```
That probably means the compiler/linker of that binary didn't generate a proper
build-id for that binary. The golang toolchain didn't in the past.
> I believe it may have something to do with this commit: https://github.com/rpm-software-management/rpm/commit/5e82c7e8a8fc05195cdf622d0a120b9e70a9371b
Why do you believe that? That commit should only fix issues for noarch packages.
Real binaries must have build-ids.
At least the Fedora go toolchain should be able to generate proper build-ids these days.
If not, see these (old) notes:
https://fedoraproject.org/wiki/PackagingDrafts/Go#Build_ID
Cheers,
Mark
More information about the Rpm-maint
mailing list