Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#36407 closed defect (invalid)

octave-devel @3.6.3 install error

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

Description

On OSX 10.8.2 I cannot install octave-devel (though I don't know that it works with a different OS X version). It fails with the following error:

Error: reinplace: couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-devel/octave-devel/work/octave-3.6.3/src/Makefile": no such file or directory
Error: org.macports.build for port octave-devel returned: reinplace sed(1) failed

The log has a little more information:

:debug:build Executing proc-pre-org.macports.build-build-0
:debug:build Executing reinplace: /usr/bin/sed {/'display.cc'/s@$(CXX)@$(APPLE_CXX)@g} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-devel/octave-devel/work/octave-3.6.3/src/Makefile >@ file10
:debug:build couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-devel/octave-devel/work/octave-3.6.3/src/Makefile": no such file or directory
    while executing
"exec /usr/bin/sed {/'display.cc'/s@$(CXX)@$(APPLE_CXX)@g} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_t..."
    ("eval" body line 1)
    invoked from within
"eval exec $cmdline"
:error:build reinplace: couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-devel/octave-devel/work/octave-3.6.3/src/Makefile": no such file or directory
:error:build org.macports.build for port octave-devel returned: reinplace sed(1) failed
:debug:build Error code: NONE
:debug:build Backtrace: reinplace sed(1) failed
    while executing
"$pre $targetname"
:info:build Warning: targets not executed for octave-devel: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port octave-devel for details:

Examining the path to the Makefile that can't be found reveals that it's the parent directory which is missing. The directory .../octave-devel/work/octave-3.4.3 exists, not octave-3.6.3.

Perhaps the version is just mislabeled?

Change History (2)

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

Cc: michaelld@… added
Keywords: reinplace removed
Resolution: invalid
Status: newclosed

Then you are experiencing #29223. Clean and try again. That's the first thing you should try anytime any port fails.

sudo port clean octave-devel

comment:2 Changed 12 years ago by shawn@…

Yes, thanks, that fixed it.

Would it make sense to add that recommendation to the Ticket Guidelines in the user guide? Having it there would have saved you a little trouble and me a lot of trouble.

Note: See TracTickets for help on using tickets.