Mailinglist Archive: opensuse-packaging (218 mails)
| < Previous | Next > |
Re: [opensuse-packaging] lch color selector build failure
- From: "Dominique Leuenberger" <Dominique.Leuenberger@xxxxxxxxxxxxx>
- Date: Fri, 04 Dec 2009 09:31:44 +0100
- Message-id: <4B18D70002000029000856B5@xxxxxxxxxxxxxxxxxxx>
HelloOn 12/4/2009 at 6:17, <doiggl@xxxxxxxxxxxxxxxxxx> wrote:
I am trying to build this module (L*C*h color selector) and it failed.
What do I need altering in the spec file so it will build ?
The last attempted build looked like this:
+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'jobs 4'
--define 'disturl
obs://build.opensuse.org/home:doiggl/openSUSE_11.2/711d856b74bf5958bbb005f78
76be34d-gimp-lch-selector'
/usr/src/packages/SOURCES/gimp-lch-selector.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fEh2ze
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf gimp-lch-selector-0.3
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/gimp-lch-selector-0.3.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd gimp-lch-selector-0.3
/var/tmp/rpm-tmp.fEh2ze: line 29: cd: gimp-lch-selector-0.3: No such file
or directory
error: Bad exit status from /var/tmp/rpm-tmp.fEh2ze (%prep)
%setup assumes that tar xf <you source file> will create the folder
%{name}-%{version}, which apparently is not what is packaged inside your tarball
(this can happen).
You have two choices:
use %setup -n <the real folder name>
or repackage the tarball with the folder name adjusted. (first option is
obviously easier).
Hope this helps you get on track here,
Dominique
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |