From 5bfa5430cfac5d3b3c374f56c9046cd0220cd748 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Mon, 13 Jul 2020 16:30:12 +0200 Subject: [PATCH] debian/rules: Print actual compiler log. --- debian/changelog | 1 + debian/rules | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index fa87637..97e8a51 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ pgloader (3.6.2-1) UNRELEASED; urgency=medium * New upstream version. * debian/tests/ssl: Add --debug to get backtraces. * debian/rules: Sync loaded systems with Makefile. + * debian/rules: Print actual compiler log. * Bump required cl-db3 version to 20200212. * DH 13. diff --git a/debian/rules b/debian/rules index 5bb77bc..8c63364 100755 --- a/debian/rules +++ b/debian/rules @@ -41,7 +41,11 @@ override_dh_auto_build-arch: --entry pgloader:main \ --dynamic-space-size $(SIZE) \ --compress-core \ - --output build/bin/pgloader + --logfile buildapp.log \ + --output build/bin/pgloader \ + || echo $$? > buildapp.fail + cat buildapp.log + test ! -f buildapp.fail $(MAKE) -C docs html override_dh_auto_test: