Bug 243585

Summary: graphics/gmt5: build failure
Product: Ports & Packages Reporter: O. Hartmann <ohartmann>
Component: Individual Port(s)Assignee: Loïc Bartoletti <lbartoletti>
Status: Closed Not Enough Information    
Severity: Affects Many People CC: holishingtest
Priority: --- Flags: bugzilla: maintainer-feedback? (lbartoletti)
Version: Latest   
Hardware: Any   
OS: Any   

Description O. Hartmann 2020-01-25 12:06:05 UTC
The build of port graphics/gmt5 fails on both most recent CURRENT (i.e. FreeBSD 13.0-CURRENT #93 r357109: Sat Jan 25 09:55:58 CET 2020 amd64) and 12-STABLE (also recent build). I took the hint (see below) and recompiled  science/hdf5, but without success.

[...]

-- ANSI C header files - found
CMake Warning (dev) at src/CMakeLists.txt:234 (find_package):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  CMake variable GSHHG_ROOT is set to:

    /usr/local/share/gshhg-gmt

  For compatibility, CMake is ignoring the variable.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at cmake/modules/FindGSHHG.cmake:67 (message):
  Cannot determine GSHHG version:

  

                Change Dir:
  /usr/ports/graphics/gmt5/work/.build/CMakeTmp/CMakeFiles/CMakeTmp

  

  Run Build Command(s):/usr/local/bin/ninja cmTC_3e8e1 && [1/2] Building C
  object CMakeFiles/cmTC_3e8e1.dir/gshhg_version.c.o

  [2/2] Linking C executable cmTC_3e8e1

                Warning! ***HDF5 library version mismatched error***

  The HDF5 header files used to compile this application do not match

  the version used by the HDF5 library to which this application is linked.

[...]

  Bye...

  Child aborted
Call Stack (most recent call first):
  src/CMakeLists.txt:234 (find_package)


-- Configuring incomplete, errors occurred!
See also "/usr/ports/graphics/gmt5/work/.build/CMakeFiles/CMakeOutput.log".
See also "/usr/ports/graphics/gmt5/work/.build/CMakeFiles/CMakeError.log".
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/gmt5

===>>> make build failed for graphics/gmt5
[...]
Comment 1 Loïc Bartoletti freebsd_committer freebsd_triage 2020-04-02 13:37:13 UTC
What's your option for hdf5?
Comment 2 Loïc Bartoletti freebsd_committer freebsd_triage 2020-08-29 15:06:08 UTC
Hello,

FYI, I update graphics/gmt to 6.1.0 and removed graphics/gmt5.

Regards.

Loïc