Your message dated Tue, 5 Mar 2019 00:19:01 +0100
with message-id <[email protected]>
and subject line Re: Bug#157145: dpkg-deb -b spews out binary garbage when 
filesystem is full
has caused the Debian Bug report #157145,
regarding dpkg-deb -b spews out binary garbage when filesystem is full
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
157145: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=157145
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg
Version: 1.10.4
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When dpkg-deb -b (called by dpkg --build) is creating the package
archive, and runs out of diskspace, it will print out an error
message together with garbage:

        dpkg-deb: bouwen van pakket `libsane' in 
`../libsane_1.0.7-3.2_i386.deb'.
        dpkg-deb: bouwen van pakket `libsane-dev' in 
`../libsane-dev_1.0.7-3.2_i386.deb'.
        dpkg-deb: failed in buffer_write(fd) (3, ret=-1 cat (data)):

Followed by a bunch of binary garbage, bad enough to screw up both
screen and the shell.

(Sorry about the Dutch, it reads "dpkg-deb: building package `libsane'
in `...'".)


- -- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux spark 2.4.18-xfs-1.1 #2 za jun 15 15:26:59 CEST 2002 i586
Locale: LANG=C, LC_CTYPE=nl_NL@euro

Versions of packages dpkg depends on:
ii  dselect                       1.10.4     a user tool to manage Debian packa
ii  libc6                         2.2.5-14   GNU C Library: Shared libraries an

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9X5AwbTEMl+oVcvERAgMlAJ9SP2hBHCzrEWnUrFOExCWSS1Ph1ACdGSoN
0NN1+/H/7jEOjC75IyCX7pM=
=0sEv
-----END PGP SIGNATURE-----


--- End Message ---
--- Begin Message ---
Hi!

On Sun, 2002-08-18 at 14:16:45 +0200, Ivo Timmermans wrote:
> Package: dpkg
> Version: 1.10.4
> Severity: normal

> When dpkg-deb -b (called by dpkg --build) is creating the package
> archive, and runs out of diskspace, it will print out an error
> message together with garbage:
> 
>       dpkg-deb: bouwen van pakket `libsane' in 
> `../libsane_1.0.7-3.2_i386.deb'.
>       dpkg-deb: bouwen van pakket `libsane-dev' in 
> `../libsane-dev_1.0.7-3.2_i386.deb'.
>       dpkg-deb: failed in buffer_write(fd) (3, ret=-1 cat (data)):
> 
> Followed by a bunch of binary garbage, bad enough to screw up both
> screen and the shell.

In the meantime this has been fixed after code cleanup and fixes.
Here's a current instance of this:

  # mkdir /tmp/disk-full
  # mount -t tmpfs tmpfs /tmp/disk-full -o nodev,nosuid,size=1M,mode=1777

  $ TMPDIR=/tmp/disk-full dpkg-deb -Znone -b dpkg/
  dpkg-deb: building package 'dpkg' in 'dpkg.deb'.
  dpkg-deb (subprocess): compressing tar member: pass-through copy error: 
failed to write (No space left on device)
  dpkg-deb: error: <compress> from tar -cf subprocess returned error exit 
status 2

  $ TMPDIR=/tmp/disk-full dpkg-deb -b dpkg/
  dpkg-deb: building package 'dpkg' in 'dpkg.deb'.
  dpkg-deb (subprocess): compressing tar member: lzma write error: No space 
left on device
  dpkg-deb: error: <compress> from tar -cf subprocess returned error exit 
status 2

So this catches the problems, reports them, and does not spew any
garbage. Closing.

Thanks,
Guillem

--- End Message ---

Reply via email to