Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Packaging (http://www.linux-archive.org/fedora-packaging/)
-   -   find: /var/tmp/pcore-0.1-Beta-root: No such file or directory (http://www.linux-archive.org/fedora-packaging/655637-find-var-tmp-pcore-0-1-beta-root-no-such-file-directory.html)

Kamal Ahmed 04-13-2012 01:49 PM

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

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 <kamal.ahmed@unleashbts.com>
URL: http://pcore.bts.md/
Source: pcore-0.1.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
ElementalCORE

%prep
%setup -qn pcore

%build
%{__make}

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

%clean

%files
%defattr(-,root,root)
%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
+ LANG=C
+ export LANG
+
unset DISPLAY
+ mkdir -p pcore
+ mkdir -p /usr/bin
+ install -d pcore
+ /usr/lib/rpm/find-debuginfo.sh /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
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging


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.