changeset 713:2b51235b3cb8

Some diagnostics for package dependencies
author Chris Cannam
date Wed, 12 Dec 2018 12:04:01 +0000
parents 825d63ed6ca0
children 540bda2e71b1
files .hgignore deploy/linux/debian-dependencies.sh deploy/linux/deploy-deb.sh
diffstat 3 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Wed Dec 12 11:48:17 2018 +0000
+++ b/.hgignore	Wed Dec 12 12:04:01 2018 +0000
@@ -35,3 +35,4 @@
 .qmake.stash
 squashfs-root
 *.gen
+*.deb
--- a/deploy/linux/debian-dependencies.sh	Wed Dec 12 11:48:17 2018 +0000
+++ b/deploy/linux/debian-dependencies.sh	Wed Dec 12 12:04:01 2018 +0000
@@ -39,6 +39,10 @@
 cat $rfile 1>&2
 echo 1>&2
 
+echo "Remaining packages:" 1>&2
+cat $pfile $rfile | sort | uniq -u 1>&2
+echo 1>&2
+
 cat $pfile $rfile | sort | uniq -u | sed 's/$/,/' | fmt -1000 | sed 's/^/Depends: /' | sed 's/,$/, libc6/' | sed 's/libjack0,/jackd,/'
 
 
--- a/deploy/linux/deploy-deb.sh	Wed Dec 12 11:48:17 2018 +0000
+++ b/deploy/linux/deploy-deb.sh	Wed Dec 12 12:04:01 2018 +0000
@@ -71,5 +71,9 @@
 
 bash "$depdir"/fix-lintian-bits.sh "$targetdir"
 
+echo "Finished constructing control file, this is the result:" 1>&2
+cat "$targetdir"/DEBIAN/control 1>&2
+echo 1>&2
+
 dpkg-deb --build "$targetdir" && lintian "$targetdir".deb