[opensuse-buildservice] Problem with xz compressed debs on ubuntu 10.10
Hi, I have a problem building a package for ubuntu 10.10 it needs libkdepim5-dev which seems to be compressed with xz, on setting up the vm it fails with error message below: installing gzip installing insserv installing install-info installing libakonadi-kabc4 dpkg-deb (subprocess): unable to execute data (xz): No such file or directory dpkg-deb: subprocess <decompress> returned error exit status 2 dpkg: error processing .init_b_cache/libakonadi-kabc4.deb (--install): subprocess dpkg-deb --fsys-tarfile returned error exit status 2 Errors were encountered while processing: .init_b_cache/libakonadi-kabc4.deb exit ... [ 78.273746] System halted. On irc it was suggested to add xz to build-depends. I added xz-utils but that does not help as the packages that need it for installing are installed earlier than xz-utils and so it fails. Any hints? Can this be added to the preinstalled packages? Project home:geflei, plasmoid-eventlist Debian 6.0 and ubuntu 10.04 build fine, btw. Thanks, Gerd -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Sonntag, 20. Februar 2011, 12:15:41 schrieb Gerd Fleischer:
Hi,
I have a problem building a package for ubuntu 10.10
it needs libkdepim5-dev which seems to be compressed with xz, on setting up the vm it fails with error message below:
installing gzip installing insserv installing install-info installing libakonadi-kabc4 dpkg-deb (subprocess): unable to execute data (xz): No such file or directory dpkg-deb: subprocess <decompress> returned error exit status 2 dpkg: error processing .init_b_cache/libakonadi-kabc4.deb (--install): subprocess dpkg-deb --fsys-tarfile returned error exit status 2 Errors were encountered while processing: .init_b_cache/libakonadi-kabc4.deb exit ... [ 78.273746] System halted.
On irc it was suggested to add xz to build-depends. I added xz-utils but that does not help as the packages that need it for installing are installed earlier than xz-utils and so it fails.
Any hints? Can this be added to the preinstalled packages?
Project home:geflei, plasmoid-eventlist Debian 6.0 and ubuntu 10.04 build fine, btw.
Please try to debug this yourself via a local build via "osc build". It may be caused due to some missing dependency in the packages or because we ignore some dependency, which we should not. However, it is the same dpkg binary as on debian itself, so it should behave in the same way. -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sun, Feb 20, 2011 at 12:15:41PM +0100, Gerd Fleischer wrote:
I have a problem building a package for ubuntu 10.10
it needs libkdepim5-dev which seems to be compressed with xz, on setting up the vm it fails with error message below:
If you see "installing..." messages the vm is already set up and running.
installing???gzip installing???insserv installing???install-info installing???libakonadi-kabc4 dpkg-deb???(subprocess):???unable???to???execute???data???(xz):???No???such???file???or???directory dpkg-deb:???subprocess???<decompress>???returned???error???exit???status???2 dpkg:???error???processing???.init_b_cache/libakonadi-kabc4.deb???(--install): ???subprocess???dpkg-deb???--fsys-tarfile???returned???error???exit???status???2 Errors???were???encountered???while???processing: ???.init_b_cache/libakonadi-kabc4.deb exit???... [?????????78.273746]???System???halted.
On irc it was suggested to add xz to build-depends. I added xz-utils but that does not help as the packages that need it for installing are installed earlier than xz-utils and so it fails.
Any hints? Can this be added to the preinstalled packages?
Sure, just add a "Preinstall: xz-utils" line to your project config (osc meta prjconf home:geflei -e). Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Montag, 21. Februar 2011, 11:23:21 schrieb Michael Schroeder:
On Sun, Feb 20, 2011 at 12:15:41PM +0100, Gerd Fleischer wrote:
I have a problem building a package for ubuntu 10.10
it needs libkdepim5-dev which seems to be compressed with xz, on setting up the vm it fails with error message below:
If you see "installing..." messages the vm is already set up and running.
installing???gzip installing???insserv installing???install-info installing???libakonadi-kabc4 dpkg-deb???(subprocess):???unable???to???execute???data???(xz):???No???such???file???or???directory dpkg-deb:???subprocess???<decompress>???returned???error???exit???status???2 dpkg:???error???processing???.init_b_cache/libakonadi-kabc4.deb???(--install): ???subprocess???dpkg-deb???--fsys-tarfile???returned???error???exit???status???2 Errors???were???encountered???while???processing: ???.init_b_cache/libakonadi-kabc4.deb exit???... [?????????78.273746]???System???halted.
On irc it was suggested to add xz to build-depends. I added xz-utils but that does not help as the packages that need it for installing are installed earlier than xz-utils and so it fails.
Any hints? Can this be added to the preinstalled packages?
Sure, just add a "Preinstall: xz-utils" line to your project config (osc meta prjconf home:geflei -e).
Well, either we need to add this for all builds for these platforms (if the package is expected to be installed, but the dpkg lacks the requirement) or it should be part of this package .dsc file, if it is needed at build time. But a prjconf change in non-base distro project just sounds wrong to me. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Montag, 21. Februar 2011, 11:45:48 schrieb Adrian Schröter:
Well, either we need to add this for all builds for these platforms (if the package is expected to be installed, but the dpkg lacks the requirement) or it should be part of this package .dsc file, if it is needed at build time
My prjconf looks now if 0%{?ubuntu_version} > 1004 Preinstall: xz-utils Preinstall: liblzma2 %endif works with all distros Greetings, Gerd -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Montag, 21. Februar 2011, 11:23:21 schrieb Michael Schroeder:
Sure, just add a "Preinstall: xz-utils" line to your project config (osc meta prjconf home:geflei -e).
local build failed with the same error, after adding xz-utils and liblzma2 to prjconf/Preinstall it works now :) may not work for suse etc.? If this can be added to the dsc - how? Thanks, Gerd -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Adrian Schröter
-
Gerd Fleischer
-
Michael Schroeder