RPMBUILD ^M in tmp output file

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

 



I have created a spec file (see below) and when running rpmbuild -bb or and -b flag it always terminates with the following error:

rpmbuild -bp mbone.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.64764
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ $'\r'
: command not found764: line 25:
error: Bad exit status from /var/tmp/rpm-tmp.64764 (%prep)
 
 
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.64764 (%prep)

When opening up the file /var/tmp/rpm-tmp.64764 (using vim), I find ^M just after the "unset DISPLAY". Why? This seemingly is where it is bombing.

Here's a partial of my specfile:

Name: mbone-tools
Version: 5.0
Release: 1
Summary: VRVS Mbone tools for Linux
Source: ftp://xxx.xxx.xxx.xxx:/pub/mbone/mbone-tools_5.0.tgz
License: GPL
Group: X11/Applications/Networking
BuildRoot: %{_tmppath}/%{name}-%{version}
 
%description
A set of mbone tools.
%prep
%setup
%install
install
 
Yes, I don't have a %build section. I have binaries that I don't want built on the system and created my own Makefile that will just install the  binaries in their proper place. Either way it gets stuck far before that.

Any help would be greatly appreciated.
Thanks,
-- 
Dennis Lattka                         	     dlattka@xxxxxxxxxxx
Virtual Rooms Videconferencing Systems       http://www.vrvs.org
California Institute of Technology           http://www.caltech.edu

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux