[MacPorts] #69381: opencv4 @4.8.0_4+contrib build failure
MacPorts
noreply at macports.org
Mon May 6 20:45:17 UTC 2024
#69381: opencv4 @4.8.0_4+contrib build failure
----------------------+----------------------------
Reporter: fmw42 | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Resolution: | Keywords: Ventura, arm64
Port: opencv4 |
----------------------+----------------------------
Comment (by fmw42):
I downloaded Command Line Tools 14.3.1 and installed that. **I presume it
wrote over the 15.0 version. If that is not the case, please let me know
how to delete that 15.0 version. I could not find it anywhere.** Then I
did
{{{
sudo port selfupdate
Password:
---> Updating MacPorts base sources using rsync
MacPorts base version 2.9.3 installed,
MacPorts base version 2.9.3 downloaded.
---> Updating the ports tree
---> MacPorts base is already the latest version
sudo port clean opencv4
---> Cleaning opencv4
bash-5.2$ sudo port clean py39-opencv4
---> Cleaning py39-opencv4
bash-5.2$ sudo port install py39-opencv4
---> Computing dependencies for libsdl2
---> Fetching archive for libsdl2
---> Attempting to fetch libsdl2-2.30.3_0.darwin_22.arm64.tbz2 from
http://mirror.fcix.net/macports/packages/libsdl2
---> Attempting to fetch libsdl2-2.30.3_0.darwin_22.arm64.tbz2.rmd160
from http://mirror.fcix.net/macports/packages/libsdl2
---> Installing libsdl2 @2.30.3_0
---> Cleaning libsdl2
---> Computing dependencies for libsdl2
---> Deactivating libsdl2 @2.30.2_0
---> Cleaning libsdl2
---> Activating libsdl2 @2.30.3_0
---> Cleaning libsdl2
---> Computing dependencies for ffmpeg
---> Fetching archive for ffmpeg
---> Attempting to fetch ffmpeg-4.4.4_7+gpl2.darwin_22.arm64.tbz2 from
http://mirror.fcix.net/macports/packages/ffmpeg
---> Attempting to fetch ffmpeg-4.4.4_7+gpl2.darwin_22.arm64.tbz2.rmd160
from http://mirror.fcix.net/macports/packages/ffmpeg
---> Installing ffmpeg @4.4.4_7+gpl2
---> Cleaning ffmpeg
---> Computing dependencies for ffmpeg
---> Deactivating ffmpeg @4.4.4_6+gpl2
---> Cleaning ffmpeg
---> Activating ffmpeg @4.4.4_7+gpl2
---> Cleaning ffmpeg
---> Computing dependencies for libarchive
---> Fetching archive for libarchive
---> Attempting to fetch libarchive-3.7.4_0.darwin_22.arm64.tbz2 from
http://mirror.fcix.net/macports/packages/libarchive
---> Attempting to fetch libarchive-3.7.4_0.darwin_22.arm64.tbz2.rmd160
from http://mirror.fcix.net/macports/packages/libarchive
---> Installing libarchive @3.7.4_0
---> Cleaning libarchive
---> Computing dependencies for libarchive
---> Deactivating libarchive @3.7.3_0
---> Cleaning libarchive
---> Activating libarchive @3.7.4_0
---> Cleaning libarchive
---> Computing dependencies for hdf5
---> Fetching archive for hdf5
---> Attempting to fetch
hdf5-1.14.4.2_1+cxx+fortran+gfortran+hl.darwin_22.arm64.tbz2 from
http://mirror.fcix.net/macports/packages/hdf5
---> Attempting to fetch
hdf5-1.14.4.2_1+cxx+fortran+gfortran+hl.darwin_22.arm64.tbz2.rmd160 from
http://mirror.fcix.net/macports/packages/hdf5
---> Installing hdf5 @1.14.4.2_1+cxx+fortran+gfortran+hl
---> Cleaning hdf5
---> Computing dependencies for hdf5
---> Deactivating hdf5 @1.14.4.2_0+cxx+fortran+gfortran+hl
---> Cleaning hdf5
---> Activating hdf5 @1.14.4.2_1+cxx+fortran+gfortran+hl
---> Cleaning hdf5
---> Computing dependencies for opencv4
---> Fetching archive for opencv4
---> Attempting to fetch opencv4-4.9.0_1+contrib.darwin_22.arm64.tbz2
from http://mirror.fcix.net/macports/packages/opencv4
---> Attempting to fetch opencv4-4.9.0_1+contrib.darwin_22.arm64.tbz2
from https://packages.macports.org/opencv4
---> Attempting to fetch opencv4-4.9.0_1+contrib.darwin_22.arm64.tbz2
from https://ywg.ca.packages.macports.org/mirror/macports/packages/opencv4
---> Fetching distfiles for opencv4
---> Verifying checksums for opencv4
---> Extracting opencv4
---> Applying patches to opencv4
---> Configuring opencv4
---> Building opencv4
Error: Failed to build opencv4: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv4/opencv4/main.log
for details.
Error: Unable to execute port py39-opencv4: upgrade opencv4 failed
---> Some of the ports you installed have notes:
ffmpeg has the following notes:
Support for rav1e now disabled by default; enable via +rav1e
This build of ffmpeg includes GPLed code and is therefore licensed
under GPL
v2 or later. The following modules are GPLed:
libvidstab libx264 libx265 libxvid postproc
To include all nonfree, GPLed and LGPL code use variant +nonfree. To
remove
nonfree and GPLed code leaving only LGPL code remove the +gpl2
variant.
hdf5 has the following notes:
Mac users may need to set the environment variable
"HDF5_USE_FILE_LOCKING"
to the five-character string "FALSE" when accessing network mounted
files.
This is an application run-time setting, not a configure or build
setting.
Otherwise errors such as "unable to open file" or "HDF5 error" may be
encountered.
}}}
I have uploaded the error log file (new_error_log.txt)
--
Ticket URL: <https://trac.macports.org/ticket/69381#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list