[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpmbuild -ba builds source but not binary RPM



Josh Miller wrote:
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?

  

Output from rpmbuild -ba command:

+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.93969
+ 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
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-static-archive
+ /usr/lib/rpm/brp-strip-comment-note
+ /etc/rpm/clean_perl
Checking for unpackaged file(s): /usr/lib/rpm/check-files /users/home/jm1/redhat/BUILD/openldap-2.4.7-build
Wrote: /users/home/jm1/redhat/SRPMS/openldap-2.4.7-centos5.src.rpm

real    44m0.500s
user    1m55.604s
sys     15m6.526s

So it's definitely building the source rpm here, but not the binary.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]