Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564296 - dev-python/matplotlib-1.4.3: sandbox errors w/dri & fuse
Summary: dev-python/matplotlib-1.4.3: sandbox errors w/dri & fuse
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 564322 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-28 01:02 UTC by François Bissey
Modified: 2015-11-02 11:53 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ACCESS VIOLATION SUMMARY (sandbox-24525.log,370 bytes, text/plain)
2015-10-28 09:16 UTC, Christian Strahl
Details
build.log.tar.bz2 (build.log.tar.bz2,24.80 KB, application/x-bzip2)
2015-10-28 09:20 UTC, Christian Strahl
Details
dev-python:matplotlib-1.4.3:20151030-083356.log (dev-python:matplotlib-1.4.3:20151030-083356.log.bz2,42.46 KB, application/x-bzip)
2015-10-30 08:59 UTC, Luis Ferreira
Details
system events trace (matplotlib_trace.txt.bz2,22.62 KB, application/x-bzip2)
2015-10-30 09:28 UTC, Morton Pellung
Details

Note You need to log in before you can comment on or make changes to this bug.
Description François Bissey 2015-10-28 01:02:59 UTC
emerging matplotlib 1.4.3 fails with
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: /dev/dri/card0
A: /dev/dri/card0
R: /dev/dri/card0
C: /usr/bin/python3.4 setup.py install --root=/home/extra/portage/dev-python/matplotlib-1.4.3/image//_python3.4 build --build-lib=/home/extra/portage/dev-python/matplotlib-1.4.3/work/matplotlib-1.4.3-python3_4/build/build/lib 

This is with sandbox-2.6-r1. Upgrading sandbox to 2.9 solves the issue.

Reproducible: Always
Comment 1 Agostino Sarubbo gentoo-dev 2015-10-28 08:28:56 UTC
I didn't have this issue. Post the full build log as attachment and emerge --info
Comment 2 Christian Strahl 2015-10-28 09:11:10 UTC
i have exactly the same problem:

# emerge --info

Portage 2.2.20.1 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.9.3, glibc-2.21-r1, 4.0.9-gentoo-0.1-desktop x86_64)
=================================================================
System uname: Linux-4.0.9-gentoo-0.1-desktop-x86_64-Intel-R-_Xeon-R-_CPU_E5-1650_v3_@_3.50GHz-with-gentoo-2.2
KiB Mem:    32870608 total,  28090080 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 28 Oct 2015 08:45:28 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000

gentoo-scala-tools
    location: /usr/local/sbt_gentoo_overlay
    sync-type: git
    sync-uri: http://github.com/whiter4bbit/overlays.git
    masters: gentoo

local-repo
    location: /usr/local/local_overlay
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -fweb -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -fweb -ftracer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/"
LANG="de_DE@euro"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb branding btrfs bzip2 cairo cdda cddb cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gif git glamor gnome gnome-keyring gnome-online-accounts gnutls gpm gstreamer gtk gtk3 iconv introspection ipv6 jpeg kvm lcms ldap libnotify libsecret mad matroska mmx mmxext mng modules mp3 mp4 mpeg multilib nautilus ncurses nfs nls nptl ntfs ogg opengl openmp opus pam pango pcre pdf png policykit ppds pulseaudio python qt3support qt4 rar readline sdl seccomp session spell sql sse sse2 ssl startup-notification svg systemd tcpd theora tiff truetype udev udisks unicode upower usb vorbis vpx wav webm webp wma wmf wxwidgets x264 x265 xattr xcb xfs xml xv xvid zeroconf zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Christian Strahl 2015-10-28 09:16:19 UTC
Created attachment 415612 [details]
ACCESS VIOLATION SUMMARY
Comment 4 Christian Strahl 2015-10-28 09:20:23 UTC
Created attachment 415614 [details]
build.log.tar.bz2

I have compressed the build log because it is bigger than 1000 KB.
Comment 5 Till Schäfer 2015-10-28 11:28:28 UTC
i can confirm the sandbox violation here on my system

# emerge --info matplotlib
Portage 2.2.20.1 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.3, glibc-2.21-r1, 4.0.5-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    15956008 total,   5774452 free
KiB Swap:   16801788 total,  16801600 free
Timestamp of repository gentoo: Wed, 28 Oct 2015 08:45:28 +0000
Timestamp of repository kde: Mon, 26 Oct 2015 18:01:44 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo
    priority: 50

local
    location: /usr/local/portage
    masters: gentoo
    priority: 1000

Installed sets: @system
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --autounmask-write --jobs=5 --load-average=10.0"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="64bit X a52 aac acl acpi aes alsa amd64 avx bash-completion berkdb bluetooth branding bzip2 cairo cdaudio cdda cddb cdio cdr cli consolekit cracklib crypt css cups cxx dbus declarative dell dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor glib glibc gpg gpm gtk haskell iconv icu id3tag ieee1394 imagemagick inotify ipv4 ipv6 irc java jpeg jpeg2k kde kipi lame latex lcms ldap libnotify libsamplerate lzma mad mmx mmxext mng modules mp3 mp4 mpeg mplayer multilib musicbrainz ncurses nls nptl ntp ogg okteta opengl openmp otr pam pango pcre pdf phonon plasma pm-utils png policykit popcnt ppds pulseaudio qemu qt3support qt4 quicktime rar readline real rss sdl seccomp semantic-desktop session spell spice sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg syslog taglib tcpd threads tiff truetype udev udisks unicode upower usb v41 v412 v4l vaapi vcd vim-syntax visualization vorbis wavpack wifi wma wmf wxwidgets x264 xattr xcb xcomposite xine xinerama xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-python/matplotlib-1.4.2::gentoo was built with the following:
USE="cairo gtk latex qt4 wxwidgets -doc -examples -excel -fltk -gtk3 -pyside -test -tk" ABI_X86="64" PYTHON_TARGETS="python2_7 python3_4 -python3_3"
CFLAGS="-march=native -O2 -pipe -ggdb -fno-strict-aliasing"
CXXFLAGS="-march=native -O2 -pipe -ggdb -fno-strict-aliasing"
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2015-10-29 17:12:39 UTC
*** Bug 564322 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2015-10-29 19:10:23 UTC
i don't see how either of these errors are a bug in the sandbox.  matplotlib appears to be attempting to open fuse/graphics drivers during build time and the sandbox (correctly) rejected those attempts.

F: open_wr
S: deny
P: /dev/fuse
A: /dev/fuse
R: /dev/fuse
C: /usr/libexec/gvfsd-fuse /var/tmp/portage/dev-python/matplotlib-1.4.3/temp/runtime-dir/gvfs -f -o big_writes
Comment 8 Morton Pellung 2015-10-29 21:46:55 UTC
I have never seen this on the build server. Now that 1.4.3 became stable
I upgraded all desktops and I see this bug only on one desktop:


F: open_wr
S: deny
P: /dev/dri/card0
A: /dev/dri/card0
R: /dev/dri/card0
C: /usr/bin/python3.4 setup.py install --root=/var/tmp/portage/dev-python/matplotlib-1.4.3/image//_python3.4 build
--build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.3/work/matplotlib-1.4.3-python3_4/build/build/lib



Scrolling through the build log, the problem is here:

BUILDING MATPLOTLIB
            matplotlib: yes [1.4.3]
                python: yes [3.4.3 (default, Sep 26 2015, 19:07:49)  [GCC
                        4.8.5]]
              platform: yes [linux]
[...]
OPTIONAL BACKEND EXTENSIONS
                macosx: no  [Mac OS-X only]
                qt5agg: no  [skipping due to configuration]
                qt4agg: yes [installing, Qt: 4.8.6, PyQt: 4.8.6]
                pyside: no  [skipping due to configuration]
 * ACCESS DENIED:  open_wr:      /dev/dri/card0
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: i965
               gtk3agg: yes [installing, version 3.6.16]
             gtk3cairo: yes [installing, version 3.6.16]
                gtkagg: no  [skipping due to configuration]
                 tkagg: yes [installing, version version not identified]
                 wxagg: no  [skipping due to configuration]
                   gtk: no  [skipping due to configuration]
                   agg: yes [installing]
                 cairo: yes [installing, pycairo version 1.10.0]
             windowing: no  [Microsoft Windows only]
Comment 9 Morton Pellung 2015-10-29 22:10:46 UTC
this is getting strange, it is non-reproduceable :-/

previous run the Python 3.4 build failed and python 2.7 was ok

now the python 2.7 build had issues:



OPTIONAL BACKEND EXTENSIONS
                macosx: no  [Mac OS-X only]
                qt5agg: no  [skipping due to configuration]
                qt4agg: yes [installing, Qt: 4.8.6, PyQt: 4.8.6]
                pyside: no  [skipping due to configuration]
No protocol specified
No protocol specified
               gtk3agg: yes [installing, version 3.6.16]
No protocol specified
No protocol specified
No protocol specified
/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
No protocol specified
No protocol specified
             gtk3cairo: yes [installing, version 3.6.16]
                gtkagg: yes [installing, Gtk: 2.24.28 pygtk: 2.24.0]
                 tkagg: yes [installing, version 81008]
                 wxagg: no  [skipping due to configuration]
                   gtk: yes [installing, Gtk: 2.24.28 pygtk: 2.24.0]
                   agg: yes [installing]
                 cairo: yes [installing, pycairo version 1.10.0]
             windowing: no  [Microsoft Windows only]
Comment 10 Morton Pellung 2015-10-29 23:57:36 UTC
It is reproduceable:

I have to exit X, startx, open a terminal and do an "emerge matplotlib"
and always get the libGL error from above on first try.
Comment 11 Justin Lecher (RETIRED) gentoo-dev 2015-10-30 08:26:24 UTC
I simply cannot reproduce this. for the dri issue we could go the same road as imagemagick does. Though I don't know what to do with fuse.

@sandbox, any advise here?
Comment 12 Luis Ferreira 2015-10-30 08:59:09 UTC
Created attachment 415754 [details]
dev-python:matplotlib-1.4.3:20151030-083356.log
Comment 13 Morton Pellung 2015-10-30 09:28:28 UTC
Created attachment 415756 [details]
system events trace

this is a trace of system events while pid 19089 misbehaves
and tries to access /dev/card/dri0 at timestamp 10:05:27.227xxx and following
Comment 14 SpanKY gentoo-dev 2015-10-30 16:44:49 UTC
i'd guess some python modules matplotlib imports implicitly probes hardware (which is bad), but maybe it depends on env vars being set up.  so you could unset vars that don't matter like DISPLAY.
Comment 15 Justin Lecher (RETIRED) gentoo-dev 2015-10-31 13:56:33 UTC
Could you please test if

DISPLAY= emerge matplotlib

works?
Comment 16 Thomas Beutin 2015-10-31 14:33:05 UTC
(In reply to Justin Lecher from comment #15)
> Could you please test if
> 
> DISPLAY= emerge matplotlib
> 
> works?

yes, this works.

It also worked when i emerged it from a conolse terminal w/o touching any env var.
Comment 17 Luis Ferreira 2015-11-01 00:58:53 UTC
(In reply to Justin Lecher from comment #15)
> Could you please test if
> 
> DISPLAY= emerge matplotlib
> 
> works?

yes, this works.
Comment 18 Justin Lecher (RETIRED) gentoo-dev 2015-11-02 11:53:31 UTC
commit c7f78999ea9d5db7ef747956487231d0a76792d9
Author: Justin Lecher <jlec@gentoo.org>
Date:   Mon Nov 2 10:57:20 2015 +0100
    
    dev-python/matplotlib: Unset DISPLAY during build to fix sandbox problems
    
    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=564296
    
    Package-Manager: portage-2.2.23
    Signed-off-by: Justin Lecher <jlec@gentoo.org>
    
    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7f78999ea9d5db7ef747956487231d0a76792d9