| Summary: | [PATCH] games/py-mnemosyne: Fix runtime error | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | tkato432 | ||||||||||
| Component: | Individual Port(s) | Assignee: | Mathieu Arnold <mat> | ||||||||||
| Status: | Closed FIXED | ||||||||||||
| Severity: | Affects Only Me | CC: | aeuii, python | ||||||||||
| Priority: | --- | Keywords: | needs-qa, patch | ||||||||||
| Version: | Latest | ||||||||||||
| Hardware: | Any | ||||||||||||
| OS: | Any | ||||||||||||
| Attachments: |
|
||||||||||||
Take. Created attachment 163982 [details]
games_py-mnemosyne.diff
Version 2.3.5 has been released.
Created attachment 164009 [details]
games_py-mnemosyne.diff
Chase r403358
I have a runtime error on 10.2-RELEASE-p12 too [1].
Could it be fixed by the patch?
[1]
Traceback (innermost last):
File "/usr/local/bin/mnemosyne", line 191, in <module>
debug_file=options.debug_file)
File "/usr/local/lib/python2.7/site-packages/mnemosyne/libmnemosyne/__init__.py", line 174, in initialise
self.register_components()
File "/usr/local/lib/python2.7/site-packages/mnemosyne/libmnemosyne/__init__.py", line 244, in register_components
exec("from %s import %s" % (module_name, class_name))
File "<string>", line 1, in <module>
File "/usr/local/lib/python2.7/site-packages/mnemosyne/pyqt_ui/statistics_wdgts_plotting.py", line 7, in <module>
from matplotlib import use
File "/usr/local/lib/python2.7/site-packages/matplotlib/__init__.py", line 122, in <module>
from matplotlib.cbook import is_string_like, mplDeprecation, dedent, get_label
File "/usr/local/lib/python2.7/site-packages/matplotlib/cbook.py", line 32, 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
(In reply to aeuii from comment #4) My current workaround is to start mnemosyne in the following way: LD_LIBRARY_PATH=/usr/local/lib/gcc48 mnemosyne Oh, it seems recent update of math/py-matplotlib affects this port. I wiil take a look at that ASAP. Created attachment 167086 [details]
games_py-mnemosyne.diff
It is certain that passing LD_LIBRARY_PATH of fortran lib is necessary
for all FreeBSD versions.
back to pool A commit references this bug: Author: mat Date: Mon Mar 14 14:24:38 UTC 2016 New revision: 411078 URL: https://svnweb.freebsd.org/changeset/ports/411078 Log: Fix runtime error. PR: 203798 Submitted by: tkato432 yahoo com Sponsored by: Absolight Changes: head/games/py-mnemosyne/Makefile |
Created attachment 162088 [details] games_py-mnemosyne.diff