Launchpad logo and name.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index ][Thread Index ]

Re: [Launchpad-users] during make schema: SandboxViolation: open('/usr/share/apport/package-hooks/source_bzr.py',



On Sun, 28 Nov 2010 20:18:50 +0100, Roberto Previdi <hariseldon78@xxxxxxxxx> wrote:
> Hello list. I hope this has not been covered in the past (i searched a
> little..):
> 
> i want to install launchpad in a Ubuntu server 10.04.1 virtual machine.
> I used the root account (sudo su), and downloaded all
> in /root/launchpad.
> I followed the https://dev.launchpad.net/Getting guide and now i am in
> the "Running" phase. When i give the "make schema" it fails with this
> message:
> 
> -----------------------------------------------------------------------------------
> root@ubuntu:~/launchpad/lp-branches/devel# make schema
> utilities/shhh.py PYTHONPATH= python bootstrap.py\
>                 --setup-source=ez_setup.py \
>                 --download-base=download-cache/dist --eggs=eggs \
>                 --version=1.5.1
> touch --no-create bin/buildout
> utilities/shhh.py PYTHONPATH= ./bin/buildout \
>                 configuration:instance_name=development -c buildout.cfg
> bzrlib/_readdir_pyx.c: In function
> â??__pyx_f_6bzrlib_12_readdir_pyx__read_dirâ??:
> bzrlib/_readdir_pyx.c:992: warning: â??__pyx_exc_linenoâ?? may be used
> uninitialized in this function
> bzrlib/_readdir_pyx.c:1035: warning: â??__pyx_exc_linenoâ?? may be used
> uninitialized in this function
> In file included from /usr/include/python2.6/Python.h:8,
>                  from bzrlib/_patiencediff_c.c:28:
> /usr/include/python2.6/pyconfig.h:1031:1: warning: "_POSIX_C_SOURCE"
> redefined
> In file included from /usr/include/stdlib.h:25,
>                  from bzrlib/_patiencediff_c.c:26:
> /usr/include/features.h:210:1: warning: this is the location of the
> previous definition
> error: Setup script exited with error: SandboxViolation:
> open('/usr/share/apport/package-hooks/source_bzr.py', 'wb') {}
> 
> The package setup script has attempted to modify files on your system
> that are not within the EasyInstall build area, and has been aborted.
> 
> This package cannot be safely installed by EasyInstall, and may not
> support alternate installation locations even if you run its setup
> script by hand.  Please inform the package's author and the EasyInstall
> maintainers to find out if a fix or workaround is available.
> While:
>   Installing scripts.
>   Getting distribution for 'bzr==2.2.0'.
> Error: Couldn't install: bzr 2.2.0
> Develop: '/root/launchpad/lp-branches/devel/.'
> Installing scripts.
> Getting distribution for 'bzr==2.2.0'.
> No Pyrex, trying Cython...
> 
> The python package 'Pyrex' is not available. If the .c files are
> available,
> they will be built, but modifying the .pyx files will not rebuild them.
> 
> An error occurred when trying to install bzr 2.2.0. Look above this
> message for any errors that were output by easy_install.
> make: *** [/root/launchpad/lp-branches/devel/bin/py] Error 1

This looks like the tarball found for bzr-2.2 does not contain the C
files for the modules implemented in pyrex.  But they are there for me.
What do you get when you run this?

$ md5sum download-cache/dist/bzr-2.2.0.tar.gz 
e47fa50e1fedc01c4761925e9d0d39ac  download-cache/dist/bzr-2.2.0.tar.gz

Cheers,
mwh



This is the launchpad-users mailing list archive — see also the general help for Launchpad.net mailing lists.

(Formatted by MHonArc.)