Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526882 - dev-python/matplotlib-1.3.1 - src_compile(): virtualmake: the wrap_setup distutils-r1_python_compile failed.
Summary: dev-python/matplotlib-1.3.1 - src_compile(): virtualmake: the wrap_setup dist...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-26 09:03 UTC by Dennis Schridde
Modified: 2015-03-20 12:59 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,18.08 KB, text/plain)
2014-10-26 09:03 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2014-10-26 09:03:21 UTC
^[[33;01m*^[[0m esetup.py: WARNING:
 ^[[33;01m*^[[0m esetup.py: WARNING:
 ^[[33;01m*^[[0m esetup.py: WARNING:
cat: /tmp/.X1-lock: No such file or directory
cat: /tmp/.X1-lock: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
 ^[[31;01m*^[[0m ERROR: dev-python/matplotlib-1.3.1::gentoo failed (compile phase):
 ^[[31;01m*^[[0m ERROR: dev-python/matplotlib-1.3.1::gentoo failed (compile phase):
 ^[[31;01m*^[[0m ERROR: dev-python/matplotlib-1.3.1::gentoo failed (compile phase):
 ^[[31;01m*^[[0m   virtualmake: the wrap_setup distutils-r1_python_compile failed.
 ^[[31;01m*^[[0m   virtualmake: the wrap_setup distutils-r1_python_compile failed.
 ^[[31;01m*^[[0m   virtualmake: the wrap_setup distutils-r1_python_compile failed.


Reproducible: Always
Comment 1 Dennis Schridde 2014-10-26 09:03:41 UTC
Created attachment 387422 [details]
build.log
Comment 2 Dennis Schridde 2014-10-26 09:04:59 UTC
Not related to bug #504202, as I do not even have dev-python/wxpython installed.
Comment 3 Dennis Schridde 2014-10-26 09:05:50 UTC
Maybe related:
Xlib:  extension "RANDR" missing on display ":1".
(message early in the compile phase)
Comment 4 Dennis Schridde 2014-11-12 06:48:07 UTC
The issue persists. Any ideas or suggestions how to fix or work around it?
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2014-11-14 09:48:50 UTC
$ emerge =dev-python/matplotlib-1.3.1 -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] x11-base/xorg-server-1.16.1:0/1.16.1  USE="glamor ipv6 nptl suid udev xorg xvfb* -dmx -doc -kdrive -minimal (-selinux) -static-libs -systemd -tslib -unwind -wayland -xnest" 0 KiB
[ebuild   R    ] dev-python/matplotlib-1.3.1  USE="cairo gtk qt4 wxwidgets -doc -examples -excel -fltk -gtk3 -latex -pyside {-test} -tk" PYTHON_TARGETS="python2_7 python3_3 python3_4 (-python3_2)" 0 KiB

Perhaps you can report the state of your emerged x11-base/xorg-server re USE flags.  The key one is xvfb
Comment 6 Ian Delaney (RETIRED) gentoo-dev 2014-11-14 09:50:10 UTC
Also portage has 1.4.0 and 1.4.2, what happens with those?
Comment 7 Dennis Schridde 2014-11-14 20:27:40 UTC
(In reply to Ian Delaney from comment #5)
> Perhaps you can report the state of your emerged x11-base/xorg-server re USE
> flags.  The key one is xvfb

$ emerge =dev-python/matplotlib-1.3.1 xorg-server -pv
[…]
[ebuild   R    ] x11-base/xorg-server-1.16.1:0/1.16.1  USE="glamor ipv6 nptl suid systemd udev wayland xorg xvfb -dmx -doc -kdrive -minimal (-selinux) -static-libs -tslib -unwind -xnest" 0 KiB
[ebuild   R    ] dev-python/matplotlib-1.3.1  USE="cairo gtk latex qt4 -doc -examples -excel -fltk -gtk3 -pyside {-test} -tk -wxwidgets" PYTHON_TARGETS="python2_7 python3_3 python3_4%* (-python3_2) (-python2_6%)" 0 KiB
[…]


(In reply to Ian Delaney from comment #6)
> Also portage has 1.4.0 and 1.4.2, what happens with those?

$ equery depends matplotlib
[…]
sci-mathematics/sage-6.3-r1 (>=dev-python/matplotlib-1.3.1[python_targets_python2_7(-)?,-python_single_target_python2_7(-)])
                            (<dev-python/matplotlib-1.4.0[python_targets_python2_7(-)?,-python_single_target_python2_7(-)])
Comment 8 Ian Delaney (RETIRED) gentoo-dev 2014-11-15 02:34:04 UTC
This does occur for me with DISPLAY set to :1.  Also fails without the output of 

Xlib:  extension "RANDR" missing ...

with DISPLAY set to ":0". 
Also, by "portage has 1.4.0 and 1.4.2, what happens with those?" I meant can you build these versions, like so;

~/cvsPortage/gentoo-x86/dev-python/matplotlib $ PYTHON_TARGETS=python2_7 ebuild matplotlib-1.4.0.ebuild clean compile

 * python2_7: running distutils-r1_run_phase python_compile_all
>>> Source compiled.

Normally  new version that works trumps a broken past version however

(<dev-python/matplotlib-1.4.0[python_targets_python2_7(-)?,-python_single_target_python2_7(-)])

kinf of over-rides this.
Comment 9 Mike Gilbert gentoo-dev 2014-11-15 03:07:03 UTC
jlec: Why are we wrapping the src_compile phase with virtualmake? Do we actually need and X server to build this?
Comment 10 Mike Gilbert gentoo-dev 2014-11-15 03:10:55 UTC
Looking at the ebuilds in the tree, it looks like this was removed in later ebuilds. Please try >=matplotlib-1.4.0.
Comment 11 Dennis Schridde 2014-11-15 07:46:25 UTC
This works:

# emerge -1a --nodeps \>matplotlib-1.4
These are the packages that would be merged, in order:

[ebuild     U  ] dev-python/matplotlib-1.4.2 [1.3.1] PYTHON_TARGETS="python3_4%*"

Can you please backport the change to matplotlib-1.3.1, as I need that version for sage?
Comment 12 Justin Lecher (RETIRED) gentoo-dev 2015-03-20 12:33:51 UTC
Please reopen if this problem still exists with version 1.4
Comment 13 Dennis Schridde 2015-03-20 12:59:43 UTC
(In reply to Justin Lecher from comment #12)
> Please reopen if this problem still exists with version 1.4

As mentioned in comment #11, version 1.4.2 worked.