[MacPorts] #59949: port -v install octave +openblas +app +fltk +gfortran +graphicsmagick +jit +qt5 +sound +sundials build failure

MacPorts noreply at macports.org
Sun Jan 12 15:10:53 UTC 2020


#59949: port -v install octave +openblas +app +fltk +gfortran +graphicsmagick +jit
+qt5 +sound +sundials build failure
------------------------------+--------------------
  Reporter:  TheLastLovemark  |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.6.2
Resolution:                   |   Keywords:
      Port:  octave           |
------------------------------+--------------------

Comment (by TheLastLovemark):

 I noticed none of this was in the log file:

 {{{
 libinterp/parse-tree/jit-typeinfo.cc:142:3: warning:
 'octave_jit_grab_matrix' has C-linkage specified, but returns user-defined
 type 'octave::jit_matrix' (aka 'jit_array<NDArray, double>') which is
 incompatible with C [-Wreturn-type-c-linkage]
   octave_jit_grab_matrix (jit_matrix *m)
   ^
 libinterp/parse-tree/jit-typeinfo.cc:159:3: warning:
 'octave_jit_cast_matrix_any' has C-linkage specified, but returns user-
 defined type 'octave::jit_matrix' (aka 'jit_array<NDArray, double>') which
 is incompatible with C [-Wreturn-type-c-linkage]
   octave_jit_cast_matrix_any (octave_base_value *obv)
   ^
 libinterp/parse-tree/jit-typeinfo.cc:177:3: warning:
 'octave_jit_cast_range_any' has C-linkage specified, but returns user-
 defined type 'octave::jit_range' which is incompatible with C [-Wreturn-
 type-c-linkage]
   octave_jit_cast_range_any (octave_base_value *obv)
   ^
 libinterp/parse-tree/jit-typeinfo.cc:200:3: warning:
 'octave_jit_cast_complex_any' has C-linkage specified, but returns user-
 defined type 'Complex' (aka 'complex<double>') which is incompatible with
 C [-Wreturn-type-c-linkage]
   octave_jit_cast_complex_any (octave_base_value *obv)
   ^
 libinterp/parse-tree/jit-typeinfo.cc:239:3: warning:
 'octave_jit_paren_subsasgn_impl' has C-linkage specified, but returns
 user-defined type 'octave::jit_matrix' (aka 'jit_array<NDArray, double>')
 which is incompatible with C [-Wreturn-type-c-linkage]
   octave_jit_paren_subsasgn_impl (jit_matrix *mat, octave_idx_type index,
   ^
 libinterp/parse-tree/jit-typeinfo.cc:276:3: warning:
 'octave_jit_paren_scalar_subsasgn' has C-linkage specified, but returns
 user-defined type 'octave::jit_matrix' (aka 'jit_array<NDArray, double>')
 which is incompatible with C [-Wreturn-type-c-linkage]
   octave_jit_paren_scalar_subsasgn (jit_matrix *mat, double *indices,
   ^
 libinterp/parse-tree/jit-typeinfo.cc:294:3: warning:
 'octave_jit_paren_subsasgn_matrix_range' has C-linkage specified, but
 returns user-defined type 'octave::jit_matrix' (aka 'jit_array<NDArray,
 double>') which is incompatible with C [-Wreturn-type-c-linkage]
   octave_jit_paren_subsasgn_matrix_range (jit_matrix *mat, jit_range
 *index,
   ^
 libinterp/parse-tree/jit-typeinfo.cc:378:3: warning:
 'octave_jit_complex_mul' has C-linkage specified, but returns user-defined
 type 'Complex' (aka 'complex<double>') which is incompatible with C
 [-Wreturn-type-c-linkage]
   octave_jit_complex_mul (Complex lhs, Complex rhs)
   ^
 libinterp/parse-tree/jit-typeinfo.cc:387:3: warning:
 'octave_jit_complex_div' has C-linkage specified, but returns user-defined
 type 'Complex' (aka 'complex<double>') which is incompatible with C
 [-Wreturn-type-c-linkage]
   octave_jit_complex_div (Complex lhs, Complex rhs)
   ^
 libinterp/parse-tree/jit-typeinfo.cc:406:3: warning:
 'octave_jit_pow_scalar_scalar' has C-linkage specified, but returns user-
 defined type 'Complex' (aka 'complex<double>') which is incompatible with
 C [-Wreturn-type-c-linkage]
   octave_jit_pow_scalar_scalar (double lhs, double rhs)
   ^
 libinterp/parse-tree/jit-typeinfo.cc:415:3: warning:
 'octave_jit_pow_complex_complex' has C-linkage specified, but returns
 user-defined type 'Complex' (aka 'complex<double>') which is incompatible
 with C [-Wreturn-type-c-linkage]
   octave_jit_pow_complex_complex (Complex lhs, Complex rhs)
   ^
 libinterp/parse-tree/jit-typeinfo.cc:423:3: warning:
 'octave_jit_pow_complex_scalar' has C-linkage specified, but returns user-
 defined type 'Complex' (aka 'complex<double>') which is incompatible with
 C [-Wreturn-type-c-linkage]
   octave_jit_pow_complex_scalar (Complex lhs, double rhs)
   ^
 libinterp/parse-tree/jit-typeinfo.cc:431:3: warning:
 'octave_jit_pow_scalar_complex' has C-linkage specified, but returns user-
 defined type 'Complex' (aka 'complex<double>') which is incompatible with
 C [-Wreturn-type-c-linkage]
   octave_jit_pow_scalar_complex (double lhs, Complex rhs)
   ^
 libinterp/parse-tree/jit-typeinfo.cc:1675:26: error: no matching function
 for call to 'get'
       llvm::Value *rng = llvm::ConstantStruct::get (m_range_t, dzero,
 dzero,
                          ^~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/libexec/llvm-7.0/include/llvm/IR/Constants.h:458:3: note:
 candidate template ignored: could not match 'Csts *' against 'long'
   get(StructType *T, Csts *... Vs) {
   ^
 /opt/local/libexec/llvm-7.0/include/llvm/IR/Constants.h:453:20: note:
 candidate function not viable: requires 2 arguments, but 6 were provided
   static Constant *get(StructType *T, ArrayRef<Constant*> V);
                    ^
 13 warnings and 1 error generated.
 make[2]: *** [libinterp/parse-tree/libparse_tree_la-jit-typeinfo.lo] Error
 1
 make[2]: *** Waiting for unfinished jobs....
 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-5.1.0'
 make[1]: *** [all-recursive] Error 1
 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-5.1.0'
 make: *** [all] Error 2
 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-5.1.0'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/octave-5.1.0"
 && /usr/bin/make -j4 -w all
 Exit code: 2
 Error: Failed to build 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 to report a bug.
 Error: Processing of port octave failed
 }}}

 The problem may be with one of the variants. From the look of this it
 might be **jit**

-- 
Ticket URL: <https://trac.macports.org/ticket/59949#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list