Opened 10 years ago

Closed 10 years ago

#44342 closed defect (fixed)

octave-general @1.3.4_0 Configure error - build failure

Reported by: roberthuston@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc: michaelld (Michael Dickens), dimkab, urilabob@…, ralph@…
Port: octave-general

Description

After upgrading to octave @3.8.1_0, I also needed to upgrade my Octave packages. However, octave-general @1.3.4_0 now fails at configuration because it can't find /opt/local/share/octave/3.8.1/etc/macros.texi. I went to that directory and verified that the file is indeed missing. My previous version of octave-general @1.3.2_0 was fine, but it ran with my installation of octave @3.6.4. It would be nice to play with the new GUI, but I can't be without my Octave packages, so I'm reverting for now.

The end of the /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-general/octave-general/main.log file contains:

:info:configure /opt/local/bin/mkoctfile-3.8.1 SHA1.cc
:info:configure /opt/local/bin/mkoctfile-3.8.1 mark_for_deletion.cc
:info:configure /opt/local/bin/mkoctfile-3.8.1 packfields.cc
:info:configure /opt/local/bin/mkoctfile-3.8.1 unpackfields.cc
:info:configure copyfile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-general/octave-general/work/.tmp/oct-S1fOV6/general/src/SHA1.oct /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-general/octave-general/work/.tmp/oct-S1fOV6/general/src/mark_for_deletion.oct /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-general/octave-general/work/.tmp/oct-S1fOV6/general/src/packfields.oct /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-general/octave-general/work/.tmp/oct-S1fOV6/general/src/unpackfields.oct /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-general/octave-general/work/.tmp/oct-S1fOV6/general/inst/x86_64-apple-darwin13.3.0-api-v49+
:info:configure unable to open /opt/local/share/octave/3.8.1/etc/macros.texi for reading
:info:configure error: called from '__makeinfo__' in file /opt/local/share/octave/3.8.1/m/help/__makeinfo__.m near line 103, column 5
:info:configure error: called from:
:info:configure error:   /opt/local/share/octave/3.8.1/m/pkg/private/install.m at line 241, column 5
:info:configure error:   /opt/local/share/octave/3.8.1/m/pkg/private/build.m at line 50, column 3
:info:configure error:   /opt/local/share/octave/3.8.1/m/pkg/pkg.m at line 516, column 7
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-general/octave-general/work/general" && /opt/local/bin/octave -q -f --eval 'pkg build -verbose -nodeps /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-general/octave-general/work/general /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-general/octave-general/work/.tmp/general.tar.gz' 
:info:configure Exit code: 1
:error:configure org.macports.configure for port octave-general returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"portconfigure::configure_main org.macports.configure"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:configure Warning: targets not executed for octave-general: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Please see the log file for port octave-general for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-general/octave-general/main.log

Things break down after the ":info:configure copyfile" line.

Change History (11)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Cc: michaelld@… added
Keywords: octave-general removed

Cc'ing the octave port maintainer.

comment:2 Changed 10 years ago by dimkab

Confirm, same problem here.

comment:3 Changed 10 years ago by dimkab

Cc: dima.batenkov@… added

Cc Me!

comment:4 Changed 10 years ago by seanfarley (Sean Farley)

Huh. It seems that Octave must be built with documentation or else configuring packages fails: http://savannah.gnu.org/bugs/?42352 ... this would make me think that we should always build documentation which, in turn, implies a dependency on latex. Michael?

comment:5 in reply to:  4 Changed 10 years ago by urilabob@…

Replying to sean@…:

Huh. It seems that Octave must be built with documentation or else configuring packages fails: http://savannah.gnu.org/bugs/?42352 ... this would make me think that we should always build documentation which, in turn, implies a dependency on latex. Michael?

The savannah writeup says that the docs are already built in the sources and just need to be copied (I have no idea whether this is correct, nor where to check). If so, the dependency would only be on texinfo, rather than the whole of latex (since texinfo is rather smaller, that would presumably make it less of an issue).

comment:6 Changed 10 years ago by urilabob@…

Cc: urilabob@… added

Cc Me!

comment:7 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ralph@… added

Has duplicate #44467.

comment:8 Changed 10 years ago by urilabob@…

Does anyone have a workaround for this problem? I tried what seemed obvious:

511 port uninstall octave-general 512 port install octave-general +with_docs

but got the same error (which suggests that the discussion in savannah isn't the whole story).

Version 0, edited 10 years ago by urilabob@… (next)

comment:9 Changed 10 years ago by roberthuston@…

For the time being, it looks like we need to include the "+docs" variant when installing octave. Then octave-general will install.

sudo port install octave +docs
sudo port install octave-general

comment:10 Changed 10 years ago by urilabob@…

Thank you Robert! Now working perfectly.

comment:11 Changed 10 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: newclosed

Fixed in r122966.

Note: See TracTickets for help on using tickets.