[opensuse-packaging] lch color selector build failure
Hello 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/711d856b74bf5958bbb005f7876be34d-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) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.fEh2ze (%prep) mount: / is busy System halted. Question: What items need fixing in the spec file ? spec file ->https://build.opensuse.org/package/view_file?file=gimp-lch-selector.spec&package=gimp-lch-selector&project=home%3Adoiggl project -> https://build.opensuse.org/package/show?package=gimp-lch-selector&project=home%3Adoiggl Last log -> https://build.opensuse.org/package/live_build_log?arch=x86_64&package=gimp-lch-selector&project=home%3Adoiggl&repository=openSUSE_11.2 Thanks Glenn -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Fri, 04 Dec 2009 05:17:31 +0000 <doiggl@velocitynet.com.au> wrote:
Hello 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/711d856b74bf5958bbb005f7876be34d-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)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.fEh2ze (%prep) mount: / is busy System halted.
Question: What items need fixing in the spec file ?
project -> https://build.opensuse.org/package/show?package=gimp-lch-selector&project=home%3Adoiggl
Thanks Glenn Hi Because when the tar.gz extracts to the build folder it's called %{name} not %{name}-%{version}
-- Cheers Malcolm °¿° (Linux Counter #276890) SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.39-0.3-default up 1 day 8:22, 2 users, load average: 0.03, 0.18, 0.19 GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 12/4/2009 at 6:17, <doiggl@velocitynet.com.au> wrote: Hello 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@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
doiggl@velocitynet.com.au
-
Dominique Leuenberger
-
Malcolm