Bad exit status from /var/tmp/rpm-tmp.52497 (%build)

devzero2000 pinto.elia at gmail.com
Mon Feb 14 08:39:38 UTC 2011


On Fri, Feb 11, 2011 at 3:43 PM, fawad ali syed <dirshah at gmail.com> wrote:
> Hi All,
>          I do not know if this is the right way to post or not.

> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.52497
> + umask 022
> + cd /usr/src/packages/BUILD
> + cd /usr/src/packages/BUILD
> + rm -rf tasmportlets-1
> + /usr/bin/gzip -dc /usr/src/packages/SOURCES/tasmportlets-1.tar.gz
> + tar -xvvf -
> drwxr-xr-x 0/0               0 2011-02-09 18:59 tasmportlets-1/
> -rw-r--r-- 0/0            1476 2011-02-09 18:59 tasmportlets-1/LinuxProj.war
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd tasmportlets-1
> ++ /usr/bin/id -u
> + '[' 0 = 0 ']'
> + /bin/chown -Rhf root .
> ++ /usr/bin/id -u
> + '[' 0 = 0 ']'
> + /bin/chgrp -Rhf root .
> + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
> + exit 0
> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.52497
> + umask 022
> + cd /usr/src/packages/BUILD
> + /bin/rm -rf /tmp/tasmportlets-1-buildroot
> ++ dirname /tmp/tasmportlets-1-buildroot
> + /bin/mkdir -p /tmp
> + /bin/mkdir /tmp/tasmportlets-1-buildroot
> + cd tasmportlets-1
> + $'\r'
Looking to your spec and to the tmp.txt seems (apparently) that exist
some spurious char between %build and ./configure, because ./configure
isn't in tmp.txt (aka /var/tmp/rpm-tmp.52497). Is this possible ? I
have not found spurios char in the spec or in tmp.txt, perhaps
something in your env ? or Perhaps the directory contain $'\r' ?
Perhaps exists corner case in the build in this area
http://www.dwheeler.com/essays/fixing-unix-linux-filenames.html, but
dunno. Please report what you find.

Regards


More information about the Rpm-list mailing list