<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 11, 2010, at 1:06 PM, <a href="mailto:bclark@bwkip.com">bclark@bwkip.com</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><blockquote type="cite"><br></blockquote><blockquote type="cite">On Mar 10, 2010, at 3:27 PM, <a href="mailto:bclark@bwkip.com">bclark@bwkip.com</a> wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">I am getting this error:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">error: error creating temporary file ${prefix}/var/tmp/rpm-tmp.CsA3oo:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">No<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">such file or directory<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">error: Unable to open temp file<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">This error occurs after call to check-files.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">lines of executing (%PREP,%BUILD, %INSTALL) also have the ${prefix} but<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">it<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">has a prior / example) /${prefix}/var/tmp/rpm-tmp.t50rm1<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Not sure where $prefix is coming from<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">RPM Version: 4.8.0<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">command executed: rpmbuild -ba filename.spec<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">You most likely have ${prefix} somewhere in your spec file. can you provide a<br></blockquote><blockquote type="cite">paste with the contents of the spec file?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><a href="http://pastie.org/">http://pastie.org/</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote>Here is the paste of the spec file:<br><br>Summary: Man pages for man<br>Name: man-pages<br>Version: 3.23<br>Release: 1<br>License: GPL<br>Group: Documentation<br>Source: %name-%version.tar.bz2<br>BuildRoot: %name-%version-%release-build<br><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote><div><br></div>My BuildRoot is usually something like this:</div><div><br></div><div>BuildRoot: /var/tmp/%{name}-%{version}-%{release}-build</div><div><br></div><div>or I think this will work but I'm not certain how consistently, depending on distribution, %_tmppath is available</div><div><div><br></div><div>BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build</div><div><br></div><div>try this command and verify what you get:&nbsp;rpm -E '%{_tmppath}'</div></div><div><br></div><div><div>I suspect if you set your BuildRoot to something like that your problem will go away.</div><div><br></div><div>Todd</div></div></body></html>