Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Dec 2015 17:37:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 205294] [PATCH] x11-toolkits/py-wxPython30: Fail embedding_in_wx5.py - gcc48/libgfortran.so.3 not found
Message-ID:  <bug-205294-21822-0pf9dPKo6J@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205294-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205294-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrey Fesenko <andrey@bsdnir.info> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to FreeBSD Python
<python@FreeBSD.org>:
Bug 205294: [PATCH] x11-toolkits/py-wxPython30: Fail embedding_in_wx5.py -
gcc48/libgfortran.so.3 not found
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205294



--- Description ---
Created attachment 164197
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D164197&action=
=3Dedit
patch-Makefile

environment for reproduction:

% python -c "import matplotlib as m;
print(m.__version__);print(m.__path__[0]);"
1.4.3
/usr/local/lib/python2.7/site-packages/matplotlib
% python -c "import numpy as m; print(m.__version__); print(m.__path__[0]);"
1.10.1
/usr/local/lib/python2.7/site-packages/numpy
% python -c "import wx as m; print(m.__version__); print(m.__path__[0]);"
3.0.2.0
/usr/local/lib/python2.7/site-packages/wx-3.0-gtk2/wx


% python
/usr/local/share/examples/py27-matplotlib/user_interfaces/embedding_in_wx5.=
py
Traceback (most recent call last):
  File
"/usr/local/share/examples/py27-matplotlib/user_interfaces/embedding_in_wx5=
.py"
,
line 7, in <module>
    import matplotlib as mpl
  File "/usr/local/lib/python2.7/site-packages/matplotlib/__init__.py", line
180, in <module>
    from matplotlib.cbook import is_string_like
  File "/usr/local/lib/python2.7/site-packages/matplotlib/cbook.py", line 3=
3,
in <module>
    import numpy as np
  File "/usr/local/lib/python2.7/site-packages/numpy/__init__.py", line 180=
, in
<module>
    from . import add_newdocs
  File "/usr/local/lib/python2.7/site-packages/numpy/add_newdocs.py", line =
13,
in <module>
    from numpy.lib import add_newdoc
  File "/usr/local/lib/python2.7/site-packages/numpy/lib/__init__.py", line=
 8,
in <module>
    from .type_check import *
  File "/usr/local/lib/python2.7/site-packages/numpy/lib/type_check.py", li=
ne
11, in <module>
    import numpy.core.numeric as _nx
  File "/usr/local/lib/python2.7/site-packages/numpy/core/__init__.py", line
14, in <module>
    from . import multiarray
ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by
/usr/local/lib/gcc48/libgfortran.so.3 not found


user_interfaces/embedding_in_wx2-4.py - work fine

This fixed add
/etc/libmap.conf
[/usr/local/lib/python2.7/site-packages/wx-3.0-gtk2/]
libgcc_s.so.1	gcc48/libgcc_s.so.1

or this patch (add fortran build dependency)=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205294-21822-0pf9dPKo6J>