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

Solution Unverified - Updated -


  • 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.


  • 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content