Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#16831 closed defect (duplicate)

octave gcc43 variant installs g95

Reported by: bcbarnes@… Owned by: stechert@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: octave gcc43 g95 gfortran Cc: alakazam@…
Port: octave

Description

10.5.5 (intel MBP), Macports 1.600, recently selfupdate'd.

When installing octave, even with the +gcc43 variant, the g95 package is still installed. gcc43 provides gfortran by default, and gfortran should be used to compile any fortran files required for octave or its dependencies (yes? if not, why...?).

g95 ends up eating disk space needlessly, and if uninstalled and then octave is upgraded, g95 attempts to reinstall itself.

solution: make octave and/or its dependencies build with the full F95 compliant gfortran compiler.

thanks!

Change History (10)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Cc: alakazam@… added
Owner: changed from macports-tickets@… to stechert@…

comment:2 Changed 16 years ago by bcbarnes@…

10-day bump. Any news here? Does this happen for other people too?

comment:3 Changed 16 years ago by blb@…

That's odd, if I run 'port info octave' it shows

Library Dependencies: readline, curl, hdf5, fftw-3, metis, SuiteSparse, pcre, glpk, gnuplot, ncurses, qhull, g95

but with 'port info octave +gcc43' it shows

Library Dependencies: readline, curl, hdf5, fftw-3, metis, SuiteSparse, pcre, glpk, gnuplot, ncurses, qhull, gcc43

Are you using 'port install' or 'port upgrade' on octave? Perhaps there's a bug with upgrade that is keeping the old dependencies around?

comment:4 Changed 16 years ago by alakazam@…

I tried compiling octave +gcc43, and I don't think I encountered this dependency problem.

comment:5 Changed 16 years ago by bcbarnes@…

Bizarre. Maybe something is munged up on my end. I cleaned -all on all ports and reinstalled, and it did not try to install g95. However I did not uninstall its dependencies. I plan on reinstalling macports after the new port release 1.6.x or 1.7.x comes out, so if I encounter this again, I'll update it. As for now, maybe this isn't really a problem. Thanks for testing.

comment:6 Changed 16 years ago by jasper@…

Another datapoint, as I'm seeing this bug too; currently, I have a working version of octave (on my macports built from svn), however, if I try to upgrade it to the newest version, I get:

$ sudo port upgrade octave
--->  Fetching g95
--->  Attempting to fetch gcc-core-4.0.4.tar.bz2 from http://distfiles.macports.org/gcc40
^C

If I check the dependencies for the gcc43 variant, all are satisfied. Furthermore, if I try to build the thing, all goes well:

$ sudo port build octave +gcc43
--->  Fetching octave
--->  Attempting to fetch octave-3.0.3.tar.gz from http://distfiles.macports.org/octave

comment:7 Changed 16 years ago by blb@…

I believe, if it only happens with upgrade, then you are seeing #8221.

comment:8 Changed 16 years ago by bcbarnes@…

Very good point blb. My first observation of it was with an upgrade attempt -- wiping and reinstalling, the problem went away. My initial bug report was not specific enough. I think this may be bug #8221, as you say, which apparently has an uncommitted patch?

comment:9 Changed 15 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Yeah, this looks like #8221.

comment:10 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.