[opensuse-buildservice] chroot: cannot run command `dpkg': No such file or directory
I'm trying to build .deb packages. I have created the different files that are needed for .deb packages, such as debian.control, debian.rules and the .dsc file. The tarbals and changes file exists as file, and as a side note the package builds find for many rpm based distributions. When I execute an 'osc build Ubuntu_9.10 i586 ib2009.dsc' , or another one like: osc build Debian_5.0 i586 ib2009.dsc, the build fails with: ...... ...... cycle: libpam0g -> libpam-runtime -> libpam-modules breaking dependency libpam-modules -> libpam0g cycle: g++-4.4 -> libstdc++6-4.4-dev breaking dependency g++-4.4 -> libstdc++6-4.4-dev done installing autotools-dev-20090427.1-None.all chroot: cannot run command `dpkg': No such file or directory The buildroot was: /var/tmp/build-root-Ubuntu_9.10-i586 Did I forget something, like a dependency? I have attached the related .deb files, as they are not present on the build server. Hopefully, can shine some light on this error. -- TIA, Richard
Op maandag 04 januari 2010 21:52:24 schreef Richard Bos:
When I execute an 'osc build Ubuntu_9.10 i586 ib2009.dsc' , or another one like: osc build Debian_5.0 i586 ib2009.dsc, the build fails with: ...... ...... cycle: libpam0g -> libpam-runtime -> libpam-modules breaking dependency libpam-modules -> libpam0g cycle: g++-4.4 -> libstdc++6-4.4-dev breaking dependency g++-4.4 -> libstdc++6-4.4-dev done installing autotools-dev-20090427.1-None.all chroot: cannot run command `dpkg': No such file or directory
For the sake of it, as dpkg was not installed before. I installed it (package deb providing dpkg), but it does not help :( The result is still the same: installing autotools-dev-20090427.1-None.all chroot: cannot run command `dpkg': No such file or directory The buildroot was: /var/tmp/build-root-Ubuntu_9.10-i586 linux:~/packages/osc/home:rbos:ib/ib2009> which dpkg /usr/bin/dpkg -- Richard -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Op maandag 04 januari 2010 22:19:24 schreef Richard Bos:
Op maandag 04 januari 2010 21:52:24 schreef Richard Bos:
When I execute an 'osc build Ubuntu_9.10 i586 ib2009.dsc' , or another one like: osc build Debian_5.0 i586 ib2009.dsc, the build fails with: ...... ...... cycle: libpam0g -> libpam-runtime -> libpam-modules breaking dependency libpam-modules -> libpam0g cycle: g++-4.4 -> libstdc++6-4.4-dev breaking dependency g++-4.4 -> libstdc++6-4.4-dev done installing autotools-dev-20090427.1-None.all chroot: cannot run command `dpkg': No such file or directory
For the sake of it, as dpkg was not installed before. I installed it (package deb providing dpkg), but it does not help :( The result is still the same:
installing autotools-dev-20090427.1-None.all chroot: cannot run command `dpkg': No such file or directory
The buildroot was: /var/tmp/build-root-Ubuntu_9.10-i586 linux:~/packages/osc/home:rbos:ib/ib2009> which dpkg /usr/bin/dpkg
I should have looked higher in the log file.... The missing scripts / binary was 'ar', provided by the binutils package. -- Richard -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, Op maandag 04 januari 2010 21:52:24 schreef Richard Bos:
I'm trying to build .deb packages. I have created the different files that are needed for .deb packages, such as debian.control, debian.rules and the .dsc file. The tarbals and changes file exists as file, and as a side note the package builds find for many rpm based distributions.
I made some progress as written in my previous posts, but I run into a new error. Hopefully someone has a solution or a hint how to tackle this one: tail: cannot open `debian/changelog' for reading: No such file or directory dpkg-buildpackage: error: tail of debian/changelog gave error exit status 1 At the top of the build there is: processing specfile /home/richard/packages/osc/home:rbos:ib/ib2009/ib2009.dsc ... running changelog2spec --target debian --file /home/richard/packages/osc/home:rbos:ib/ib2009/ib2009.dsc don't know how to convert changelog to format 'debian' init_buildsystem --clean --rpmlist /tmp/rpmlist.jO8i2H /home/richard/packages/osc/home:rbos:ib/ib2 Versions installed are: linux:~ # rpm -q build osc build-2009.09.23-2.3.1.noarch osc-0.120-2.1.i586 This one has in /usr/lib/build/changelog2spec (from the above mentioned build package): 191 192 die("don't know how to convert changelog to format '$target'\n") if $target ne 'rpm'; 193 Will it ever be possible to pass that line if --target != rpm as is the case with building Debian based packages? Is it possible to convert a .changes file into a debian.changelog? -- Richard -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (1)
-
Richard Bos