Skip to content

Instantly share code, notes, and snippets.

@superherointj
Created October 2, 2024 19:50
Show Gist options
  • Save superherointj/46296783589a1d571bcfba3dc26956bc to your computer and use it in GitHub Desktop.
Save superherointj/46296783589a1d571bcfba3dc26956bc to your computer and use it in GitHub Desktop.
mapnik-darwin.logs
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/jvbifrj9sbf7gibh5k66446zjvh3jm1y-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
applying patch /nix/store/z4vn7kq4znjkp7bhn4m987bgik3kf3f2-cmake-harfbuzz.patch
patching file CMakeLists.txt
Hunk #1 succeeded at 180 (offset 3 lines).
applying patch /nix/store/pvjqfvq8p8krsy4slk6lj2ha464kxki8-export-pkg-config-full-paths.patch
patching file cmake/MapnikExportPkgConfig.cmake
applying patch /nix/store/dqk9jgiaz60cm6bcg1d32h3nal30h02f-use-sparsehash-package.patch
patching file include/mapnik/palette.hpp
Hunk #1 succeeded at 34 with fuzz 1 (offset 1 line).
substituteStream() in derivation mapnik-4.0.2: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'configure')
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
fixing cmake files...
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LOCALEDIR=/nix/store/rydx074dsycp2lkycfp9hkaf9p5f4jv5-mapnik-4.0.2/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/rydx074dsycp2lkycfp9hkaf9p5f4jv5-mapnik-4.0.2/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/rydx074dsycp2lkycfp9hkaf9p5f4jv5-mapnik-4.0.2/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/rydx074dsycp2lkycfp9hkaf9p5f4jv5-mapnik-4.0.2/share/doc/mapnik -DCMAKE_INSTALL_INFODIR=/nix/store/rydx074dsycp2lkycfp9hkaf9p5f4jv5-mapnik-4.0.2/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/rydx074dsycp2lkycfp9hkaf9p5f4jv5-mapnik-4.0.2/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/rydx074dsycp2lkycfp9hkaf9p5f4jv5-mapnik-4.0.2/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/rydx074dsycp2lkycfp9hkaf9p5f4jv5-mapnik-4.0.2/include -DCMAKE_INSTALL_SBINDIR=/nix/store/rydx074dsycp2lkycfp9hkaf9p5f4jv5-mapnik-4.0.2/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/rydx074dsycp2lkycfp9hkaf9p5f4jv5-mapnik-4.0.2/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/rydx074dsycp2lkycfp9hkaf9p5f4jv5-mapnik-4.0.2/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/8c3v3rdzvi5364x9m959ijyy6iamqf5f-clang-wrapper-16.0.6/bin/strip -DCMAKE_RANLIB=/nix/store/8c3v3rdzvi5364x9m959ijyy6iamqf5f-clang-wrapper-16.0.6/bin/ranlib -DCMAKE_AR=/nix/store/8c3v3rdzvi5364x9m959ijyy6iamqf5f-clang-wrapper-16.0.6/bin/ar -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/nix/store/rydx074dsycp2lkycfp9hkaf9p5f4jv5-mapnik-4.0.2 -DBUILD_BENCHMARK:BOOL=FALSE -DBUILD_DEMO_CPP:BOOL=FALSE -DBUILD_DEMO_VIEWER:BOOL=FALSE -DUSE_EXTERNAL_MAPBOX_PROTOZERO:BOOL=TRUE -DUSE_MEMORY_MAPPED_FILE:BOOL=FALSE -DFETCHCONTENT_SOURCE_DIR_CATCH2:STRING=/nix/store/63cap99xmkn7b3z76471skq3xc67dqkx-source
-- The CXX compiler identification is Clang 16.0.6
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/8c3v3rdzvi5364x9m959ijyy6iamqf5f-clang-wrapper-16.0.6/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- mapnik version: 4.0.2
Error: Could not run sw_vers:
No such file or directory
Error: Could not run sw_vers:
No such file or directory
Error: Could not run sw_vers:
No such file or directory
-- The following features have been enabled:
* BUILD_TESTING, Adds tests
* INSTALL_DEPENDENCIES, if ON, all dependencies (eg. required dlls) will be copied into CMAKE_INSTALL_PREFIX/MAPNIK_BIN_DIR.
* BUILD_SHARED_LIBS, build mapnik dynamic(ON) or static(OFF)
* BUILD_SHARED_PLUGINS, build dynamic plugins
* BUILD_SHARED_CRT, (only windows with msvc) use msvc shared crt
* USE_EXTERNAL_MAPBOX_PROTOZERO, Use a external mapnik/protozero. If off, use the submodule
* USE_JPEG, adds jpeg support
* USE_PNG, adds png support
* USE_TIFF, adds tiff support
* USE_WEBP, adds webp support
* USE_LIBXML2, adds libxml2 support
* USE_CAIRO, adds the cairo renderer
* USE_PROJ, adds proj support
* USE_GRID_RENDERER, adds grid renderer
* USE_SVG_RENDERER, adds svg renderer
* USE_BIGINT, uses 64 bit instead of 32
* USE_MULTITHREADED, enables the multithreaded features (threadsafe)
* USE_PLUGIN_INPUT_CSV, adds plugin input csv
* USE_PLUGIN_INPUT_GDAL, adds plugin input gdal
* USE_PLUGIN_INPUT_GEOBUF, adds plugin input geobuf
* USE_PLUGIN_INPUT_GEOJSON, adds plugin input geojson
* USE_PLUGIN_INPUT_OGR, adds plugin input ogr
* USE_PLUGIN_INPUT_PGRASTER, adds plugin input pgraster
* USE_PLUGIN_INPUT_POSTGIS, adds plugin input postgis
* USE_PLUGIN_INPUT_RASTER, adds plugin input raster
* USE_PLUGIN_INPUT_SHAPE, adds plugin input shape
* USE_PLUGIN_INPUT_SQLITE, adds plugin input sqlite
* USE_PLUGIN_INPUT_TOPOJSON, adds plugin input topojson
* BUILD_UTILITY_GEOMETRY_TO_WKB, builds the utility program geometry_to_wkb
* BUILD_UTILITY_MAPNIK_INDEX, builds the utility program mapnik_index
* BUILD_UTILITY_MAPNIK_RENDER, builds the utility program mapnik_render
* BUILD_UTILITY_PGSQL2SQLITE, builds the utility program pgsql2sqlite
* BUILD_UTILITY_SHAPEINDEX, builds the utility program shapeindex
* BUILD_UTILITY_SVG2PNG, builds the utility program svg2png
-- The following features have been disabled:
* USE_EXTERNAL_MAPBOX_GEOMETRY, Use a external mapnik/geometry.hpp. If off, use the submodule
* USE_EXTERNAL_MAPBOX_POLYLABEL, Use a external mapnik/polylabel. If off, use the submodule
* USE_EXTERNAL_MAPBOX_VARIANT, Use a external mapnik/variant. If off, use the submodule
* USE_BOOST_FILESYSTEM, use boost::filesytem even if `std::filesystem` is available (since c++17)
* USE_MEMORY_MAPPED_FILE, uses file cache
* USE_NO_ATEXIT, disable atexit
* USE_NO_DLCLOSE, disable dlclose
* USE_DEBUG_OUTPUT, enables some debug messages for development
* USE_LOG, enables logging output. See log severity level.
* USE_STATS, Enable statistics reporting
* DISABLE_MAPNIK_AUTOSETUP, disables the autosetup. Need to call mapnik::setup() then
* BUILD_DEMO_VIEWER, builds the demo viewer
* BUILD_DEMO_CPP, builds the demo c++ application
* BUILD_BENCHMARK, builds benchmark project
* BUILD_UTILITY_OGRINDEX, builds the utility program ogrindex
* USE_BOOST_REGEX_ICU_WORKAROUND, if you don't use your system libraries and get double linked icu libraries set this to ON
* USE_GLIBC_WORKAROUND, see https://github.com/mapnik/mapnik/pull/3792 if you building with libstdc++-4.9
-- Installing plugins to /nix/store/rydx074dsycp2lkycfp9hkaf9p5f4jv5-mapnik-4.0.2/lib/mapnik/input
-- Installing fonts to /nix/store/rydx074dsycp2lkycfp9hkaf9p5f4jv5-mapnik-4.0.2/lib/mapnik/fonts
-- Using c++17
-- Using c++ extensions:
-- postfix for debug libraries: d
-- Found PkgConfig: /nix/store/g694qc6kxcl6p74n18aq81ry1wvzxfm3-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")
-- Using PkgConfig version:
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Using Threads (pthread)
-- Found the following ICU libraries:
-- uc (required): /nix/store/y3nz3c87pjj0gr3bq2qdl2ynj51dgfzs-icu4c-74.2/lib/libicuuc.dylib
-- i18n (required): /nix/store/y3nz3c87pjj0gr3bq2qdl2ynj51dgfzs-icu4c-74.2/lib/libicui18n.dylib
-- data (required): /nix/store/y3nz3c87pjj0gr3bq2qdl2ynj51dgfzs-icu4c-74.2/lib/libicudata.dylib
-- Found ICU: /nix/store/ysw2lilkyn241wgksj408ak6ic7fn1ll-icu4c-74.2-dev/include (found version "74.2")
-- Using ICU version: 74.2
-- Found Boost: /nix/store/nn97fjf1xrvp0vdyclfvj0ifk48lv79r-boost-1.81.0-dev/lib/cmake/Boost-1.81.0/BoostConfig.cmake (found suitable version "1.81.0", minimum required is "1.73") found components: regex
-- Using Boost version: 1.81.0
-- Performing Test BOOST_REGEX_HAS_ICU
-- Performing Test BOOST_REGEX_HAS_ICU - Success
-- boost regex has icu support
-- Found Freetype: /nix/store/sv68ps7xib02fxjnfb8w2k428j0lidja-freetype-2.13.2/lib/libfreetype.dylib (found version "2.13.2")
-- Using Freetype version: 2.13.2
-- Checking for module 'harfbuzz'
-- Found harfbuzz, version 9.0.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
-- Searching for the include dir of mapbox/protozero
-- Found LibXml2: /nix/store/wn7x7r27g5l60rv4skkap0sjqagcpbrp-libxml2-2.13.3/lib/libxml2.dylib (found version "2.13.3")
-- Using LibXml2 version: 2.13.3
-- Found ZLIB: /nix/store/9cpzwxa2fmkdl2da43968idffwfpcs53-zlib-1.3.1/lib/libz.dylib (found version "1.3.1")
-- Found PNG: /nix/store/9lydcyni01f01a6hs575w6ljqzifi1wb-libpng-apng-1.6.43/lib/libpng.dylib (found version "1.6.43")
-- Using PNG version: 1.6.43
-- Found JPEG: /nix/store/ly9gfa7hlcjvnfcw9v4fkhd14h0s85xs-libjpeg-turbo-3.0.3/lib/libjpeg.dylib (found version "62")
-- Using JPEG version: 62
-- Found TIFF: /nix/store/icacw2bxfj12sfdh299wxrlhplar24ci-libtiff-4.6.0/lib/libtiff.dylib (found version "4.6.0")
-- Using TIFF version: 4.6.0
-- Checking for module 'libwebp'
-- Found libwebp, version 1.4.0
-- Using WebP version: 1.4.0
-- Checking for module 'cairo'
-- Found cairo, version 1.18.0
Package expat was not found in the pkg-config search path.
Perhaps you should add the directory containing `expat.pc'
to the PKG_CONFIG_PATH environment variable
Package 'expat', required by 'fontconfig', not found
Package expat was not found in the pkg-config search path.
Perhaps you should add the directory containing `expat.pc'
to the PKG_CONFIG_PATH environment variable
Package 'expat', required by 'fontconfig', not found
Package expat was not found in the pkg-config search path.
Perhaps you should add the directory containing `expat.pc'
to the PKG_CONFIG_PATH environment variable
Package 'expat', required by 'fontconfig', not found
Package expat was not found in the pkg-config search path.
Perhaps you should add the directory containing `expat.pc'
to the PKG_CONFIG_PATH environment variable
Package 'expat', required by 'fontconfig', not found
-- Using Cairo version: 1.18.0
-- Using PROJ version: 9.4.1
-- Using mapnik PROJ version: 90401
-- Compiling with -DMAPNIK_HAS_DLCFN
-- The C compiler identification is Clang 16.0.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/8c3v3rdzvi5364x9m959ijyy6iamqf5f-clang-wrapper-16.0.6/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found GDAL: /nix/store/vxjsqk059ayar4kp991byz9p9ab24ggl-gdal-3.9.2/lib/libgdal.dylib (found version "3.9.2")
-- Found PostgreSQL: /nix/store/5i4svw3nbn239hhzrl857bkbqb5h1aq1-postgresql-16.4-lib/lib/libpq.dylib (found version "16.4")
-- Using PostgreSQL version: 16.4
-- Using PostgreSQL version: 16.4
-- Found SQLite3: /nix/store/b4pwgz9yii5rk4mvbj7ziy8wa7q0pjmn-sqlite-3.46.0-dev/include (found version "3.46.0")
-- adding libxml2_loader to compilation
-- Found Boost: /nix/store/nn97fjf1xrvp0vdyclfvj0ifk48lv79r-boost-1.81.0-dev/lib/cmake/Boost-1.81.0/BoostConfig.cmake (found suitable version "1.81.0", minimum required is "1.73") found components: program_options
-- Using Boost version: 1.81.0
-- Using SQLite3 version: 3.46.0
-- Using PostgreSQL version: 16.4
-- Using Boost version: 1.81.0
-- Using PostgreSQL version: 16.4
CMake Deprecation Warning at test/CMakeLists.txt:15 (cmake_policy):
The OLD behavior for policy CMP0110 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.

-- Configuring done (5.9s)
-- Generating done (0.2s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_POLICY_DEFAULT_CMP0025

-- Build files have been written to: /tmp/nix-build-mapnik-4.0.2.drv-0/source/build
cmake: enabled parallel building
cmake: enabled parallel installing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
scons: Reading SConscript files ...
PermissionError: [Errno 1] Operation not permitted: '/etc/paths.d':
File "/private/tmp/nix-build-mapnik-4.0.2.drv-0/source/SConstruct", line 142:
env = Environment(ENV=os.environ)
File "/nix/store/c1p33c3j90ndkgpa2fim35rmkwh5saj9-scons-4.7.0/lib/python3.12/site-packages/SCons/Environment.py", line 1217:
platform(self)
File "/nix/store/c1p33c3j90ndkgpa2fim35rmkwh5saj9-scons-4.7.0/lib/python3.12/site-packages/SCons/Platform/__init__.py", line 138:
return self.generate(*args, **kw)
File "/nix/store/c1p33c3j90ndkgpa2fim35rmkwh5saj9-scons-4.7.0/lib/python3.12/site-packages/SCons/Platform/darwin.py", line 48:
dirlist = os.listdir('/etc/paths.d')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment