Bug 205294 - [PATCH] x11-toolkits/py-wxPython30: Fail embedding_in_wx5.py - gcc48/libgfortran.so.3 not found
Summary: [PATCH] x11-toolkits/py-wxPython30: Fail embedding_in_wx5.py - gcc48/libgfort...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-python mailing list
URL:
Keywords: patch
Depends on: 208120
Blocks:
  Show dependency treegraph
 
Reported: 2015-12-13 17:37 UTC by Andrey Fesenko
Modified: 2019-02-25 14:24 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (python)


Attachments
patch-Makefile (622 bytes, patch)
2015-12-13 17:37 UTC, Andrey Fesenko
no flags Details | Diff
poudriere bulk -t log (831.55 KB, text/plain)
2015-12-13 17:40 UTC, Andrey Fesenko
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Fesenko 2015-12-13 17:37:46 UTC
Created attachment 164197 [details]
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)
Comment 1 Andrey Fesenko 2015-12-13 17:40:46 UTC
Created attachment 164198 [details]
poudriere bulk -t log
Comment 2 Walter Schwarzenfeld freebsd_triage 2019-02-25 14:24:07 UTC
ping!