[MacPorts] #22586: install octave-linear-algebra fails

MacPorts noreply at macports.org
Wed Nov 18 13:50:00 PST 2009


#22586: install octave-linear-algebra fails
-------------------------------+--------------------------------------------
 Reporter:  borschel@…         |       Owner:  and.damore@…           
     Type:  defect             |      Status:  assigned               
 Priority:  Normal             |   Milestone:                         
Component:  ports              |     Version:  1.8.1                  
 Keywords:                     |        Port:  octave-linear-algebra  
-------------------------------+--------------------------------------------

Old description:

> {{{
> benno at meap01:~> sudo port install octave-linear-algebraPassword:Warning:
> Skipping upgrade since gnuplot 4.2.5_0 >= gnuplot 4.2.5_0, even though
> installed variants "+darwin+darwin_9" do not match "+darwin". Use
> 'upgrade --enforce-variants' to switch to the requested variants.
> --->  Computing dependencies for octave-linear-algebra
> --->  Building octave-linear-algebra
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_math_octave-linear-algebra/work/linear-algebra-1.0.8"
> && /usr/bin/make -j1 all " returned error 2
> Command output: mkoctfile -DHAVE_OCTAVE_32 -v -DHAVE_CONFIG_H gsvd.o
> dbleGSVD.o CmplxGSVD.o  -o gsvd.oct
> /opt/local/bin/g++-mp-4.3 -bundle -bundle_loader
> /opt/local/bin/octave-3.2.3 -o gsvd.oct gsvd.o dbleGSVD.o CmplxGSVD.o
> -L/opt/local/lib/octave-3.2.3 -L/opt/local/lib -loctinterp -loctave
> -lcruft -L/opt/local/lib -lfftw3 -lfftw3f -lreadline -lncurses -lhdf5 -lz
> -lm -L/opt/local/lib -L/opt/local/lib/gcc43/gcc/i386-apple-darwin9/4.3.4
> -L/opt/local/lib/gcc43/gcc/i386-apple-darwin9/4.3.4/../../.. -lhdf5 -lz
> -lm -lgfortranbegin -lgfortran
> Undefined symbols:
>   "_dggsvd_", referenced from:
>       GSVD::init(Matrix const&, Matrix const&, GSVD::type) in dbleGSVD.o
>   "_zggsvd_", referenced from:
>       ComplexGSVD::init(ComplexMatrix const&, ComplexMatrix const&,
> GSVD::type) in CmplxGSVD.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[1]: *** [gsvd.oct] Error 1
> make: *** [build] Error 2
>
> Error: Status 1 encountered during processing.
> }}}

New description:

 There is undefined symbol error when building linear-algebra package from
 octave-forge.

 Check attachment for actual output.

--

Comment(by and.damore@…):

 I can reproduce the same problem on Leopard G4.

 From [http://octave.sourceforge.net/doc/f/gsvd.html this page] I can read
 {{{
 The code is a wrapper to the corresponding Lapack dggsvd and zggsvd
 routines.
 }}}

 and I see I don't have lapack that is in turn provided by atlas in
 macports.

 Unluckily at the moment atlas is broken at least here on my machine, as
 per #22378 so I can't really help with this for now, in the meanwhile you
 could paste here the output of '''port installed atlas''' on your
 machines.

 When reporting an error remember to run port with '-d' option in order to
 have debugging output.

 I'm editing the original message as the <pre> block breaks html page
 formatting.

-- 
Ticket URL: <http://trac.macports.org/ticket/22586#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list