Opened 19 months ago

Last modified 19 months ago

#66942 closed defect

Cannot Upgrade OpenCV4 — at Initial Version

Reported by: fmw42 (Fred Weinhaus) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: stromnov@…, stromnov (Andrey Stromnov), mascguy@…, mascguy (Christopher Nielsen)
Port: opencv4

Description

I am on Mac OSX Monterey on M1 Mac (Mini)

I am trying to upgrade my existing ports that I have been using for quite a while.

I have done the sudo port selfupdate. Then upgraded most of my relevant ports. Then tried numerous times to upgrade either opencv4 or py39-opencv4. Other ports that try to upgrade opencv4 also report this error. I keep getting an error:

"Error: Failed to extract opencv4: extract.rename: multiple directories exist in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv4/opencv4/work: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv4/opencv4/work/opencv-opencv-8a18519 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv4/opencv4/work/opencv-opencv_contrib-5f1f482 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: Follow https://guide.macports.org/#project.tickets if you believe there is a bug."

How do I get around this issue. Sorry for my ignorance.

Change History (1)

Changed 19 months ago by fmw42 (Fred Weinhaus)

Attachment: macports_opencv4_error.txt added

Error message and list of installed ports

Note: See TracTickets for help on using tickets.