MPL building failure

Hello list,

I am sorry to be trying to solve my problems by just writing to the
list, but I could not think of any other ways to solve it as google
was not very verbose.

The build log part, which indicates a failure:

···

----
Traceback (most recent call last):
  File "make.py", line 223, in <module>
    func()
  File "make.py", line 191, in all
    html()
  File "make.py", line 136, in html
    copy_if_out_of_date('../lib/matplotlib/mpl-data/matplotlibrc',
'_static/matplotlibrc')
  File "make.py", line 111, in copy_if_out_of_date
    shutil.copyfile(original, derived)
  File "/usr/lib64/python2.7/shutil.py", line 81, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory:
'../lib/matplotlib/mpl-data/matplotlibrc'
---

I was wondering if anybody could tell me what is wrong with my system?
I am using Gentoo and I am trying to build the git/master branch,
however git/v1.1.x also fails at the same place.

Could anybody help me, please? :slight_smile:

Cheers,
Ignas A.

--
Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


  > Traceback (most recent call last):

  > File "make.py", line 223, in <module>

  > func()

  > File "make.py", line 191, in all

  > html()

  > File "make.py", line 136, in html

  >

copy_if_out_of_date(’…/lib/matplotlib/mpl-data/matplotlibrc’,

  > '_static/matplotlibrc')

  > File "make.py", line 111, in copy_if_out_of_date

  > shutil.copyfile(original, derived)

  > File "/usr/lib64/python2.7/shutil.py", line 81, in copyfile

  > with open(src, 'rb') as fsrc:

  > IOError: [Errno 2] No such file or directory:

  > '../lib/matplotlib/mpl-data/matplotlibrc'

  > ----

Sorry to have caused noise. Actually there were problems with

building

examples and documentation, which were giving out different errors.

The above is with documentation and example building enabled, the

above is with docs disabled, but examples enabled:
···

On 26/10/11 22:31, Ignas Anikevicius wrote:

----

copying

build-2.7/lib.linux-x86_64-2.7/matplotlib/mpl-data/lineprops.glade
->
/var/tmp/portage/dev-python/matplotlib-9999/temp/images/2.7/usr/lib64/python2.7/site-packages/matplotlib/mpl-data

copying build-2.7/lib.linux-x86_64-2.7/pylab.py ->

/var/tmp/portage/dev-python/matplotlib-9999/temp/images/2.7/usr/lib64/python2.7/site-packages

warning: install_lib: byte-compiling is disabled, skipping.

running install_egg_info

Writing

/var/tmp/portage/dev-python/matplotlib-9999/temp/images/2.7/usr/lib64/python2.7/site-packages/matplotlib-1.2.x-py2.7.egg-info

cp: omitting directory `examples/sample_data/lib/mpl_examples'

cp: omitting directory

`examples/sample_data/doc/mpl_toolkits/axes_grid/examples’

cp: omitting directory `examples/sample_data/doc/mpl_examples'

doins failed

----

Though I am still interested whether there is an issue with my

system

setup, or are there any other problems?

Cheers,

Ignas A.

--

Q: Because it reverses the logical flow of conversation.

A: Why is putting a reply at the top of the message frowned upon?

I think there is a separate zip for the mpl-data, which are needed for the examples. Grab that from sourceforge, or grab the entire source tree from github.

Ben Root

···

On Wednesday, October 26, 2011, Ignas Anikevicius <anikevicius@…287…> wrote:

On 26/10/11 22:31, Ignas Anikevicius wrote:


Traceback (most recent call last):

File “make.py”, line 223, in
func()
File “make.py”, line 191, in all
html()
File “make.py”, line 136, in html
copy_if_out_of_date(’…/lib/matplotlib/mpl-data/matplotlibrc’,

‘_static/matplotlibrc’)
File “make.py”, line 111, in copy_if_out_of_date
shutil.copyfile(original, derived)
File “/usr/lib64/python2.7/shutil.py”, line 81, in copyfile

with open(src, ‘rb’) as fsrc:
IOError: [Errno 2] No such file or directory:
‘…/lib/matplotlib/mpl-data/matplotlibrc’

Sorry to have caused noise. Actually there were problems with building

examples and documentation, which were giving out different errors.
The above is with documentation and example building enabled, the
above is with docs disabled, but examples enabled:


copying build-2.7/lib.linux-x86_64-2.7/matplotlib/mpl-data/lineprops.glade -> /var/tmp/portage/dev-python/matplotlib-9999/temp/images/2.7/usr/lib64/python2.7/site-packages/matplotlib/mpl-data
copying build-2.7/lib.linux-x86_64-2.7/pylab.py -> /var/tmp/portage/dev-python/matplotlib-9999/temp/images/2.7/usr/lib64/python2.7/site-packages

warning: install_lib: byte-compiling is disabled, skipping.

running install_egg_info
Writing /var/tmp/portage/dev-python/matplotlib-9999/temp/images/2.7/usr/lib64/python2.7/site-packages/matplotlib-1.2.x-py2.7.egg-info

cp: omitting directory examples/sample_data/lib/mpl_examples' cp: omitting directoryexamples/sample_data/doc/mpl_toolkits/axes_grid/examples’
cp: omitting directory `examples/sample_data/doc/mpl_examples’

doins failed

Though I am still interested whether there is an issue with my system
setup, or are there any other problems?

Cheers,
Ignas A.