Opened 11 years ago
Closed 11 years ago
#41577 closed defect (worksforme)
octave @3.6.4_10 fails to install octave packages
Reported by: | roberthuston@… | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | octave |
Description
Ever since the "octave-devel" line got migrated back to the regular "octave" line, installation of octave packages fails. It appears that the package installer scripts do not correctly parse the package name when forming the subdirectories of the build tree during configuration.
Example:
$ sudo port install octave
=> now "octave" port installs what used to be the "octave-devel" port (version 3.6.4_x)
$ sudo port install octave-general
=> fails due to inability to "cd" to "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-general/octave-general/work/general" because the "general" subdirectory does not get created
Manual remedy:
$ cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-general/octave-general/work
$ ls
=> verify that directory contains no "general" subdirectory
$ sudo mkdir general
$ sudo chown macports general
=> installer user account is "macports"
$ cd ../../..
=> need to do this last step because the build working directory gets deleted after installation
$ sudo port install octave-general
=> should successfully complete installation
The same problem occurs for octave-miscellaneous, but with the missing subdirectory being "miscellaneous" instead of "general." I've had to manually intervene on all of my octave packages this way:
- octave-general
- octave-miscellaneous
- octave-specfun
- octave-struct
- octave-optim
- octave-control
- octave-signal
Change History (5)
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | michaelld@… added |
---|
comment:2 Changed 11 years ago by mf2k (Frank Schima)
Cc: | michaelld@… removed |
---|---|
Keywords: | octave packages removed |
Owner: | changed from macports-tickets@… to michaelld@… |
comment:3 follow-up: 4 Changed 11 years ago by michaelld (Michael Dickens)
Please do:
sudo port clean `port echo octave-*` sudo port sync
and try again. This issue should have been fixed in r114074 last night (US/ET).
comment:4 Changed 11 years ago by roberthuston@…
Replying to michaelld@…:
Please do:
sudo port clean `port echo octave-*` sudo port syncand try again. This issue should have been fixed in r114074 last night (US/ET).
After following your instructions, the package installers indeed now work again. Thank you!
comment:5 Changed 11 years ago by michaelld (Michael Dickens)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Great; thanks for getting back here!
In the future, please Cc the port maintainers (
port info --maintainers octave
).