From 308ec1f2d4275ce4fb098ea0b4d5a30650d0e59f Mon Sep 17 00:00:00 2001 From: "Aaron M. Ucko" Date: Wed, 7 Dec 2016 21:39:37 -0500 Subject: [PATCH] Present config.log if configure fails. debian/rules: If configure fails (as has been happening on alpha), present (BUILD/status/)config.log before bailing. --- debian/changelog | 4 +++- debian/rules | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 4fc1253e..adf897e1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,8 +4,10 @@ ncbi-blast+ (2.5.0-3) UNRELEASED; urgency=medium * New suppress_gnutls_version_check patch to prevent bailing when the exact compile-time and runtime GNU TLS versions differ; trust dpkg to disallow combinations that are actually incompatible. + * debian/rules: If configure fails (as has been happening on alpha), + present (BUILD/status/)config.log before bailing. - -- Aaron M. Ucko Wed, 07 Dec 2016 21:34:43 -0500 + -- Aaron M. Ucko Wed, 07 Dec 2016 21:39:36 -0500 ncbi-blast+ (2.5.0-2) unstable; urgency=medium diff --git a/debian/rules b/debian/rules index 7ba296d1..62ef3e39 100755 --- a/debian/rules +++ b/debian/rules @@ -48,7 +48,8 @@ BLAST2_VERSION=1:$(shell dpkg-parsechangelog | awk '/^Version:/ { print $$2 }') llp=LD_LIBRARY_PATH override_dh_auto_configure: cd c++ && $(llp)=$(CURDIR)/c++/BUILD/lib$${$(llp)+:$$$(llp)} \ - CONFIG_SHELL=/bin/bash ./configure $(DEB_CONFIGURE_EXTRA_FLAGS) + CONFIG_SHELL=/bin/bash ./configure $(DEB_CONFIGURE_EXTRA_FLAGS) \ + || (tail -v -n +0 config.log BUILD/status/config.log; exit 1) override_dh_auto_build-arch: cd c++/BUILD/build && \ -- 2.30.2