FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 04-13-2012, 01:49 PM
Kamal Ahmed
 
Default 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
 

Thread Tools




All times are GMT. The time now is 09:34 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org