Bug 243585 - graphics/gmt5: build failure
Summary: graphics/gmt5: build failure
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Loïc Bartoletti
Depends on:
Reported: 2020-01-25 12:06 UTC by O. Hartmann
Modified: 2020-04-19 19:50 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (lbartoletti)


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


  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:


  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.



  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

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

===>>> make build failed for graphics/gmt5
Comment 1 Loïc Bartoletti freebsd_committer 2020-04-02 13:37:13 UTC
What's your option for hdf5?