[MacPorts] #37767: octave-general @1.3.2 fails to build

MacPorts noreply at macports.org
Wed Nov 27 20:20:28 PST 2013


#37767: octave-general @1.3.2 fails to build
-----------------------------+--------------------------------
  Reporter:  roberthuston@…  |      Owner:  macports-tickets@…
      Type:  defect          |     Status:  closed
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.1.2
Resolution:  fixed           |   Keywords:
      Port:  octave-general  |
-----------------------------+--------------------------------

Comment (by roberthuston@…):

 Replying to [comment:14 arthur@…]:
 > Replying to [comment:13 michaelld@…]:
 > > Please do:
 > > {{{
 > > sudo port clean octave-general
 > > sudo port selfupdate
 > > }}}
 > > and then try installing it again. Should be fixed with r114034.
 >
 >
 > I am afraid it still fails to install:
 >
 > --->  Verifying checksums for octave-general
 > --->  Checksumming general-1.3.2.tar.gz
 > --->  Extracting octave-general
 > --->  Extracting general-1.3.2.tar.gz
 > --->  Configuring octave-general
 > sh: line 0: cd:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_math_octave-general/octave-
 general/work/general: No such file or directory

 It appears that the octave-devel port has recently been deprecated and the
 regular octave port is now the most recent version (@3.6.4_10 as of this
 writing).

 I've discovered that this behavior occurs with all packages, not just
 octave-general. Basically, it can be fixed manually by attempting to
 install the package, manually creating the "package" directory (e.g.,
 "general") after the configuration step fails, and then resuming the
 installation.

 $ sudo port install octave[[br]]
 => now "octave" port installs what used to be the "octave-devel" port
 (version 3.6.4_x)

 $ 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

 $ 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

 I suspect there's something wrong with the octave package installer script
 in how it parses the package name in creating the build tree.

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


More information about the macports-tickets mailing list