From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jan 28 11:19:50 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BFA864B2 for ; Wed, 28 Jan 2015 11:19:50 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8C0412DB for ; Wed, 28 Jan 2015 11:19:50 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t0SBJoDu039154 for ; Wed, 28 Jan 2015 11:19:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 188382] graphics/mypaint fails to run: ImportError: numpy.core.multiarray failed to import Date: Wed, 28 Jan 2015 11:19:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2015 11:19:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188382 --- Comment #6 from Jan Beich --- Bugzilla conversion ate comment 0 while comment 2 failed to provide an example. Without same RPATH as py-numpy runtime linker loads old libgcc_s first which leads to: $ pkg info -l mypaint | fgrep .so | xargs readelf -d | fgrep gcc_s 0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1] $ LD_PRELOAD=/lib/libgcc_s.so.1 python -c 'import numpy' Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python2.7/site-packages/numpy/__init__.py", line 170, in from . import add_newdocs File "/usr/local/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in from numpy.lib import add_newdoc File "/usr/local/lib/python2.7/site-packages/numpy/lib/__init__.py", line 18, in from .polynomial import * File "/usr/local/lib/python2.7/site-packages/numpy/lib/polynomial.py", line 19, in from numpy.linalg import eigvals, lstsq, inv File "/usr/local/lib/python2.7/site-packages/numpy/linalg/__init__.py", line 51, in from .linalg import * File "/usr/local/lib/python2.7/site-packages/numpy/linalg/linalg.py", line 29, in from numpy.linalg import lapack_lite, _umath_linalg ImportError: /usr/lib/libgcc_s.so: version GCC_4.6.0 required by /usr/local/lib/gcc49/libgfortran.so.3 not found $ LD_PRELOAD=/lib/libgcc_s.so.1 mypaint ImportError: numpy.core.multiarray failed to import We are not correctly installed or compiled! script: "/usr/local/bin/mypaint" deduced prefix: "/usr/local" lib_shared: "/usr/local/share/mypaint/" lib_compiled: "/usr/local/lib/mypaint/" Traceback (most recent call last): File "/usr/local/bin/mypaint", line 170, in datapath, extradata, confpath, localepath, localepath_brushlib = get_paths() File "/usr/local/bin/mypaint", line 111, in get_paths from lib import mypaintlib File "/usr/local/share/mypaint/lib/mypaintlib.py", line 25, in _mypaintlib = swig_import_helper() File "/usr/local/share/mypaint/lib/mypaintlib.py", line 17, in swig_import_helper import _mypaintlib ImportError: numpy.core.multiarray failed to import -- You are receiving this mail because: You are the assignee for the bug.