Tests fail: osutil.so: failed to map segment from shared object: Operation not permitted
Greg Ward
greg at gerg.ca
Wed Jun 18 20:42:17 CDT 2014
On 18 June 2014, anatoly techtonik said:
> # ./run-tests.py test-tag.t
>
> --- /root/delme/hg/tests/test-tag.t
> +++ /root/delme/hg/tests/test-tag.t.err
> @@ -1,405 +1,24 @@
> $ hg init test
> + Traceback (most recent call last):
> + File "/usr/bin/hg", line 36, in <module>
> + mercurial.util.setbinary(fp)
> + File
> "/tmp/hgtests.XBeRv0/install/lib/python/mercurial/demandimport.py", line
> 106, in __getattribute__
> + self._load()
> + File
> "/tmp/hgtests.XBeRv0/install/lib/python/mercurial/demandimport.py", line
> 78, in _load
> + mod = _hgextimport(_import, head, globals, locals, None, level)
> + File
> "/tmp/hgtests.XBeRv0/install/lib/python/mercurial/demandimport.py", line
> 47, in _hgextimport
> + return importfunc(name, globals, *args)
> + File "/tmp/hgtests.XBeRv0/install/lib/python/mercurial/util.py", line
> 66, in <module>
> + statfiles = getattr(osutil, 'statfiles', platform.statfiles)
> + File
> "/tmp/hgtests.XBeRv0/install/lib/python/mercurial/demandimport.py", line
> 106, in __getattribute__
> + self._load()
> + File
> "/tmp/hgtests.XBeRv0/install/lib/python/mercurial/demandimport.py", line
> 78, in _load
> + mod = _hgextimport(_import, head, globals, locals, None, level)
> + File
> "/tmp/hgtests.XBeRv0/install/lib/python/mercurial/demandimport.py", line
> 47, in _hgextimport
> + return importfunc(name, globals, *args)
> + ImportError: /tmp/hgtests.XBeRv0/install/lib/python/mercurial/osutil.so:
> failed to map segment from shared object: Operation not permitted
> + [1]
Your runtime environment is badly broken. Not sure what more Mercurial
can or should do in the face of such a fundamental problem.
Greg
--
Greg Ward http://www.gerg.ca
<greg at gerg.ca> @gergdotca
More information about the Mercurial-devel
mailing list