[38/58] Upgrading paraview from 5.2.0_4 to 5.5.0... pkg: paraview-5.5.0 conflicts with protobuf-3.5.2 (installs files into the same place). Problematic file: /usr/local/lib/libprotobuf-lite.so This is a real issue as protobuf has many dependencies, including some that people will certainly want installed alongside paraview. Example from my office workstation: root@outpaddling:/home/bacon # pkg remove protobuf Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 7 packages (of 0 packages in the universe): Installed packages to be REMOVED: protobuf-3.5.2 opencv-core-3.4.1_1 ffmpeg-4.0_1,1 kf5-kfilemetadata-5.46.0 thunderbird-52.8.0_5 firefox-60.0.2,1 k3b-18.04.1_1
Hello ! 1) This is "old" conflict with protobuf, CONFLICTS_BUILD required also now. 2) There is a one real chain of dependencies in this case, but it creates with default KNOBS (it's a pity): many applications-->ffmpeg--->opencv-core--->protobuf 3) I'll try to fix conflict paraview vs. protobuf.
Created attachment 194479 [details] patch for update port science/paraview to version 5.5.1 and fix build with system devel/protobuf installed
For some reason, your patch dropped patch-CommandLineExecutables_CMakeLists.txt in the top level dir instead of files, but once I realized that and put it where it belonged, the port built cleanly. Thanks for the quick resolution.
If you're satisfied with the patch, I'll gladly do the commit.
(In reply to Jason W. Bacon from comment #4) Ok, let's commit it.
A commit references this bug: Author: jwb Date: Wed Jun 27 00:04:30 UTC 2018 New revision: 473414 URL: https://svnweb.freebsd.org/changeset/ports/473414 Log: science/paraview: Fix protobuf conflict, upgrade to 5.5.1, modernize options PR: 229116 Reported by: jwb Approved by: jrm (mentor) Differential Revision: https://reviews.freebsd.org/D16024 Changes: head/science/paraview/Makefile head/science/paraview/distinfo head/science/paraview/files/patch-CommandLineExecutables_CMakeLists.txt head/science/paraview/files/patch-ParaViewCore_ClientServerCore_Default_vtkPVFileInformation.h head/science/paraview/files/patch-ParaViewCore_VTKExtensions_Default_vtkPhastaReader.cxx head/science/paraview/files/patch-Plugins_CDIReader_cdilib.c head/science/paraview/files/patch-VTK_IO_EnSight_vtkEnSight6BinaryReader.cxx head/science/paraview/files/patch-VTK_IO_EnSight_vtkEnSightGoldBinaryReader.cxx head/science/paraview/files/patch-vtkEnSight6BinaryReader.cxx head/science/paraview/files/patch-vtkEnSightGoldBinaryReader.cxx head/science/paraview/files/patch-vtkPVFileInformation.h head/science/paraview/files/patch-vtkPhastaReader.cxx head/science/paraview/pkg-plist
Committedm with additional changes: - Modernized options - Standardized patch file names