Bug#1101239: mapserver: FTBFS: /usr/include/unicode/localpointer.h:561:26: error: parameter declared 'auto'
Santiago Vila
sanvila at debian.org
Tue Mar 25 00:11:11 GMT 2025
Package: src:mapserver
Version: 8.4.0-1
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with php \
--buildsystem cmake
dh_auto_clean -O--buildsystem=cmake
dh_autoreconf_clean -O--buildsystem=cmake
dh_clean -O--buildsystem=cmake
debian/rules binary
dh binary --with php \
--buildsystem cmake
dh_update_autotools_config -O--buildsystem=cmake
dh_autoreconf -O--buildsystem=cmake
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_EXE_LINKER_FLAGS="-Wl,-z,relro -Wl,-z,now" \
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,-z,relro -Wl,-z,now" \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-z,relro -Wl,-z,now" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_VERBOSE_MAKEFILE=1 \
-DINSTALL_LIB_DIR="/usr/lib/x86_64-linux-gnu" \
-DWITH_KML=1 \
-DWITH_SOS=1 \
-DWITH_WMS=1 \
-DWITH_FRIBIDI=1 \
-DWITH_HARFBUZZ=1 \
-DWITH_ICONV=1 \
-DWITH_CAIRO=1 \
-DWITH_SVGCAIRO=0 \
-DWITH_RSVG=1 \
-DWITH_MYSQL=0 \
-DWITH_FCGI=1 \
-DWITH_GEOS=1 \
-DWITH_POSTGIS=1 \
-DWITH_CURL=1 \
-DWITH_CLIENT_WMS=1 \
-DWITH_CLIENT_WFS=1 \
-DWITH_WFS=1 \
-DWITH_WCS=1 \
-DWITH_LIBXML2=1 \
-DWITH_THREAD_SAFETY=1 \
-DWITH_GIF=1 \
-DWITH_ORACLESPATIAL=0 \
-DWITH_ORACLE_PLUGIN=0 \
-DWITH_MSSQL2008=0 \
-DWITH_EXEMPI=0 \
-DWITH_XMLMAPFILE=0 \
-DWITH_V8=0 \
-DWITH_PIXMAN=0 \
-DWITH_PYTHON=1 \
-DWITH_PHPNG=1 \
-DWITH_PERL=1 \
-DWITH_RUBY=0 \
-DWITH_JAVA=1 \
-DWITH_CSHARP=0
cd obj-x86_64-linux-gnu && PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_BUILD_TYPE=RelWithDebInfo "-DCMAKE_EXE_LINKER_FLAGS=-Wl,-z,relro -Wl,-z,now" "-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-z,relro -Wl,-z,now" "-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-z,relro -Wl,-z,now" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=1 -DINSTALL_LIB_DIR=/usr/lib/x86_64-linux-gnu -DWITH_KML=1 -DWITH_SOS=1 -DWITH_WMS=1 -DWITH_FRIBIDI=1 -DWITH_HARFBUZZ=1 -DWITH_ICONV=1 -DWITH_CAIRO=1 -DWITH_SVGCAIRO=0 -DWITH_RSVG=1 -DWITH_MYSQL=0 -DWITH_FCGI=1 -DWITH_GEOS=1 -DWITH_POSTGIS=1 -DWITH_CURL=1 -DWITH_CLIENT_WMS=1 -DWITH_CLIENT_WFS=1 -DWITH_WFS=1 -DWITH_WCS=1 -DWITH_LIBXML2=1 -DWITH_THREAD_SAFETY=1 -DWITH_GIF=1 -DWITH_ORACLESPATIAL=0 -DWITH_ORACLE_PLUGIN=0 -DWITH_MSSQL2008=0 -DWITH_EXEMPI=0 -DWITH_XMLMAPFILE=0 -DWITH_V8=0 -DWITH_PIXMAN=0 -DWITH_PYTHON=1 -DWITH_PHPNG=1 -DWITH_PERL=1 -DWITH_RUBY=0 -DWITH_JAVA=1 -DWITH_CSHARP=0 ..
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Requiring C++11
-- Requiring C++11 - done
-- Requiring C11
-- Requiring C11 - done
-- Looking for strrstr
-- Looking for strrstr - not found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strcasestr
-- Looking for strcasestr - found
-- Looking for strlcat
-- Looking for strlcat - found
-- Looking for strlcpy
-- Looking for strlcpy - found
-- Looking for strlen
-- Looking for strlen - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Looking for lrintf
-- Looking for lrintf - found
-- Looking for lrint
-- Looking for lrint - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Performing Test HAVE_SYNC_FETCH_AND_ADD
-- Performing Test HAVE_SYNC_FETCH_AND_ADD - Success
-- Found PCRE2: /usr/lib/x86_64-linux-gnu/libpcre2-posix.so
-- Found ProtobufC: /usr/lib/x86_64-linux-gnu/libprotobuf-c.so
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.3.1")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.47")
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (found version "62")
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so
-- Found Proj: /usr/lib/x86_64-linux-gnu/libproj.so
-- Found Proj 9.6
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Found FriBiDi: /usr/lib/x86_64-linux-gnu/libfribidi.so
-- Checking for module 'harfbuzz>=0.9.18'
-- Found harfbuzz, version 10.2.0
-- Found HarfBuzz: /usr/include/harfbuzz
-- Looking for iconv
-- Looking for iconv - found
-- Found iconv library:
-- Checking for module 'cairo'
-- Found cairo, version 1.18.4
-- Found Cairo: /usr/lib/x86_64-linux-gnu/libcairo.so
-- Found FCGI: /usr/lib/x86_64-linux-gnu/libfcgi.so
-- Found GEOS: /usr/lib/x86_64-linux-gnu/libgeos_c.so
-- Found PostgreSQL: /usr/lib/x86_64-linux-gnu/libpq.so (found version "17.4")
-- Looking for PQserverVersion in pq
-- Looking for PQserverVersion in pq - found
-- Found GDAL: /usr/lib/x86_64-linux-gnu/libgdal.so
-- Found GDAL 3.10
-- Found RSVG: /usr/lib/x86_64-linux-gnu/librsvg-2.so
-- Found GOBJECT: /usr/lib/x86_64-linux-gnu/libgobject-2.0.so
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "8.13.0-rc2")
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.14")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found GIF: /usr/lib/x86_64-linux-gnu/libgif.so (found version "5.2.2")
-- Found SWIG: /usr/bin/swig (found version "4.3.0")
-- Found Python: /usr/bin/python3 (found version "3.13.2") found components: Interpreter Development Development.Module Development.Embed
-- CMake Version: 3.31
-- Build Type: RelWithDebInfo
-- Python MapScript output directory: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/python
-- Python Executable: /usr/bin/python3
-- Python Version: 3.13.2
-- Python site packages: /usr/lib/python3/dist-packages
-- /usr/include/php/20240924/main
-- Found PHP-Version 8.4.5 (using /usr/bin/php-config)
-- PHP Include Path: /usr/include/php/20240924;/usr/include/php/20240924/main;/usr/include/php/20240924/TSRM;/usr/include/php/20240924/Zend;/usr/include/php/20240924/ext;/usr/include/php/20240924/ext/date/lib
-- Found Perl: /usr/bin/perl (found version "5.40.1")
-- Found PerlLibs: /usr/lib/x86_64-linux-gnu/libperl.so.5.40
-- Found JNI: /usr/lib/jvm/default-java/include found components: AWT JVM
-- Found Java: /usr/bin/java (found version "21.0.7")
-- * Summary of configured options for this build
-- * Mandatory components
-- * GDAL: /usr/lib/x86_64-linux-gnu/libgdal.so
-- * PROJ: /usr/lib/x86_64-linux-gnu/libproj.so
-- * png: /usr/lib/x86_64-linux-gnu/libpng.so
-- * jpeg: /usr/lib/x86_64-linux-gnu/libjpeg.so
-- * freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so
-- * Optional components
-- * PCRE2: /usr/lib/x86_64-linux-gnu/libpcre2-posix.so
-- * GIF: /usr/lib/x86_64-linux-gnu/libgif.so
-- * MYSQL: disabled
-- * FRIBIDI: /usr/lib/x86_64-linux-gnu/libfribidi.so
-- * HARFBUZZ: /usr/lib/x86_64-linux-gnu/libharfbuzz.so
-- * CAIRO: /usr/lib/x86_64-linux-gnu/libcairo.so
-- * SVGCAIRO: disabled
-- * RSVG: /usr/lib/x86_64-linux-gnu/librsvg-2.so
-- * CURL: /usr/lib/x86_64-linux-gnu/libcurl.so
-- * PIXMAN: disabled
-- * LIBXML2: /usr/lib/x86_64-linux-gnu/libxml2.so
-- * POSTGIS: /usr/lib/x86_64-linux-gnu/libpq.so
-- * GEOS: /usr/lib/x86_64-linux-gnu/libgeos_c.so
-- * FastCGI: /usr/lib/x86_64-linux-gnu/libfcgi.so
-- * PROTOBUFC: /usr/lib/x86_64-linux-gnu/libprotobuf-c.so
-- * Oracle Spatial: disabled
-- * Exempi XMP: disabled
-- * Optional features
-- * WMS SERVER: ENABLED
-- * WFS SERVER: ENABLED
-- * WCS SERVER: ENABLED
-- * SOS SERVER: ENABLED
-- * OGCAPI SERVER: ENABLED
-- * WMS CLIENT: ENABLED
-- * WFS CLIENT: ENABLED
-- * ICONV: ENABLED
-- * Thread-safety support: ENABLED
-- * KML output: ENABLED
-- * XML Mapfile support: disabled
-- * Mapscripts
-- * Python: ENABLED
-- * PHPNG: ENABLED
-- * PERL: ENABLED
-- * RUBY: disabled
-- * JAVA: ENABLED
-- * C#: disabled
-- * V8 Javascript: disabled
-- * Apache Module (Experimental): disabled
-- * Python MapScript Annotations: disabled
--
-- PROJECT_BINARY_DIR is set to /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
-- Will install files to /usr
-- Will install libraries to /usr/lib/x86_64-linux-gnu
-- Configuring done (2.4s)
-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
FETCHCONTENT_FULLY_DISCONNECTED
-- Build files have been written to: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules execute_before_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Create man pages from DocBook XML
for x in debian/man/coshp.1.xml debian/man/legend.1.xml debian/man/map2img.1.xml debian/man/mapserv.1.xml debian/man/msencrypt.1.xml debian/man/scalebar.1.xml debian/man/shptree.1.xml debian/man/shptreetst.1.xml debian/man/shptreevis.1.xml debian/man/sortshp.1.xml debian/man/tile4ms.1.xml ; do \
docbook2x-man --string-param header-3="15 January 2025" $x ; \
mv `basename $x | sed 's/.xml$//'` `dirname $x` ; \
done
error : xmlAddEntity: invalid redeclaration of predefined entity
xsl:call-template: misplaced xsl:apply-templates
error : xmlAddEntity: invalid redeclaration of predefined entity
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
error : xmlAddEntity: invalid redeclaration of predefined entity
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
error : xmlAddEntity: invalid redeclaration of predefined entity
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
error : xmlAddEntity: invalid redeclaration of predefined entity
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
error : xmlAddEntity: invalid redeclaration of predefined entity
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
error : xmlAddEntity: invalid redeclaration of predefined entity
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
error : xmlAddEntity: invalid redeclaration of predefined entity
xsl:call-template: misplaced xsl:apply-templates
error : xmlAddEntity: invalid redeclaration of predefined entity
xsl:call-template: misplaced xsl:apply-templates
error : xmlAddEntity: invalid redeclaration of predefined entity
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
error : xmlAddEntity: invalid redeclaration of predefined entity
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
xsl:call-template: misplaced xsl:apply-templates
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build -O--buildsystem=cmake
cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install --strip-program=true" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
/usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu//CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f CMakeFiles/mapserver.dir/build.make CMakeFiles/mapserver.dir/depend
make -f src/mapscript/python/CMakeFiles/pythonmapscript_swig_compilation.dir/build.make src/mapscript/python/CMakeFiles/pythonmapscript_swig_compilation.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src/mapscript/python /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/python /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/python/CMakeFiles/pythonmapscript_swig_compilation.dir/DependInfo.cmake "--color="
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
Dependee "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/python/CMakeFiles/pythonmapscript_swig_compilation.dir/DependInfo.cmake" is newer than depender "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/python/CMakeFiles/pythonmapscript_swig_compilation.dir/depend.internal".
Dependee "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/python/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/python/CMakeFiles/pythonmapscript_swig_compilation.dir/depend.internal".
[ 1%] Generating renderers/mvt/vector_tile.pb-c.c, renderers/mvt/vector_tile.pb-c.h
/usr/bin/protoc-c --c_out=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/renderers/mvt --proto_path=/<<PKGBUILDDIR>>/src/renderers/mvt /<<PKGBUILDDIR>>/src/renderers/mvt/vector_tile.proto
[libprotobuf WARNING protoc-gen-c/main.cc:44] `protoc-c` is deprecated. Please use `protoc` instead!
Scanning dependencies of target pythonmapscript_swig_compilation
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/mapserver.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f src/mapscript/python/CMakeFiles/pythonmapscript_swig_compilation.dir/build.make src/mapscript/python/CMakeFiles/pythonmapscript_swig_compilation.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 2%] Swig compile /<<PKGBUILDDIR>>/src/mapscript/mapscript.i for python
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f CMakeFiles/mapserver.dir/build.make CMakeFiles/mapserver.dir/build
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/python && /usr/bin/cmake -E make_directory /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/python/CMakeFiles/pythonmapscript.dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/python /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/python/CMakeFiles/pythonmapscript.dir
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/python && /usr/bin/cmake -E touch /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/python/CMakeFiles/pythonmapscript.dir/mapscriptPYTHON.stamp
[ 2%] Building C object CMakeFiles/mapserver.dir/renderers/mvt/vector_tile.pb-c.c.o
/usr/bin/cc -DMAPSERVER_BUILD -DMAPSERVER_CONFIG_FILE=\"/etc/mapserver.conf\" -DPROJ_VERSION_MAJOR=9 -D_DEFAULT_SOURCE -Dmapserver_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/renderers/agg/include -I/<<PKGBUILDDIR>>/src/mapscript/v8 -I/<<PKGBUILDDIR>>/src/flatgeobuf/include -I/usr/include/freetype2 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/renderers/mvt -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/postgresql -I/usr/include/gdal -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -O2 -g -DNDEBUG -std=c11 -fPIC -Wall -Wextra -Werror=format-security -MD -MT CMakeFiles/mapserver.dir/renderers/mvt/vector_tile.pb-c.c.o -MF CMakeFiles/mapserver.dir/renderers/mvt/vector_tile.pb-c.c.o.d -o CMakeFiles/mapserver.dir/renderers/mvt/vector_tile.pb-c.c.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/renderers/mvt/vector_tile.pb-c.c
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/python && /usr/bin/cmake -E env SWIG_LIB=/usr/share/swig/4.3.0 /usr/bin/swig -python -outdir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/python -interface _mapscript -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/renderers/agg/include -I/<<PKGBUILDDIR>>/src/mapscript/v8 -I/<<PKGBUILDDIR>>/src/flatgeobuf/include -I/usr/include -I/usr/include/freetype2 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/renderers/mvt -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/postgresql -I/usr/include/gdal -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/python3.13 -I/<<PKGBUILDDIR>>/src/mapscript/swiginc -I/<<PKGBUILDDIR>>/src/mapscript -I/<<PKGBUILDDIR>>/src/mapscript/python -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/python/CMakeFiles/pythonmapscript.dir/mapscriptPYTHON_wrap.c /<<PKGBUILDDIR>>/src/mapscript/mapscript.i
[ 3%] Building C object CMakeFiles/mapserver.dir/src/fontcache.c.o
/usr/bin/cc -DMAPSERVER_BUILD -DMAPSERVER_CONFIG_FILE=\"/etc/mapserver.conf\" -DPROJ_VERSION_MAJOR=9 -D_DEFAULT_SOURCE -Dmapserver_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/renderers/agg/include -I/<<PKGBUILDDIR>>/src/mapscript/v8 -I/<<PKGBUILDDIR>>/src/flatgeobuf/include -I/usr/include/freetype2 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/renderers/mvt -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/postgresql -I/usr/include/gdal -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -O2 -g -DNDEBUG -std=c11 -fPIC -Wall -Wextra -Werror=format-security -MD -MT CMakeFiles/mapserver.dir/src/fontcache.c.o -MF CMakeFiles/mapserver.dir/src/fontcache.c.o.d -o CMakeFiles/mapserver.dir/src/fontcache.c.o -c /<<PKGBUILDDIR>>/src/fontcache.c
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 3%] Built target pythonmapscript_swig_compilation
make -f src/mapscript/phpng/CMakeFiles/php_mapscriptng_swig_compilation.dir/build.make src/mapscript/phpng/CMakeFiles/php_mapscriptng_swig_compilation.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src/mapscript/phpng /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/phpng /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/phpng/CMakeFiles/php_mapscriptng_swig_compilation.dir/DependInfo.cmake "--color="
Dependee "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/phpng/CMakeFiles/php_mapscriptng_swig_compilation.dir/DependInfo.cmake" is newer than depender "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/phpng/CMakeFiles/php_mapscriptng_swig_compilation.dir/depend.internal".
Dependee "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/phpng/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/phpng/CMakeFiles/php_mapscriptng_swig_compilation.dir/depend.internal".
Scanning dependencies of target php_mapscriptng_swig_compilation
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f src/mapscript/phpng/CMakeFiles/php_mapscriptng_swig_compilation.dir/build.make src/mapscript/phpng/CMakeFiles/php_mapscriptng_swig_compilation.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 4%] Swig compile ../mapscript.i for php7
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/phpng && /usr/bin/cmake -E make_directory /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/phpng/CMakeFiles/php_mapscriptng.dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/phpng /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/phpng/CMakeFiles/php_mapscriptng.dir
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/phpng && /usr/bin/cmake -E touch /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/phpng/CMakeFiles/php_mapscriptng.dir/mapscriptPHP7.stamp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/phpng && /usr/bin/cmake -E env SWIG_LIB=/usr/share/swig/4.3.0 /usr/bin/swig -php7 -outdir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/phpng -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/renderers/agg/include -I/<<PKGBUILDDIR>>/src/mapscript/v8 -I/<<PKGBUILDDIR>>/src/flatgeobuf/include -I/usr/include -I/usr/include/freetype2 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/renderers/mvt -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/postgresql -I/usr/include/gdal -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/php/20240924 -I/usr/include/php/20240924/main -I/usr/include/php/20240924/TSRM -I/usr/include/php/20240924/Zend -I/usr/include/php/20240924/ext -I/usr/include/php/20240924/ext/date/lib -I/<<PKGBUILDDIR>>/src/mapscript/swiginc -I/<<PKGBUILDDIR>>/src/mapscript -I/<<PKGBUILDDIR>>/src/mapscript/phpng -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/phpng -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/mapscript/phpng/CMakeFiles/php_mapscriptng.dir/mapscriptPHP7_wrap.c /<<PKGBUILDDIR>>/src/mapscript/mapscript.i
[ 4%] Building C object CMakeFiles/mapserver.dir/src/cgiutil.c.o
/usr/bin/cc -DMAPSERVER_BUILD -DMAPSERVER_CONFIG_FILE=\"/etc/mapserver.conf\" -DPROJ_VERSION_MAJOR=9 -D_DEFAULT_SOURCE -Dmapserver_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/renderers/agg/include -I/<<PKGBUILDDIR>>/src/mapscript/v8 -I/<<PKGBUILDDIR>>/src/flatgeobuf/include -I/usr/include/freetype2 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/renderers/mvt -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/postgresql -I/usr/include/gdal -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -O2 -g -DNDEBUG -std=c11 -fPIC -Wall -Wextra -Werror=format-security -MD -MT CMakeFiles/mapserver.dir/src/cgiutil.c.o -MF CMakeFiles/mapserver.dir/src/cgiutil.c.o.d -o CMakeFiles/mapserver.dir/src/cgiutil.c.o -c /<<PKGBUILDDIR>>/src/cgiutil.c
[ 5%] Building C object CMakeFiles/mapserver.dir/src/mapgeos.c.o
/usr/bin/cc -DMAPSERVER_BUILD -DMAPSERVER_CONFIG_FILE=\"/etc/mapserver.conf\" -DPROJ_VERSION_MAJOR=9 -D_DEFAULT_SOURCE -Dmapserver_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/renderers/agg/include -I/<<PKGBUILDDIR>>/src/mapscript/v8 -I/<<PKGBUILDDIR>>/src/flatgeobuf/include -I/usr/include/freetype2 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/renderers/mvt -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/postgresql -I/usr/include/gdal -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -O2 -g -DNDEBUG -std=c11 -fPIC -Wall -Wextra -Werror=format-security -MD -MT CMakeFiles/mapserver.dir/src/mapgeos.c.o -MF CMakeFiles/mapserver.dir/src/mapgeos.c.o.d -o CMakeFiles/mapserver.dir/src/mapgeos.c.o -c /<<PKGBUILDDIR>>/src/mapgeos.c
[ 5%] Building C object CMakeFiles/mapserver.dir/src/maporaclespatial.c.o
/usr/bin/cc -DMAPSERVER_BUILD -DMAPSERVER_CONFIG_FILE=\"/etc/mapserver.conf\" -DPROJ_VERSION_MAJOR=9 -D_DEFAULT_SOURCE -Dmapserver_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/renderers/agg/include -I/<<PKGBUILDDIR>>/src/mapscript/v8 -I/<<PKGBUILDDIR>>/src/flatgeobuf/include -I/usr/include/freetype2 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/renderers/mvt -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/postgresql -I/usr/include/gdal -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -O2 -g -DNDEBUG -std=c11 -fPIC -Wall -Wextra -Werror=format-security -MD -MT CMakeFiles/mapserver.dir/src/maporaclespatial.c.o -MF CMakeFiles/mapserver.dir/src/maporaclespatial.c.o.d -o CMakeFiles/mapserver.dir/src/maporaclespatial.c.o -c /<<PKGBUILDDIR>>/src/maporaclespatial.c
[ 6%] Building C object CMakeFiles/mapserver.dir/src/mapsearch.c.o
/usr/bin/cc -DMAPSERVER_BUILD -DMAPSERVER_CONFIG_FILE=\"/etc/mapserver.conf\" -DPROJ_VERSION_MAJOR=9 -D_DEFAULT_SOURCE -Dmapserver_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/renderers/agg/include -I/<<PKGBUILDDIR>>/src/mapscript/v8 -I/<<PKGBUILDDIR>>/src/flatgeobuf/include -I/usr/include/freetype2 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/renderers/mvt -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/postgresql -I/usr/include/gdal -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -O2 -g -DNDEBUG -std=c11 -fPIC -Wall -Wextra -Werror=format-security -MD -MT CMakeFiles/mapserver.dir/src/mapsearch.c.o -MF CMakeFiles/mapserver.dir/src/mapsearch.c.o.d -o CMakeFiles/mapserver.dir/src/mapsearch.c.o -c /<<PKGBUILDDIR>>/src/mapsearch.c
[ 7%] Building CXX object CMakeFiles/mapserver.dir/src/mapwms.cpp.o
/usr/bin/c++ -DMAPSERVER_BUILD -DMAPSERVER_CONFIG_FILE=\"/etc/mapserver.conf\" -DPROJ_VERSION_MAJOR=9 -D_DEFAULT_SOURCE -Dmapserver_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/renderers/agg/include -I/<<PKGBUILDDIR>>/src/mapscript/v8 -I/<<PKGBUILDDIR>>/src/flatgeobuf/include -I/usr/include/freetype2 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/renderers/mvt -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/postgresql -I/usr/include/gdal -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -O2 -g -DNDEBUG -std=c++11 -fPIC -Wall -Wextra -Werror=format-security -MD -MT CMakeFiles/mapserver.dir/src/mapwms.cpp.o -MF CMakeFiles/mapserver.dir/src/mapwms.cpp.o.d -o CMakeFiles/mapserver.dir/src/mapwms.cpp.o -c /<<PKGBUILDDIR>>/src/mapwms.cpp
In file included from /usr/include/unicode/uenum.h:25,
from /usr/include/unicode/ucnv.h:52,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:812,
from /<<PKGBUILDDIR>>/src/mapgml.h:35,
from /<<PKGBUILDDIR>>/src/mapwms.cpp:35:
/usr/include/unicode/localpointer.h:561:26: error: parameter declared âautoâ
561 | template <typename Type, auto closeFunction>
| ^~~~
/usr/include/unicode/localpointer.h:573:76: error: template argument 2 is invalid
573 | explicit LocalOpenPointer(std::unique_ptr<Type, decltype(closeFunction)> &&p)
| ^
/usr/include/unicode/localpointer.h:583:78: error: template argument 2 is invalid
583 | LocalOpenPointer &operator=(std::unique_ptr<Type, decltype(closeFunction)> &&p) {
| ^
/usr/include/unicode/localpointer.h:599:59: error: template argument 2 is invalid
599 | operator std::unique_ptr<Type, decltype(closeFunction)> () && {
| ^
/usr/include/unicode/uenum.h:69:1: note: invalid template non-type parameter
69 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_close);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/unicode/ucnv.h:597:1: note: invalid template non-type parameter
597 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, ucnv_close);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/mapserver.dir/build.make:173: CMakeFiles/mapserver.dir/src/mapwms.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:255: CMakeFiles/mapserver.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 7%] Built target php_mapscriptng_swig_compilation
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:33: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202503/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:mapserver, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the Pkg-grass-devel
mailing list