Re: rpmbuild error

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

 



>
> On Mar 10, 2010, at 3:27 PM, bclark@xxxxxxxxx wrote:
>
>> I am getting this error:
>>
>> error: error creating temporary file ${prefix}/var/tmp/rpm-tmp.CsA3oo:
>> No
>> such file or directory
>> error: Unable to open temp file
>>
>> This error occurs after call to check-files.
>>
>> lines of executing (%PREP,%BUILD, %INSTALL) also have the ${prefix} but
>> it
>> has a prior / example) /${prefix}/var/tmp/rpm-tmp.t50rm1
>>
>> Not sure where $prefix is coming from
>>
>> RPM Version: 4.8.0
>>
>> command executed: rpmbuild -ba filename.spec
>>
>
>
> You most likely ${prefix} somewhere in your spec file. can you provide a
> paste with the contents of the spec file?
>
> http://pastie.org/
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxxxxx
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
Here is the paste of the spec file:

Summary: Man pages for man
Name: man-pages
Version: 3.23
Release: 1
License: GPL
Group: Documentation
Source: %name-%version.tar.bz2
BuildRoot: %name-%version-%release-build

%Description
The Man-pages package contains over 1,900 man pages.

%prep
%setup -q

%build

%install
make DESTDIR=%buildroot install

%clean
[ ${RPM_BUILD_ROOT} != "/" ] && rm -rf ${RPM_BUILD_ROOT}

%files
/usr/share/man/man1/*
/usr/share/man/man2/*
/usr/share/man/man3/*
/usr/share/man/man4/*
/usr/share/man/man5/*
/usr/share/man/man6/*
/usr/share/man/man7/*
/usr/share/man/man8/*


_______________________________________________
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