rpmbuild fails with missing build-id

Issues related to applications and software problems and general support
Post Reply
lberger
Posts: 1
Joined: 2021/05/18 12:37:04

rpmbuild fails with missing build-id

Post by lberger » 2021/05/19 08:08:57

With CENT OS 8, binaries with the system compiler contains a build-id:
https://access.redhat.com/documentation ... g-build-id

When building rpms with CENT OS 8, the build fails, if binaries are not containing the build-id. We want to build rpms, which contains binaries built with other compilers than the system compiler, which is not possible.
Trying to put “%global _missing_build_ids_terminate_build 0” or “%undefine _missing_build_ids_terminate_build” at the top of the spec file didn’t help.

How it is possible to disable the check for build-id when building rpms?

Post Reply