Why does rpmbuild fail to build an rpm with an error "Unable to create immutable header region." ?

Solution Unverified - Updated -

Issue

  • Unable to create a package with a large number of files 100K+
 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/test/rpmbuild/BUILDROOT/test-anaconda-4.3.0-2.el7.x86_64
Wrote: /home/test/rpmbuild/SRPMS/test-anaconda-4.3.0-2.el7.src.rpm
error: Unable to create immutable header region.

RPM build errors:
    Unable to create immutable header region.

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6
  • rpm-build

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.