On 2026/09/18 00:50, Landry Breuil wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   [email protected]  2026/09/18 00:50:33
> 
> Modified files:
>       devel/proj     : Makefile distinfo 
> 
> Log message:
> devel/proj: update to 9.9.0.
> 
> see https://github.com/OSGeo/PROJ/releases/tag/9.9.0
> 

seems this has broken mapnik;

-----
CMake Error in CMakeLists.txt:
  No known features for C compiler

  ""

  version .
-----

(I checked that it wasn't the cmake update).



>>> Building on localhost under graphics/mapnik
        BDEPENDS = 
[devel/cmake/core;archivers/bzip2;graphics/libwebp;devel/boost;devel/ninja;databases/sqlite3;graphics/cairo;textproc/icu4c;devel/harfbuzz;geo/gdal]
        DIST = 
[graphics/mapnik:mapbox-protozero-89a55ad2962cca3adbe8383a4b6d9a8411352ef2.tar.gz;graphics/mapnik:mapbox-geometry.hpp-c83a2ab18a225254f128b6f5115aa39d04f2de21.tar.gz;graphics/mapnik:mapbox-variant-a2a4858345423a760eca300ec42acad1ad123aa3.tar.gz;graphics/mapnik:mapbox-mapnik-vector-tile-5a0cfbb6b909ae945f4a9e40777772a2b1c8fe9b.tar.gz;graphics/mapnik:mapnik-v4.1.2.tar.bz2;graphics/mapnik:mapbox-polylabel-01218208b6d42543d612e4ce18ac1005851a2ce4.tar.gz]
        FULLPKGNAME = mapnik-4.1.2
        RDEPENDS = 
[graphics/cairo;databases/sqlite3;geo/gdal;devel/harfbuzz;textproc/icu4c;devel/boost;graphics/libwebp]
(Junk lock obtained for localhost at 1789780182.69)
>>> Running depends in graphics/mapnik at 1789780182.72
   last junk was in devel/jimarc4random
/usr/sbin/pkg_add -aI -Drepair boost-1.91.0p0v0 bzip2-1.0.8p0 cairo-1.18.4 
gdal-3.13.3 harfbuzz-14.4.0 libwebp-1.6.0p2
was: /usr/sbin/pkg_add -aI -Drepair boost-1.91.0p0v0 bzip2-1.0.8p0 cairo-1.18.4 
cmake-core-4.3.5 gdal-3.13.3 harfbuzz-14.4.0 icu4c-78.3v0 libwebp-1.6.0p2 
ninja-1.11.1p1v1 sqlite3-3.53.2
/usr/sbin/pkg_add -aI -Drepair boost-1.91.0p0v0 bzip2-1.0.8p0 cairo-1.18.4 
gdal-3.13.3 harfbuzz-14.4.0 libwebp-1.6.0p2
New and changed readme(s):
        /usr/local/share/doc/pkg-readmes/proj
>>> Running show-prepare-results in graphics/mapnik at 1789780200.58
===> graphics/mapnik
===> Building from scratch mapnik-4.1.2
===> mapnik-4.1.2 depends on: cmake-core->=4 -> cmake-core-4.3.5
===> mapnik-4.1.2 depends on: ninja-* -> ninja-1.11.1p1v1
===> mapnik-4.1.2 depends on: bzip2-* -> bzip2-1.0.8p0
===> mapnik-4.1.2 depends on: boost-* -> boost-1.91.0p0v0
===> mapnik-4.1.2 depends on: sqlite3-* -> sqlite3-3.53.2
===> mapnik-4.1.2 depends on: cairo-* -> cairo-1.18.4
===> mapnik-4.1.2 depends on: libwebp-* -> libwebp-1.6.0p2
===> mapnik-4.1.2 depends on: harfbuzz-* -> harfbuzz-14.4.0
===> mapnik-4.1.2 depends on: gdal-* -> gdal-3.13.3
===> mapnik-4.1.2 depends on: icu4c-* -> icu4c-78.3v0
===>  Verifying specs:  c++ c++abi pthread avif boost_program_options-mt 
boost_regex-mt c cairo freetype gdal harfbuzz icudata icui18n icuuc jpeg m png 
pq proj sqlite3 tiff webp xml2 z
===>  found c++.13.0 c++abi.10.0 pthread.28.1 avif.9.0 
boost_program_options-mt.27.0 boost_regex-mt.27.0 c.104.0 cairo.13.5 
freetype.31.1 gdal.54.1 harfbuzz.19.2 icudata.23.0 icui18n.23.0 icuuc.23.0 
jpeg.72.0 m.10.1 png.18.2 pq.6.17 proj.21.0 sqlite3.37.39 tiff.42.3 webp.4.4 
xml2.22.1 z.7.2
boost-1.91.0p0v0
bzip2-1.0.8p0
cairo-1.18.4
cmake-core-4.3.5
gdal-3.13.3
harfbuzz-14.4.0
icu4c-78.3v0
libwebp-1.6.0p2
ninja-1.11.1p1v1
sqlite3-3.53.2
(Junk lock released for localhost at 1789780202.84)
distfiles size=21795217
>>> Running extract in graphics/mapnik at 1789780202.88
===> graphics/mapnik
===>  Checking files for mapnik-4.1.2
`/mnt/distfiles/mapnik-v4.1.2.tar.bz2' is up to date.
`/mnt/distfiles/mapbox-geometry.hpp-c83a2ab18a225254f128b6f5115aa39d04f2de21.tar.gz'
 is up to date.
`/mnt/distfiles/mapbox-mapnik-vector-tile-5a0cfbb6b909ae945f4a9e40777772a2b1c8fe9b.tar.gz'
 is up to date.
`/mnt/distfiles/mapbox-polylabel-01218208b6d42543d612e4ce18ac1005851a2ce4.tar.gz'
 is up to date.
`/mnt/distfiles/mapbox-protozero-89a55ad2962cca3adbe8383a4b6d9a8411352ef2.tar.gz'
 is up to date.
`/mnt/distfiles/mapbox-variant-a2a4858345423a760eca300ec42acad1ad123aa3.tar.gz' 
is up to date.
>> (SHA256) all files: OK
===>  Extracting for mapnik-4.1.2
rmdir: /pobj/mapnik-4.1.2/mapnik-v4.1.2/deps/mapbox/geometry: Directory not 
empty
rmdir: /pobj/mapnik-4.1.2/mapnik-v4.1.2/deps/mapbox/mapnik-vector-tile: 
Directory not empty
rmdir: /pobj/mapnik-4.1.2/mapnik-v4.1.2/deps/mapbox/polylabel: Directory not 
empty
rmdir: /pobj/mapnik-4.1.2/mapnik-v4.1.2/deps/mapbox/protozero: Directory not 
empty
rmdir: /pobj/mapnik-4.1.2/mapnik-v4.1.2/deps/mapbox/variant: Directory not empty
>>> Running patch in graphics/mapnik at 1789780206.71
===> graphics/mapnik
===>  Patching for mapnik-4.1.2
===>   Applying OpenBSD patch patch-plugins_input_ogr_ogr_datasource_cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Fix build with gdal 3.12
|
|https://github.com/mapnik/mapnik/pull/4531
|Index: plugins/input/ogr/ogr_datasource.cpp
|--- plugins/input/ogr/ogr_datasource.cpp.orig
|+++ plugins/input/ogr/ogr_datasource.cpp
--------------------------
Patching file plugins/input/ogr/ogr_datasource.cpp using Plan A...
Hunk #1 succeeded at 378.
done
===>   Applying OpenBSD patch patch-plugins_input_tiles_pmtiles_source_hpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|fix build on 32-bits, cf https://github.com/mapnik/mapnik/issues/4517
|
|https://github.com/mapnik/mapnik/commit/210c463230194a04104cce2126f558cb5bcdeb5c
|Index: plugins/input/tiles/pmtiles_source.hpp
|--- plugins/input/tiles/pmtiles_source.hpp.orig
|+++ plugins/input/tiles/pmtiles_source.hpp
--------------------------
Patching file plugins/input/tiles/pmtiles_source.hpp using Plan A...
Hunk #1 succeeded at 522.
done
===>  Compiler link: clang -> /usr/bin/clang
===>  Compiler link: clang++ -> /usr/bin/clang++
===>  Compiler link: cc -> /usr/bin/cc
===>  Compiler link: c++ -> /usr/bin/c++
>>> Running configure in graphics/mapnik at 1789780206.95
===> graphics/mapnik
===>  Generating configure for mapnik-4.1.2
===>  Configuring for mapnik-4.1.2
-- The CXX compiler identification is Clang 22.1.6
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /pobj/mapnik-4.1.2/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- mapnik version: 4.1.2
-- The following features have been enabled:

 * 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_JPEG, adds jpeg support
 * USE_PNG, adds png support
 * USE_TIFF, adds tiff support
 * USE_WEBP, adds webp support
 * USE_AVIF, adds avif 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_MEMORY_MAPPED_FILE, uses file cache
 * 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_TILES, adds plugin input tiles
 * USE_PLUGIN_INPUT_TOPOJSON, adds plugin input topojson
 * BUILD_DEMO_CPP, builds the demo c++ application
 * BUILD_BENCHMARK, builds benchmark project
 * 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:

 * BUILD_TESTING, Adds tests
 * 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_PROTOZERO, Use a external mapnik/protozero. 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_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_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 lib/mapnik/input
-- Installing fonts to lib/mapnik/fonts
-- Using c++20
-- Using c++ extensions: 
-- postfix for debug libraries: d
-- Found PkgConfig: /usr/bin/pkg-config (found version "3.0.7")
-- Using PkgConfig version: 3.0.7
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Using Threads (pthread)
-- Found ICU: /usr/local/include (found version "78.3") found components: uc 
i18n data
-- Using ICU version: 78.3
CMake Warning (dev) at cmake/MapnikFindPackage.cmake:20 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

Call Stack (most recent call first):
  CMakeLists.txt:163 (mapnik_find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Boost: /usr/local/lib/cmake/Boost-1.91.0/BoostConfig.cmake (found 
suitable version "1.91.0", minimum required is "1.83") found components: regex
-- Using Boost version: 1.91.0
-- Performing Test BOOST_REGEX_HAS_ICU
-- Performing Test BOOST_REGEX_HAS_ICU - Success
-- boost regex has icu support
-- Found Freetype: /usr/X11R6/lib/libfreetype.so.31.1 (found version "2.14.3")
-- Using Freetype version: 2.14.3
-- Using harfbuzz version: 14.4.0
-- Found harfbuzz native cmake
-- Found LibXml2: /usr/local/lib/libxml2.so.22.1 (found version "2.15.4")
-- Using LibXml2 version: 2.15.4
-- Found ZLIB: /usr/lib/libz.so.7.2 (found version "1.3.2")
-- Found PNG: /usr/local/lib/libpng.so.18.2 (found version "1.6.58")
-- Using PNG version: 1.6.58
-- Found JPEG: /usr/local/lib/libjpeg.so.72.0 (found version "62")
-- Using JPEG version: 62
-- Found TIFF: /usr/local/lib/cmake/tiff (found version "4.7.2")
-- Using TIFF version: 4.7.2
-- Checking for module 'libwebp'
--   Found libwebp, version 1.6.0
-- Using WebP version: 1.6.0
-- Checking for module 'libavif'
--   Found libavif, version 1.4.0
-- Using Avif version: 1.4.0
-- Checking for module 'cairo'
--   Found cairo, version 1.18.4
-- Using Cairo version: 1.18.4
-- Found SQLite3: /usr/local/lib/libsqlite3.so.37.39 (found version "3.53.2")
-- Could NOT find CURL (missing: CURL_DIR)
-- Found CURL: /usr/local/lib/libcurl.so.26.37 (found version "8.22.0")
-- Using PROJ version: 9.9.0
-- Using mapnik PROJ version: 90900
-- Compiling with -DMAPNIK_HAS_DLCFN
-- The C compiler identification is Clang 22.1.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /pobj/mapnik-4.1.2/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found GDAL: /usr/local/lib/libgdal.so.54.1 (found version "3.13.3")
-- Found PostgreSQL: /usr/local/lib/libpq.so.6.17 (found version "18.6")
-- Using PostgreSQL version: 18.6
-- Using PostgreSQL version: 18.6
-- Using SQLite3 version: 3.53.2
-- adding libxml2_loader to compilation
CMake Warning (dev) at utils/mapnik-index/CMakeLists.txt:1 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Boost: /usr/local/lib/cmake/Boost-1.91.0/BoostConfig.cmake (found 
suitable version "1.91.0", minimum required is "1.83") found components: 
program_options
CMake Warning (dev) at utils/mapnik-render/CMakeLists.txt:1 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/MapnikFindPackage.cmake:20 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

Call Stack (most recent call first):
  utils/pgsql2sqlite/CMakeLists.txt:1 (mapnik_find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Using Boost version: 1.91.0
-- Using SQLite3 version: 3.53.2
-- Using PostgreSQL version: 18.6
CMake Warning (dev) at utils/shapeindex/CMakeLists.txt:1 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at utils/svg2png/CMakeLists.txt:1 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done (12.7s)
CMake Warning (dev) at plugins/input/sqlite/CMakeLists.txt:8 
(target_link_libraries):
  The library that is being linked to, SQLite::SQLite3, is marked as being
  deprecated by the owner.  The message provided by the developer is:

  The target name SQLite::SQLite3 is deprecated.  Please use SQLite3::SQLite3
  instead.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at plugins/input/sqlite/CMakeLists.txt:8 
(target_link_libraries):
  The library that is being linked to, SQLite::SQLite3, is marked as being
  deprecated by the owner.  The message provided by the developer is:

  The target name SQLite::SQLite3 is deprecated.  Please use SQLite3::SQLite3
  instead.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at plugins/input/tiles/CMakeLists.txt:21 
(target_link_libraries):
  The library that is being linked to, SQLite::SQLite3, is marked as being
  deprecated by the owner.  The message provided by the developer is:

  The target name SQLite::SQLite3 is deprecated.  Please use SQLite3::SQLite3
  instead.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at plugins/input/tiles/CMakeLists.txt:21 
(target_link_libraries):
  The library that is being linked to, SQLite::SQLite3, is marked as being
  deprecated by the owner.  The message provided by the developer is:

  The target name SQLite::SQLite3 is deprecated.  Please use SQLite3::SQLite3
  instead.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at utils/pgsql2sqlite/CMakeLists.txt:11 
(target_link_libraries):
  The library that is being linked to, SQLite::SQLite3, is marked as being
  deprecated by the owner.  The message provided by the developer is:

  The target name SQLite::SQLite3 is deprecated.  Please use SQLite3::SQLite3
  instead.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at utils/pgsql2sqlite/CMakeLists.txt:11 
(target_link_libraries):
  The library that is being linked to, SQLite::SQLite3, is marked as being
  deprecated by the owner.  The message provided by the developer is:

  The target name SQLite::SQLite3 is deprecated.  Please use SQLite3::SQLite3
  instead.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error in CMakeLists.txt:
  No known features for C compiler

  ""

  version .


CMake Generate step failed.  Build files cannot be regenerated correctly.
*** Error 1 in graphics/mapnik (/usr/ports/infrastructure/mk/bsd.port.mk:3040 
'do-configure': @cd /pobj/mapnik-4.1.2/build-i386 && /usr/bin/...)
*** Error 2 in graphics/mapnik (/usr/ports/infrastructure/mk/bsd.port.mk:3060 
'/pobj/mapnik-4.1.2/build-i386/.configure_done': @cd /usr/port...)
*** Error 2 in graphics/mapnik (/usr/ports/infrastructure/mk/bsd.port.mk:2722 
'configure': @lock=mapnik-4.1.2;  export _LOCKS_HELD=" mapnik-...)
===> Exiting graphics/mapnik with an error
*** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 
'configure': @: ${echo_msg:=echo};  : ${target:=configure};  for i in ; ...)
>>> Ended at 1789780219.99
max_stuck=15.34/depends=17.87/show-prepare-results=2.30/extract=3.83/patch=0.24/configure=13.06
Error: job failed with 512 on localhost at 1789780219

Reply via email to