Re: py33-scipy problem

2016-01-26 Thread Sean Farley

Jerry  writes:

> On Jan 21, 2016, at 9:20 PM, David Strubbe  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.

This is my fault and, indeed, a bug. I'll push a fix shortly.
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: py33-scipy problem

2016-01-23 Thread Jerry

On Jan 21, 2016, at 9:20 PM, David Strubbe  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.

Jerry

> 
> David
> 
> $ 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:  s...@macports.org, michae...@macports.org, 
> openmaintai...@macports.org
> 
> 
> On Thu, Jan 21, 2016 at 5:47 PM, Jerry  wrote:
> 
> On Jan 21, 2016, at 2:11 AM, Russell Jones  
> 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_descriptionThe GNU compiler collection, including front ends for \
> C, C++, Objective-C, Objective-C++, Fortran and Java.
> 
> 
> Jerry


___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


py33-scipy problem

2016-01-22 Thread Joshua Root
David Strubbe wrote:
> 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. Yes, you had py33-scipy
> +gcc48 installed previously, and macports will try to use the same variants
> you had selected before when upgrading. 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.

Breaking the port for existing users and making them fix it is poor UX.
The way the removal of variants like this is usually handled is:

# Can be removed after 2017-01-22
variant gcc48 requires gfortran description {Legacy compatibility
variant} {}

- Josh
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: py33-scipy problem

2016-01-21 Thread David Strubbe
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. Yes, you had py33-scipy
+gcc48 installed previously, and macports will try to use the same variants
you had selected before when upgrading. 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.

David

$ 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:  s...@macports.org, michae...@macports.org,
openmaintai...@macports.org


On Thu, Jan 21, 2016 at 5:47 PM, Jerry  wrote:

>
> On Jan 21, 2016, at 2:11 AM, Russell Jones 
> 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_descriptionThe GNU compiler collection, including front ends for \
> C, C++, Objective-C, Objective-C++, Fortran and Java.
>
>
> Jerry
> ___
> macports-users mailing list
> macports-users@lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users
>
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: py33-scipy problem

2016-01-21 Thread Jerry

On Jan 21, 2016, at 2:11 AM, Russell Jones  
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_descriptionThe GNU compiler collection, including front ends for \
C, C++, Objective-C, Objective-C++, Fortran and Java.


Jerry
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: py33-scipy problem

2016-01-21 Thread Russell Jones

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


___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


py33-scipy problem

2016-01-21 Thread Jerry
I was doing port upgrade outdated on OS X 10.9.5 which I hadn't done in a while 
and am encountering problems. The latest is this


MBPro:~ me$ sudo port upgrade outdated
--->  Computing dependencies for py33-scipy
--->  Fetching archive for py33-scipy
--->  Attempting to fetch py33-scipy-0.16.1_0.darwin_13.x86_64.tbz2 from 
http://packages.macports.org/py33-scipy
--->  Attempting to fetch py33-scipy-0.16.1_0.darwin_13.x86_64.tbz2 from 
http://lil.fr.packages.macports.org/py33-scipy
--->  Attempting to fetch py33-scipy-0.16.1_0.darwin_13.x86_64.tbz2 from 
http://mse.uk.packages.macports.org/sites/packages.macports.org/py33-scipy
--->  Fetching distfiles for py33-scipy
Error: org.macports.fetch for port py33-scipy returned: must set at least one 
Fortran variant
Please see the log file for port py33-scipy for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-scipy/py33-scipy/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets


which repeated after port clean py33-scipy

What's up? Log file attached.

Jerry



main.log
Description: Binary data
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users