Port build process is currently broken: -- Checking for 64-bit off_t -- Checking for 64-bit off_t - present -- Checking for fseeko/ftello -- Checking for fseeko/ftello - present -- Large File support - found CMake Error at src/lib/openjp2/CMakeLists.txt:89 (target_compile_options): Unknown CMake command "target_compile_options". -- Configuring incomplete, errors occurred! *** [do-configure] Error code 1 Stop in /usr/ports/graphics/openjpeg.
I cannot reproduce this problem. According to [1], openjpeg 2.1.1 builds fine on all build environments. In order to investigate the build failure on your system, please provide more further information. Thanks! [1] http://portsmon.freebsd.org/portoverview.py?category=graphics&portname=openjpeg
Looks like it's missing a dependency on a later version of CMake. We have 2.8.10.2 here.
Add kde@ (CMake maintainer) to Cc list. I wonder if we need to add version requirement in Mk/Uses/cmake.mk to have newer cmake installed.
I don't think kde@ can do much -- if we go down that route, it means checking if each port for new commands or behavior changes that rely on a certain version and requiring that. What upstream should do is either bump their minimum version requirement or at least do what they did here: https://github.com/uclouvain/openjpeg/commit/c5dd6035c942ab5969b7dc3a873e95e3b542f544
(In reply to Raphael Kubo da Costa from comment #4) I will add a BUILD_DEPENDS to graphics/openjpeg to ensure a newer cmake is installed. Thanks!
A commit references this bug: Author: sunpoet Date: Sun Dec 6 17:51:50 UTC 2015 New revision: 403133 URL: https://svnweb.freebsd.org/changeset/ports/403133 Log: - Add BUILD_DEPENDS for cmake version requirement PR: 203311 Reported by: Tilghman Lesher <tilghman@meg.abyt.es> Changes: head/graphics/openjpeg/Makefile
Committed. Thanks!