Package: graphviz Version: 2.42.2-6 Severity: important Control: tag -1 patch
Ruby is not available on ia64. Since graphviz tries to build the ruby plugin for all architectures, the graphviz build fails on ia64. Since most packages that use doxygen during the build also require graphviz, many packages can't be built on ia64. The dot binary doesn't need the ruby plugin, so a build without the ruby plugin would make those packages buildable again. The attached patch disables the ruby plugin on ia64. Mattias
diff -ur graphviz-2.42.2/debian/control graphviz-2.42.2/debian/control --- graphviz-2.42.2/debian/control 2022-02-06 18:03:12.000000000 +0000 +++ graphviz-2.42.2/debian/control 2022-06-13 03:29:09.832878005 +0000 @@ -24,8 +24,8 @@ ghostscript, lua5.2, liblua5.2-dev, - ruby, - ruby-dev (>= 1:2.2), + ruby [!ia64], + ruby-dev (>= 1:2.2) [!ia64], libargon2-dev, libsodium-dev, libxml2-dev, diff -ur graphviz-2.42.2/debian/rules graphviz-2.42.2/debian/rules --- graphviz-2.42.2/debian/rules 2022-02-06 18:03:12.000000000 +0000 +++ graphviz-2.42.2/debian/rules 2022-06-13 04:00:35.659683356 +0000 @@ -17,6 +17,15 @@ DEB_CFLAGS_MAINT_APPEND += "-fno-ipa-sra" endif +N = + +ifeq ($(DEB_HOST_ARCH),ia64) +RUBY = --disable-ruby +N += -Nlibgv-ruby +else +RUBY = --enable-ruby +endif + PYTHON_VERSIONS = $(shell pyversions -r) PYTHON3_VERSIONS = $(shell py3versions -r) @@ -71,7 +80,7 @@ --enable-guile \ --enable-lua \ --disable-php \ - --enable-ruby \ + $(RUBY) \ --enable-tcl \ --disable-java \ --disable-ocaml \ @@ -108,7 +117,7 @@ rm -f $(CURDIR)/debian/graphviz-doc/usr/share/doc/graphviz/ChangeLog %: - dh $@ --with python3 + dh $@ --with python3 $(N) .PHONY: override_dh_clean override_dh_autoreconf override_dh_auto_configure \ override_dh_auto_test override_dh_auto_install \
signature.asc
Description: This is a digitally signed message part