[MacPorts] #18050: Octave failes to build, Issue with CSparse

MacPorts noreply at macports.org
Fri Jan 16 11:19:30 PST 2009


#18050: Octave failes to build, Issue with CSparse
----------------------------+-----------------------------------------------
 Reporter:  egan@…          |       Owner:  stechert@…           
     Type:  defect          |      Status:  new                  
 Priority:  Normal          |   Milestone:  Port Bugs            
Component:  ports           |     Version:  1.7.0                
 Keywords:                  |        Port:  octave               
----------------------------+-----------------------------------------------
Changes (by jmr@…):

 * cc: alakazam@… (added)
  * owner:  macports-tickets@… => stechert@…
  * port:  => octave


Old description:

> OS/X 10.5.6
>
> Output:
>
> $ sudo port install octave
> --->  Building octave
> 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/work/octave-3.0.3"
> && make all " returned error 2
> Command output: make -C odepack all
> warning: run make in parent directory to update libraries
> make -C ordered-qz all
> warning: run make in parent directory to update libraries
> make -C quadpack all
> warning: run make in parent directory to update libraries
> make -C ranlib all
> warning: run make in parent directory to update libraries
> make -C slatec-err all
> warning: run make in parent directory to update libraries
> make -C slatec-fn all
> warning: run make in parent directory to update libraries
> make -C villad all
> warning: run make in parent directory to update libraries
> make libcruft.a libcruft.3.0.3.dylib
> make[3]: `libcruft.a' is up to date.
> make[3]: `libcruft.3.0.3.dylib' is up to date.
> make -C liboctave all
> /usr/bin/g++-4.0 -c -I/opt/local/include -I/opt/local/include -I. -I..
> -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp
> -Wall -W -Wshadow -Wold-style-cast -O2 CSparse.cc -o CSparse.o
> CSparse.cc: In member function 'ComplexMatrix
> SparseComplexMatrix::fsolve(MatrixType&, const Matrix&, octave_idx_type&,
> double&, void (*)(double), bool) const':
> CSparse.cc:5769: error: invalid conversion from 'void (*)(int, const
> char*, int, const char*)' to 'void (*)(int, char*, int, char*)'
> CSparse.cc: In member function 'SparseComplexMatrix
> SparseComplexMatrix::fsolve(MatrixType&, const SparseMatrix&,
> octave_idx_type&, double&, void (*)(double), bool) const':
> CSparse.cc:6012: error: invalid conversion from 'void (*)(int, const
> char*, int, const char*)' to 'void (*)(int, char*, int, char*)'
> CSparse.cc: In member function 'ComplexMatrix
> SparseComplexMatrix::fsolve(MatrixType&, const ComplexMatrix&,
> octave_idx_type&, double&, void (*)(double), bool) const':
> CSparse.cc:6303: error: invalid conversion from 'void (*)(int, const
> char*, int, const char*)' to 'void (*)(int, char*, int, char*)'
> CSparse.cc: In member function 'SparseComplexMatrix
> SparseComplexMatrix::fsolve(MatrixType&, const SparseComplexMatrix&,
> octave_idx_type&, double&, void (*)(double), bool) const':
> CSparse.cc:6525: error: invalid conversion from 'void (*)(int, const
> char*, int, const char*)' to 'void (*)(int, char*, int, char*)'
> make[2]: *** [CSparse.o] Error 1
> make[1]: *** [liboctave] Error 2
> make: *** [all] Error 2
>
> Error: Status 1 encountered during processing.

New description:

 OS/X 10.5.6

 Output:
 {{{
 $ sudo port install octave
 --->  Building octave
 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/work/octave-3.0.3"
 && make all " returned error 2
 Command output: make -C odepack all
 warning: run make in parent directory to update libraries
 make -C ordered-qz all
 warning: run make in parent directory to update libraries
 make -C quadpack all
 warning: run make in parent directory to update libraries
 make -C ranlib all
 warning: run make in parent directory to update libraries
 make -C slatec-err all
 warning: run make in parent directory to update libraries
 make -C slatec-fn all
 warning: run make in parent directory to update libraries
 make -C villad all
 warning: run make in parent directory to update libraries
 make libcruft.a libcruft.3.0.3.dylib
 make[3]: `libcruft.a' is up to date.
 make[3]: `libcruft.3.0.3.dylib' is up to date.
 make -C liboctave all
 /usr/bin/g++-4.0 -c -I/opt/local/include -I/opt/local/include -I. -I..
 -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp
 -Wall -W -Wshadow -Wold-style-cast -O2 CSparse.cc -o CSparse.o
 CSparse.cc: In member function 'ComplexMatrix
 SparseComplexMatrix::fsolve(MatrixType&, const Matrix&, octave_idx_type&,
 double&, void (*)(double), bool) const':
 CSparse.cc:5769: error: invalid conversion from 'void (*)(int, const
 char*, int, const char*)' to 'void (*)(int, char*, int, char*)'
 CSparse.cc: In member function 'SparseComplexMatrix
 SparseComplexMatrix::fsolve(MatrixType&, const SparseMatrix&,
 octave_idx_type&, double&, void (*)(double), bool) const':
 CSparse.cc:6012: error: invalid conversion from 'void (*)(int, const
 char*, int, const char*)' to 'void (*)(int, char*, int, char*)'
 CSparse.cc: In member function 'ComplexMatrix
 SparseComplexMatrix::fsolve(MatrixType&, const ComplexMatrix&,
 octave_idx_type&, double&, void (*)(double), bool) const':
 CSparse.cc:6303: error: invalid conversion from 'void (*)(int, const
 char*, int, const char*)' to 'void (*)(int, char*, int, char*)'
 CSparse.cc: In member function 'SparseComplexMatrix
 SparseComplexMatrix::fsolve(MatrixType&, const SparseComplexMatrix&,
 octave_idx_type&, double&, void (*)(double), bool) const':
 CSparse.cc:6525: error: invalid conversion from 'void (*)(int, const
 char*, int, const char*)' to 'void (*)(int, char*, int, char*)'
 make[2]: *** [CSparse.o] Error 1
 make[1]: *** [liboctave] Error 2
 make: *** [all] Error 2

 Error: Status 1 encountered during processing.
 }}}

--

Comment:

 Please remember to use WikiFormatting.

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


More information about the macports-tickets mailing list