Opened 12 years ago

Closed 12 years ago

#36191 closed defect (fixed)

Octave 3.6.2_1 fails to build

Reported by: mikhail.zyatin@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: octave-devel

Description

Recently updated port octave 3.6.2_1 fails to build. Log file attached.

Attachments (1)

main.log (995.3 KB) - added by mikhail.zyatin@… 12 years ago.
Main log

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by mikhail.zyatin@…

Attachment: main.log added

Main log

comment:1 Changed 12 years ago by mikhail.zyatin@…

Cc: mikhail.zyatin@… added

Cc Me!

comment:2 Changed 12 years ago by mf2k (Frank Schima)

Cc: mikhail.zyatin@… removed
Keywords: octave octave-devel removed

The reporter is automatically Cc'ed.

comment:3 Changed 12 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to michaelld@…
Port: octave-devel added; octave removed

comment:4 Changed 12 years ago by michaelld (Michael Dickens)

The actual issue is:

:info:build ld: warning: directory not found for option '-L/Volumes/work/macports/bin/../lib/gcc45/gcc/x86_64-apple-darwin11/4.5.4'
:info:build ld: warning: directory not found for option '-L/Volumes/work/macports/bin/../lib/gcc45/gcc'
:info:build ld: warning: directory not found for option '-L/Volumes/work/macports/bin/../lib/gcc45/gcc/x86_64-apple-darwin11/4.5.4/../../..'
:info:build Undefined symbols for architecture x86_64:
:info:build   "std::_List_node_base::_M_transfer(std::_List_node_base*, std::_List_node_base*)", referenced from:
:info:build       std::list<regexp::match_element, std::allocator<regexp::match_element> >::operator=(std::list<regexp::match_element, std::allocator<regexp::match_element> > const&) in liboctave_la-regexp.o

which is related to the recent GCC / libstdcxx / ld64 changes. If you do:

sudo port selfupdate
port outdated

and gcc45 is among those to be updated, then do:

sudo port upgrade outdated
sudo port clean octave-devel

and then try to install octave-devel again as before; hopefully this time it will work.

If gcc45 is not among those to be updated, then do:

sudo port -f uninstall gcc45 libstdcxx ld64
sudo port clean octave-devel

and then try to install octave-devel again as before; hopefully this time it will work. If there are multiple versions of "gcc45 libstdcxx ld64", then you'll want to force uninstall all of them.

comment:5 Changed 12 years ago by mikhail.zyatin@…

Now it works. Thank you for your help.

comment:6 Changed 12 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

You're welcome; thanks for reporting back so promptly!

Note: See TracTickets for help on using tickets.