From owner-freebsd-python@freebsd.org Mon Jan 4 19:56:51 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0956FA61E4D for ; Mon, 4 Jan 2016 19:56:51 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E738B160E for ; Mon, 4 Jan 2016 19:56:50 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: by mailman.ysv.freebsd.org (Postfix) id E3C8BA61E4C; Mon, 4 Jan 2016 19:56:50 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E34F4A61E4B for ; Mon, 4 Jan 2016 19:56:50 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from vms173011pub.verizon.net (vms173011pub.verizon.net [206.46.173.11]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C6E31160D for ; Mon, 4 Jan 2016 19:56:50 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) MIME-version: 1.0 Received: from aldan.narawntapu ([100.1.236.52]) by vms173011.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0O0F008L8Z9I4670@vms173011.mailsrvcs.net> for python@FreeBSD.org; Mon, 04 Jan 2016 12:56:11 -0600 (CST) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=J+9Xl1TS c=1 sm=1 tr=0 a=UorMnhrCY2jH/mPejITChw==:117 a=LaogzpLLAAAA:8 a=oR5dmqMzAAAA:8 a=7aQ_Q-yQQ-AA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=R1M-n4L-FG-xueAZW04A:9 a=pILNOxqGKmIA:10 a=pGLkceISAAAA:8 a=nQZW7_UZ5Eud8owRA3AA:9 a=MDp3Oz-R5RMdwyMs:21 a=_W_S_7VecoQA:10 Subject: Re: numpy would not load: libgcc_s vs. libgfortran To: Olivier Duchateau References: <568AA168.5090400@aldan.algebra.com> <20160104193453.2ae62e7a01ab0a0cd845e296@gmail.com> Cc: python@FreeBSD.org From: "Mikhail T." Message-id: <568AC046.8040300@aldan.algebra.com> Date: Mon, 04 Jan 2016 13:56:06 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 In-reply-to: <20160104193453.2ae62e7a01ab0a0cd845e296@gmail.com> Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2016 19:56:51 -0000 On 04.01.2016 14:34, Olivier Duchateau wrote: > Can you post the complete backtrace? > Well, here goes: ___________________________________ ERROR at setup of TestAPI.test_can_post_image ____________________________________ Traceback (most recent call last): File "/spare/usr/ports/www/py-mediagoblin/work/mediagoblin-0.8.1/mediagoblin/tests/conftest.py", line 33, in test_app return tools.get_app(request) File "/spare/usr/ports/www/py-mediagoblin/work/mediagoblin-0.8.1/mediagoblin/tests/tools.py", line 132, in get_app 'config:' + new_paste_config) File "/opt/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp return loadobj(APP, uri, name=name, **kw) File "/opt/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj return context.create() File "/opt/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create return self.object_type.invoke(self) File "/opt/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke return fix_call(context.object, context.global_conf, **context.local_conf) File "/opt/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call val = callable(*args, **kw) File "/spare/usr/ports/www/py-mediagoblin/work/mediagoblin-0.8.1/mediagoblin/app.py", line 362, in paste_app_factory mgoblin_app = MediaGoblinApp(mediagoblin_config) File "/spare/usr/ports/www/py-mediagoblin/work/mediagoblin-0.8.1/mediagoblin/app.py", line 107, in __init__ setup_plugins() File "/spare/usr/ports/www/py-mediagoblin/work/mediagoblin-0.8.1/mediagoblin/init/plugins/__init__.py", line 56, in setup_plugins __import__(plugin_module) File "/spare/usr/ports/www/py-mediagoblin/work/mediagoblin-0.8.1/mediagoblin/media_types/audio/__init__.py", line 18, in from mediagoblin.media_types.audio.processing import AudioProcessingManager, \ File "/spare/usr/ports/www/py-mediagoblin/work/mediagoblin-0.8.1/mediagoblin/media_types/audio/processing.py", line 30, in from mediagoblin.media_types.audio.transcoders import ( File "/spare/usr/ports/www/py-mediagoblin/work/mediagoblin-0.8.1/mediagoblin/media_types/audio/transcoders.py", line 23, in from mediagoblin.media_types.audio import audioprocessing File "/spare/usr/ports/www/py-mediagoblin/work/mediagoblin-0.8.1/mediagoblin/media_types/audio/audioprocessing.py", line 26, in import numpy File "/opt/lib/python2.7/site-packages/numpy/__init__.py", line 180, in from . import add_newdocs File "/opt/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in from numpy.lib import add_newdoc File "/opt/lib/python2.7/site-packages/numpy/lib/__init__.py", line 8, in from .type_check import * File "/opt/lib/python2.7/site-packages/numpy/lib/type_check.py", line 11, in import numpy.core.numeric as _nx File "/opt/lib/python2.7/site-packages/numpy/core/__init__.py", line 14, in from . import multiarray ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by /opt/lib/gcc48/libgfortran.so.3 not found > I already encountered this error, and if often due to a wrong python import (cycling import). The script is from MediaGoblin's own self-tests. I doubt, they have a cycling import -- supposedly, goblin-developers use them regularly... Thanks! Yours, -mi