Debian Bug report logs - #952576
dput-ng: does not show the stderr of post_upload_command (silent failures when uploading)

version graph

Package: dput-ng; Maintainer for dput-ng is dput-ng Maintainers <[email protected]>; Source for dput-ng is src:dput-ng (PTS, buildd, popcon).

Reported by: Elena ``of Valhalla'' <[email protected]>

Date: Wed, 26 Feb 2020 10:51:02 UTC

Severity: normal

Found in version dput-ng/1.29

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], dput-ng Maintainers <[email protected]>:
Bug#952576; Package dput-ng. (Wed, 26 Feb 2020 10:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to Elena ``of Valhalla'' <[email protected]>:
New Bug report received and forwarded. Copy sent to dput-ng Maintainers <[email protected]>. (Wed, 26 Feb 2020 10:51:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Elena ``of Valhalla'' <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: dput-ng: does not show the stderr of post_upload_command (silent failures when uploading)
Date: Wed, 26 Feb 2020 11:49:49 +0100
Package: dput-ng
Version: 1.29
Severity: normal

Dear Maintainer,

I'm using dput with a profile that sets a post_upload_command and I've
noticed that whatever that command writes on stderr gets suppressed;
this leads to uploads that silently fail.

To reproduce, you can e.g. set::

   "post_upload_command": "echo 'this will appear on dput output'",

to see that stdout is correctly written in the dput output and::

   "post_upload_command": "python --version",

to see how stderr is suppressed instead.
(note: python3 can't be used because it prints its version on stdout,
and so do the other commands I tried before python; of course anything
else that prints something on stderr would do.)

Thanks in advance,

-- System Information:
Debian Release: bullseye/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-4-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_IE:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dput-ng depends on:
ii  python3       3.7.5-3
ii  python3-dput  1.29

dput-ng recommends no packages.

Versions of packages dput-ng suggests:
pn  dput-ng-doc      <none>
pn  python3-twitter  <none>

-- no debconf information



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 16:21:33 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.