is there any chance rpmbuild exits before reading %files file

Eran Ben Natan eranb at
Thu Jan 24 06:34:53 UTC 2013

Is it possible that you delete the file in the %build or %install? 
Can you post the %files section?
BTW, when I moved to rpmbuild 4.8.0 many of the issues I had with
rpmbuild solved. 

-----Original Message-----
From: rpm-list-bounces at
[mailto:rpm-list-bounces at] On Behalf Of Mark Galeck (CW)
Sent: Thursday, January 24, 2013 12:27 AM
To: rpm-list at
Subject: is there any chance rpmbuild exits before reading %files file


I am using rpmbuild command version on Linux, with the following

rpmbuild -bb --define <defines> --target ppc-linux --buildroot <full
path to a temp directory <spec file>

The rpmbuild command fails with this message

Could not open %files file <file in the %files section>: No such file or

I did carefully examine the situation and as far as I can tell, the file
in question, is present before rpmbuild starts executing.  After
rpmbuild exits, that file is immediately deleted.

Could it possibly happen, that somehow rpmbuild is executing "in the
background", as if, returning early, and then still reading the file in

Is there any chance of this happening?

Thank you,

Rpm-list mailing list
Rpm-list at

This mail was received via Mail-SeCure System.

More information about the Rpm-list mailing list