← Back to team overview

openerp-india team mailing list archive

[Bug 985381] Re: openerp source package lacks dependencies on python-setuptools and python-pybabel

 

The difference is... with the patch applied, running dpkg-buildpackage,
it is Debian's package system that tells you what packages you're
missing.

Without the patch, it's the build system that tells you.

The difference?  Someone can add OpenERP source packages to an APT
repository, a user adds that source repository, then does `apt-get
source -b openerp`, sees the failure, and *has to manually intervene*.

With the patch in Comment #1:  Someone runs `apt-get source -b openerp`.
APT sees that python-pybabel and python-setuptools are dependencies,
automatically installs them, *then* downloads and compiles OpenERP.

Surely a better plan, no?

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/985381

Title:
  openerp source package lacks dependencies on python-setuptools and
  python-pybabel

Status in OpenERP Server:
  Incomplete

Bug description:
  As per the description, if someone tries to build a .deb package of
  OpenERP on a vanilla Ubuntu system, the following error is emitted:

  vrtadmin@openerp-dev:~/work/openerp/branches/openerp-vrt-6.1-1-calendaring$ dpkg-buildpackage 
  dpkg-buildpackage: set CFLAGS to default value: -g -O2
  dpkg-buildpackage: set CPPFLAGS to default value: 
  dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
  dpkg-buildpackage: set FFLAGS to default value: -g -O2
  dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
  dpkg-buildpackage: source package openerp-vrt
  dpkg-buildpackage: source version 6.1-1-1
  dpkg-buildpackage: source changed by Stuart Longland <me@xxxxxxxxxxxxx>
  dpkg-buildpackage: host architecture i386
   fakeroot debian/rules clean
  dh  clean
     dh_testdir
     dh_auto_clean
  Traceback (most recent call last):
    File "setup.py", line 23, in <module>
      import glob, os, re, setuptools, sys
  ImportError: No module named setuptools
  dh_auto_clean: python setup.py clean -a returned exit code 1
  make: *** [clean] Error 1
  dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
  vrtadmin@openerp-dev:~/work/openerp/branches/openerp-vrt-6.1-1-calendaring$

  If they install python-setuptools, they'll get hit with another
  complaining about a missing module called babel.

  Attached is an updated debian/control file which lists these as build-
  time dependencies.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/985381/+subscriptions


References