[MacPorts] #18050: Octave failes to build, Issue with CSparse
#18050: Octave failes to build, Issue with CSparse ----------------------------+----------------------------------------------- Reporter: egan@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: ----------------------------+----------------------------------------------- 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. -- Ticket URL: <http://trac.macports.org/ticket/18050> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#18050: Octave failes to build, Issue with CSparse ----------------------------+----------------------------------------------- Reporter: egan@… | Owner: alakazam@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: octave ----------------------------+----------------------------------------------- Changes (by alakazam@…): * cc: alakazam@… (removed) * cc: stechert@…, ryandesign@… (added) * owner: stechert@… => alakazam@… * status: new => assigned Comment: Could you provide the full output of "sudo port clean --all octave && sudo port -d install octave" ? -- Ticket URL: <http://trac.macports.org/ticket/18050#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18050: Octave failes to build, Issue with CSparse ----------------------------+----------------------------------------------- Reporter: egan@… | Owner: alakazam@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: octave ----------------------------+----------------------------------------------- Comment(by egan@…): Replying to [comment:2 alakazam@…]:
Could you provide the full output of "sudo port clean --all octave && sudo port -d install octave" ?
Uploaded here: http://xmission.com/~egan/octave-build.out.gz -- Ticket URL: <http://trac.macports.org/ticket/18050#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18050: Octave failes to build, Issue with CSparse ----------------------------+----------------------------------------------- Reporter: egan@… | Owner: alakazam@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: octave ----------------------------+----------------------------------------------- Comment(by alakazam@…): You can simply use the attachment feature : http://trac.macports.org/attachment/ticket/18050/octave-build.out I'll look into it now. -- Ticket URL: <http://trac.macports.org/ticket/18050#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18050: Octave failes to build, Issue with CSparse ----------------------------+----------------------------------------------- Reporter: egan@… | Owner: alakazam@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: octave ----------------------------+----------------------------------------------- Comment(by jmr@…): What version of XCode are you using? -- Ticket URL: <http://trac.macports.org/ticket/18050#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18050: Octave failes to build, Issue with CSparse ----------------------------+----------------------------------------------- Reporter: egan@… | Owner: alakazam@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: octave ----------------------------+----------------------------------------------- Comment(by egan@…): Replying to [comment:5 jmr@…]:
What version of XCode are you using? 3.1.1
-- Ticket URL: <http://trac.macports.org/ticket/18050#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18050: Octave fails to build, issue with CSparse 3.2.0 ----------------------------+----------------------------------------------- Reporter: egan@… | Owner: alakazam@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: octave ----------------------------+----------------------------------------------- Comment(by alakazam@…): The issue seems to be a known problem :
http://www-old.cae.wisc.edu/pipermail/help- octave/2008-October/011408.html
Do you have the latest octave and SuiteSparse Portfiles ? The following macports issues are probably related :
https://trac.macports.org/ticket/17026 (which I think is supposed to fix this bug)
The latest XCode build is 3.1.2 ; if you have the latest versions of all Portfiles (sudo port selfupdate), please consider updating XCode. -- Ticket URL: <http://trac.macports.org/ticket/18050#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18050: Octave fails to build, issue with CSparse 3.2.0 ----------------------------+----------------------------------------------- Reporter: egan@… | Owner: alakazam@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: octave ----------------------------+----------------------------------------------- Comment(by egan@…): Replying to [comment:7 alakazam@…]:
The issue seems to be a known problem :
http://www-old.cae.wisc.edu/pipermail/help- octave/2008-October/011408.html
Do you have the latest octave and SuiteSparse Portfiles ?
The following macports issues are probably related :
https://trac.macports.org/ticket/17026 (which I think is supposed to fix this bug)
The latest XCode build is 3.1.2 ; if you have the latest versions of all Portfiles (sudo port selfupdate), please consider updating XCode.
Xcode 3.1.2 did not help, but the following did: sudo port deactivate SuiteSparse # shutdown 2.4 sudo port install SuiteSparse # install 3.2 Octave is working now, please close ticket. Thanks for the incredible support. -- Ticket URL: <http://trac.macports.org/ticket/18050#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18050: Octave fails to build, issue with CSparse 3.2.0 -----------------------------+---------------------------------------------- Reporter: egan@… | Owner: alakazam@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: octave | -----------------------------+---------------------------------------------- Changes (by alakazam@…): * status: assigned => closed * resolution: => fixed -- Ticket URL: <http://trac.macports.org/ticket/18050#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts