Opened 12 years ago

Closed 10 years ago

#35248 closed defect (fixed)

octave: Undefined symbols _SuiteSparse_time

Reported by: darrell@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: anddam (Andrea D'Amore)
Port: octave

Description

Looks like it built a whole lot of stuff, then failed close to the end.

Attachments (2)

main.log (129.0 KB) - added by darrell@… 12 years ago.
Log file
main.2.log (978.9 KB) - added by benjf5+macports@… 12 years ago.
Log of attempt to build octave. Failed in a call to a curl header.

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by darrell@…

Attachment: main.log added

Log file

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Port: octave added
Summary: Octave won't buildoctave: Undefined symbols _SuiteSparse_time

The log says:

:info:build Undefined symbols for architecture x86_64:
:info:build   "_SuiteSparse_time", referenced from:
:info:build       _umfpack_tic in libumfpack.a(umfpack_gn_tictoc.o)
:info:build       _umfpack_toc in libumfpack.a(umfpack_gn_tictoc.o)
:info:build ld: symbol(s) not found for architecture x86_64
:info:build collect2: ld returned 1 exit status

So it could be an incompatibility with the new version of SuiteSparse that was recently committed. If so, you could try the newer octave-devel port instead.

But the log also says:

:debug:main Skipping completed org.macports.archivefetch (octave)
:debug:main Skipping completed org.macports.fetch (octave)
:debug:main Skipping completed org.macports.checksum (octave)
:debug:main Skipping completed org.macports.extract (octave)
:debug:main Skipping completed org.macports.patch (octave)
:debug:main Skipping completed org.macports.configure (octave)

which means this was not a clean attempt. Please "sudo port clean octave" and try again, and if it fails again, attach the new main.log so that we have a complete record of what happened.

comment:2 Changed 12 years ago by benjf5+macports@…

I've hit this same problem with octave-devel and a clone of the Octave mercurial repository; this build error showed up relatively recently. (I'm attaching my log file from a clean build attempt.)

comment:3 in reply to:  2 Changed 12 years ago by benjf5+macports@…

Replying to benjf5+macports@…:

I've hit this same problem with octave-devel and a clone of the Octave mercurial repository; this build error showed up relatively recently. (I'm attaching my log file from a clean build attempt.)

I take that back! My octave-devel build failed on CGDisplayBitsPerPixel; the fix for that is however documented. I'm surprised it cropped up. As for just octave, it failed in a completely different area, compiling DLD-FUNCTIONS/urlwrite.cc, when it couldn't find curl/types.h. I'm baffled. (New log being posted now.)

Changed 12 years ago by benjf5+macports@…

Attachment: main.2.log added

Log of attempt to build octave. Failed in a call to a curl header.

comment:4 Changed 12 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

comment:5 Changed 10 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

Please do:

sudo port clean octave
sudo port selfupdate

and then try installing it again. Should be fixed with r114034.

Note: See TracTickets for help on using tickets.