<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
I have created a spec file (see below) and when running rpmbuild -bb or
and -b flag it always terminates with the following error:<br>
<br>
rpmbuild -bp mbone.spec<br>
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.64764<br>
+ umask 022<br>
+ cd /usr/src/redhat/BUILD<br>
+ LANG=C<br>
+ export LANG<br>
+ unset DISPLAY<br>
<font color="#990000">+ $'\r'</font><br>
: command not found764: line 25:<br>
error: Bad exit status from /var/tmp/rpm-tmp.64764 (%prep)<br>
 <br>
 <br>
RPM build errors:<br>
    Bad exit status from /var/tmp/rpm-tmp.64764 (%prep)<br>
<br>
When opening up the file /var/tmp/rpm-tmp.64764 (using vim), I find <font
 color="#990000">^M</font> just after the "unset DISPLAY". Why? This
seemingly is where it is bombing.<br>
<br>
Here's a partial of my specfile:<br>
<br>
Name: mbone-tools<br>
Version: 5.0<br>
Release: 1<br>
Summary: VRVS Mbone tools for Linux<br>
Source: <a class="moz-txt-link-freetext"
 href="ftp://xxx.xxx.xxx.xxx:/pub/mbone/mbone-tools_5.0.tgz">ftp://xxx.xxx.xxx.xxx:/pub/mbone/mbone-tools_5.0.tgz</a><br>
License: GPL<br>
Group: X11/Applications/Networking<br>
BuildRoot: %{_tmppath}/%{name}-%{version}<br>
 <br>
%description<br>
A set of mbone tools.<br>
%prep<br>
%setup<br>
%install<br>
install<br>
 <br>
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.<br>
<br>
Any help would be greatly appreciated.<br>
Thanks,<br>
<pre class="moz-signature" cols="72">-- 
Dennis Lattka                                <a
 class="moz-txt-link-abbreviated" href="mailto:dlattka@caltech.edu">dlattka@caltech.edu</a>
Virtual Rooms Videconferencing Systems       <a
 class="moz-txt-link-freetext" href="http://www.vrvs.org">http://www.vrvs.org</a>
California Institute of Technology           <a
 class="moz-txt-link-freetext" href="http://www.caltech.edu">http://www.caltech.edu</a>
</pre>
</body>
</html>