Present config.log if configure fails.
authorAaron M. Ucko <ucko@debian.org>
Thu, 8 Dec 2016 02:39:37 +0000 (21:39 -0500)
committerAaron M. Ucko <ucko@debian.org>
Thu, 8 Dec 2016 02:46:40 +0000 (21:46 -0500)
debian/rules: If configure fails (as has been happening on alpha),
present (BUILD/status/)config.log before bailing.

debian/changelog
debian/rules

index 4fc1253e42bd65f74798fdf30950e3e87fb0eb66..adf897e175ca9c84643ee7857537dd8e025dc10d 100644 (file)
@@ -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 <ucko@debian.org>  Wed, 07 Dec 2016 21:34:43 -0500
+ -- Aaron M. Ucko <ucko@debian.org>  Wed, 07 Dec 2016 21:39:36 -0500
 
 ncbi-blast+ (2.5.0-2) unstable; urgency=medium
 
index 7ba296d1cd42fa246ffd800c3c5767f02ae1d727..62ef3e3946e620a5cf7d2741ba704ca10fdfff33 100755 (executable)
@@ -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  && \