Bug 253116 - /usr/ports/UPDATING does not reflect removal of opencv-core
Summary: /usr/ports/UPDATING does not reflect removal of opencv-core
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Tobias C. Berner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-31 07:42 UTC by Frank Reisert
Modified: 2021-02-09 11:45 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!

yours
Frank
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

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

Stop.
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 freebsd_triage 2021-02-09 09:05:05 UTC
Probably related to ports r563430
Comment 3 commit-hook freebsd_committer freebsd_triage 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

Log:
  UPDATING: document graphics/opencv-core removal

  PR:		253116

Changes:
  head/UPDATING
Comment 4 Fernando Apesteguía freebsd_committer freebsd_triage 2021-02-09 11:45:16 UTC
^Triage: Assign to committer resolving

Thanks!