[MacPorts] #46517: octave-tsa @4.2.7 needs gcc dependency
MacPorts
noreply at macports.org
Sat Jan 10 10:44:18 PST 2015
#46517: octave-tsa @4.2.7 needs gcc dependency
--------------------------+----------------------------
Reporter: ryandesign@… | Owner: mschamschula@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port: octave-tsa
--------------------------+----------------------------
octave-tsa @4.2.7 fails to build on all buildbot builders because:
{{{
INCFLAGS="-I/opt/local/include/octave-3.8.2/octave/..
-I/opt/local/include/octave-3.8.2/octave -I/opt/local/include -include
cstdlib" mkoctfile --mex covm_mex.cpp -L/opt/local/lib
-L/opt/local/lib/gcc49/gcc/x86_64-apple-darwin11/4.9.2
-L/opt/local/lib/gcc49/gcc/x86_64-apple-darwin11/4.9.2/../../.. -lgfortran
-lquadmath -lm -lgomp ## Octave
ld: warning: directory not found for option
'-L/opt/local/lib/gcc49/gcc/x86_64-apple-darwin11/4.9.2'
ld: warning: directory not found for option
'-L/opt/local/lib/gcc49/gcc/x86_64-apple-darwin11/4.9.2/../../..'
ld: library not found for -lgfortran
}}}
It sounds like octave-tsa has a dependency on whatever version of gcc
octave was built with. You may need to add gcc variants to octave-tsa
(possibly using the compilers 1.0 portgroup), and use the
`require_active_variants` procedure in the active_variants 1.1 portgroup
to ensure that the selected variant matches the one selected for octave.
--
Ticket URL: <https://trac.macports.org/ticket/46517>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list