From 13c91e43401c24561adb33300b06d26ac099cdbb Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 24 Oct 2021 21:18:26 +0100 Subject: [PATCH] xalanc: explicitly disable parallel building Parallel build fails due to incomplete dependencies between libraries and headers within package. Let's disable parallel builds and try it on in next release (it switched to cmake from auttools). --- pkgs/development/libraries/xalanc/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/libraries/xalanc/default.nix b/pkgs/development/libraries/xalanc/default.nix index b757b737f976..ba1e1a4c662d 100644 --- a/pkgs/development/libraries/xalanc/default.nix +++ b/pkgs/development/libraries/xalanc/default.nix @@ -22,6 +22,15 @@ in stdenv.mkDerivation rec { buildInputs = [ xercesc getopt ]; + # Parallel build fails as: + # c++ ... -c ... ExecutionContext.cpp + # ProblemListenerBase.hpp:28:10: fatal error: LocalMsgIndex.hpp: No such file or directory + # The build failure happens due to missing intra-project dependencies + # against generated headers. Future 1.12 version dropped + # autotools-based build system. Let's disable parallel builds until + # next release. + enableParallelBuilding = false; + meta = { homepage = "http://xalan.apache.org/"; description = "A XSLT processor for transforming XML documents";