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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 11, 2011 at 3:43 PM, fawad ali syed <dirshah@xxxxxxxxx> 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
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list



[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux