octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] Octave 7.3.0: Failed to destroot octave: command ex


From: Kirill Muradov
Subject: [Octave-bug-tracker] Octave 7.3.0: Failed to destroot octave: command execution failed
Date: Wed, 09 Nov 2022 00:05:39 -0000

Dear Octave maintainers / users,
 
With a major upgrade of MacPorts, I decided to reinstall Octave. However, I have been facing a recurring problem with the latest version 7.3.0. The installation proceeds to staging Octave into destroot and then fails:
 

Kirills-iMac:~ kirillmuradov$ sudo port install octave +accelerate+app+docs+gfortran+graphicsmagick+qt5+sound+sundials

Password:

--->  Computing dependencies for octave

--->  Fetching archive for octave

--->  Attempting to fetch octave-7.3.0_0+accelerate+app+docs+gfortran+graphicsmagick+qt5+sound+sundials.darwin_21.x86_64.tbz2 from https://cph.dk.packages.macports.org/octave

--->  Attempting to fetch octave-7.3.0_0+accelerate+app+docs+gfortran+graphicsmagick+qt5+sound+sundials.darwin_21.x86_64.tbz2 from https://nue.de.packages.macports.org/octave

--->  Attempting to fetch octave-7.3.0_0+accelerate+app+docs+gfortran+graphicsmagick+qt5+sound+sundials.darwin_21.x86_64.tbz2 from https://fra.de.packages.macports.org/octave

--->  Fetching distfiles for octave

--->  Verifying checksums for octave

--->  Extracting octave

--->  Applying patches to octave

--->  Configuring octave

Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration; check that features were not accidentally disabled:

  MIN: found in octave-7.3.0/config.log

--->  Building octave

--->  Staging octave into destroot                       

Error: Failed to destroot octave: command execution failed

Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/main.log for details.

Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

Error: Processing of port octave failed

 
Below is an excerpt from the last lines of the main.log file:
 

info:destroot cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/destroot/opt/local/lib/octave/7.3.0 && \

:info:destroot for ltlib in libinterp/dldfcn/__delaunayn__.la libinterp/dldfcn/__fltk_uigetfile__.la libinterp/dldfcn/__glpk__.la libinterp/dldfcn/__init_fltk__.la libinterp/dldfcn/__init_gnuplot__.la libinterp/dldfcn/__ode15__.la libinterp/dldfcn/__voronoi__.la libinterp/dldfcn/audiodevinfo.la libinterp/dldfcn/audioread.la libinterp/dldfcn/convhulln.la libinterp/dldfcn/fftw.la libinterp/dldfcn/gzip.la; do \

:info:destroot   f=`echo $ltlib | /opt/local/bin/gsed 's,.*/,,'`; \

:info:destroot   dl=`/opt/local/bin/gsed -n -e "s/dlname='\([^']*\)'/\1/p" < $f`; \

:info:destroot   if [ -n "$dl" ]; then \

:info:destroot     /usr/bin/install -c $dl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/destroot/opt/local/lib/octave/7.3.0/oct/x86_64-apple-darwin21.x.x/`echo $f | /opt/local/bin/gsed 's,^lib,,; s,\.la$,.oct,'`; \

:info:destroot   else \

:info:destroot     echo "error: dlname is empty in $ltlib!"; \

:info:destroot     exit 1; \

:info:destroot   fi; \

:info:destroot   lnames=`/opt/local/bin/gsed -n -e "s/library_names='\([^']*\)'/\1/p" < $f`; \

:info:destroot   if [ -n "$lnames" ]; then \

:info:destroot     rm -f $f $lnames $dl; \

:info:destroot   fi \

:info:destroot done

:info:destroot /bin/mkdir -p /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/destroot/opt/local/share/octave/7.3.0/etc

:info:destroot /usr/bin/install -c -m 644 -p libinterp/DOCSTRINGS /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/destroot/opt/local/share/octave/7.3.0/etc/built-in-docstrings

:info:destroot make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/octave-7.3.0'

:info:destroot make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/octave-7.3.0'

:info:destroot make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/octave-7.3.0'

:info:destroot make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/octave-7.3.0'

:info:destroot make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/octave-7.3.0'

:debug:destroot Executing proc-post-org.macports.destroot-destroot-0

:info:destroot xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/destroot/opt/local/lib/octave/7.x.x

:debug:destroot system: install_name_tool -id /opt/local/lib/octave/7.x.x/liboctave.9.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/destroot/opt/local/lib/octave/7.3.0/liboctave.9.dylib

:debug:destroot system: install_name_tool -id /opt/local/lib/octave/7.x.x/liboctinterp.10.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/destroot/opt/local/lib/octave/7.3.0/liboctinterp.10.dylib

:debug:destroot system: install_name_tool -id /opt/local/lib/octave/7.x.x/liboctgui.8.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/destroot/opt/local/lib/octave/7.3.0/liboctgui.8.dylib

:debug:destroot Executing proc-post-org.macports.destroot-destroot-1

:debug:destroot system -W /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/octave-7.3.0: ./run-octave -cli -q -f -H --eval 'try; pkg prefix /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/destroot/opt/local/share/octave/packages /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/destroot/opt/local/lib/octave/packages; pkg global_list /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/destroot/opt/local/share/octave/octave_packages; pkg -verbose -global rebuild; disp(lasterror.message); catch; exit(1); end_try_catch;'

:info:destroot dyld[30172]: symbol not found in flat namespace (_cgejsv_)

:info:destroot Command failed: ./run-octave -cli -q -f -H --eval 'try; pkg prefix /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/destroot/opt/local/share/octave/packages /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/destroot/opt/local/lib/octave/packages; pkg global_list /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/destroot/opt/local/share/octave/octave_packages; pkg -verbose -global rebuild; disp(lasterror.message); catch; exit(1); end_try_catch;'

:info:destroot Killed by signal: 6

:error:destroot Failed to destroot octave: command execution failed

:debug:destroot Error code: NONE

:debug:destroot Backtrace: command execution failed

:debug:destroot     while executing

:debug:destroot "$post $targetname"

:error:destroot See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/main.log for details.

 
I am a relatively experienced user of Octave but have very scarce idea of the building process. Will you please provide some guidance, if any? Or perhaps I should switch to an earlier version of Octave (6.?.?) in MacPorts (how?). My system is macOS Monterey 12.6.1, MacPorts and Xcode cl tools are up to date.
 
Thanks in advance,
Kirill Muradov
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]