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

2010-12-08 Thread Caleb Maclennan
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.

Is this something that should be noted as a BR? If so does anybody
know what version of rpm-build-macros would have effected ${__sed}
recently?

Caleb
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


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

2010-12-08 Thread Elan Ruusamäe
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

-- 
glen
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


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

2010-12-08 Thread Caleb Maclennan
2010/12/8 Elan Ruusamäe g...@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)
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


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

2010-12-08 Thread Paweł Zuzelski
On Wed, 08 Dec 2010, Caleb Maclennan wrote:

 2010/12/8 Elan Ruusamäe g...@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:

Looks like %undos macro. It BRs rpmbuild(macros) = 1.566.

See CVS://PLD-doc/BuildRequires.txt for details.

-- 
Regards,
Paweł
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en