Created attachment 356390 [details] build log builds fine as user. testuser@archtester ~/cvsPortage/gentoo-x86/dev-python/matplotlib $ ebuild matplotlib-1.3.0.ebuild clean install fails with testuser@archtester ~/cvsPortage/gentoo-x86/dev-python/matplotlib $ sudo ebuild matplotlib-1.3.0.ebuild clean install OR archtester matplotlib # emerge -1 matplotlib
Most likely it's just an updated matplotlib-1.2.0-setup.patch that's needed here.
Just for the record - there's an upstream issue with a patch: https://github.com/matplotlib/matplotlib/pull/1939
Created attachment 356424 [details, diff] upstream patch (In reply to Rafał Mużyło from comment #1) > Most likely it's just an updated matplotlib-1.2.0-setup.patch that's needed > here. The old code being replaced isn't present in the new setup.py, no longer easily applied. The patch cited in the pull request appears to be effective for the build as well as the test(s). dev-python/matplotlib $ sudo ebuild matplotlib-1.3.0.ebuild clean merge >>> dev-python/matplotlib-1.3.0 merged. >>> Regenerating /etc/ld.so.cache...
*** Bug 485172 has been marked as a duplicate of this bug. ***
Created attachment 359350 [details] ebuild, pulling in the patch I had the same issue, found the upstream patch, put it as "matplotlib-1.3.0-gtk-test.patch" into my local repository and used the attached ebuild. Now it merges fine.
+ 25 Sep 2013; Kacper Kowalik <xarthisius@gentoo.org> + +files/matplotlib-1.3.0-setup_without_X11.patch, matplotlib-1.3.0.ebuild: + Backport upstream changes that allows to build matplotlib when X11 is not + available. Fixes #481564 by Ian Delaney <idella4@gentoo.org>. Thanks to MarisN + <maris.gis@gmail.com> and Bodo Graumann <mail@bodograumann.de> for finding and + testing the patch respectively