+rm -f build-rdeps.output
+echo "D: querying rdepds for $@"
+
+# D: interactive shell for debugging
+# /bin/bash < /dev/tty > /dev/tty 2> /dev/tty
+
+for pkg in "$@"; do
+ build-rdeps --distribution $dist $pkg >> build-rdeps.output
+done
+
+echo "D: got rdepds:"
+cat build-rdeps.output