[MacPorts] #58784: opencv 3.4.3_1 < 3.4.7_0 Failed to build opencv: command execution failed

MacPorts noreply at macports.org
Thu Aug 1 20:00:36 UTC 2019


#58784: opencv  3.4.3_1 < 3.4.7_0 Failed to build opencv: command execution failed
------------------------+--------------------
  Reporter:  macdeport  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.5.4
Resolution:             |   Keywords:
      Port:  opencv     |
------------------------+--------------------
Changes (by mf2k):

 * keywords:  build =>
 * type:  update => defect


Old description:

> **main.log.tbz**
>
> ...
> :info:build
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-3.4.7/modules/core/include/opencv2/core/hal/intrin_avx.hpp:2782:18:
> error: use of undeclared identifier '_mm256_cvtps_ph'
> :info:build     __m128i ah = _mm256_cvtps_ph(a.val, 0);
> :info:build                  ^
> :info:build 6 errors generated.
> :info:build make[2]: ***
> [modules/core/CMakeFiles/opencv_core.dir/count_non_zero.avx2.cpp.o] Error
> 1
> :info:build make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/build'
> :info:build make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all]
> Error 2
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/build'
> :info:build make: *** [all] Error 2
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/build'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/build"
> && /usr/bin/make -j8 -w all VERBOSE=ON
> :info:build Exit code: 2
> :error:build Failed to build opencv: command execution failed
> :debug:build Error code: CHILDSTATUS 28463 2
> :debug:build Backtrace: command execution failed
> :debug:build     while executing
> :debug:build "system {*}$notty {*}$nice $fullcmdstring"
> :debug:build     invoked from within
> :debug:build "command_exec build"
> :debug:build     (procedure "portbuild::build_main" line 8)
> :debug:build     invoked from within
> :debug:build "$procedure $targetname"
> :error:build See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/main.log
> for details.

New description:

 **main.log.tbz**

 {{{
 ...
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-3.4.7/modules/core/include/opencv2/core/hal/intrin_avx.hpp:2782:18:
 error: use of undeclared identifier '_mm256_cvtps_ph'
 :info:build     __m128i ah = _mm256_cvtps_ph(a.val, 0);
 :info:build                  ^
 :info:build 6 errors generated.
 :info:build make[2]: ***
 [modules/core/CMakeFiles/opencv_core.dir/count_non_zero.avx2.cpp.o] Error
 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/build'
 :info:build make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all]
 Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/build'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/build'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/build"
 && /usr/bin/make -j8 -w all VERBOSE=ON
 :info:build Exit code: 2
 :error:build Failed to build opencv: command execution failed
 :debug:build Error code: CHILDSTATUS 28463 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/main.log
 for details.
 }}}

--

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


More information about the macports-tickets mailing list