I wonder if this error has been already known or reported, in the following conditions, rpmbuild does not work well.

CentOS Linux release 7.0.1406 (Core)
kernel 3.10.0-123.20.1.el7.x86_64

After the following operation,
$rpmbuild -tb --clean apr-1.5.1.tar.bz2

|'cp: missing destination file operand after....'
message appears and rpmbuilding stops.

At this point, in apr.spec file, I correct the line showing
'%doc --parents html' to '%doc html'. And also copy the source
to /SOURCES. After this,

$rpmbuild -bb --clean SPECS/apr.spec

By this operations, I received the correct apr-1.5.1-1.x86_64.rpm.

reference:
http://www.kakiro-web.com/linux/apache-install.html
(in Japanese, sorry)

PS:
I encountered the same error in rpmbuilding apr-util-1.5.4.tar.bz2
in the same conditions.
|



Reply via email to