Seeing "Missing build-id" errors when building for CentOS #312
Open
Description
If I try to build for CentOS 8 (8.5 on x86_64 in my case), I get the following spew:
make REF=v1.6.8 CONTAINERD_DIR=../containerd docker.io/library/centos:8
...
#26 125.8 error: Missing build-id in /root/rpmbuild/BUILDROOT/containerd.io-1.6.8-3.1.el8.x86_64/usr/bin/containerd-shim
#26 125.8 error: Missing build-id in /root/rpmbuild/BUILDROOT/containerd.io-1.6.8-3.1.el8.x86_64/usr/bin/containerd-shim-runc-v1
#26 125.8 error: Missing build-id in /root/rpmbuild/BUILDROOT/containerd.io-1.6.8-3.1.el8.x86_64/usr/bin/containerd-shim-runc-v2
#26 125.8 error: Generating build-id links failed
#26 125.8 Missing build-id in /root/rpmbuild/BUILDROOT/containerd.io-1.6.8-3.1.el8.x86_64/usr/bin/containerd-shim
#26 125.8 Missing build-id in /root/rpmbuild/BUILDROOT/containerd.io-1.6.8-3.1.el8.x86_64/usr/bin/containerd-shim-runc-v1
#26 125.8 Missing build-id in /root/rpmbuild/BUILDROOT/containerd.io-1.6.8-3.1.el8.x86_64/usr/bin/containerd-shim-runc-v2
#26 125.8 Generating build-id links failed
#26 125.8
#26 125.8
#26 125.8 RPM build errors:
------
executor failed running [/bin/sh -c /root/build-rpm]: exit code: 1
make[1]: *** [Makefile:94: build] Error 1
make[1]: Leaving directory '/home/pprindeville/containerd-packaging'
make: *** [Makefile:72: docker.io/library/centos:8] Error 2