Bug#981422: xdg-utils: autopkgtest failure: make: dh: No such file or directory

Nicholas Guriev guriev-ns at ya.ru
Sat Jan 30 21:22:25 GMT 2021


Hello!

On Sat, 2021-01-30 at 21:54 +0100, Paul Gevers wrote:
> You recently added an autopkgtest to your package xdg-utils, great.
> However, it fails. Currently this failure is blocking the migration to
> testing [1]. Can you please investigate the situation and fix it?

There are several ways to fix the failure.

1. Replace `debian/rules patch` line in a test script with `chmod +x
autotests/tty{on,off}`.

--- a/debian/tests/entry
+++ b/debian/tests/entry
@@ -13,6 +13,6 @@ fi
 BASH_XTRACEFD=1
 set -x
ยท
-debian/rules patch
 ./configure
+chmod +x autotests/tty{on,off}
 make autotest SHELL="${1:-/bin/sh}"

https://salsa.debian.org/freedesktop-team/xdg-utils/-/commit/9928933504932f19fb39a0f671cdc7be78aada29

2. Put the "patch" target back as it was in -3 revision, and fix arch-
independent build.

https://salsa.debian.org/freedesktop-team/xdg-utils/-/merge_requests/4/diffs?commit_id=0617f9284ae4d79b51c4ad4bc7d781e93561cb23

I still prefer the later option with the "patch" target. Because that
chmod fixes flaws of quilt and dpkg and this solutions is more
universal. I hope someone will choose to upload another one-liner fix.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-freedesktop-maintainers/attachments/20210131/44ece87c/attachment.sig>


More information about the Pkg-freedesktop-maintainers mailing list