How add variant when upgrading octave

Murray Eisenberg murrayeisenberg at gmail.com
Mon May 23 14:08:40 PDT 2016


Tried

    sudo port upgrade --enforce-variants octave -gcc48 +gfortran

but following the automatic installation of fftw-3-single @3.3.4_1+gfortran
the fetch of qrupdate-1.1.2_4+atlas generated new error:

    Error: org.macports.fetch for port qrupdate returned: must set at least one Fortran variant

How do I specify a Fortran variant for that?

(I’m getting the feeling of getting mired in some kind of infinite regress!)

> On May 23, 2016, at 11:06 AM, Richard L. Hamilton <rlhamil at smart.net> wrote:
> 
> Perhaps you need to run
> sudo port upgrade --enforce-variants octave -gcc48 +gfortran
> 
> which seems to rebuild fftw-3 and hdf5 to match.
> 
>> On May 20, 2016, at 17:59, Murray Eisenberg <murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>> wrote:
>> 
>> OK, tried 
>> 
>>     sudo port upgrade octave -gcc48 +gfortran
>> 
>> but now I see warnings for dependencies fftw, hdf5, fftw-3-single, qrupdate. , and the additional warning at the end.
>> 
>> How should I proceed now (so that I do NOT have to run octave with —no-gui-libs)?
>> 
>>     [user:~]$ sudo port upgrade octave -gcc48 +gfortran
>> Warning: Skipping upgrade since fftw-3 3.3.4_1 >= fftw-3 3.3.4_1, even though installed variants "" do not match "+gfortran". Use 'upgrade --enforce-variants' to switch to the requested variants.
>> Warning: Skipping upgrade since hdf5 1.10.0_0 >= hdf5 1.10.0_0, even though installed variants "+cxx+gcc48+hl" do not match "+cxx+fortran+gfortran+hl". Use 'upgrade --enforce-variants' to switch to the requested variants.
>> Warning: Skipping upgrade since fftw-3-single 3.3.4_1 >= fftw-3-single 3.3.4_1, even though installed variants "" do not match "+gfortran". Use 'upgrade --enforce-variants' to switch to the requested variants.
>> Warning: Skipping upgrade since qrupdate 1.1.2_4 >= qrupdate 1.1.2_4, even though installed variants "+atlas+gcc48" do not match "+atlas". Use 'upgrade --enforce-variants' to switch to the requested variants.
>> Portfile changed since last build; discarding previous state.
>> --->  Computing dependencies for octave
>> --->  Fetching archive for octave
>> --->  Attempting to fetch octave-4.0.2_0+app+atlas+docs+fltk+gfortran+graphicsmagick+java+qt4gui+sound.darwin_15.x86_64.tbz2 from https://packages.macports.org/octave <https://packages.macports.org/octave>
>> --->  Attempting to fetch octave-4.0.2_0+app+atlas+docs+fltk+gfortran+graphicsmagick+java+qt4gui+sound.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/octave <http://lil.fr.packages.macports.org/octave>
>> --->  Attempting to fetch octave-4.0.2_0+app+atlas+docs+fltk+gfortran+graphicsmagick+java+qt4gui+sound.darwin_15.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/octave <http://mse.uk.packages.macports.org/sites/packages.macports.org/octave>
>> --->  Fetching distfiles for octave
>> --->  Attempting to fetch octave-4.0.2.tar.gz from ftp://ftp.gnu.org/gnu/octave <ftp://ftp.gnu.org/gnu/octave>
>> --->  Verifying checksums for octave                                              
>> --->  Extracting octave
>> --->  Applying patches to octave
>> --->  Configuring octave
>> --->  Building octave
>> --->  Staging octave into destroot
>> --->  Installing octave @4.0.2_0+app+atlas+docs+fltk+gfortran+graphicsmagick+java+qt4gui+sound
>> --->  Cleaning octave
>> --->  Computing dependencies for octave
>> --->  Deactivating octave @3.8.2_18+atlas+gcc48+glgui
>> --->  Cleaning octave
>> --->  Activating octave @4.0.2_0+app+atlas+docs+fltk+gfortran+graphicsmagick+java+qt4gui+sound
>> 
>> unless octave is run with --no-gui-libs, graphics_toolkit("fltk") will cause a
>> crash
>> 
>> --->  Cleaning octave
>> 
>>> On May 20, 2016, at 5:23 PM, Brandon Allbery <allbery.b at gmail.com <mailto:allbery.b at gmail.com>> wrote:
>>> 
>>> On Fri, May 20, 2016 at 5:17 PM, Murray Eisenberg <murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>> wrote:
>>> sudo port upgrade octave +gfortran
>>> 
>>> sudo port upgrade octave -gcc48 +gfortran
>>> 
>>> -- 
>>> brandon s allbery kf8nh                               sine nomine associates
>>> allbery.b at gmail.com <mailto:allbery.b at gmail.com>                                  ballbery at sinenomine.net <mailto:ballbery at sinenomine.net>
>>> unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net <http://sinenomine.net/>
>> ---
>> Murray Eisenberg			murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>
>> 503 King Farm Blvd #101	Home (240)-246-7240
>> Rockville, MD 20850-6667	Mobile (413)-427-5334
>> 
>> 
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org <mailto:macports-users at lists.macosforge.org>
>> https://lists.macosforge.org/mailman/listinfo/macports-users
> 

---
Murray Eisenberg			murrayeisenberg at gmail.com
503 King Farm Blvd #101	Home (240)-246-7240
Rockville, MD 20850-6667	Mobile (413)-427-5334


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20160523/6910bf23/attachment.html>


More information about the macports-users mailing list