rpmbuild -ba builds source but not binary RPM
Jos Vos wrote:
I have an issue where I build an RPM using 'rpmbuild -ba <spec file>'
and it builds the packages and writes a source RPM, but there are no
binaries written out and no errors. Any idea what would cause this? I
also tried with rpmbuild -bb with no luck.
No %files section?
Can you post the output of the "rpmbuild -ba" command?
I definitely* have quite a few files defined in the %files section(s).
As far as the output from rpmbuild -ba goes, the output is very
extensive, and it takes about 40 mins to run on my build host.* I just
ran an rpmbuild -bb with the following results (only last screen full
make: Leaving directory
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.34630
+ umask 022
+ cd /users/home/jm1/redhat/BUILD
+ cd openldap-2.4.7
+ rm -Rf /users/home/jm1/redhat/BUILD/openldap-2.4.7-build
+ mkdir -p /users/home/jm1/redhat/BUILD/openldap-2.4.7-build
Checking for unpackaged file(s): /usr/lib/rpm/check-files
So it looks like it exits just after checking for unpackaged files.*
Also, the tmp file (/var/tmp/rpm-tmp.34630) is missing, so I would
expect that it finished without errors.
I dont have anything too far from stock in my .rpmmacros or anything,
just the following:
*** %_topdir******* /users/home/jm1/redhat
Rpm-list mailing list