Source: viking
Version: 1.10-2
Severity: important
Tags: ftbfs upstream patch

Dear Maintainer,

Your package FBTFS with Mapnik 4.0.0.

Upstream doesn't support Multi-Arch library paths for the input plugins which 
are now installed under 
/usr/lib/$(DEB_HOST_MULTIARCH)/mapnik/$(MAPNIK_SO_VERSION)/input.

This path can be retrieved from pkg-config:

 pkgconf --variable=plugins_dir libmapnik

mapnik-config was removed in Mapnik 4.0.

Mapnik also requires C++14 which viking doesn't use causing configure to fail 
due to type issues.

The attached debdiff disables the Mapnik support unconditionally to resolve the 
build failure.

Kind Regards,

Bas
diff -Nru viking-1.10/debian/control viking-1.10/debian/control
--- viking-1.10/debian/control  2022-01-02 08:05:40.000000000 +0100
+++ viking-1.10/debian/control  2024-04-16 13:36:27.000000000 +0200
@@ -21,7 +21,6 @@
  libicu-dev,
  libjson-glib-dev,
  libmagic-dev,
- libmapnik-dev [!kfreebsd-amd64 !kfreebsd-i386],
  liboauth-dev,
  libpng-dev,
  libsqlite3-dev,
diff -Nru viking-1.10/debian/rules viking-1.10/debian/rules
--- viking-1.10/debian/rules    2022-01-02 08:05:40.000000000 +0100
+++ viking-1.10/debian/rules    2024-04-16 13:36:27.000000000 +0200
@@ -1,8 +1,6 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-EXTRAFLAGS := $(strip $(shell if ! dpkg -L libmapnik-dev 2>/dev/null | grep -q 
mapnik/map.hpp; then echo '--disable-mapnik'; fi))
-
 %:
        dh $@
 
@@ -11,4 +9,4 @@
        intltoolize --force
 
 override_dh_auto_configure:
-       dh_auto_configure -- $(EXTRAFLAGS)
+       dh_auto_configure -- --disable-mapnik

Reply via email to