Emerge of mayavi-4.1.0-r1 fails with the following access violation: --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-12263.log" VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: open_wr S: deny P: /root/.config/oxygen-gtk/argb-apps.conf A: /root/.config/oxygen-gtk/argb-apps.conf R: /root/.config/oxygen-gtk/argb-apps.conf C: /usr/bin/python2.7 /usr/bin/sphinx-build -b html -d build/mayavi/doctrees source/mayavi build/mayavi/html -------------------------------------------------------------------------------- I updated sphinx, ran python-updater but it didn't help. Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.2.9-gentoo x86_64) ================================================================= System uname: Linux-3.2.9-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9600_@_2.66GHz-with-gentoo-2.0.3 Timestamp of tree: Fri, 16 Mar 2012 14:45:01 +0000 app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.1.4-r3, 3.2.2 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.13-r4
This might be related: [...] running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext building 'tvtk.array_ext' extension compiling C sources C compiler: x86_64-pc-linux-gnu-gcc -pthread -march=native -O2 -pipe -fPIC creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/tvtk creating build/temp.linux-x86_64-2.7/tvtk/src compile options: '-I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c' x86_64-pc-linux-gnu-gcc: tvtk/src/array_ext.c x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -march=native -O2 -pipe build/temp.linux-x86_64-2.7/tvtk/src/array_ext.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/tvtk/array_ext.so running scons running gen_docs running build_docs make -f MakefileMayavi html make[1]: Entering directory `/var/tmp/portage/sci-visualization/mayavi-4.1.0-r1/work/mayavi-4.1.0/docs' sphinx-build -b html -d build/mayavi/doctrees source/mayavi build/mayavi/html Making output directory... Running Sphinx v1.1.2 loading pickled environment... not yet created building [html]: targets for 112 source files that are out of date updating environment: 112 added, 0 changed, 0 removed No protocol specified 2%] api/core_view_objects Unable to access the X Display, is $DISPLAY set properly? make[1]: *** [html] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/sci-visualization/mayavi-4.1.0-r1/work/mayavi-4.1.0/docs' make: *** [html] Fehler 2 make -j7 -C docs html make: Entering directory `/var/tmp/portage/sci-visualization/mayavi-4.1.0-r1/work/mayavi-4.1.0/docs' make -f MakefileMayavi html make[1]: Entering directory `/var/tmp/portage/sci-visualization/mayavi-4.1.0-r1/work/mayavi-4.1.0/docs' make[1]: Warnung: Kein Jobserver verfügbar: -j1 wird gesetzt. »+« zur Ursprungsregel hinzufügen. sphinx-build -b html -d build/mayavi/doctrees source/mayavi build/mayavi/html Running Sphinx v1.1.2 loading pickled environment... not yet created building [html]: targets for 112 source files that are out of date updating environment: 112 added, 0 changed, 0 removed No protocol specified 2%] api/core_view_objects Unable to access the X Display, is $DISPLAY set properly? make[1]: *** [html] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/sci-visualization/mayavi-4.1.0-r1/work/mayavi-4.1.0/docs' make: *** [html] Fehler 2 make: Leaving directory `/var/tmp/portage/sci-visualization/mayavi-4.1.0-r1/work/mayavi-4.1.0/docs' * ERROR: sci-visualization/mayavi-4.1.0-r1 failed (compile phase): * emake failed * * If you need support, post the output of 'emerge --info =sci-visualization/mayavi-4.1.0-r1', * the complete build log and the output of 'emerge -pqv =sci-visualization/mayavi-4.1.0-r1'. * The complete build log is located at '/var/tmp/portage/sci-visualization/mayavi-4.1.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-visualization/mayavi-4.1.0-r1/temp/environment'. * S: '/var/tmp/portage/sci-visualization/mayavi-4.1.0-r1/work/mayavi-4.1.0' >>> Failed to emerge sci-visualization/mayavi-4.1.0-r1, Log file: >>> '/var/tmp/portage/sci-visualization/mayavi-4.1.0-r1/temp/build.log' To me this looks like sphinx is triggering the sandbox violation by design. Sphinx works by instancing each python class it wants to document and then extracting information from the instance. Now if a python object tries to open a window it will fail to do so (as the sandbox does not emulate a running xsession).
Finally had some time to look at it again. The problem doesn't seem to be directly related to mayavi. I unmerged oxygen-gtk and I was then able to update mayavi to the latest version. What should I do? Close the bug and submit something for oxygen-gtk? It is not really clear to me what's going on here. Thanks
(In reply to comment #2) > What should I do? Close the bug and submit something for oxygen-gtk? It is > not really clear to me what's going on here. please do