On 04/06/2011 03:56 PM, Walter Cazzola wrote:
uhm, this sounds really strange since it is complaining on a rm statement and I suppose you have rm in your system.
In my view two things could be wrong:
- I'm using tcsh as a shell and maybe something differ when you use bash
- did you install the rpmdevtools and prepared the rpmbuild directory?
1) Am using bash
2) yes
I think the problem is the Carriage Returns (control-M) - see below:
- $'\r'
It is trying to execute that as a shell command ... it makes no sense.
But I don't know where it comes from ... I think the "$" was supposed to go with the variable "RmSH" but I am not sure - instead it got attached to the carriage return and caused problems ... maybe :-)
...
- unset DISPLAY
- $'\r'
: command not foundRmSH: line 30: error: Bad exit status from /var/tmp/rpm-tmp.iDRmSH (%prep)
The last 4 lines of /var/tmp/rpm-tmp.iDRmSH contain (noe the Ctrl-M's) in last 2 lines:
export LANG unset DISPLAY ^M ^M