Summary: | science/paraview conflicts with math/vtk6 on Release 10.3 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Chen Xie <xiechen96> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | devel, stephen | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Chen Xie
2016-07-24 12:56:41 UTC
I see the problem, but I have no idea how to fix it! devel@stasyan, do yuo have any ideas? Here is the diff of the two files. The first file is that installed by math/vtk6. The differences seem very inconsequential. diff -u /usr/local/share/cmake/hdf5/libhdf5.settings work/stage//usr/local/share/cmake/hdf5/libhdf5.settings --- /usr/local/share/cmake/hdf5/libhdf5.settings 2016-07-26 02:02:44.000000000 +0000 +++ work/stage//usr/local/share/cmake/hdf5/libhdf5.settings 2016-07-26 02:51:01.000000000 +0000 @@ -20,7 +20,7 @@ CFLAGS: -O2 -pipe -fstack-protector -fno-strict-aliasing -w -w -w H5_CFLAGS: AM_CFLAGS: - CPPFLAGS: -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -w -w -w + CPPFLAGS: -O2 -pipe -fstack-protector -fno-strict-aliasing -w -w -w H5_CPPFLAGS: AM_CPPFLAGS: Shared Libraries: YES @@ -37,14 +37,14 @@ Languages: ---------- Fortran: - Fortran Compiler: + Fortran Compiler: /usr/local/bin/gfortran Fortran 2003 Compiler: Fortran Flags: H5 Fortran Flags: AM Fortran Flags: C++: OFF C++ Compiler: /usr/bin/c++ - C++ Flags: -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -w -w -w + C++ Flags: -O2 -pipe -fstack-protector -fno-strict-aliasing -w -w -w H5 C++ Flags: AM C++ Flags: One possibility is for us to modify pkg-plist, so that libhdf5.settings is only installed if it doesn't already exist. We do this somehow uing @exec style keywords: see https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/plist-keywords.html#plist-keywords-sample But I also foresee problems with installing from ports versus packages, especially with the deinstallation. Created attachment 173079 [details]
proposed patch
Can you try this patch? I know it builds and installs, but I want you to test to see if this stops vtk from working. I don't use vtk these days. Please test vtk when paraview is not installed.
I patch vtk6 and reinstall it. I run several simple examples, vtk6 works!(In reply to Stephen Montgomery-Smith from comment #3) A commit references this bug: Author: stephen Date: Fri Jul 29 23:45:41 UTC 2016 New revision: 419283 URL: https://svnweb.freebsd.org/changeset/ports/419283 Log: - Don't install share/cmake/hdf5/libhdf5.settings to avoid clash with science/paraview PR: ports/211334 Submitted by: Chen Xie <xiechen96@gmail.com> Changes: head/math/vtk6/Makefile head/math/vtk6/pkg-plist Patch committed, thanks. Both of two are available, thanks all. |