lanceboyle at qwest.net
Sat Jan 23 17:52:52 PST 2016
On Jan 21, 2016, at 9:20 PM, David Strubbe <dstrubbe at macports.org> wrote:
David, thank you for this explanation. Installing py33-scipy +gfortran worked. However, I have these notes.
> As the message says, you need to select a Fortran variant. You have not. You can see this from the fact that the file trying to be fetched is py33-scipy-0.16.1_0.darwin_13.x86_64.tbz2 not py33-scipy-0.16.1_0+gcc48.darwin_13.x86_64.tbz2.
No, I can't see this because I'm not schooled in the arcania of MacPorts. I'm just a semi-sophisticated user following the admonishment to update his MacPorts installation.
> Yes, you had py33-scipy +gcc48 installed previously, and macports will try to use the same variants you had selected before when upgrading.
I never selected any variants; any installation of py33-scipy was handled by the ports system.
> However, there is no longer a variant +gcc48 (as below). Therefore, you must choose one of the four currently existing Fortran variants. e.g. sudo port install py33-scipy +gfortran.
Why is this not handled automatically? If I can type sudo port install py33-scipy +gfortran and the upgrade script recognizes the problem then why can't the upgrade script handle it?
I humbly submit that this is poor design, and wonder why it is not a bug.
Please understand that these comments are not directed at you but at the community at large.
> $ port info py33-scipy
> py33-scipy @0.16.1 (python)
> Variants: atlas, clang37, gcc49, gcc5, gcc6, [+]gfortran, llvm, openblas
> Description: An opensource library of scientific tools for Python
> Homepage: http://www.scipy.org/
> Build Dependencies: gcc5
> Library Dependencies: python33, py33-numpy, py33-nose, swig-python, libgcc
> Platforms: darwin
> License: BSD
> Maintainers: sean at macports.org, michaelld at macports.org, openmaintainer at macports.org
> On Thu, Jan 21, 2016 at 5:47 PM, Jerry <lanceboyle at qwest.net> wrote:
> On Jan 21, 2016, at 2:11 AM, Russell Jones <russell.jones at physics.ox.ac.uk> wrote:
> > Have you tried this?
> > Russell
> > On 21/01/16 09:10, Jerry wrote:
> >> :error:fetch org.macports.fetch for port py33-scipy returned: must set at least one Fortran variant
> MBPro:~ me$ port installed py33-scipy
> The following ports are currently installed:
> py33-scipy @0.14.0_0+gcc48
> py33-scipy @0.15.1_0+gcc48 (active)
> And from the port file at https://trac.macports.org/browser/trunk/dports/lang/gcc48/Portfile:
> long_description The GNU compiler collection, including front ends for \
> C, C++, Objective-C, Objective-C++, Fortran and Java.
More information about the macports-users