Bug 253116

Summary: /usr/ports/UPDATING does not reflect removal of opencv-core
Product: Ports & Packages Reporter: Frank Reisert <bugs>
Component: Individual Port(s)Assignee: Tobias C. Berner <tcberner>
Status: Closed FIXED    
Severity: Affects Many People CC: fernape, fredo.perez0424, rhurlin, tcberner
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Frank Reisert 2021-01-31 07:42:05 UTC
Dear responsible people for /usr/ports/UPDATING,

there is no mentioning of any changes which come with the removal of opencv-core.  

Update by 'portmaster -ayd' tried to install opencv-4.5.1 because opencv-core 
was installed due to previous depency by ffmpeg.  Of course it failed for opencv 
wants to install files in the same place opencv-core had done.

In order to resolve this I needed to 

  - re-install ffmpeg, 
  - (I don't know if necessary) re-install packages which require ffmpeg, 
  - delete opencv-core, 
  - forget about opencv.

Please update /usr/ports/UPDATING to reflect this change so other people don't 
need to stumble across the same.
Thank you!

Comment 1 Fredo 2021-02-08 13:59:17 UTC
I believe I am having the same issue

===>  Installing for opencv-4.5.1
===>  Checking if opencv is already installed
===>   Registering installation for opencv-4.5.1 as automatic
Installing opencv-4.5.1...
pkg-static: opencv-4.5.1 conflicts with opencv-core-3.4.1_37 (installs files into the same place).  Problematic file: /usr/local/lib/libopencv_core.so
*** Error code 1

make[1]: stopped in /usr/ports/graphics/opencv
*** Error code 1

make: stopped in /usr/ports/graphics/opencv

===>>> Installation of opencv-4.5.1 (graphics/opencv) failed
===>>> Aborting update

===>>> Update for graphics/opencv failed
===>>> Aborting update
Comment 2 Fernando ApesteguĂ­a freebsd_committer 2021-02-09 09:05:05 UTC
Probably related to ports r563430
Comment 3 commit-hook freebsd_committer 2021-02-09 11:19:32 UTC
A commit references this bug:

Author: tcberner
Date: Tue Feb  9 11:18:57 UTC 2021
New revision: 564780
URL: https://svnweb.freebsd.org/changeset/ports/564780

  UPDATING: document graphics/opencv-core removal

  PR:		253116

Comment 4 Fernando ApesteguĂ­a freebsd_committer 2021-02-09 11:45:16 UTC
^Triage: Assign to committer resolving