[Bug 337759] [NEW] openerp-server depends on python-xml and is therefore uninstallable ATM

Z zwahri at web.de
Wed Mar 4 14:49:28 UTC 2009


Public bug reported:

Binary package hint: openerp-server

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System
-> About Ubuntu.

Description:	Ubuntu jaunty (development branch)
Release:	9.04

2) The version of the package you are using, via 'apt-cache policy
packagename' or by checking in Synaptic.

openerp-server:
  Installiert: (keine)
  Kandidat: 5.0.0-3-1ubuntu2
  Versions-Tabelle:
     5.0.0-3-1ubuntu2 0
        500 file: jaunty/universe Packages
        500 http://de.archive.ubuntu.com jaunty/universe Packages

3) What you expected to happen

Installation of the package ;)

4) What happened instead

Dependency errors :)


Details:
=====
openerp-server depends/build-depends on python-xml, which is fine. However, python-xml depends on python < 2.6 which isn't the default anymore in jaunty. This leads to an uninstallable package.

I *suspect* the dependency on python-xml isn't needed anyway, since openerp's documentation states dependencies on:
        * psycopg2
        * reportlab
        * pychart
        * pydot
        * mxdatetime
        * xml, lxml and libxslt1
        * tz (timezone library)
        * PIL: Python Imaging Library (required for reportlab)
        * vobject: iCalendar and VCards parsing
however, python-xml provides:
   * XML parsers: Pyexpat (Jack Jansen), xmlproc (Lars Marius
     Garshol), sgmlop (Fredrik Lundh).
   * SAX interface (Lars Marius Garshol)
   * minidom DOM implementation (Paul Prescod, others)
   * 4DOM and 4XPath from Fourthought (Uche Ogbuji, Mike Olson)
   * Schema implementations: TREX (James Tauber)
   * Various utility modules and functions (various people)
  
(And openerp's ubuntu installation guide may state old package dependecies for python 2.4??)

I think python-xml shouldn't be used anymore (it isn't maintained??!), at least I found this:
https://bugs.launchpad.net/ubuntu/+source/python-xml/+bug/336631/comments/1

To verify my suspicions i tried building openerp-server without dependencies on python-xml. 
This failed, but not because of dependency errors. 
The build process fails because setup.py copies the files to 
  $(CURDIR)/debian/openerp-server/usr/local/... 
and debian/rules expects 
  $(CURDIR)/debian/openerp-server/usr/...

The error message was:
# Adjusting program location
sed -i -e 's|cd .*python.*/site-packages|cd /usr/lib|' debian/openerp-server/usr/bin/openerp-server
sed: kann debian/openerp-server/usr/bin/openerp-server nicht lesen: No such file or directory

I'm guessing this has something to do with the python 2.6 changes outlined here:
https://wiki.ubuntu.com/Python2.6And3.0
but I have no idea what to look for. 

I'm stuck now, please advise.

** Affects: openerp-server (Ubuntu)
     Importance: Undecided
         Status: New

-- 
openerp-server depends on python-xml and is therefore uninstallable ATM
https://bugs.launchpad.net/bugs/337759
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list