| Summary: | sci-geosciences/qgis sandbox violation | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | François Valenduc <francoisvalenduc> |
| Component: | Current packages | Assignee: | Sci-geo Project <sci-geosciences> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jstein, thomas.bettler |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build log file
build log for qgis-2.18.12 |
||
|
Description
François Valenduc
2017-03-17 23:08:11 UTC
Created attachment 467402 [details]
build log file
Please test 2.18.6 - it is the first qt5-based release and solved my build issues. Sorry but after having played 20 minutes with use flags and keywording packages without success, I simply gave up since qgis-2.18.3-r1 works perfectly well for me. Can you give the list of required changes to use flags and keywords so that I can test it ? USE="-qt4 qt5" should do the trick, unless you have conflicting packages that require qscintilla(-python) qt4 as well. Both is currently unfortunately not possible. QGIS 2.18.6 doesn't work for me. I immediately get a segmentation fault when starting it; qgis[8947]: segfault at 7f496c358db0 ip 00007f48d4de1997 sp 00007ffd594a7810 error 7 in QtCore.so[7f48d4d56000+224000] And the sandbox problems remains. We'll have to find out why it segfaults for you in a different bug. I guess the sandbox violation will require addpredict, likely gpu driver dependent. similar(?) segfault for 2.18.6 here, for reference: https://bugs.gentoo.org/show_bug.cgi?id=612070#c4 It looks indeed similar in my case, see my comment in bug #612070. please try to update to sys-apps/sandbox-2.10-r4 and retry. See also https://bugs.gentoo.org/show_bug.cgi?id=612202 Please report. As requested, I tried the new version of sandbox and it didn't change anything. Could you ever reproduce the sandbox violation with 2.18.10, or now with 2.18.12? The problem still occurs with QGIS 2.18.12. I have dropped a patch that was messing with pyuic-wrapper.py, please sync and give it another try; there's a slim hope it will fix it without us having to use addpredict. I guess, I had to try qgis-2.18.12. It still doesn't work and gives exactly the same errors: F: open_wr S: deny P: /dev/dri/renderD128 A: /dev/dri/renderD128 R: /dev/dri/renderD128 C: /usr/bin/python2.7 /var/tmp/notmpfs/portage/sci-geosciences/qgis-2.18.12/work/qgis-2.18.12/scripts/pyuic-wrapper.py /var/tmp/notmpfs/portage/sci-geosciences/qgis-2.18.12/work/qgis-2.18.12/python/plugins/db_manager/ui/DlgSqlLayerWindow.ui -o /var/tmp/notmpfs/portage/sci-geosciences/qgis-2.18.12/work/qgis-2.18.12_build/python/plugins/db_manager/ui_DlgSqlLayerWindow.py Why does this device file (/dev/dri/renderD128) need to be used during the compilation. It's indeed not readable by users outside the video group: crw-rw----+ 1 root video 226, 128 10 sep 08:47 renderD128 Created attachment 493700 [details]
build log for qgis-2.18.12
I've pushed another change to add `addpredict /dev/dri/renderD128` - make sure you've got that line in your 2.18.12 ebuild before you try again next time. Sorry for doing the testing here, but it seems so far you are the only one being able to reproduce that issue. Out of curiosity, what USE settings is your PyQt4 built with? It works with addpredict. Here are my use flags for PyQt4: [ebuild R ] dev-python/PyQt4-4.12::gentoo USE="X dbus opengl sql svg webkit -compat -debug -declarative -designer -doc -examples -help -multimedia -phonon -script -scripttools -testlib -xmlpatterns" PYTHON_TARGETS="python2_7 python3_4 (-python3_5) (-python3_6)" Thanks for testing! Glad this is done. @Andreas: Thanks for your proposed solution. Unfortunately it doesn't fit configurations with multiple gfx cards yet. My second card (/dev/dri/renderD129) is still being accessed, but denied, thus you may consider whatever devices (/dev/dri/render*) present. The solution proposed here fits them all. See https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/imagemagick-6.8.8.10.ebuild?r1=1.3&r2=1.4 Thanks for reconsidering |