[Pkg-ganeti-devel] Error on binary package dependency on python-simplejson
Iustin Pop
iusty at k1024.org
Mon Jan 14 18:49:38 UTC 2008
On Mon, Jan 14, 2008 at 04:24:21PM -0200, Leonardo Rodrigues de Mello wrote:
> Hi everyone,
>
> The ganeti package dependency on simplejson was only configured
> at build process.
>
> When I was upgrading my machines to 1.2.0 version, the package
> installation went fine (using aptitude), but when I try to start ganeti
> daemon
> IT FAILS with the following message:
> '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
> blocok07:/var/cache/apt/archives# /etc/init.d/ganeti start
> Starting Ganeti cluster: ganeti-nodedTraceback (most recent call last):
> File "/usr/sbin/ganeti-noded", line 35, in ?
> from ganeti import backend
> File "/usr/lib/python2.4/site-packages/ganeti/backend.py", line 42, in ?
> from ganeti import objects
> File "/usr/lib/python2.4/site-packages/ganeti/objects.py", line 30, in ?
> import simplejson
> ImportError: No module named simplejson
> failed!
> ganeti-master...done.
> '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
> This message indicate that ganeti depends on simplejson at execution time.
>
> I had already fixed this dependency error on the pkg-ganeti svn.
Well, the control file is "broken" in the sense that it has the python
dependencies added manually, not via ${python:Depends}.
IMHO, the python dependencies should be replaced with the
${python:Depends}, and furthermore the Build-Depends for the python
libraries should be replaced with Build-Depends-Indep.
However, I cannot get the package to build on my computer - I try
"svn-buildpackage" but it gives me errors.
Anyone care to share what's the usual procedure?
regards,
iustin
More information about the Pkg-ganeti-devel
mailing list