From owner-freebsd-python@FreeBSD.ORG Tue May 13 03:06:08 2014 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9F16D485; Tue, 13 May 2014 03:06:08 +0000 (UTC) Received: from homiemail-a97.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by mx1.freebsd.org (Postfix) with ESMTP id 791E92292; Tue, 13 May 2014 03:06:07 +0000 (UTC) Received: from homiemail-a97.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a97.g.dreamhost.com (Postfix) with ESMTP id 497D228606F; Mon, 12 May 2014 20:06:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=saltant.com; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to: content-type; s=saltant.com; bh=6tws3VWgEXutW3HGKLXKn4Kz4Rg=; b= GeMRqZTS7JJ7ixnuRcGHfFPI1i1+okXD1bZTu++CiT+HzscZIlmPNPTaz6XzFGcz wl1rZ2gE3Kearu8kB+rT9AlS1sMeatCWk/zi3W11XkWHs5VHRq5mkkB66rbXwHsH 5Uvz/75jDWZms6QcsJpDCKRYjLBSTk8HE9q04qe0ot0= Received: from dreck.saltant.net (dreck.saltant.net [72.78.188.150]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: john@saltant.com) by homiemail-a97.g.dreamhost.com (Postfix) with ESMTPSA id DB661286059; Mon, 12 May 2014 20:06:00 -0700 (PDT) Message-ID: <53718C14.1040807@saltant.com> Date: Mon, 12 May 2014 23:05:56 -0400 From: "John W. O'Brien" Organization: Saltant Solutions User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Irjohn Junus Subject: math/py-numpy cannot satisfy libgfortran dependency on libgcc_s/GCC_4.6.0 [WAS: Re: py27-pandas-0.13.1_1 conflict with py27-MySQLdb-1.2.3_4] References: <536C40B0.2060705@saltant.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OJHnpXUV1METTqspoUOTie7LGatUvageN" Cc: python@freebsd.org, Jimmy Olgeni X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2014 03:06:08 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --OJHnpXUV1METTqspoUOTie7LGatUvageN Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 5/8/14 11:33 PM, Irjohn Junus wrote: > Hi John, >=20 > No worries and yes I'm still having the problem. >=20 > I remember seeing this message: > =3D=3D=3D>>> pkg-message for gcc-4.7.3_1 > To ensure binaries built with this toolchain find appropriate versions > of the necessary run-time libraries, you may want to link using >=20 > -Wl,-rpath=3D/usr/local/lib/gcc47 >=20 > after upgrading gcc port a few days ago, which is described in your lin= k > [0]. Do I issue this command as root? Need advice here, thanks. >=20 > Regards, > Irjohn >=20 >=20 > On Fri, May 9, 2014 at 10:42 AM, John W. O'Brien > wrote: >=20 > On 4/18/14 8:45 AM, Irjohn Junus wrote: > > Dear All, > > > > I'm running 9.1-RELEASE and today just after freebsd-update to p1= 1 and > > updating ports to the latest found out that pandas won't import a= fter > > MySQLdb is imported first. Strangely, it will import no problem i= f > > MySQLdb is imported after: >=20 > Hi Irjohn, >=20 > Sorry for the long delay. Are you still having this problem? >=20 > >>>> import MySQLdb > >>>> import pandas as pd > > /lib/libgcc_s.so.1: version GCC_4.6.0 required by > > /usr/local/lib/gcc47/libgfortran.so.3 not found > [...] > > Traceback (most recent call last): > [...] > > File > "/usr/local/lib/python2.7/site-packages/numpy/linalg/linalg.py", > > line 29, in > > from numpy.linalg import lapack_lite, _umath_linalg > > ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by > > /usr/local/lib/gcc47/libgfortran.so.3 not found >=20 > It looks like this thread [0], these commits [1] [2], and this PR [= 3] > are related. >=20 > [0] > https://lists.freebsd.org/pipermail/freebsd-toolchain/2014-April/00= 1149.html >=20 > [1] https://svnweb.freebsd.org/ports?view=3Drevision&revision=3D351= 167 >=20 > [2] https://svnweb.freebsd.org/ports?view=3Drevision&revision=3D351= 159 >=20 > [3] https://www.freebsd.org/cgi/query-pr.cgi?pr=3D185902 Irjohn, This is just a little out of my depth, so I'm going to talk through it out loud while I investigate. Presumably somebody more knowledgeable than I will step in to correct me if I get something wrong. First off, there are a few open PRs ([0], [1]) on math/py-numpy, both of which seem to have been triggered when ports started using GCC 4.7 by default [2]. What I know from reading gcc(1) is that "-Wl,