openerp source package lacks dependencies on python-setuptools and python-pybabel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP's Framework R&D |
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@
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-
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 <email address hidden>
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@
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.
Related branches
- Phil Frost (community): Approve
- OpenERP Core Team: Pending requested
-
Diff: 26 lines (+8/-1)1 file modifieddebian/control (+8/-1)
Hello Stuart Longland,
I have tested your scenario and patch also, But it's not solved the error. "python-setuptools" and "python-pybabel" is depended package. It's must be installed. If It's not Installed, Definitely throw the same error(No module named setuptools).
If I am not apply this patch and then face the same error. If I am apply this patch and then also face the same error.
So what is meaning of this code.........;-)
What You SaY about this!!!
Thanks and waiting for your reply!