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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-25 12:06 UTC by O. Hartmann
Modified: 2020-01-25 12:06 UTC (History)
0 users

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


Attachments

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:

    /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
[...]