packages (DEVEL): roundcubemail/roundcubemail.spec - include release on tri...

Caleb Maclennan caleb at pld-linux.org
Wed Dec 8 21:51:15 CET 2010


2010/12/8 Elan Ruusamäe <glen at pld-linux.org>:
> On 08/12/10 21:12, Caleb Maclennan wrote:
>> I noticed while doing some testing of the roundcube beta package that
>> it will not build using older rpm-build-macros. Specifically I had a
>> machine with 561 that died trying to run the first %sed macro, after
>> upgrading to 596 it builds fine.
>
> you need to show the error itself, the magic numbers say absolutely nothing

I was afraid you were going to ask that and I was doing to have to
downgrade everything to try it again. I got lucky and found the old
build in my screen logs. Here is the important bit:

+ /bin/sed -i -e s,\r$,, -f php,inc,js,css
/bin/sed: couldn't open file php,inc,js,css: No such file or directory

And to close here is the whole thing just in case it's helpful:

$ builder roundcubemail
builder: Sticky tag DEVEL active. Use -r TAGNAME to override.
P roundcubemail/roundcubemail.spec
# $Revision: 1.107.2.2 $, $Date: 2010/12/08 14:21:13 $

No conditional flags passed

from available:
--with   :       password_anon_ldap_bind postfixadmin spamfilter
--without:

Available branches: DEVEL AC-branch
roundcubemail-0.5-beta.tar.gz having proper md5sum already exists
rcpfa-105.tgz having proper md5sum already exists
Building target platforms: noarch-pld-linux-gnu
Executing(%prep):  env -i
PATH=/bin:/usr/bin:/usr/sbin:/sbin:/usr/X11R6/bin
HOME=/home/users/caleb TMPDIR=/home/users/caleb/tmp  /bin/sh -e
/home/users/caleb/tmp/rpm-tmp.23317
+ umask 022
+ cd /home/users/caleb/rpm/BUILD
+ cd /home/users/caleb/rpm/BUILD
+ rm -rf roundcubemail-0.5-beta
+ tar -xf -
+ /bin/gzip -dc
/home/users/caleb/rpm/packages/roundcubemail/roundcubemail-0.5-beta.tar.gz
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd roundcubemail-0.5-beta
+ /bin/id -u
+ [ 502 = 0 ]
+ true .
+ /bin/chmod -Rf -Rf a+rX,u+w,g-w,o-w .
+ echo Patch #0 (roundcubemail-config.patch):
Patch #0 (roundcubemail-config.patch):
+ patch -p1 -s
+ < /home/users/caleb/rpm/packages/roundcubemail/roundcubemail-config.patch
+ echo Patch #5 (use-iconv.patch):
Patch #5 (use-iconv.patch):
+ patch -p1 -s
+ < /home/users/caleb/rpm/packages/roundcubemail/use-iconv.patch
+ xargs -r rm -rf
+ find -name .svn
+ /bin/sed -i -e s,\r$,, -f php,inc,js,css
/bin/sed: couldn't open file php,inc,js,css: No such file or directory
error: Bad exit status from /home/users/caleb/tmp/rpm-tmp.23317 (%prep)


RPM build errors:
    Bad exit status from /home/users/caleb/tmp/rpm-tmp.23317 (%prep)
Error: package build failed. (no more info)


More information about the pld-devel-en mailing list