Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 May 2014 07:58:11 -0400
From:      "John W. O'Brien" <john@saltant.com>
To:        Irjohn Junus <i.junus@gmail.com>
Cc:        python@freebsd.org, Jimmy Olgeni <olgeni@freebsd.org>
Subject:   Re: 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]
Message-ID:  <5385CF53.10608@saltant.com>
In-Reply-To: <CALXkR%2B-6_2k4pD7-Ln6e-PbgFTKriRXSrqOpd=UVbwppi=dpvg@mail.gmail.com>
References:  <CALXkR%2B8ivP3m2aJN%2Bm88Sz%2B4BodAxnYioBvgUotFZf_-TVPLgg@mail.gmail.com>	<536C40B0.2060705@saltant.com>	<CALXkR%2B_r4kG8CHO8R2MOsGHK4JDeEMa28MN4rzZ1hAtd%2BzAu4g@mail.gmail.com>	<53718C14.1040807@saltant.com> <CALXkR%2B-6_2k4pD7-Ln6e-PbgFTKriRXSrqOpd=UVbwppi=dpvg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--QLPrh6JwJHKsEpdsil8auDjr0ExSmxXob
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 5/18/14 12:30 AM, Irjohn Junus wrote:
> Thank you for looking at this. Apologies for my late reply it's been
> crazy busy at work lately.

I completely understand. As you can probably tell, my situation is simila=
r.

> Here's answers to your questions:

>>    1.  What is the rpath stored in your copy of those numpy files?
>>        That is, what is the output from
>>
>>            cd /usr/local/lib/python2.7/site-packages/numpy/linalg
>>            readelf -d _umath_linalg.so | grep RPATH
>>            readelf -d lapack_lite.so | grep RPATH
>>
>>        ?

> readelf -d _umath_linalg.so | grep RPATH
>  0x000000000000000f (RPATH)              Library rpath:
> [/usr/local/lib/gcc47]
> readelf -d lapack_lite.so | grep RPATH
>  0x000000000000000f (RPATH)              Library rpath:
> [/usr/local/lib/gcc47]

That looks correct to me.

>>    2.  What is the contents of
>>    /usr/local/lib/python2.7/site-packages/numpy/distutils/site.cfg on =
your
>>    machine?

> cat /usr/local/lib/python2.7/site-packages/numpy/distutils/site.cfg
> [DEFAULT]
> lapack_type=3Datlas
> library_dirs =3D
> /usr/lib:/usr/local/lib:/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd=
9.1/4.7.3/../../../
> include_dirs =3D
> /usr/include:/usr/local/include:/usr/local/include/suitesparse
> src_dirs =3D /usr/local/src
> # search static libraries (.a) in preference to shared ones (.so)
> search_static_first =3D 0
> [atlas]
> library_dirs =3D
> /usr/local/lib:/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd9.1/4.7.3=
/../../../
> atlas_libs =3D lapack, blas

Just like mine.

>>    2.  What is the contents of /etc/make.conf on your machine?

> cat /etc/make.conf
> # added by use.perl 2013-03-25 18:12:09
> PERL_VERSION=3D5.12.4
> #WITH_MPM=3Dworker

Totally innocuous.

>>     4.  How to you install and upgrade your ports? Build from source
>>         by hand? Build from source with the help of portmaster,
>>         poudriere, etc?
>>         Install binary packages with pkg_* or ports-mgmt/pkg (pkgng)?

> 4.
> I use portmaster exclusively, to install:
> portmaster --packages-build --delete-build-only port-name
> to upgrade:
> portmaster --dwv port-name

I'm taking a stab in the dark here. Based on the '-w' option, might
there be any stale libs hanging around in /usr/local/lib/compat/pkg?

I haven't been able to reproduce this, so I'm not sure which tree to
bark up next.

-John


--QLPrh6JwJHKsEpdsil8auDjr0ExSmxXob
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iQEcBAEBCgAGBQJThc9XAAoJEORay8JGGICYjwoIAJoMRU8woJaMx6S4lM4y1XUm
KwNyW4wltLRnPijz5tInWOapd6ZtM2Nd+INpFmxCfgFs6mrUmaW79bPEINl761XI
Oh3KgYaKhULEXFsOBXqWpABxDl9vJuY7ogf6rYemXedmZ0CO15CKT9sFEhUKLpjW
7xBqi10nGI7CFzpAmkOiFxwfQqox+enQDcA3DqcYDRhp+jeLWwDRW8JTFRZcx+Q9
FZYJiscgH5v4idISJS+rG/rjixgwfxjMDqslPu1iTvmz14NlgegVffrObELLsIiS
qmjdxg+DFvL2eLezzISnCdsyTrePHWHf2BWu9J7G6VQ1TbB4LXlGZJ+a385d61k=
=x50t
-----END PGP SIGNATURE-----

--QLPrh6JwJHKsEpdsil8auDjr0ExSmxXob--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5385CF53.10608>