[MacPorts] #37767: octave-general @1.3.2 fails to build
#37767: octave-general @1.3.2 fails to build -----------------------------------+-------------------------------- Reporter: roberthuston@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: octave octave-general | Port: octave-general -----------------------------------+-------------------------------- I did a self update and discovered that my octave-signal port needed to be upgraded to 1.2.0_0. As part of the upgrade, macports pulled down octave- general @1.3.2. But the build failed, thus preventing me from upgrading my octave-signal port. It appears that the portfile's build script fails to create intermediate directories and thus cannot populate them with intermediate results. I have attached the output of the main.log that was dumped as part of the build. -- Ticket URL: <https://trac.macports.org/ticket/37767> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37767: octave-general @1.3.2 fails to build -----------------------------+----------------------------------- Reporter: roberthuston@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: octave octave-general Port: octave-general | -----------------------------+----------------------------------- Comment (by razzfazz@…): Seeing the same problem. This is on Mountain Lion. -- Ticket URL: <https://trac.macports.org/ticket/37767#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37767: octave-general @1.3.2 fails to build -----------------------------+-------------------------------- Reporter: roberthuston@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: octave-general | -----------------------------+-------------------------------- Changes (by macsforever2000@…): * keywords: octave octave-general => -- Ticket URL: <https://trac.macports.org/ticket/37767#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37767: octave-general @1.3.2 fails to build -----------------------------+-------------------------------- Reporter: roberthuston@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: octave-general | -----------------------------+-------------------------------- Comment (by mv@…): CC me -- Ticket URL: <https://trac.macports.org/ticket/37767#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37767: octave-general @1.3.2 fails to build -----------------------------+-------------------------------- Reporter: roberthuston@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: octave-general | -----------------------------+-------------------------------- Changes (by larryv@…): * cc: mv@… (added) Comment: Replying to [comment:6 mv@…]:
Cc Me!
You need to actually click the “CcMe!” button next to the Cc list to be Cc’d. I’ve added you to the list. -- Ticket URL: <https://trac.macports.org/ticket/37767#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37767: octave-general @1.3.2 fails to build -----------------------------+-------------------------------- Reporter: roberthuston@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: octave-general | -----------------------------+-------------------------------- Comment (by arthur@…): This could be a bug in octave (the main package) not octave-general. I have seen similar errors when trying to install other packages (e.g. octave-strings). On the other hand, when I replaced octave-3.2.4 with octave-devel-3.6.4, I could then install octave-general (and octave- strings) without any errors. -- Ticket URL: <https://trac.macports.org/ticket/37767#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#37767: octave-general @1.3.2 fails to build -----------------------------+-------------------------------- Reporter: roberthuston@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: octave-general | -----------------------------+-------------------------------- Comment (by roberthuston@…): Replying to [comment:9 arthur@…]:
This could be a bug in octave (the main package) not octave-general. I have seen similar errors when trying to install other packages (e.g. octave-strings). On the other hand, when I replaced octave-3.2.4 with octave-devel-3.6.4, I could then install octave-general (and octave- strings) without any errors.
I believe you are right. I was able to install octave-devel-3.6.4 and then octave-general happily installed. (My goal was to install octave-control and octave-signal, which pulls in octave-general and others.) At this point, octave-devel-3.6.4 is probably better anyway, since GNU Octave has version 3.6.4 marked as the actual release version. I've also since found that octave-devel-3.6.4 operates considerably faster and more efficiently than the standard octave-3.2.4. I don't understand why MacPorts keeps it at the "devel" state since GNU considers it "released." -- Ticket URL: <https://trac.macports.org/ticket/37767#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | -----------------------------+-------------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: Please do: {{{ sudo port clean octave-general sudo port selfupdate }}} and then try installing it again. Should be fixed with r114034. -- Ticket URL: <https://trac.macports.org/ticket/37767#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#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 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 -- Ticket URL: <https://trac.macports.org/ticket/37767#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#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
#37767: octave-general @1.3.2 fails to build -----------------------------+-------------------------------- Reporter: roberthuston@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: octave-general | -----------------------------+-------------------------------- Changes (by ralph@…): * status: closed => reopened * resolution: fixed => Comment: I am getting the same issue when trying to upgrade from 1.3.2 to 1.3.4. It seems that this issue is NOT fixed. -- Ticket URL: <https://trac.macports.org/ticket/37767#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
#37767: octave-general @1.3.2 fails to build -----------------------------+-------------------------------- Reporter: roberthuston@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: octave-general | -----------------------------+-------------------------------- Comment (by ralph@…): Hmm perhpas my issue is slightly different - it is some other files which are not there. I'll submit a new bug report. -- Ticket URL: <https://trac.macports.org/ticket/37767#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | -----------------------------+-------------------------------- Changes (by mf2k@…): * status: reopened => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/37767#comment:18> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts