Package: git-buildpackage Version: 0.9.21 Severity: minor Tags: patch Dear Maintainer, Guido,
debchange may be non-interactive, showing some warning to stderr end expecting [RETURN] on stdin to continue. Capturing stderr leads to stopping without showing any clue why or what to do. For example: gbp dch --release --distribution=my-unknown-dist Unless there is any known ill effect, I'd suggest to just show debchange's stderr output. Hth! Stephan -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.9.0-0.bpo.5-amd64 (SMP w/16 CPU threads) Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect Versions of packages git-buildpackage depends on: ii devscripts 2.20.5 ii git 1:2.30.0-1 ii man-db 2.9.3-2 ii python3 3.9.1-1 ii python3-dateutil 2.8.1-5 ii python3-pkg-resources 51.3.3-1 ii sensible-utils 0.0.14 Versions of packages git-buildpackage recommends: ii pristine-tar 1.49 ii python3-requests 2.25.1+dfsg-2 ii sbuild 0.80.1 Versions of packages git-buildpackage suggests: pn python3-notify2 <none> ii sudo 1.9.5p1-1 ii unzip 6.0-26 -- no debconf information
>From d7017801c63a9d0c395b662fb45aa19ad0e64538 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Stephan=20S=C3=BCrken?= <abs...@debian.org> Date: Mon, 25 Jan 2021 16:34:09 +0100 Subject: [PATCH] gbp/deb/changelog.py (ChangeLog.spawn_dch): Don't capture stderr on debchange run. debchange may be non-interactive, showing some warning to stderr end expecting [RETURN] on stdin to continue. Capturing stderr leads to stopping without showing any clue why or what to do -- for example: gbp dch --release --distribution=my-unknown-dist --- gbp/deb/changelog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gbp/deb/changelog.py b/gbp/deb/changelog.py index dda9b75..ccd2e60 100644 --- a/gbp/deb/changelog.py +++ b/gbp/deb/changelog.py @@ -285,7 +285,7 @@ class ChangeLog(object): args.append('[[[insert-git-dch-commit-message-here]]]') else: args.append('') - dch = Command('debchange', args, extra_env=env, capture_stderr=True) + dch = Command('debchange', args, extra_env=env) dch.run_error = Command._f("Dch failed: {stderr_or_reason}") dch([], quiet=True) if msg: -- 2.30.0