#987791 please give context information for file system errors

Package:
dpkg
Source:
dpkg
Description:
Debian package management system
Submitter:
Marc Haber
Date:
2021-04-29 18:27:06 UTC
Severity:
normal
#987791#5
Date:
2021-04-29 18:24:24 UTC
From:
To:
Hi,

I recently encountered "no space left on device" errors at the end of a
multi-hour build of a huge package:

dpkg-deb (subprocess): compressing tar member: lzma write error: No space left on device

It would have been vastly easier to debug this if the error message was
more along the line of "no space left on device writing
/tmp/dpkg-deb.xyz", leading me to learn that the container the build was
taking place in had a 200 MB tmpfs mounted on /tmp.

Greetings
Marc