[opensuse-buildservice] debian | ubuntu, python fails

Hi, My Python packages seems to fail on OBS: https://build.opensuse.org/package/live_build_log?arch=x86_64&package=python-all-dev&project=home%3Aopen-studio%3Aunstable&repository=xUbuntu_10.04 https://build.opensuse.org/package/live_build_log?arch=x86_64&package=python-scour&project=home%3Aopen-studio%3Aunstable&repository=xUbuntu_10.04 What is going wrong here? Regards, ~P -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On 05/28/2011 07:18 PM, peer wrote:
Hi,
My Python packages seems to fail on OBS:
What is going wrong here? Anyone please? Thanks.
Regards, ~P -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Wed, Jun 01, peer wrote:
My Python packages seems to fail on OBS:
What is going wrong here? Anyone please? Thanks.
Maybe Preinstall: python in prjconf of xUbuntu_10.04 might help. [...] installing python-support dpkg: python-support: dependency problems, but configuring anyway as you requested: python-support depends on python (>= 2.5); however: Package python is not installed. /var/lib/dpkg/info/python-support.postinst: /usr/sbin/update-python-modules: /usr/bin/python: bad interpreter: No such file or directory [...] -- With best regards, Carsten Hoeger

Hi,
What is going wrong here?
The build fails because you are running "dh clean --with python2". The python2 debhelper sequence is only available on debian since squeeze and thus only on ubuntu 10.10 and above. You need to fix your build rules. Cheers, Christian -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On 06/08/2011 11:26 AM, Christian Kampka wrote:
Hi,
What is going wrong here?
The build fails because you are running "dh clean --with python2". The python2 debhelper sequence is only available on debian since squeeze and thus only on ubuntu 10.10 and above. You need to fix your build rules.
Cheers, Christian
Thanks for your reply! How to fix my build rules? Which sequence should be used instead and how to call it? Thanks in advance, ~P -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

How to fix my build rules? Which sequence should be used instead and how to call it?
Hi, that question is hard to answer because it depends on how you need your package to be installed. It might be as easy as replacing dh_python2 with dh_python, but from looking at your package, it should be quite feasible to install the package without the use of debhelper. Cheers, Christian -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Carsten Hoeger
-
Christian Kampka
-
peer