Hallo,
ich habe ein kleines Problem und ich finde einfach keine Lösung.
Ich habe verschiedene Dateie in eine .tar.gz zusammengepackt und wollte nun eine RPM erstellen.
Eine Spec habe ich geschrieben und wollte nun das ganze durch
rpm -ba erstellen.
Ich bekomme eine Fehlermeldung bereits bei der Erstellung von %prep
und zwar:
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6643
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf StorMan-1.1
+ /bin/gzip -dc /usr/src/packages/SOURCES/StorMan-1.1.tar.gz
+ tar -xvvf -
-rwxr--r-- root/root 152270 2005-12-12 11:48:49 Storman.h
-rwxr-xr-x root/root 3420907 2005-12-12 11:50:51 libpegcommon.so
-rwxr-xr-x root/root 2285143 2005-12-12 11:51:00 libsmctrl.so
-rwxr-xr-x root/root 3915974 2005-12-12 11:51:10 libsmprovider.so
-rwxr-xr-x root/root 5553979 2005-12-12 11:51:21 libsmsoapserver.so
-rwxr--r-- root/root 856 2005-12-12 11:48:18 smserver.ini
-rwxr-xr-x root/root 1261252 2005-12-12 11:47:50 stormancli
-rwxr-xr-x root/root 417125 2005-12-12 11:49:53 libpegclient.so
-rwxr-xr-x root/root 6223997 2005-12-12 11:50:05 libsmcommon.so
-rwxr-xr-x root/root 6971244 2005-12-12 11:50:14 libsmdata.so
-rwxr-xr-x root/root 4270993 2005-12-12 11:50:31 libsmsoapclient.so
-rwxr-xr-x root/root 1697196 2005-12-12 11:50:38 libstorman.so
-rwxr-xr-x root/root 2495953 2005-12-12 11:47:41 storman
-rwxr-xr-x root/root 2979570 2005-12-12 11:47:56 stormanserv
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd StorMan-1.1
/var/tmp/rpm-tmp.6643: line 27: cd: StorMan-1.1: No such file or directory
Bad exit status from /var/tmp/rpm-tmp.6643 (%prep)
Ich verstehe einfach nicht warum der Befehl "cd StorMan-1.1" aufgerufen wird, bzw. in welchen Verzeichnis dieser Aufruf, bzw. warum es nicht erstellt wird.
Hier der Auszug der Spec:
Summary: StorMan Package
Name: StorMan
Version: 1.1
Release: 1
License: GPL
Group: Applications/System
Source: StorMan-1.1.tar.gz
%description
Das ist die Installationstestdatei!
%prep
%setup
%build
./configure
Bitte, bitte helft mir, ich bin schon am durchdrehen ;-)
Danke
Happygod
ich habe ein kleines Problem und ich finde einfach keine Lösung.
Ich habe verschiedene Dateie in eine .tar.gz zusammengepackt und wollte nun eine RPM erstellen.
Eine Spec habe ich geschrieben und wollte nun das ganze durch
rpm -ba erstellen.
Ich bekomme eine Fehlermeldung bereits bei der Erstellung von %prep
und zwar:
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6643
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf StorMan-1.1
+ /bin/gzip -dc /usr/src/packages/SOURCES/StorMan-1.1.tar.gz
+ tar -xvvf -
-rwxr--r-- root/root 152270 2005-12-12 11:48:49 Storman.h
-rwxr-xr-x root/root 3420907 2005-12-12 11:50:51 libpegcommon.so
-rwxr-xr-x root/root 2285143 2005-12-12 11:51:00 libsmctrl.so
-rwxr-xr-x root/root 3915974 2005-12-12 11:51:10 libsmprovider.so
-rwxr-xr-x root/root 5553979 2005-12-12 11:51:21 libsmsoapserver.so
-rwxr--r-- root/root 856 2005-12-12 11:48:18 smserver.ini
-rwxr-xr-x root/root 1261252 2005-12-12 11:47:50 stormancli
-rwxr-xr-x root/root 417125 2005-12-12 11:49:53 libpegclient.so
-rwxr-xr-x root/root 6223997 2005-12-12 11:50:05 libsmcommon.so
-rwxr-xr-x root/root 6971244 2005-12-12 11:50:14 libsmdata.so
-rwxr-xr-x root/root 4270993 2005-12-12 11:50:31 libsmsoapclient.so
-rwxr-xr-x root/root 1697196 2005-12-12 11:50:38 libstorman.so
-rwxr-xr-x root/root 2495953 2005-12-12 11:47:41 storman
-rwxr-xr-x root/root 2979570 2005-12-12 11:47:56 stormanserv
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd StorMan-1.1
/var/tmp/rpm-tmp.6643: line 27: cd: StorMan-1.1: No such file or directory
Bad exit status from /var/tmp/rpm-tmp.6643 (%prep)
Ich verstehe einfach nicht warum der Befehl "cd StorMan-1.1" aufgerufen wird, bzw. in welchen Verzeichnis dieser Aufruf, bzw. warum es nicht erstellt wird.
Hier der Auszug der Spec:
Summary: StorMan Package
Name: StorMan
Version: 1.1
Release: 1
License: GPL
Group: Applications/System
Source: StorMan-1.1.tar.gz
%description
Das ist die Installationstestdatei!
%prep
%setup
%build
./configure
Bitte, bitte helft mir, ich bin schon am durchdrehen ;-)
Danke
Happygod