#66861 closed defect (fixed)

opencv3-devel: port install hangs during patch for on macOS Ventura 13.1

Reported by: raiukan Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: ventura Cc:
Port: opencv3-devel

Description (last modified by jmroot (Joshua Root))

The opencv3-devel port installs without issue on pre-Ventura macOS. On Ventura 13.1, the install hangs at the "Applying patches" phase.

The port installs were attempted on a 13.1 MacBookPro and a 13.1 Mac Studio (Mac Ports V2.8.1), wherein both opencv3 and opencv3-devel hanged upon invocation of /usr/bin/patch. A 'port selfupdate' was performed beforehand.

Following is the debug text from the opencv3-devel install:

% sudo port install opencv3-devel

:debug:patch Executing org.macports.patch (opencv3-devel)
:notice:patch --->  Applying patches to opencv3-devel
:info:patch --->  Applying patch-find-openexr.diff
:debug:patch Creating patch directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv3-devel/opencv3-devel/work/opencv3-3.4.16
:debug:patch Environment: 
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv3-devel/opencv3-devel/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='13.0'
:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'
:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv3-devel/opencv3-devel/work/opencv3-3.4.16" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/graphics/opencv3-devel/files/patch-find-openexr.diff'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv3-devel/opencv3-devel/work/opencv3-3.4.16" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/graphics/opencv3-devel/files/patch-find-openexr.diff'

Change History (3)

comment:1 Changed 21 months ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: ventura added; patch hang Ventura removed
Owner: set to mascguy
Status: newassigned
Summary: port install hangs during patch for opencv3-devel on macOS Ventura 13.1opencv3-devel: port install hangs during patch for on macOS Ventura 13.1

comment:2 Changed 21 months ago by jmroot (Joshua Root)

Sets worksrcdir to opencv3-3.4.16, but the directory is actually called opencv-3.4.16.

comment:3 Changed 21 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

In d425abc678d53d51decd98bf01cc0189bf6d2029/macports-ports (master):

opencv3-devel: fix worksrcdir

closes: #66861

Note: See TracTickets for help on using tickets.