[MacPorts] #52255: cannot install octave-optiminterp

MacPorts noreply at macports.org
Thu Sep 15 17:00:33 CEST 2016


#52255: cannot install octave-optiminterp
-----------------------------+--------------------------------
 Reporter:  MacPorts@…       |      Owner:  macports-tickets@…
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.3.4
 Keywords:  optiminterp sed  |       Port:  octave-optiminterp
-----------------------------+--------------------------------
 port install octave-optiminterp fails - details:

 {{{
 > port installed | grep octave
   octave
 @4.0.3_0+accelerate+app+docs+fltk+gfortran+graphicsmagick+java+qt4gui+sound
 (active)
   octave-control @3.0.0_0+gcc5 (active)

 > sudo port install octave-optiminterp
 --->  Computing dependencies for octave-optiminterp
 --->  Configuring octave-optiminterp
 Error: reinplace: couldn't read file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_math_octave-optiminterp/octave-
 optiminterp/work/optiminterp/DESCRIPTION": no such file or directory
 Error: org.macports.configure for port octave-optiminterp returned:
 reinplace sed(1) failed
 }}}

 Here is the tail of the log file:
 {{{
 ...
 :notice:configure --->  Configuring octave-optiminterp
 :debug:configure Using compiler 'Xcode Clang'
 :debug:configure Executing proc-pre-org.macports.configure-configure-0
 :info:configure --->  Patching DESCRIPTION: /Autoload/s at yes@no at g
 :debug:configure Executing reinplace: /usr/bin/sed /Autoload/s at yes@no at g <
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_math_octave-optiminterp/octave-
 optiminterp/work/optiminterp/DESCRIPTION >@ file10 2>@stderr
 :debug:configure couldn't read file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_math_octave-optiminterp/octave-
 optiminterp/work/optiminterp/DESCRIPTION": no such file or directory
     while executing
 "exec /usr/bin/sed /Autoload/s at yes@no at g <
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_..."
     ("eval" body line 1)
     invoked from within
 "eval exec $cmdline"
 :error:configure reinplace: couldn't read file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_math_octave-optiminterp/octave-
 optiminterp/work/optiminterp/DESCRIPTION": no such file or directory
 :error:configure org.macports.configure for port octave-optiminterp
 returned: reinplace sed(1) failed
 :debug:configure Error code: NONE
 :debug:configure Backtrace: reinplace sed(1) failed
     while executing
 "proc-pre-org.macports.configure-configure-0 org.macports.configure"
     ("eval" body line 1)
     invoked from within
 "eval $pre $targetname"
 :info:configure Warning: targets not executed for octave-optiminterp:
 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-optiminterp for
 details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_math_octave-optiminterp/octave-
 optiminterp/main.log
 }}}

 The missing file is in fact not there.  There is only an empty directory
 named "install" in the otherwise empty directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_math_octave-optiminterp/octave-
 optiminterp/work/optiminterp/`

 Finally, I tried uninstall and clean followed by port -v install:

 {{{
 > sudo port -v install octave-optiminterp

 --->  Computing dependencies for octave-optiminterp.
 --->  Fetching archive for octave-optiminterp
 --->  octave-optiminterp-0.3.4_0.darwin_15.x86_64.tbz2 doesn't seem to
 exist in /opt/local/var/macports/incoming/verified
 --->  Attempting to fetch octave-optiminterp-0.3.4_0.darwin_15.x86_64.tbz2
 from https://packages.macports.org/octave-optiminterp
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0--->  Attempting to fetch octave-
 optiminterp-0.3.4_0.darwin_15.x86_64.tbz2 from
 http://sea.us.packages.macports.org/macports/packages/octave-optiminterp
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0--->  Attempting to fetch octave-
 optiminterp-0.3.4_0.darwin_15.x86_64.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/octave-
 optiminterp
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100   308  100   308    0     0    165      0  0:00:01  0:00:01 --:--:--
 165
 --->  Fetching distfiles for octave-optiminterp
 --->  Verifying checksums for octave-optiminterp
 --->  Checksumming optiminterp-0.3.4.tar.gz
 --->  Extracting octave-optiminterp
 --->  Extracting optiminterp-0.3.4.tar.gz
 --->  Configuring octave-optiminterp
 --->  Patching DESCRIPTION: /Autoload/s at yes@no at g
 xinstall: mkdir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_math_octave-optiminterp/octave-
 optiminterp/work/optiminterp
 2016-09-15 07:56:57.730 octave-gui[80696:2529640] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:56:57.731 octave-gui[80696:2529640] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:56:57.731 octave-gui[80696:2529640] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:56:57.734 octave-gui[80696:2529640] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:56:57.909 octave-gui[80696:2529686] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 mkdir (/var/tmp/oct-GJ4Jeb)
 untar
 (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_math_octave-optiminterp/octave-
 optiminterp/work/.tmp/optiminterp.tar.gz, /var/tmp/oct-GJ4Jeb)
 checking for gcc... /usr/bin/clang
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables...
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether /usr/bin/clang accepts -g... yes
 checking for /usr/bin/clang option to accept ISO C89... none needed
 checking for mkoctfile... /opt/local/bin/mkoctfile-4.0.3 --verbose
 /usr/bin/clang++ -c -I/opt/local/include -fPIC
 -I/opt/local/include/octave-4.0.3/octave/..
 -I/opt/local/include/octave-4.0.3/octave -I/opt/local/include
 -D_THREAD_SAFE -pthread -pipe -Os -arch x86_64 -stdlib=libc++
 conftest.cc -o conftest.o
 /usr/bin/clang++ -I/opt/local/include/octave-4.0.3/octave/..
 -I/opt/local/include/octave-4.0.3/octave -I/opt/local/include
 -D_THREAD_SAFE -pthread -pipe -Os -arch x86_64 -stdlib=libc++ -bundle
 -bundle_loader /opt/local/bin/octave-4.0.3  -o conftest.oct  conftest.o
 -L/opt/local/lib/octave/4.0.3 -L/opt/local/lib -loctinterp -loctave
 -L/opt/local/lib -Wl,-headerpad_max_install_names -framework JavaVM
 clang: warning: argument unused during compilation: '-pthread'
 retrieving compile and link flags from /opt/local/bin/mkoctfile-4.0.3
 --verbose
 checking for F77_FUNC... /usr/bin/clang++ -c -I/opt/local/include -fPIC
 -I/opt/local/include/octave-4.0.3/octave/..
 -I/opt/local/include/octave-4.0.3/octave -I/opt/local/include
 -D_THREAD_SAFE -pthread -pipe -Os -arch x86_64 -stdlib=libc++
 conftest.cc -o conftest.o
 yes
 checking for octave... /opt/local/bin/octave-4.0.3
 checking for OCTAVE_VERSION in Octave... 2016-09-15 07:57:02.074 octave-
 gui[80913:2530092] CFPasteboardRef CFPasteboardCreate(CFAllocatorRef,
 CFStringRef) : failed to create global data
 2016-09-15 07:57:02.075 octave-gui[80913:2530092] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:57:02.075 octave-gui[80913:2530092] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:57:02.076 octave-gui[80913:2530092] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:57:02.096 octave-gui[80913:2530106] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:57:02.161 octave-gui[80913:2530092] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:57:02.161 octave-gui[80913:2530092] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 4.0.3
 checking for octave_config_info('canonical_host_type') in Octave...
 2016-09-15 07:57:02.972 octave-gui[80916:2530117] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:57:02.973 octave-gui[80916:2530117] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:57:02.973 octave-gui[80916:2530117] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:57:02.973 octave-gui[80916:2530117] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:57:02.995 octave-gui[80916:2530129] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:57:03.056 octave-gui[80916:2530117] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:57:03.056 octave-gui[80916:2530117] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 x86_64-apple-darwin15.5.0
 checking for octave_config_info('SHLEXT') in Octave... 2016-09-15
 07:57:03.860 octave-gui[80919:2530134] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:57:03.861 octave-gui[80919:2530134] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:57:03.861 octave-gui[80919:2530134] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:57:03.861 octave-gui[80919:2530134] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:57:03.886 octave-gui[80919:2530150] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:57:03.945 octave-gui[80919:2530134] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:57:03.945 octave-gui[80919:2530134] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 dylib
 checking whether ln -s works... yes
 checking for ranlib... /usr/bin/ranlib
 checking for strip... strip
 checking for mkoctfile... mkoctfile
 checking whether we are using the GNU Fortran compiler... yes
 checking whether mkoctfile accepts -g... yes
 checking for Fortran flag to compile .F90 files... none
 checking whether mkoctfile accepts Fortran 90... yes
 configure: creating ./config.status
 config.status: creating Makeconf

   "$prefix" is
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_math_octave-optiminterp/octave-
 optiminterp/work/optiminterp/install/optiminterp-0.3.4
   "$exec_prefix" is ${prefix}

 octave commands will install into the following directories:
    m-files:   /opt/local/share/octave/4.0.3/site/m/octave-forge
    oct-files: /opt/local/lib/octave/4.0.3/site/oct/x86_64-apple-
 darwin15.5.0/octave-forge
    binaries:  /opt/local/libexec/octave/4.0.3/site/exec/x86_64-apple-
 darwin15.5.0
 alternatives:
    m-files:   /opt/local/share/octave/4.0.3/site/octave-forge-
 alternatives/m
    oct-files: /opt/local/lib/octave/4.0.3/site/octave-forge-
 alternatives/oct/x86_64-apple-darwin15.5.0

 shell commands will install into the following directories:
    binaries:  ${exec_prefix}/bin
    man pages: ${datarootdir}/man
    libraries: ${exec_prefix}/lib
    headers:   ${prefix}/include

 octave-forge is configured with
    octave:      /opt/local/bin/octave-4.0.3 (version 4.0.3)
    mkoctfile:   /opt/local/bin/mkoctfile-4.0.3 --verbose for Octave 3
    optiminterp toolbox: yes

 find . -name NOINSTALL -print    # shows which toolboxes won't be
 installed

 /opt/local/bin/mkoctfile-4.0.3 --verbose -DHAVE_OCTAVE_ -v -c
 optiminterp.cc
 FFLAGS="-Os" /opt/local/bin/mkoctfile-4.0.3 --verbose -DHAVE_OCTAVE_ -v -c
 optimal_interpolation.F90
 FFLAGS="-Os" /opt/local/bin/mkoctfile-4.0.3 --verbose -DHAVE_OCTAVE_ -v -c
 optiminterp_wrapper.F90
 /usr/bin/clang++ -c -I/opt/local/include -fPIC
 -I/opt/local/include/octave-4.0.3/octave/..
 -I/opt/local/include/octave-4.0.3/octave -I/opt/local/include
 -D_THREAD_SAFE -pthread -pipe -Os -arch x86_64 -stdlib=libc++
 -DHAVE_OCTAVE_ optiminterp.cc -o optiminterp.o
 /opt/local/bin/gfortran-mp-5 -c -fPIC -Os    -DHAVE_OCTAVE_
 optiminterp_wrapper.F90 -o optiminterp_wrapper.o
 /opt/local/bin/gfortran-mp-5 -c -fPIC -Os    -DHAVE_OCTAVE_
 optimal_interpolation.F90 -o optimal_interpolation.o
 optiminterp_wrapper.F90:20:5:

   use optimal_interpolation
      1
 Fatal Error: Can't open module file 'optimal_interpolation.mod' for
 reading at (1): No such file or directory
 compilation terminated.
 make: *** [optiminterp_wrapper.o] Error 1
 make: *** Waiting for unfinished jobs....

 pkg: error running `make' for the optiminterp package.
 error: called from 'configure_make' in file
 /opt/local/share/octave/4.0.3/m/pkg/private/configure_make.m near line 96,
 column 9
 2016-09-15 07:57:07.186 octave-gui[80696:2529640] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 2016-09-15 07:57:07.186 octave-gui[80696:2529640] CFPasteboardRef
 CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global
 data
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_math_octave-optiminterp/octave-
 optiminterp/work/optiminterp" && /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-optiminterp/octave-
 optiminterp/work/optiminterp
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_math_octave-optiminterp/octave-
 optiminterp/work/.tmp/optiminterp.tar.gz'
 Exit code: 1
 Error: org.macports.configure for port octave-optiminterp returned:
 configure failure: command execution failed
 Warning: targets not executed for octave-optiminterp:
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 Please see the log file for port octave-optiminterp for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_math_octave-optiminterp/octave-
 optiminterp/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port octave-optiminterp failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/52255>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list