NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.28k stars 13.53k forks source link

Build failure: darktable LLVM Clang C and C++ compiler version 11.1.0 is too old and is unsupported. #246964

Closed howarddo2208 closed 5 months ago

howarddo2208 commented 1 year ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. I ran home-manager switch --flake . --verbose on macOS

Build log

[user@system:~]$ home-manager switch --flake . --verbose
...
building '/nix/store/5dv9gipxg0cx6sk4iglzvm2ryfsi08d0-darktable-4.4.1.drv'...
error: builder for '/nix/store/5dv9gipxg0cx6sk4iglzvm2ryfsi08d0-darktable-4.4.1.drv' failed with exit code 1;
       last 10 log lines:
       >    Used for decoding DNG Lossy JPEG compression
       >  * OpenMP, Open Multi-Processing, <https://www.openmp.org/>
       >    Used for parallelization of the library
       >
       > -- The following OPTIONAL packages have not been found:
       >
       >  * P11Kit
       >  * Cups
       >
       > -- Configuring incomplete, errors occurred!
       For full logs, run 'nix-store -l /nix/store/5dv9gipxg0cx6sk4iglzvm2ryfsi08d0-darktable-4.4.1.drv'.
error: 1 dependencies of derivation '/nix/store/dgqpwzgvlwc029m0k90cw4pmvrl1kahv-home-manager-applications.drv' failed to build
error: 1 dependencies of derivation '/nix/store/rjf7iclam3vl621vkqwkcq7ydx6wmwbv-home-manager-fonts.drv' failed to build
error: 1 dependencies of derivation '/nix/store/q6q5rlrfkl8vgq060sgvfd888dmsmfa4-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/71ki0a9pzxa0v1xpczk9cyizsn9kb7y2-home-manager-generation.drv' failed to build

[user@system:~]$ nix-store -l /nix/store/5dv9gipxg0cx6sk4iglzvm2ryfsi08d0-darktable-4.4.1.drv | cat
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/4r1f7dzd6az1kp8iwks1ax2gq663xyh5-darktable-4.4.1.tar.xz
source root is darktable-4.4.1
setting SOURCE_DATE_EPOCH to timestamp 1688105711 of file darktable-4.4.1/src/version_gen.c
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
fixing cmake files...
cmake flags: -GNinja -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/share/doc/darktable -DCMAKE_INSTALL_INFODIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/include -DCMAKE_INSTALL_SBINDIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/snxjdcdka4p7af454n3v7mdc4yh1lywn-cctools-binutils-darwin-11.1.0-973.0.1/bin/strip -DCMAKE_RANLIB=/nix/store/kvizl23z3fng88n4j8knapn186bxw70f-clang-wrapper-11.1.0/bin/ranlib -DCMAKE_AR=/nix/store/kvizl23z3fng88n4j8knapn186bxw70f-clang-wrapper-11.1.0/bin/ar -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1 -DBUILD_USERMANUAL=False -DUSE_COLORD=OFF -DUSE_KWALLET=OFF
-- The CXX compiler identification is Clang 11.1.0
-- The C compiler identification is Clang 11.1.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/kvizl23z3fng88n4j8knapn186bxw70f-clang-wrapper-11.1.0/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/kvizl23z3fng88n4j8knapn186bxw70f-clang-wrapper-11.1.0/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found OpenMP_C: -fopenmp=libomp (found suitable version "4.5", minimum required is "4.5")
-- Found OpenMP_CXX: -fopenmp=libomp (found suitable version "4.5", minimum required is "4.5")
-- Found OpenMP: TRUE (found suitable version "4.5", minimum required is "4.5")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test IS_SUPPORTED_PLATFORM
-- Performing Test IS_SUPPORTED_PLATFORM - Success
-- Looking for cpuid.h
-- Looking for cpuid.h - found
-- Looking for __get_cpuid
-- Looking for __get_cpuid - found
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Performing Test HAVE_OMP_FIRSTPRIVATE_WITH_CONST
-- Performing Test HAVE_OMP_FIRSTPRIVATE_WITH_CONST - Success
-- Performing Test HAVE_THREAD_RWLOCK_ARCH_T_READERS
-- Performing Test HAVE_THREAD_RWLOCK_ARCH_T_READERS - Failed
-- Performing Test HAVE_THREAD_RWLOCK_ARCH_T_NR_READERS
-- Performing Test HAVE_THREAD_RWLOCK_ARCH_T_NR_READERS - Failed
-- Performing Test _MSSE2
-- Performing Test _MSSE2 - Success
-- Building SSE2-optimized codepaths: ON
-- Mac OS X build detected, setting default features
-- Setting CMAKE_PREFIX_PATH to prefer MacPorts and/or user-installed libraries over system ones
CMake Error at cmake/compiler-versions.cmake:47 (message):
  LLVM Clang C compiler version 11.1.0 is too old and is unsupported.
  Version 12+ is required.
Call Stack (most recent call first):
  CMakeLists.txt:156 (include)

CMake Error at cmake/compiler-versions.cmake:50 (message):
  LLVM Clang C++ compiler version 11.1.0 is too old and is unsupported.
  Version 12+ is required.
Call Stack (most recent call first):
  CMakeLists.txt:156 (include)

-- Performing Test C_COMPILER_UNDERSTANDS_-Wall
-- Performing Test C_COMPILER_UNDERSTANDS_-Wall - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wall
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wall - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wformat
-- Performing Test C_COMPILER_UNDERSTANDS_-Wformat - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wformat
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wformat - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wformat-security
-- Performing Test C_COMPILER_UNDERSTANDS_-Wformat-security - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wformat-security
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wformat-security - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wshadow
-- Performing Test C_COMPILER_UNDERSTANDS_-Wshadow - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wshadow
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wshadow - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wtype-limits
-- Performing Test C_COMPILER_UNDERSTANDS_-Wtype-limits - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wtype-limits
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wtype-limits - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wvla
-- Performing Test C_COMPILER_UNDERSTANDS_-Wvla - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wvla
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wvla - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wold-style-declaration
-- Performing Test C_COMPILER_UNDERSTANDS_-Wold-style-declaration - Failed
-- Performing Test C_COMPILER_UNDERSTANDS_-Wthread-safety
-- Performing Test C_COMPILER_UNDERSTANDS_-Wthread-safety - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wthread-safety
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wthread-safety - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wmaybe-uninitialized
-- Performing Test C_COMPILER_UNDERSTANDS_-Wmaybe-uninitialized - Failed
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wmaybe-uninitialized
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wmaybe-uninitialized - Failed
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-unknown-pragmas
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-unknown-pragmas - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-unknown-pragmas
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-unknown-pragmas - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=varargs
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=varargs - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=varargs
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=varargs - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-format-truncation
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-format-truncation - Failed
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-format-truncation
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-format-truncation - Failed
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member - Success
-- Looking for external programs
-- Found perl
-- Found intltool-merge
-- Found desktop-file-validate
-- Found ZLIB: /nix/store/c1zg2ml7vd53fqb5f0zwrdrfqgdaih3a-zlib-1.2.13/lib/libz.dylib (found version "1.2.13")
-- Found LibXml2: /nix/store/i8hp5bmqqh8ndvk2jsajnrpy7rjykfpf-libxml2-2.11.4/lib/libxml2.dylib (found version "2.11.4")
-- Found LLVM 13.0.1
CMake Warning at CMakeLists.txt:348 (message):
  Could not find appropriate clang compiler

CMake Warning at CMakeLists.txt:349 (message):
  Test-compilation of OpenCL programs can not be done.

-- Test-compilation of OpenCL programs is disabled.
-- Missing jsonschema, problems in noiseprofiles.json might go unnoticed
-- Found xsltproc
-- Found xmllint
-- Missing exiftool
-- All external programs found
-- Found Gettext: /nix/store/v5pcm6hcwhrgz7wkhqnkcb1mfwsb1jk9-gettext-0.21.1/bin/msgmerge (found version "0.21.1")
-- Found msgfmt to convert .po file. Translation enabled
-- The following OPTIONAL packages have been found:

 * LibXml2
 * LLVM
 * Gettext

-- The following REQUIRED packages have been found:

 * OpenMP (required version >= 4.5)
 * Threads
 * ZLIB

CMake Error at src/external/rawspeed/cmake/compiler-versions.cmake:45 (message):
  LLVM Clang C compiler version 11.1.0 is too old and is unsupported.
  Version 12+ is required.
Call Stack (most recent call first):
  src/external/rawspeed/CMakeLists.txt:189 (include)

CMake Error at src/external/rawspeed/cmake/compiler-versions.cmake:48 (message):
  LLVM Clang C++ compiler version 11.1.0 is too old and is unsupported.
  Version 12+ is required.
Call Stack (most recent call first):
  src/external/rawspeed/CMakeLists.txt:189 (include)

-- Checking for -march=native support
-- Performing Test MARCHNATIVE
-- Performing Test MARCHNATIVE - Success
-- Checking for -march=native support - works
-- Performing Test CLANG_CXX_THREAD_SAFETY_ANALYSIS_NEGATIVE_CAPABILITIES_WORK
-- Performing Test CLANG_CXX_THREAD_SAFETY_ANALYSIS_NEGATIVE_CAPABILITIES_WORK - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WALL
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WALL - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WEXTRA
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WEVERYTHING
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WEVERYTHING - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_CXX98_COMPAT
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_CXX98_COMPAT - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_CXX98_COMPAT_PEDANTIC
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_CXX98_COMPAT_PEDANTIC - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_CONVERSION
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_CONVERSION - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_COVERED_SWITCH_DEFAULT
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_COVERED_SWITCH_DEFAULT - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_DEPRECATED
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_DEPRECATED - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_DOUBLE_PROMOTION
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_DOUBLE_PROMOTION - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_OLD_STYLE_CAST
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_OLD_STYLE_CAST - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_PADDED
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_PADDED - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_SWITCH_ENUM
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_SWITCH_ENUM - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_UNUSED_MACROS
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_UNUSED_MACROS - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_UNUSED_PARAMETER
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_UNUSED_PARAMETER - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_WEAK_VTABLES
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_WEAK_VTABLES - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_UNSAFE_BUFFER_USAGE
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_UNSAFE_BUFFER_USAGE - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WEXTRA_SEMI
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WEXTRA_SEMI - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WSTACK_USAGE_4096
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WSTACK_USAGE_4096 - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WFRAME_LARGER_THAN_4096
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WFRAME_LARGER_THAN_4096 - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WLARGER_THAN_32768
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WLARGER_THAN_32768 - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WERROR
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WERROR - Success
-- Looking for OpenMP
-- Found OpenMP_C: -fopenmp=libomp (found suitable version "4.5", minimum required is "4.5")
-- Found OpenMP_CXX: -fopenmp=libomp (found suitable version "4.5", minimum required is "4.5")
-- Looking for OpenMP - found (system)
-- Looking for pugixml
-- Found Pugixml 1.13
-- Looking for pugixml - found (system)
-- Looking for JPEG
-- Found JPEG: /nix/store/jvs6cyy2p8cc1xb04k4m5nbxf50ng5vd-libjpeg-turbo-2.1.5.1/lib/libjpeg.dylib (found version "62")
-- Looking for JPEG - found
-- Looking for jpeg_mem_src
-- Looking for jpeg_mem_src - found
-- Looking for ZLIB
-- Found ZLIB: /nix/store/c1zg2ml7vd53fqb5f0zwrdrfqgdaih3a-zlib-1.2.13/lib/libz.dylib (found suitable version "1.2.13", minimum required is "1.2.11")
-- Looking for C++ include zlib.h
-- Looking for C++ include zlib.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of uLongf
-- Check size of uLongf - done
-- Looking for Z_OK
-- Looking for Z_OK - found
-- Checking prototype uncompress for HAVE_ZLIB_UNCOMPRESS_PROTOTYPE
-- Checking prototype uncompress for HAVE_ZLIB_UNCOMPRESS_PROTOTYPE - True
-- Checking prototype zError for HAVE_ZLIB_ZERROR_PROTOTYPE
-- Checking prototype zError for HAVE_ZLIB_ZERROR_PROTOTYPE - True
-- Looking for uncompress
-- Looking for uncompress - found
-- Looking for zError
-- Looking for zError - found
-- Looking for ZLIB - found (system)
-- Looking for malloc
-- Looking for malloc - found
-- Looking for free
-- Looking for free - found
-- Looking for aligned_alloc
-- Looking for aligned_alloc - not found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Performing Test HAVE_CXX_THREAD_LOCAL
-- Performing Test HAVE_CXX_THREAD_LOCAL - Success
-- Trying to query CPU L1d cache line size
-- Deciding that the CPU L1d cache line size is 64 bytes
-- Trying to query CPU page size
-- Deciding that the CPU page size is 4096 bytes
-- Trying to query CPU large page size
-- Deciding that the CPU large page size is 2097152 bytes
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_GLOBAL_CONSTRUCTORS
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_GLOBAL_CONSTRUCTORS - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_EXIT_TIME_DESTRUCTORS
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_EXIT_TIME_DESTRUCTORS - Success
-- Found XMLLINT: /nix/store/lq0d44r7lggx3raia8wgxgbfcxk5v2vh-libxml2-2.11.4-bin/bin/xmllint
-- The following features have been enabled:

 * OpenMP-based threading, used for parallelization of the library
 * XML reading, used for loading of data/cameras.xml
 * Lossy JPEG decoding, used for DNG Lossy JPEG compression decoding
 * ZLIB decoding, used for DNG Deflate compression decoding

-- The following OPTIONAL packages have been found:

 * LibXml2
 * LLVM
 * Gettext
 * XMLLINT, command line XML tool, <http://xmlsoft.org/>
   Used for validation of data/cameras.xml

-- The following RECOMMENDED packages have been found:

 * JPEG, free library for handling the JPEG image data format, implements a JPEG codec
   Used for decoding DNG Lossy JPEG compression

-- The following REQUIRED packages have been found:

 * Threads
 * OpenMP (required version >= 4.5), Open Multi-Processing, <https://www.openmp.org/>
   Used for parallelization of the library
 * Pugixml (required version >= 1.8), Light-weight, simple and fast XML parser, <http://pugixml.org/>
   Used for loading of data/cameras.xml
 * ZLIB (required version >= 1.2.11), software library used for data compression
   Used for decoding DNG Deflate compression

-- Looking for a OBJCXX compiler
-- Looking for a OBJCXX compiler - /nix/store/kvizl23z3fng88n4j8knapn186bxw70f-clang-wrapper-11.1.0/bin/clang++
-- The OBJCXX compiler identification is Clang 11.1.0
-- Detecting OBJCXX compiler ABI info
-- Detecting OBJCXX compiler ABI info - done
-- Check for working OBJCXX compiler: /nix/store/kvizl23z3fng88n4j8knapn186bxw70f-clang-wrapper-11.1.0/bin/clang++ - skipped
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
-- Found Glib 2.76.4
-- Found PkgConfig: /nix/store/hsn305fagbccl1gq9vyvf45ylhi8ls2z-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")
-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.24.38
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
-- Found GTK3: /nix/store/552ppd50myk4pv3n2kg9mnrzcqncmlr0-gtk+3-3.24.38-dev/include/gtk-3.0;/nix/store/3lplyj3cibm02a65bidm75wm62hjiahx-at-spi2-core-2.48.3-dev/include/atk-1.0;/nix/store/axdvvfvsqkm9kwjxql988jkhmb8zxphv-glib-2.76.4-dev/include;/nix/store/axdvvfvsqkm9kwjxql988jkhmb8zxphv-glib-2.76.4-dev/include/glib-2.0;/nix/store/qi4jnzbf4sbjyn418inc9q55ysvklqii-glib-2.76.4/lib/glib-2.0/include;/nix/store/dzgibgs5jad2pkq5wbpri2xjxl6n9ir5-cairo-1.16.0-dev/include/cairo;/nix/store/x2r7ia4nn27c0s5k9lqs6kfa91wik8wy-freetype-2.13.0-dev/include/freetype2;/nix/store/x2r7ia4nn27c0s5k9lqs6kfa91wik8wy-freetype-2.13.0-dev/include;/nix/store/krm4dnw2728pvpc472h78v183h6pkzyf-gdk-pixbuf-2.42.10-dev/include/gdk-pixbuf-2.0;/nix/store/afldvaa5wg93vkj0arirk5jyg67a13dg-pango-1.50.14-dev/include/pango-1.0;/nix/store/cb996aqjr69q74pkdpnva6yqb4cpw71k-harfbuzz-7.3.0-dev/include/harfbuzz (Required is at least version "3.24.15")
-- Found LibXml2: /nix/store/i8hp5bmqqh8ndvk2jsajnrpy7rjykfpf-libxml2-2.11.4/lib/libxml2.dylib (found suitable version "2.11.4", minimum required is "2.6")
-- Found Gphoto2: /nix/store/5vakijyzavl1pikw95rglz9pnizv8r7f-libgphoto2-2.5.30/lib/libgphoto2.dylib (Required is at least version "2.5")
-- Found ZLIB: /nix/store/c1zg2ml7vd53fqb5f0zwrdrfqgdaih3a-zlib-1.2.13/lib/libz.dylib (found version "1.2.13")
-- Found JXL: /nix/store/0a8i9z7xb33qhgmx8y8x6pajajj66rh9-libjxl-0.8.2/lib/libjxl.dylib (found suitable version "0.8.2", minimum required is "0.7.0")
-- Found WebP: /nix/store/gavzgsxwr1zgv6fkfis6kxv5miq5p9q1-libwebp-1.3.1/lib/libwebp.dylib;/nix/store/gavzgsxwr1zgv6fkfis6kxv5miq5p9q1-libwebp-1.3.1/lib/libwebpmux.dylib (Required is at least version "0.3.0")
-- Could NOT find libheif (missing: libheif_DIR)
Package libde265 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libde265.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libde265', required by 'libheif', not found
Package libde265 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libde265.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libde265', required by 'libheif', not found
Package libde265 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libde265.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libde265', required by 'libheif', not found
Package libde265 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libde265.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libde265', required by 'libheif', not found
-- Found libheif: /nix/store/x0gv4dwjilxav7511c98vaahnv4xqzpz-libheif-1.15.2/lib/libheif.dylib (found suitable version "1.15.2", minimum required is "1.13.0")
-- Building LibRaw from intree copy
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
-- Found LensFun: /nix/store/4s0d69cwygrhl2gxvqhbrf7pc1wbjpya-lensfun-0.3.3/lib/liblensfun.dylib
-- Found Sqlite3 3.42.0
-- Sqlite3 version 3.24 or newer
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
-- Found GIO
-- Found GThread: /nix/store/qi4jnzbf4sbjyn418inc9q55ysvklqii-glib-2.76.4/lib/libgthread-2.0.dylib
-- Found GModule: /nix/store/qi4jnzbf4sbjyn418inc9q55ysvklqii-glib-2.76.4/lib/libgmodule-2.0.dylib
-- Found PangoCairo: /nix/store/5hpzca5a4vjgn0sfd1iabr2sj8bv881a-pango-1.50.14/lib/libpangocairo-1.0.dylib
-- Found Rsvg2: /nix/store/sff8cdiz4v5pqchy4m5bw5f7kh56dxrf-librsvg-2.56.2/lib/librsvg-2.dylib
-- Found LibXml2: /nix/store/i8hp5bmqqh8ndvk2jsajnrpy7rjykfpf-libxml2-2.11.4/lib/libxml2.dylib (found version "2.11.4")
-- Found CURL: /nix/store/87wq6ywbryablrws235d3lwym6qg6vyz-curl-8.1.2/lib/libcurl.dylib (found version "8.1.2")
-- Found PNG: /nix/store/hxjny6pzjyjdvs48xmxcdzq2wjyzjy0y-libpng-apng-1.6.39/lib/libpng.dylib (found version "1.6.39")
-- Found TIFF: /nix/store/z2cfhdb7gjzw6hw0p3c3iafqcpx2486d-libtiff-4.5.1/lib/libtiff.dylib (found version "4.5.1")
-- Found LCMS2: /nix/store/997mbk8j50dxm7ab3jicl61zd0a16jd1-lcms2-2.15/lib/liblcms2.dylib
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
-- Found JsonGlib
-- Found Exiv2: /nix/store/ssk20wiljqivw9klg00lsn7wzli1a4wx-exiv2-0.27.7-lib/lib/libexiv2.dylib (Required is at least version "0.25")
-- Looking for EXV_ENABLE_BMFF
-- Looking for EXV_ENABLE_BMFF - found
-- Exiv2 >= 0.27.4 found with ISOBMFF support (CR3, AVIF, HEIF)
-- Found PortMidi: /nix/store/cnarbrh0m0x3rbry55ih7mml4qq2ipwa-portmidi-2.0.4/lib/libportmidi.dylib
-- Found OpenJPEG
-- Checking for module 'iso-codes'
--   Found iso-codes, version 4.15.0
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
-- Found Libsecret: /nix/store/axdvvfvsqkm9kwjxql988jkhmb8zxphv-glib-2.76.4-dev/include/gio-unix-2.0;/nix/store/axdvvfvsqkm9kwjxql988jkhmb8zxphv-glib-2.76.4-dev/include;/nix/store/axdvvfvsqkm9kwjxql988jkhmb8zxphv-glib-2.76.4-dev/include/glib-2.0;/nix/store/qi4jnzbf4sbjyn418inc9q55ysvklqii-glib-2.76.4/lib/glib-2.0/include;/nix/store/l0193cx29gmk15axr7z6jmjhlmf3bv71-libsecret-0.20.5-dev/include/libsecret-1
-- Found MacIntegration: /nix/store/pxs7rwdvjr0zq73my9941h2nyv4y0hvx-gtk-mac-integration-3.0.1/lib/libgtkmacintegration-gtk3.dylib
-- Found GraphicsMagick
-- Performing Test GMIC_VERSION_OK
-- Performing Test GMIC_VERSION_OK - Success
-- Found GMIC
-- Found the following ICU libraries:
--   i18n (required): /nix/store/1virc70ym0jr9mff41plrq1dw9hnagcl-icu4c-73.2/lib/libicui18n.dylib
--   data (required): /nix/store/1virc70ym0jr9mff41plrq1dw9hnagcl-icu4c-73.2/lib/libicudata.dylib
--   uc (required): /nix/store/1virc70ym0jr9mff41plrq1dw9hnagcl-icu4c-73.2/lib/libicuuc.dylib
-- Found ICU: /nix/store/l0s3r7lld372jnv76nm8z1h59w6l33rq-icu4c-73.2-dev/include (found version "73.2")
-- Performing Test HAVE_BUILTIN_CPU_SUPPORTS
-- Performing Test HAVE_BUILTIN_CPU_SUPPORTS - Success
-- Does the compiler support __builtin_cpu_supports(): 1
-- Performing Test HAVE_TLS
-- Performing Test HAVE_TLS - Success
-- Checking for -mtune=generic support
-- Performing Test MTUNEGENERIC
-- Performing Test MTUNEGENERIC - Success
-- Lua support: Enabled
-- Found Pugixml 1.13
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
-- Map mode: enabled
-- Could NOT find Cups (missing: CUPS_LIBRARIES CUPS_INCLUDE_DIR)
-- Print mode: disabled, please install CUPS dev package
-- Game: the good knight
-- Found CURL: /nix/store/87wq6ywbryablrws235d3lwym6qg6vyz-curl-8.1.2/lib/libcurl.dylib (found suitable version "8.1.2", minimum required is "7.56")
-- Found recent CURL version to build piwigo.
-- Found X11: /nix/store/809fy77nf45h4vk1zjrxppfk4fz38ngk-xorgproto-2023.2/include
-- Looking for XOpenDisplay in /nix/store/6sqi7h3kfd5xsrlminx62ik3jagpn6cz-libX11-1.8.6/lib/libX11.dylib;/nix/store/rd7mg0kmprylw2hc0sx23c6g66x057m6-libXext-1.3.5/lib/libXext.dylib
-- Looking for XOpenDisplay in /nix/store/6sqi7h3kfd5xsrlminx62ik3jagpn6cz-libX11-1.8.6/lib/libX11.dylib;/nix/store/rd7mg0kmprylw2hc0sx23c6g66x057m6-libXext-1.3.5/lib/libXext.dylib - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- no colord support for darktable-cmstest. not cool.
-- LibRaw string version: 0.21.1
-- LibRaw ID version:     0x0211
-- LibRaw SO version:     23.0.0
-- Found OpenMP_C: -fopenmp=libomp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp=libomp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
--
-- ----------------------------------------------------------------------------------
--  Libraw 0.21.1 configuration            <http://www.libraw.org>
--
--  Libraw will be compiled with OpenMP support .................. YES
--  Libraw will be compiled with LCMS support .................... NO
--  Libraw will be compiled with example command-line programs ... NO
--  Libraw will be compiled with RedCine codec support ........... NO
--  Libraw will be compiled with DNG deflate codec support ....... YES
--  Libraw will be compiled with DNG lossy codec support ......... NO
--  Libraw will be compiled with RawSpeed support ................ NO
--  Libraw will be compiled with debug message from dcraw ........ NO
--  Libraw will be compiled with Foveon X3F support .............. NO
--  Libraw will be compiled with Raspberry Pi RAW support ........ NO
--  Libraw will be compiled as a static library
-- ----------------------------------------------------------------------------------
--
Missing po4a-translate. Can NOT create translated manpages
Missing po4a-updatepo. Can NOT update manpage translations
-- The following features have been enabled:

 * OpenMP-based threading, used for parallelization of the library
 * XML reading, used for loading of data/cameras.xml
 * Lossy JPEG decoding, used for DNG Lossy JPEG compression decoding
 * ZLIB decoding, used for DNG Deflate compression decoding

-- The following OPTIONAL packages have been found:

 * LLVM
 * Gettext
 * XMLLINT, command line XML tool, <http://xmlsoft.org/>
   Used for validation of data/cameras.xml
 * Gphoto2 (required version >= 2.5)
 * OpenEXR (required version >= 3.0)
 * JXL (required version >= 0.7.0)
 * WebP (required version >= 0.3.0)
 * libavif (required version >= 0.8.2)
 * libheif (required version >= 1.13.0)
 * PortMidi, Portable MIDI library, <https://github.com/PortMidi/portmidi>
   Used for hardware MIDI input devices
 * OpenJPEG
 * IsoCodes (required version >= 3.66)
 * Libsecret
 * MacIntegration
 * GraphicsMagick
 * GMIC
 * ICU
 * Lua54 (required version >= 5.4)
 * OSMGpsMap
 * SDL2, low level access to audio, keyboard, mouse, joystick, and graphics hardware, <https://www.libsdl.org/>
 * X11

-- The following REQUIRED packages have been found:

 * GTK3 (required version >= 3.24.15)
 * Threads
 * Imath
 * LensFun
 * Sqlite3 (required version >= 3.15)
 * GIO
 * GThread
 * GModule
 * PangoCairo
 * Rsvg2
 * LibXml2
 * PNG
 * TIFF
 * LCMS2
 * JsonGlib
 * Exiv2 (required version >= 0.25)
 * Pugixml (required version >= 1.2), Light-weight, simple and fast XML parser, <http://pugixml.org/>
   Used for loading of data/cameras.xml
 * CURL (required version >= 7.56)
 * Glib
 * ZLIB, software library used for data compression
   Used for decoding DNG Deflate compression
 * JPEG, free library for handling the JPEG image data format, implements a JPEG codec
   Used for decoding DNG Lossy JPEG compression
 * OpenMP, Open Multi-Processing, <https://www.openmp.org/>
   Used for parallelization of the library

-- The following OPTIONAL packages have not been found:

 * P11Kit
 * Cups

-- Configuring incomplete, errors occurred!

Additional context

Add any other context about the problem here.

Notify maintainers

@goibhniu @flosse @mrVanDalo @paperdigits @freyacodes

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
these 2 paths will be fetched (0.01 MiB download, 0.03 MiB unpacked):
  /nix/store/4gch2nwai37gn03va0fhrfvmn0x1cc0z-DarwinTools-1
  /nix/store/vmfirixgqn3j8c3bsqgbxb51b314294h-nix-info
copying path '/nix/store/4gch2nwai37gn03va0fhrfvmn0x1cc0z-DarwinTools-1' from 'https://cache.nixos.org'...
copying path '/nix/store/vmfirixgqn3j8c3bsqgbxb51b314294h-nix-info' from 'https://cache.nixos.org'...
 - system: `"x86_64-darwin"`
 - host os: `Darwin 22.5.0, macOS 10.16`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.15.0`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`
paperdigits commented 1 year ago

I don't have access to a mac, can you please try and upgrade llvm/clang to v12?

On August 3, 2023 6:29:11 AM PDT, Howard Do @.***> wrote:

Steps To Reproduce

Steps to reproduce the behavior:

  1. I ran home-manager switch --flake . --verbose on my flake

Build log

***@***.***:~]$ home-manager switch --flake . --verbose
...
building '/nix/store/5dv9gipxg0cx6sk4iglzvm2ryfsi08d0-darktable-4.4.1.drv'...
error: builder for '/nix/store/5dv9gipxg0cx6sk4iglzvm2ryfsi08d0-darktable-4.4.1.drv' failed with exit code 1;
      last 10 log lines:
      >    Used for decoding DNG Lossy JPEG compression
      >  * OpenMP, Open Multi-Processing, <https://www.openmp.org/>
      >    Used for parallelization of the library
      >
      > -- The following OPTIONAL packages have not been found:
      >
      >  * P11Kit
      >  * Cups
      >
      > -- Configuring incomplete, errors occurred!
      For full logs, run 'nix-store -l /nix/store/5dv9gipxg0cx6sk4iglzvm2ryfsi08d0-darktable-4.4.1.drv'.
error: 1 dependencies of derivation '/nix/store/dgqpwzgvlwc029m0k90cw4pmvrl1kahv-home-manager-applications.drv' failed to build
error: 1 dependencies of derivation '/nix/store/rjf7iclam3vl621vkqwkcq7ydx6wmwbv-home-manager-fonts.drv' failed to build
error: 1 dependencies of derivation '/nix/store/q6q5rlrfkl8vgq060sgvfd888dmsmfa4-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/71ki0a9pzxa0v1xpczk9cyizsn9kb7y2-home-manager-generation.drv' failed to build

***@***.***:~]$ nix-store -l /nix/store/5dv9gipxg0cx6sk4iglzvm2ryfsi08d0-darktable-4.4.1.drv | cat
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/4r1f7dzd6az1kp8iwks1ax2gq663xyh5-darktable-4.4.1.tar.xz
source root is darktable-4.4.1
setting SOURCE_DATE_EPOCH to timestamp 1688105711 of file darktable-4.4.1/src/version_gen.c
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
fixing cmake files...
cmake flags: -GNinja -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/share/doc/darktable -DCMAKE_INSTALL_INFODIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/include -DCMAKE_INSTALL_SBINDIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/snxjdcdka4p7af454n3v7mdc4yh1lywn-cctools-binutils-darwin-11.1.0-973.0.1/bin/strip -DCMAKE_RANLIB=/nix/store/kvizl23z3fng88n4j8knapn186bxw70f-clang-wrapper-11.1.0/bin/ranlib -DCMAKE_AR=/nix/store/kvizl23z3fng88n4j8knapn186bxw70f-clang-wrapper-11.1.0/bin/ar -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/nix/store/aqx6dmnq0zhcf1hcxavq2xslgi72qbxb-darktable-4.4.1 -DBUILD_USERMANUAL=False -DUSE_COLORD=OFF -DUSE_KWALLET=OFF
-- The CXX compiler identification is Clang 11.1.0
-- The C compiler identification is Clang 11.1.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/kvizl23z3fng88n4j8knapn186bxw70f-clang-wrapper-11.1.0/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/kvizl23z3fng88n4j8knapn186bxw70f-clang-wrapper-11.1.0/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found OpenMP_C: -fopenmp=libomp (found suitable version "4.5", minimum required is "4.5")
-- Found OpenMP_CXX: -fopenmp=libomp (found suitable version "4.5", minimum required is "4.5")
-- Found OpenMP: TRUE (found suitable version "4.5", minimum required is "4.5")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test IS_SUPPORTED_PLATFORM
-- Performing Test IS_SUPPORTED_PLATFORM - Success
-- Looking for cpuid.h
-- Looking for cpuid.h - found
-- Looking for __get_cpuid
-- Looking for __get_cpuid - found
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Performing Test HAVE_OMP_FIRSTPRIVATE_WITH_CONST
-- Performing Test HAVE_OMP_FIRSTPRIVATE_WITH_CONST - Success
-- Performing Test HAVE_THREAD_RWLOCK_ARCH_T_READERS
-- Performing Test HAVE_THREAD_RWLOCK_ARCH_T_READERS - Failed
-- Performing Test HAVE_THREAD_RWLOCK_ARCH_T_NR_READERS
-- Performing Test HAVE_THREAD_RWLOCK_ARCH_T_NR_READERS - Failed
-- Performing Test _MSSE2
-- Performing Test _MSSE2 - Success
-- Building SSE2-optimized codepaths: ON
-- Mac OS X build detected, setting default features
-- Setting CMAKE_PREFIX_PATH to prefer MacPorts and/or user-installed libraries over system ones
CMake Error at cmake/compiler-versions.cmake:47 (message):
 LLVM Clang C compiler version 11.1.0 is too old and is unsupported.
 Version 12+ is required.
Call Stack (most recent call first):
 CMakeLists.txt:156 (include)

CMake Error at cmake/compiler-versions.cmake:50 (message):
 LLVM Clang C++ compiler version 11.1.0 is too old and is unsupported.
 Version 12+ is required.
Call Stack (most recent call first):
 CMakeLists.txt:156 (include)

-- Performing Test C_COMPILER_UNDERSTANDS_-Wall
-- Performing Test C_COMPILER_UNDERSTANDS_-Wall - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wall
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wall - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wformat
-- Performing Test C_COMPILER_UNDERSTANDS_-Wformat - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wformat
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wformat - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wformat-security
-- Performing Test C_COMPILER_UNDERSTANDS_-Wformat-security - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wformat-security
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wformat-security - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wshadow
-- Performing Test C_COMPILER_UNDERSTANDS_-Wshadow - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wshadow
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wshadow - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wtype-limits
-- Performing Test C_COMPILER_UNDERSTANDS_-Wtype-limits - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wtype-limits
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wtype-limits - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wvla
-- Performing Test C_COMPILER_UNDERSTANDS_-Wvla - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wvla
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wvla - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wold-style-declaration
-- Performing Test C_COMPILER_UNDERSTANDS_-Wold-style-declaration - Failed
-- Performing Test C_COMPILER_UNDERSTANDS_-Wthread-safety
-- Performing Test C_COMPILER_UNDERSTANDS_-Wthread-safety - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wthread-safety
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wthread-safety - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wmaybe-uninitialized
-- Performing Test C_COMPILER_UNDERSTANDS_-Wmaybe-uninitialized - Failed
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wmaybe-uninitialized
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wmaybe-uninitialized - Failed
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-unknown-pragmas
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-unknown-pragmas - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-unknown-pragmas
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-unknown-pragmas - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=varargs
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=varargs - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=varargs
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=varargs - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-format-truncation
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-format-truncation - Failed
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-format-truncation
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-format-truncation - Failed
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member - Success
-- Looking for external programs
-- Found perl
-- Found intltool-merge
-- Found desktop-file-validate
-- Found ZLIB: /nix/store/c1zg2ml7vd53fqb5f0zwrdrfqgdaih3a-zlib-1.2.13/lib/libz.dylib (found version "1.2.13")
-- Found LibXml2: /nix/store/i8hp5bmqqh8ndvk2jsajnrpy7rjykfpf-libxml2-2.11.4/lib/libxml2.dylib (found version "2.11.4")
-- Found LLVM 13.0.1
CMake Warning at CMakeLists.txt:348 (message):
 Could not find appropriate clang compiler

CMake Warning at CMakeLists.txt:349 (message):
 Test-compilation of OpenCL programs can not be done.

-- Test-compilation of OpenCL programs is disabled.
-- Missing jsonschema, problems in noiseprofiles.json might go unnoticed
-- Found xsltproc
-- Found xmllint
-- Missing exiftool
-- All external programs found
-- Found Gettext: /nix/store/v5pcm6hcwhrgz7wkhqnkcb1mfwsb1jk9-gettext-0.21.1/bin/msgmerge (found version "0.21.1")
-- Found msgfmt to convert .po file. Translation enabled
-- The following OPTIONAL packages have been found:

* LibXml2
* LLVM
* Gettext

-- The following REQUIRED packages have been found:

* OpenMP (required version >= 4.5)
* Threads
* ZLIB

CMake Error at src/external/rawspeed/cmake/compiler-versions.cmake:45 (message):
 LLVM Clang C compiler version 11.1.0 is too old and is unsupported.
 Version 12+ is required.
Call Stack (most recent call first):
 src/external/rawspeed/CMakeLists.txt:189 (include)

CMake Error at src/external/rawspeed/cmake/compiler-versions.cmake:48 (message):
 LLVM Clang C++ compiler version 11.1.0 is too old and is unsupported.
 Version 12+ is required.
Call Stack (most recent call first):
 src/external/rawspeed/CMakeLists.txt:189 (include)

-- Checking for -march=native support
-- Performing Test MARCHNATIVE
-- Performing Test MARCHNATIVE - Success
-- Checking for -march=native support - works
-- Performing Test CLANG_CXX_THREAD_SAFETY_ANALYSIS_NEGATIVE_CAPABILITIES_WORK
-- Performing Test CLANG_CXX_THREAD_SAFETY_ANALYSIS_NEGATIVE_CAPABILITIES_WORK - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WALL
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WALL - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WEXTRA
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WEVERYTHING
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WEVERYTHING - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_CXX98_COMPAT
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_CXX98_COMPAT - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_CXX98_COMPAT_PEDANTIC
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_CXX98_COMPAT_PEDANTIC - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_CONVERSION
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_CONVERSION - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_COVERED_SWITCH_DEFAULT
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_COVERED_SWITCH_DEFAULT - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_DEPRECATED
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_DEPRECATED - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_DOUBLE_PROMOTION
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_DOUBLE_PROMOTION - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_OLD_STYLE_CAST
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_OLD_STYLE_CAST - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_PADDED
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_PADDED - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_SWITCH_ENUM
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_SWITCH_ENUM - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_UNUSED_MACROS
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_UNUSED_MACROS - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_UNUSED_PARAMETER
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_UNUSED_PARAMETER - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_WEAK_VTABLES
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_WEAK_VTABLES - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_UNSAFE_BUFFER_USAGE
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_UNSAFE_BUFFER_USAGE - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WEXTRA_SEMI
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WEXTRA_SEMI - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WSTACK_USAGE_4096
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WSTACK_USAGE_4096 - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WFRAME_LARGER_THAN_4096
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WFRAME_LARGER_THAN_4096 - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WLARGER_THAN_32768
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WLARGER_THAN_32768 - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WERROR
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WERROR - Success
-- Looking for OpenMP
-- Found OpenMP_C: -fopenmp=libomp (found suitable version "4.5", minimum required is "4.5")
-- Found OpenMP_CXX: -fopenmp=libomp (found suitable version "4.5", minimum required is "4.5")
-- Looking for OpenMP - found (system)
-- Looking for pugixml
-- Found Pugixml 1.13
-- Looking for pugixml - found (system)
-- Looking for JPEG
-- Found JPEG: /nix/store/jvs6cyy2p8cc1xb04k4m5nbxf50ng5vd-libjpeg-turbo-2.1.5.1/lib/libjpeg.dylib (found version "62")
-- Looking for JPEG - found
-- Looking for jpeg_mem_src
-- Looking for jpeg_mem_src - found
-- Looking for ZLIB
-- Found ZLIB: /nix/store/c1zg2ml7vd53fqb5f0zwrdrfqgdaih3a-zlib-1.2.13/lib/libz.dylib (found suitable version "1.2.13", minimum required is "1.2.11")
-- Looking for C++ include zlib.h
-- Looking for C++ include zlib.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of uLongf
-- Check size of uLongf - done
-- Looking for Z_OK
-- Looking for Z_OK - found
-- Checking prototype uncompress for HAVE_ZLIB_UNCOMPRESS_PROTOTYPE
-- Checking prototype uncompress for HAVE_ZLIB_UNCOMPRESS_PROTOTYPE - True
-- Checking prototype zError for HAVE_ZLIB_ZERROR_PROTOTYPE
-- Checking prototype zError for HAVE_ZLIB_ZERROR_PROTOTYPE - True
-- Looking for uncompress
-- Looking for uncompress - found
-- Looking for zError
-- Looking for zError - found
-- Looking for ZLIB - found (system)
-- Looking for malloc
-- Looking for malloc - found
-- Looking for free
-- Looking for free - found
-- Looking for aligned_alloc
-- Looking for aligned_alloc - not found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Performing Test HAVE_CXX_THREAD_LOCAL
-- Performing Test HAVE_CXX_THREAD_LOCAL - Success
-- Trying to query CPU L1d cache line size
-- Deciding that the CPU L1d cache line size is 64 bytes
-- Trying to query CPU page size
-- Deciding that the CPU page size is 4096 bytes
-- Trying to query CPU large page size
-- Deciding that the CPU large page size is 2097152 bytes
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_GLOBAL_CONSTRUCTORS
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_GLOBAL_CONSTRUCTORS - Success
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_EXIT_TIME_DESTRUCTORS
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_EXIT_TIME_DESTRUCTORS - Success
-- Found XMLLINT: /nix/store/lq0d44r7lggx3raia8wgxgbfcxk5v2vh-libxml2-2.11.4-bin/bin/xmllint
-- The following features have been enabled:

* OpenMP-based threading, used for parallelization of the library
* XML reading, used for loading of data/cameras.xml
* Lossy JPEG decoding, used for DNG Lossy JPEG compression decoding
* ZLIB decoding, used for DNG Deflate compression decoding

-- The following OPTIONAL packages have been found:

* LibXml2
* LLVM
* Gettext
* XMLLINT, command line XML tool, <http://xmlsoft.org/>
  Used for validation of data/cameras.xml

-- The following RECOMMENDED packages have been found:

* JPEG, free library for handling the JPEG image data format, implements a JPEG codec
  Used for decoding DNG Lossy JPEG compression

-- The following REQUIRED packages have been found:

* Threads
* OpenMP (required version >= 4.5), Open Multi-Processing, <https://www.openmp.org/>
  Used for parallelization of the library
* Pugixml (required version >= 1.8), Light-weight, simple and fast XML parser, <http://pugixml.org/>
  Used for loading of data/cameras.xml
* ZLIB (required version >= 1.2.11), software library used for data compression
  Used for decoding DNG Deflate compression

-- Looking for a OBJCXX compiler
-- Looking for a OBJCXX compiler - /nix/store/kvizl23z3fng88n4j8knapn186bxw70f-clang-wrapper-11.1.0/bin/clang++
-- The OBJCXX compiler identification is Clang 11.1.0
-- Detecting OBJCXX compiler ABI info
-- Detecting OBJCXX compiler ABI info - done
-- Check for working OBJCXX compiler: /nix/store/kvizl23z3fng88n4j8knapn186bxw70f-clang-wrapper-11.1.0/bin/clang++ - skipped
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
-- Found Glib 2.76.4
-- Found PkgConfig: /nix/store/hsn305fagbccl1gq9vyvf45ylhi8ls2z-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")
-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.24.38
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
-- Found GTK3: /nix/store/552ppd50myk4pv3n2kg9mnrzcqncmlr0-gtk+3-3.24.38-dev/include/gtk-3.0;/nix/store/3lplyj3cibm02a65bidm75wm62hjiahx-at-spi2-core-2.48.3-dev/include/atk-1.0;/nix/store/axdvvfvsqkm9kwjxql988jkhmb8zxphv-glib-2.76.4-dev/include;/nix/store/axdvvfvsqkm9kwjxql988jkhmb8zxphv-glib-2.76.4-dev/include/glib-2.0;/nix/store/qi4jnzbf4sbjyn418inc9q55ysvklqii-glib-2.76.4/lib/glib-2.0/include;/nix/store/dzgibgs5jad2pkq5wbpri2xjxl6n9ir5-cairo-1.16.0-dev/include/cairo;/nix/store/x2r7ia4nn27c0s5k9lqs6kfa91wik8wy-freetype-2.13.0-dev/include/freetype2;/nix/store/x2r7ia4nn27c0s5k9lqs6kfa91wik8wy-freetype-2.13.0-dev/include;/nix/store/krm4dnw2728pvpc472h78v183h6pkzyf-gdk-pixbuf-2.42.10-dev/include/gdk-pixbuf-2.0;/nix/store/afldvaa5wg93vkj0arirk5jyg67a13dg-pango-1.50.14-dev/include/pango-1.0;/nix/store/cb996aqjr69q74pkdpnva6yqb4cpw71k-harfbuzz-7.3.0-dev/include/harfbuzz (Required is at least version "3.24.15")
-- Found LibXml2: /nix/store/i8hp5bmqqh8ndvk2jsajnrpy7rjykfpf-libxml2-2.11.4/lib/libxml2.dylib (found suitable version "2.11.4", minimum required is "2.6")
-- Found Gphoto2: /nix/store/5vakijyzavl1pikw95rglz9pnizv8r7f-libgphoto2-2.5.30/lib/libgphoto2.dylib (Required is at least version "2.5")
-- Found ZLIB: /nix/store/c1zg2ml7vd53fqb5f0zwrdrfqgdaih3a-zlib-1.2.13/lib/libz.dylib (found version "1.2.13")
-- Found JXL: /nix/store/0a8i9z7xb33qhgmx8y8x6pajajj66rh9-libjxl-0.8.2/lib/libjxl.dylib (found suitable version "0.8.2", minimum required is "0.7.0")
-- Found WebP: /nix/store/gavzgsxwr1zgv6fkfis6kxv5miq5p9q1-libwebp-1.3.1/lib/libwebp.dylib;/nix/store/gavzgsxwr1zgv6fkfis6kxv5miq5p9q1-libwebp-1.3.1/lib/libwebpmux.dylib (Required is at least version "0.3.0")
-- Could NOT find libheif (missing: libheif_DIR)
Package libde265 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libde265.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libde265', required by 'libheif', not found
Package libde265 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libde265.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libde265', required by 'libheif', not found
Package libde265 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libde265.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libde265', required by 'libheif', not found
Package libde265 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libde265.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libde265', required by 'libheif', not found
-- Found libheif: /nix/store/x0gv4dwjilxav7511c98vaahnv4xqzpz-libheif-1.15.2/lib/libheif.dylib (found suitable version "1.15.2", minimum required is "1.13.0")
-- Building LibRaw from intree copy
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
-- Found LensFun: /nix/store/4s0d69cwygrhl2gxvqhbrf7pc1wbjpya-lensfun-0.3.3/lib/liblensfun.dylib
-- Found Sqlite3 3.42.0
-- Sqlite3 version 3.24 or newer
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
-- Found GIO
-- Found GThread: /nix/store/qi4jnzbf4sbjyn418inc9q55ysvklqii-glib-2.76.4/lib/libgthread-2.0.dylib
-- Found GModule: /nix/store/qi4jnzbf4sbjyn418inc9q55ysvklqii-glib-2.76.4/lib/libgmodule-2.0.dylib
-- Found PangoCairo: /nix/store/5hpzca5a4vjgn0sfd1iabr2sj8bv881a-pango-1.50.14/lib/libpangocairo-1.0.dylib
-- Found Rsvg2: /nix/store/sff8cdiz4v5pqchy4m5bw5f7kh56dxrf-librsvg-2.56.2/lib/librsvg-2.dylib
-- Found LibXml2: /nix/store/i8hp5bmqqh8ndvk2jsajnrpy7rjykfpf-libxml2-2.11.4/lib/libxml2.dylib (found version "2.11.4")
-- Found CURL: /nix/store/87wq6ywbryablrws235d3lwym6qg6vyz-curl-8.1.2/lib/libcurl.dylib (found version "8.1.2")
-- Found PNG: /nix/store/hxjny6pzjyjdvs48xmxcdzq2wjyzjy0y-libpng-apng-1.6.39/lib/libpng.dylib (found version "1.6.39")
-- Found TIFF: /nix/store/z2cfhdb7gjzw6hw0p3c3iafqcpx2486d-libtiff-4.5.1/lib/libtiff.dylib (found version "4.5.1")
-- Found LCMS2: /nix/store/997mbk8j50dxm7ab3jicl61zd0a16jd1-lcms2-2.15/lib/liblcms2.dylib
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
-- Found JsonGlib
-- Found Exiv2: /nix/store/ssk20wiljqivw9klg00lsn7wzli1a4wx-exiv2-0.27.7-lib/lib/libexiv2.dylib (Required is at least version "0.25")
-- Looking for EXV_ENABLE_BMFF
-- Looking for EXV_ENABLE_BMFF - found
-- Exiv2 >= 0.27.4 found with ISOBMFF support (CR3, AVIF, HEIF)
-- Found PortMidi: /nix/store/cnarbrh0m0x3rbry55ih7mml4qq2ipwa-portmidi-2.0.4/lib/libportmidi.dylib
-- Found OpenJPEG
-- Checking for module 'iso-codes'
--   Found iso-codes, version 4.15.0
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
-- Found Libsecret: /nix/store/axdvvfvsqkm9kwjxql988jkhmb8zxphv-glib-2.76.4-dev/include/gio-unix-2.0;/nix/store/axdvvfvsqkm9kwjxql988jkhmb8zxphv-glib-2.76.4-dev/include;/nix/store/axdvvfvsqkm9kwjxql988jkhmb8zxphv-glib-2.76.4-dev/include/glib-2.0;/nix/store/qi4jnzbf4sbjyn418inc9q55ysvklqii-glib-2.76.4/lib/glib-2.0/include;/nix/store/l0193cx29gmk15axr7z6jmjhlmf3bv71-libsecret-0.20.5-dev/include/libsecret-1
-- Found MacIntegration: /nix/store/pxs7rwdvjr0zq73my9941h2nyv4y0hvx-gtk-mac-integration-3.0.1/lib/libgtkmacintegration-gtk3.dylib
-- Found GraphicsMagick
-- Performing Test GMIC_VERSION_OK
-- Performing Test GMIC_VERSION_OK - Success
-- Found GMIC
-- Found the following ICU libraries:
--   i18n (required): /nix/store/1virc70ym0jr9mff41plrq1dw9hnagcl-icu4c-73.2/lib/libicui18n.dylib
--   data (required): /nix/store/1virc70ym0jr9mff41plrq1dw9hnagcl-icu4c-73.2/lib/libicudata.dylib
--   uc (required): /nix/store/1virc70ym0jr9mff41plrq1dw9hnagcl-icu4c-73.2/lib/libicuuc.dylib
-- Found ICU: /nix/store/l0s3r7lld372jnv76nm8z1h59w6l33rq-icu4c-73.2-dev/include (found version "73.2")
-- Performing Test HAVE_BUILTIN_CPU_SUPPORTS
-- Performing Test HAVE_BUILTIN_CPU_SUPPORTS - Success
-- Does the compiler support __builtin_cpu_supports(): 1
-- Performing Test HAVE_TLS
-- Performing Test HAVE_TLS - Success
-- Checking for -mtune=generic support
-- Performing Test MTUNEGENERIC
-- Performing Test MTUNEGENERIC - Success
-- Lua support: Enabled
-- Found Pugixml 1.13
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
Package libpcre2-8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre2-8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre2-8', required by 'glib-2.0', not found
-- Map mode: enabled
-- Could NOT find Cups (missing: CUPS_LIBRARIES CUPS_INCLUDE_DIR)
-- Print mode: disabled, please install CUPS dev package
-- Game: the good knight
-- Found CURL: /nix/store/87wq6ywbryablrws235d3lwym6qg6vyz-curl-8.1.2/lib/libcurl.dylib (found suitable version "8.1.2", minimum required is "7.56")
-- Found recent CURL version to build piwigo.
-- Found X11: /nix/store/809fy77nf45h4vk1zjrxppfk4fz38ngk-xorgproto-2023.2/include
-- Looking for XOpenDisplay in /nix/store/6sqi7h3kfd5xsrlminx62ik3jagpn6cz-libX11-1.8.6/lib/libX11.dylib;/nix/store/rd7mg0kmprylw2hc0sx23c6g66x057m6-libXext-1.3.5/lib/libXext.dylib
-- Looking for XOpenDisplay in /nix/store/6sqi7h3kfd5xsrlminx62ik3jagpn6cz-libX11-1.8.6/lib/libX11.dylib;/nix/store/rd7mg0kmprylw2hc0sx23c6g66x057m6-libXext-1.3.5/lib/libXext.dylib - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- no colord support for darktable-cmstest. not cool.
-- LibRaw string version: 0.21.1
-- LibRaw ID version:     0x0211
-- LibRaw SO version:     23.0.0
-- Found OpenMP_C: -fopenmp=libomp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp=libomp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
--
-- ----------------------------------------------------------------------------------
--  Libraw 0.21.1 configuration            <http://www.libraw.org>
--
--  Libraw will be compiled with OpenMP support .................. YES
--  Libraw will be compiled with LCMS support .................... NO
--  Libraw will be compiled with example command-line programs ... NO
--  Libraw will be compiled with RedCine codec support ........... NO
--  Libraw will be compiled with DNG deflate codec support ....... YES
--  Libraw will be compiled with DNG lossy codec support ......... NO
--  Libraw will be compiled with RawSpeed support ................ NO
--  Libraw will be compiled with debug message from dcraw ........ NO
--  Libraw will be compiled with Foveon X3F support .............. NO
--  Libraw will be compiled with Raspberry Pi RAW support ........ NO
--  Libraw will be compiled as a static library
-- ----------------------------------------------------------------------------------
--
Missing po4a-translate. Can NOT create translated manpages
Missing po4a-updatepo. Can NOT update manpage translations
-- The following features have been enabled:

* OpenMP-based threading, used for parallelization of the library
* XML reading, used for loading of data/cameras.xml
* Lossy JPEG decoding, used for DNG Lossy JPEG compression decoding
* ZLIB decoding, used for DNG Deflate compression decoding

-- The following OPTIONAL packages have been found:

* LLVM
* Gettext
* XMLLINT, command line XML tool, <http://xmlsoft.org/>
  Used for validation of data/cameras.xml
* Gphoto2 (required version >= 2.5)
* OpenEXR (required version >= 3.0)
* JXL (required version >= 0.7.0)
* WebP (required version >= 0.3.0)
* libavif (required version >= 0.8.2)
* libheif (required version >= 1.13.0)
* PortMidi, Portable MIDI library, <https://github.com/PortMidi/portmidi>
  Used for hardware MIDI input devices
* OpenJPEG
* IsoCodes (required version >= 3.66)
* Libsecret
* MacIntegration
* GraphicsMagick
* GMIC
* ICU
* Lua54 (required version >= 5.4)
* OSMGpsMap
* SDL2, low level access to audio, keyboard, mouse, joystick, and graphics hardware, <https://www.libsdl.org/>
* X11

-- The following REQUIRED packages have been found:

* GTK3 (required version >= 3.24.15)
* Threads
* Imath
* LensFun
* Sqlite3 (required version >= 3.15)
* GIO
* GThread
* GModule
* PangoCairo
* Rsvg2
* LibXml2
* PNG
* TIFF
* LCMS2
* JsonGlib
* Exiv2 (required version >= 0.25)
* Pugixml (required version >= 1.2), Light-weight, simple and fast XML parser, <http://pugixml.org/>
  Used for loading of data/cameras.xml
* CURL (required version >= 7.56)
* Glib
* ZLIB, software library used for data compression
  Used for decoding DNG Deflate compression
* JPEG, free library for handling the JPEG image data format, implements a JPEG codec
  Used for decoding DNG Lossy JPEG compression
* OpenMP, Open Multi-Processing, <https://www.openmp.org/>
  Used for parallelization of the library

-- The following OPTIONAL packages have not been found:

* P11Kit
* Cups

-- Configuring incomplete, errors occurred!

Additional context

Add any other context about the problem here.

Notify maintainers

@goibhniu @flosse @mrVanDalo @paperdigits @freyacodes

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

***@***.***:~]$ nix-shell -p nix-info --run "nix-info -m"
these 2 paths will be fetched (0.01 MiB download, 0.03 MiB unpacked):
 /nix/store/4gch2nwai37gn03va0fhrfvmn0x1cc0z-DarwinTools-1
 /nix/store/vmfirixgqn3j8c3bsqgbxb51b314294h-nix-info
copying path '/nix/store/4gch2nwai37gn03va0fhrfvmn0x1cc0z-DarwinTools-1' from 'https://cache.nixos.org'...
copying path '/nix/store/vmfirixgqn3j8c3bsqgbxb51b314294h-nix-info' from 'https://cache.nixos.org'...
- system: `"x86_64-darwin"`
- host os: `Darwin 22.5.0, macOS 10.16`
- multi-user?: `yes`
- sandbox: `no`
- version: `nix-env (Nix) 2.15.0`
- channels(root): `"nixpkgs"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

-- Reply to this email directly or view it on GitHub: https://github.com/NixOS/nixpkgs/issues/246964 You are receiving this because you were mentioned.

Message ID: @.***>

howarddo2208 commented 1 year ago

How can I do that? My MacBook clang version is already 14, but it only uses 11 while running this, I don't know much about home-manager.

❯ clang --version
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: x86_64-apple-darwin22.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

here's my config

paperdigits commented 1 year ago

Clone nixpkgs, locate the darktable drv, modify the clang version, then use nix build to try and build it.

On August 3, 2023 10:17:32 AM PDT, Howard Do @.***> wrote:

How can I do that? My MacBook clang version is already 14, but it only uses 11 while running this, I don't know much about home-manager.

❯ clang --version
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: x86_64-apple-darwin22.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

here's my config

-- Reply to this email directly or view it on GitHub: https://github.com/NixOS/nixpkgs/issues/246964#issuecomment-1664350366 You are receiving this because you were mentioned.

Message ID: @.***>

howarddo2208 commented 1 year ago

Thanks u, but stay with me here as I'm quite new to this and need a little more help. What is the exact command to build it? Is it nix build default.nix? btw, I notice in default.nix there's already llvm_13, doesn't it use clang 13 already? https://github.com/NixOS/nixpkgs/blob/12703229626d8622b5343d6ed513e8c18d02a50a/pkgs/applications/graphics/darktable/default.nix#L13C1-L14C1

paperdigits commented 1 year ago

Seems its actually because openMP pulls the llvm version back to 11. Its this https://github.com/NixOS/nixpkgs/blob/12703229626d8622b5343d6ed513e8c18d02a50a/pkgs/applications/graphics/darktable/default.nix#L117

On August 4, 2023 2:06:55 AM PDT, Howard Do @.***> wrote:

Thanks u, but stay with me here as I'm quite new to this and need a little more help. What is the exact command to build it? btw, I notice in default.nix there's already llvm_13, doesn't it use clang 13 already? https://github.com/NixOS/nixpkgs/blob/12703229626d8622b5343d6ed513e8c18d02a50a/pkgs/applications/graphics/darktable/default.nix#L13C1-L14C1

-- Reply to this email directly or view it on GitHub: https://github.com/NixOS/nixpkgs/issues/246964#issuecomment-1665284831 You are receiving this because you were mentioned.

Message ID: @.***>

reckenrode commented 1 year ago

darktable uses the default stdenv, which currently uses clang 11 on Darwin. The system clang isn’t used (which is actually clang 15 in spite of what the version number suggests). I expect you’ll need to use llvmPackages_12.stdenv in addition to llvmPackages_12.openmp to get it to build.

Note: There is work being done to update the clang in the stdenv to LLVM 16 (see #234710 for the tracking issue and #247066 for the update PR). Once the update PR is merged, I’d expect this issue to be resolved automatically. Unfortunately, I don’t know when that will happen. The failing eval is presumably a blocker (fixed by #247066).

Edit: It was pointed out on Matrix that there are some other issues building on Darwin even if you do use llvmPackages_12.stdenv, so that alone may not be enough.