[MacPorts] #41577: octave @3.6.4_10 fails to install octave packages

MacPorts noreply at macports.org
Wed Nov 27 13:59:54 PST 2013


#41577: octave @3.6.4_10 fails to install octave packages
------------------------------+--------------------------------
 Reporter:  roberthuston@…    |      Owner:  macports-tickets@…
     Type:  defect            |     Status:  new
 Priority:  Normal            |  Milestone:
Component:  ports             |    Version:  2.2.1
 Keywords:  octave, packages  |       Port:  octave
------------------------------+--------------------------------
 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[[br]]
 => now "octave" port installs what used to be the "octave-devel" port
 (version 3.6.4_x)[[br]]
 $ sudo port install octave-general[[br]]
 => 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[[br]]

 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[[br]]
 $ ls[[br]]
 => verify that directory contains no "general" subdirectory[[br]]
 $ sudo mkdir general[[br]]
 $ sudo chown macports general[[br]]
 => installer user account is "macports"[[br]]
 $ cd ../../..[[br]]
 => need to do this last step because the build working directory gets
 deleted after installation[[br]]
 $ sudo port install octave-general[[br]]
 => 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

-- 
Ticket URL: <https://trac.macports.org/ticket/41577>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list