Linux Archive

Linux Archive (
-   Fedora Packaging (
-   -   find: /var/tmp/pcore-0.1-Beta-root: No such file or directory (

Kamal Ahmed 04-13-2012 01:49 PM

find: /var/tmp/pcore-0.1-Beta-root: No such file or directory

I am using the following spec file

Summary: pcore binary
Name: pcore
Version: 0.1
Release: Beta
Epoch: 0
License: Commercial
Group: Applications/Telecommunications
Packager: Kamal Ahmed <>
Source: pcore-0.1.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root


%setup -qn pcore


mkdir -p %{name}
mkdir -p %{_bindir}
install -d %{name}


%doc NEWS

But when running rpmbuild -dd pcore.spec , i get error:

Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.32035
+ umask 022
+ cd /home/kahmed/rpmbuild/BUILD
+ cd pcore
+ export LANG
+ mkdir -p pcore
+ mkdir -p /usr/bin
+ install -d pcore
+ /usr/lib/rpm/ /home/kahmed/rpmbuild/BUILD/pcore
find: /var/tmp/pcore-0.1-Beta-root: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.32035 (%install)

Now from what i understand the "BUILD" Happens in a TEMP area, or any place that the user has permissions to create directories and files.
What i am trying to do is to copy the binary executables, when get created as a result of make to /usr/bin
( so i think that this /usr/bin would also be in the temp area and not on the actual /usr/bin) right ?

packaging mailing list

All times are GMT. The time now is 01:25 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.