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:   [Bug 205294] [PATCH] x11-toolkits/py-wxPython30: Fail embedding_in_wx5.py - gcc48/libgfortran.so.3 not found
Message-ID:  <bug-205294-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205294

            Bug ID: 205294
           Summary: [PATCH] x11-toolkits/py-wxPython30: Fail
                    embedding_in_wx5.py - gcc48/libgfortran.so.3 not found
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: andrey@bsdnir.info
             Flags: maintainer-feedback?(python@FreeBSD.org)
          Keywords: patch
          Assignee: python@FreeBSD.org

Created attachment 164197
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=164197&action=edit
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 33,
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", line
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)

-- 
You are receiving this mail because:
You are the assignee for the bug.



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