OpenERP v5.0.0-2: bdist_rpm still fails
Bug #327298 reported by
Gerry Reno
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo GTK Client (MOVED TO GITHUB) |
Won't Fix
|
Undecided
|
Unassigned | ||
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Wishlist
|
Unassigned | ||
Odoo Web Client |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
In trying to build distro RPM packages using the setup.py target 'bdist_rpm' using the latest available release 5.0.0-2, the 'bdist_rpm' command still fails:
$ python setup.py bdist_rpm
bdist_rpm Issues:
Server:
1. RPMS will not build. Fails with Installed but unpackaged files error.
2. Using a hack to get past #1, it puts incorrect path into /usr/bin/
Client:
1. Puts incorrect path into /usr/bin/
Related branches
Changed in openobject-client-web: | |
status: | New → Incomplete |
importance: | High → Wishlist |
Changed in openobject-client: | |
status: | Incomplete → Triaged |
Changed in openobject-server: | |
status: | Incomplete → Triaged |
Changed in openobject-client-web: | |
status: | Incomplete → Triaged |
Changed in openobject-client-web: | |
status: | Triaged → Won't Fix |
To post a comment you must log in.
Suggested fix for path issue in startup files:
SERVER: setup.py install_ libbase, "openerp-server"), sys.executable)
openerp_ site_packages = opj('/usr', 'lib', 'python%s' % py_short_version, 'site-packages', 'openerp-server')
start_ script = "#!/bin/sh\ncd %s\nexec %s ./openerp-server.py $@\n" % (openerp_ site_packages, sys.executable)
# start_script = "#!/bin/sh\ncd %s\nexec %s ./openerp-server.py $@\n" % (opj(self.
opj = os.path.join
CLIENT: mydistutils.py install_ libbase, "openerp-client"), sys.executable)
openerp_ site_packages = opj('/usr', 'lib', 'python%s' % py_short_version, 'site-packages', 'openerp-client')
start_ script = "#!/bin/sh\ncd %s\nexec %s ./openerp-client.py $@\n" % (openerp_ site_packages, sys.executable)
# start_script = "#!/bin/sh\ncd %s\nexec %s ./openerp-client.py $@\n" % (opj(self.
opj = os.path.join