Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18050 closed defect (fixed)

Octave fails to build, issue with CSparse 3.2.0

Reported by: egan@… Owned by: alakazam@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: stechert@…, ryandesign (Ryan Carsten Schmidt)
Port: octave

Description (last modified by jmroot (Joshua Root))

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.

Attachments (1)

octave-build.out (150.3 KB) - added by alakazam@… 16 years ago.

Download all attachments as: .zip

Change History (11)

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

Cc: alakazam@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to stechert@…
Port: octave added

Please remember to use WikiFormatting.

comment:2 Changed 16 years ago by alakazam@…

Cc: stechert@… ryandesign@… added; alakazam@… removed
Owner: changed from stechert@… to alakazam@…
Status: newassigned

Could you provide the full output of "sudo port clean --all octave && sudo port -d install octave" ?

Changed 16 years ago by alakazam@…

Attachment: octave-build.out added

comment:3 in reply to:  2 Changed 16 years ago by egan@…

Replying to 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

comment:4 Changed 16 years ago 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.

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

What version of XCode are you using?

comment:6 in reply to:  5 Changed 16 years ago by egan@…

Replying to jmr@…:

What version of XCode are you using?

3.1.1

comment:7 Changed 16 years ago by alakazam@…

Summary: Octave failes to build, Issue with CSparseOctave fails to build, issue with CSparse 3.2.0

The issue seems to be a known problem :

http://article.gmane.org/gmane.comp.gnu.octave.bugs/10105

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511075

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/15054

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.

comment:8 in reply to:  7 Changed 16 years ago by egan@…

Replying to alakazam@…:

The issue seems to be a known problem :

http://article.gmane.org/gmane.comp.gnu.octave.bugs/10105

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511075

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/15054

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.

comment:9 Changed 16 years ago by alakazam@…

Resolution: fixed
Status: assignedclosed

comment:10 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.