You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Graham Leggett <mi...@sharp.fm> on 2015/03/04 18:46:43 UTC
Re: centos7 apr-1.5.1 rpmbuild fail
On 16 Feb 2015, at 3:20 AM, 河本和彦 <kohmoto@iris.eonet.ne.jp <ma...@iris.eonet.ne.jp>> wrote:
> 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 <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.
Just tripped over the same error, and have updated the spec file to remove the —parents flag. APR builds clean on both CentOS6 and CentOS7.
Regards,
Graham
—