Debian Bug report logs - #1050067
dwz masks errors in writing output

version graph

Package: dwz; Maintainer for dwz is Debian GCC Maintainers <[email protected]>; Source for dwz is src:dwz (PTS, buildd, popcon).

Reported by: Nicholas Guriev <[email protected]>

Date: Sat, 19 Aug 2023 08:00:02 UTC

Severity: minor

Found in version dwz/0.15-1

Reply or subscribe to this bug.

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


Report forwarded to [email protected], Debian GCC Maintainers <[email protected]>:
Bug#1050067; Package dwz. (Sat, 19 Aug 2023 08:00:04 GMT) (full text, mbox, link).


Acknowledgement sent to Nicholas Guriev <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian GCC Maintainers <[email protected]>. (Sat, 19 Aug 2023 08:00:04 GMT) (full text, mbox, link).


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

From: Nicholas Guriev <[email protected]>
To: [email protected]
Subject: dwz masks errors in writing output
Date: Sat, 19 Aug 2023 10:48:50 +0300
[Message part 1 (text/plain, inline)]
Package: dwz
Version: 0.15-1
Severity: minor

Dear Maintainer,

dwz(1) does not report actual errors in writing output binary.

For example,

$ gcc -g -x c - <<< 'int main(){return 0;}'
$ dwz -o /dev/full
dwz: a.out: elf_update failed

/dev/full is a special device that always produces ENOSPC on writing but dwz(1)
does not reveal the error unambiguously. I assume the tool should prints the
error messages as reported by the elf_errmsg() and the perror() functions.

https://sourceware.org/git/?p=elfutils.git&f=libelf/elf_error.c&hb=elfutils-0.189#l340
https://en.cppreference.com/w/c/io/perror

And please forward this bug to upstream authors if appropriate. Their bug
tracker requires an account but registration is closed.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-24-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages dwz depends on:
ii  libc6    2.37-7
ii  libelf1  0.189-4

dwz recommends no packages.

dwz suggests no packages.

-- no debconf information
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:19:04 2025; Machine Name: bembo

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.