easy_install breaks due to SandboxViolation on SLES

Bug #686439 reported by Gary van der Merwe
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Max Bowsher

Bug Description

I tried to install bzr on a SLES server using easy_install. I got this error:

mtafscbe1205cfs:/home/vandergar # easy_install bzr-2.2.2.tar.gz
/usr/lib64/python2.6/site-packages/setuptools/package_index.py:7: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  from md5 import md5
Processing bzr-2.2.2.tar.gz
Running bzr-2.2.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-we2ZEU/bzr-2.2.2/egg-dist-tmp-5Zkx8W
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.

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
bzrlib/_chk_map_pyx.c: In function ‘__pyx_f_6bzrlib_12_chk_map_pyx_safe_interned_string_from_size’:
bzrlib/_chk_map_pyx.c:282: warning: cast from pointer to integer of different size
bzrlib/_btree_serializer_pyx.c: In function ‘__pyx_f_6bzrlib_21_btree_serializer_pyx_safe_string_from_size’:
bzrlib/_btree_serializer_pyx.c:219: warning: cast from pointer to integer of different size
bzrlib/_btree_serializer_pyx.c: In function ‘__pyx_f_6bzrlib_21_btree_serializer_pyx_safe_interned_string_from_size’:
bzrlib/_btree_serializer_pyx.c:271: warning: cast from pointer to integer of different size
error: Setup script exited with error: SandboxViolation: mkdir('/usr/share/apport',) {}

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.

Revision history for this message
Martin Packman (gz) wrote :

Looks like the same basic problem as was previously reported on the mailing list by Max Bowsher, but I can't find a corresponding bug:
<https://lists.ubuntu.com/archives/bazaar/2010q4/070513.html>

Martin Pool agreed that the install script could stop trying to do apport things.

Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Max Bowsher (maxb) wrote :

Already fixed in 2.3b4. Should we perhaps fix in 2.2.3 as well?

Revision history for this message
Gary van der Merwe (garyvdm) wrote :

On 09/12/2010 12:56, Max Bowsher wrote:
> Already fixed in 2.3b4. Should we perhaps fix in 2.2.3 as well?

Not important to me. I just did sudo ./setup.py install

Changed in bzr:
assignee: nobody → Max Bowsher (maxb)
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.