[Bug 266801] graphics/lensfun: build fail

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 03 Oct 2022 19:26:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266801

            Bug ID: 266801
           Summary: graphics/lensfun: build fail
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: rozhuk.im@gmail.com
          Assignee: danfe@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)

...
===>  Configuring for lensfun-0.3.95_2
===>  Performing out-of-source build
/bin/mkdir -p /tmp/ports/usr/ports/graphics/lensfun/work/.build
CMake Deprecation Warning at CMakeLists.txt:2 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is Clang 14.0.5
-- The CXX compiler identification is Clang 14.0.5
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/libexec/ccache/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/libexec/ccache/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for include file endian.h
-- Looking for include file endian.h - not found
CMake Warning (dev) at
/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438
(message):
  The package name passed to `find_package_handle_standard_args` (PkgConfig)
  does not match the name of the calling package (GLIB2).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindPkgConfig.cmake:99
(find_package_handle_standard_args)
  cmake/modules/FindGLIB2.cmake:2 (INCLUDE)
  CMakeLists.txt:97 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PkgConfig: /usr/local/bin/pkgconf (found version "1.8.0") 
-- Checking for one of the modules 'glib-2.0'
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) 
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) 
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND) 
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) 
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) 
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND) 
-- Found PythonInterp: /usr/local/bin/python3.9 (found version "3.9.14") 
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.12") 
-- Found PNG: /usr/local/lib/libpng.so (found version "1.6.37+apng") 
--
-------------------------------------------------------------------------------------
-- Building Lensfun 0.3.95.0
--
-------------------------------------------------------------------------------------
-- Build as dynamic/shared library
-- Build type: Release
-- Build doc: OFF
-- Build test suite: ON
-- Build lenstool: ON
-- Build with support for SSE: ON
-- Build with support for SSE2: ON
-- Install helper scripts: OFF
-- 
Install prefix: /usr/local
-- 
Using: 
-- GLIB2 include dir:
/usr/local/include/glib-2.0;/usr/local/lib/glib-2.0/include;/usr/local/include
-- GLIB2 library: glib-2.0;intl
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_C_FLAGS_DEBUG
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    THREADS_HAVE_PTHREAD_ARG


-- Build files have been written to:
/tmp/ports/usr/ports/graphics/lensfun/work/.build
===>  Building for lensfun-0.3.95_2
[  1% 16/69] /usr/local/libexec/ccache/c++ 
-I/tmp/ports/usr/ports/graphics/lensfun/work/.build
-I/tmp/ports/usr/ports/graphics/lensfun/work/lensfun-0.3.95/include/lensfun
-isystem /usr/local/include/glib-2.0 -isystem /usr/local/lib/glib-2.0/include
-isystem /usr/local/include -O2 -pipe -O3 -pipe -funroll-loops -mretpoline
-fstack-protector-strong -fno-strict-aliasing
-fdebug-prefix-map=/tmp/ports/usr/ports/graphics/lensfun/work/lensfun-0.3.95=.
-O3 -funroll-loops -mretpoline -std=c++11 -Wall NOTFOUND NOTFOUND -O2 -pipe -O3
-pipe -funroll-loops -mretpoline -fstack-protector-strong -fno-strict-aliasing
-fdebug-prefix-map=/tmp/ports/usr/ports/graphics/lensfun/work/lensfun-0.3.95=.
-O3 -funroll-loops -mretpoline -MD -MT
tests/CMakeFiles/test_database.dir/test_database.cpp.o -MF
tests/CMakeFiles/test_database.dir/test_database.cpp.o.d -o
tests/CMakeFiles/test_database.dir/test_database.cpp.o -c
/tmp/ports/usr/ports/graphics/lensfun/work/lensfun-0.3.95/tests/test_database.cpp
FAILED: tests/CMakeFiles/test_database.dir/test_database.cpp.o 
/usr/local/libexec/ccache/c++ 
-I/tmp/ports/usr/ports/graphics/lensfun/work/.build
-I/tmp/ports/usr/ports/graphics/lensfun/work/lensfun-0.3.95/include/lensfun
-isystem /usr/local/include/glib-2.0 -isystem /usr/local/lib/glib-2.0/include
-isystem /usr/local/include -O2 -pipe -O3 -pipe -funroll-loops -mretpoline
-fstack-protector-strong -fno-strict-aliasing
-fdebug-prefix-map=/tmp/ports/usr/ports/graphics/lensfun/work/lensfun-0.3.95=.
-O3 -funroll-loops -mretpoline -std=c++11 -Wall NOTFOUND NOTFOUND -O2 -pipe -O3
-pipe -funroll-loops -mretpoline -fstack-protector-strong -fno-strict-aliasing
-fdebug-prefix-map=/tmp/ports/usr/ports/graphics/lensfun/work/lensfun-0.3.95=.
-O3 -funroll-loops -mretpoline -MD -MT
tests/CMakeFiles/test_database.dir/test_database.cpp.o -MF
tests/CMakeFiles/test_database.dir/test_database.cpp.o.d -o
tests/CMakeFiles/test_database.dir/test_database.cpp.o -c
/tmp/ports/usr/ports/graphics/lensfun/work/lensfun-0.3.95/tests/test_database.cpp
c++: error: no such file or directory: 'NOTFOUND'
c++: error: no such file or directory: 'NOTFOUND'
[  2% 16/69] /usr/local/libexec/ccache/c++ 
-I/tmp/ports/usr/ports/graphics/lensfun/work/.build
-I/tmp/ports/usr/ports/graphics/lensfun/work/lensfun-0.3.95/include/lensfun
-isystem /usr/local/include/glib-2.0 -isystem /usr/local/lib/glib-2.0/include
-isystem /usr/local/include -O2 -pipe -O3 -pipe -funroll-loops -mretpoline
-fstack-protector-strong -fno-strict-aliasing
-fdebug-prefix-map=/tmp/ports/usr/ports/graphics/lensfun/work/lensfun-0.3.95=.
-O3 -funroll-loops -mretpoline -std=c++11 -Wall NOTFOUND NOTFOUND -O2 -pipe -O3
-pipe -funroll-loops -mretpoline -fstack-protector-strong -fno-strict-aliasing
-fdebug-prefix-map=/tmp/ports/usr/ports/graphics/lensfun/work/lensfun-0.3.95=.
-O3 -funroll-loops -mretpoline -MD -MT
tests/CMakeFiles/test_lens.dir/test_lens.cpp.o -MF
tests/CMakeFiles/test_lens.dir/test_lens.cpp.o.d -o
tests/CMakeFiles/test_lens.dir/test_lens.cpp.o -c
/tmp/ports/usr/ports/graphics/lensfun/work/lensfun-0.3.95/tests/test_lens.cpp
FAILED: tests/CMakeFiles/test_lens.dir/test_lens.cpp.o 
/usr/local/libexec/ccache/c++ 
-I/tmp/ports/usr/ports/graphics/lensfun/work/.build
-I/tmp/ports/usr/ports/graphics/lensfun/work/lensfun-0.3.95/include/lensfun
-isystem /usr/local/include/glib-2.0 -isystem /usr/local/lib/glib-2.0/include
-isystem /usr/local/include -O2 -pipe -O3 -pipe -funroll-loops -mretpoline
-fstack-protector-strong -fno-strict-aliasing
-fdebug-prefix-map=/tmp/ports/usr/ports/graphics/lensfun/work/lensfun-0.3.95=.
-O3 -funroll-loops -mretpoline -std=c++11 -Wall NOTFOUND NOTFOUND -O2 -pipe -O3
-pipe -funroll-loops -mretpoline -fstack-protector-strong -fno-strict-aliasing
-fdebug-prefix-map=/tmp/ports/usr/ports/graphics/lensfun/work/lensfun-0.3.95=.
-O3 -funroll-loops -mretpoline -MD -MT
tests/CMakeFiles/test_lens.dir/test_lens.cpp.o -MF
tests/CMakeFiles/test_lens.dir/test_lens.cpp.o.d -o
tests/CMakeFiles/test_lens.dir/test_lens.cpp.o -c
/tmp/ports/usr/ports/graphics/lensfun/work/lensfun-0.3.95/tests/test_lens.cpp
c++: error: no such file or directory: 'NOTFOUND'
c++: error: no such file or directory: 'NOTFOUND'
...

-- 
You are receiving this mail because:
You are the assignee for the bug.