Bug#429462: gunzip does not uncompress anymore, breaks dpkg-source

2007-06-20 Thread Martin Schulze
Bdale Garbee wrote:
 Also just talked to James Troup who is in the same room here at Debconf,
 and he's running this version of gzip on various buildd systems... so
 I'm confused about what might be wrong.

Err, since when are source packages *built* on buildd systems?  They
are unpacked - which still works with the new version of gzip.

Regards,

Joey

-- 
If nothing changes, everything will remain the same.  -- Barne's Law

Please always Cc to me when replying to me on the lists.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#429462: gunzip does not uncompress anymore, breaks dpkg-source

2007-06-19 Thread Bdale Garbee
On Mon, 2007-06-18 at 17:47 +0200, Martin Schulze wrote:
 Bdale Garbee wrote:
   Any idea at where to look?
  
  Not really.  I freshened my machine to latest unstable this morning...
  maybe an strace would point to something?  [shrug]
 
 Does this help?

Look at /bin/gunzip, which is a (new) wrapper script provided in
upstream replacing what I think was previously a hard link.  I believe
the path says /usr/bin/gzip but should be /bin/gzip.  If that fixes your
problem, I will update the package and make another upload.

Bdale



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#429462: gunzip does not uncompress anymore, breaks dpkg-source

2007-06-19 Thread Martin Schulze
Bdale Garbee wrote:
 On Mon, 2007-06-18 at 17:47 +0200, Martin Schulze wrote:
  Bdale Garbee wrote:
Any idea at where to look?
   
   Not really.  I freshened my machine to latest unstable this morning...
   maybe an strace would point to something?  [shrug]
  
  Does this help?
 
 Look at /bin/gunzip, which is a (new) wrapper script provided in
 upstream replacing what I think was previously a hard link.  I believe

Indeed.  That's the reason.  gzip -d  file still works fine.  The
gunzip wrapper script doesn't.

 the path says /usr/bin/gzip but should be /bin/gzip.  If that fixes your
 problem, I will update the package and make another upload.

Thanks.

Regards,

Joey

-- 
If nothing changes, everything will remain the same.  -- Barne's Law

Please always Cc to me when replying to me on the lists.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#429462: gunzip does not uncompress anymore, breaks dpkg-source

2007-06-18 Thread Joey Schulze
Package: gzip
Version: 1.3.12-2
Severity: grave

I'm sorry to report but the new version of gzip breaks dpkg-source in
sid and thus cannot be used for package building anymore.

dpkg-source -b package-version gives:

 dpkg-source: failure: tar -xkf - gave error exit status 2
 tar: Archive is compressed. Use -z option
 tar: Error is not recoverable: exiting now

The reason is that gunzip does not uncompress a stream anymore.

This is with 1.3.12-2:

finlandia!joey(tty6):/tmp/work/test/z gunzip  ../manpages_2.52.orig.tar.gz | 
cat -  out
finlandia!joey(tty6):/tmp/work/test/z file out
out: gzip compressed data, from Unix, last modified: Sun Jun 17 16:21:30 2007
finlandia!joey(tty6):/tmp/work/test/z cat ../manpages_2.52.orig.tar.gz | 
gunzip  out
finlandia!joey(tty6):/tmp/work/test/z file out
out: gzip compressed data, from Unix, last modified: Mon Jun 18 11:21:15 2007

This is with the older version 1.3.9-2:

finlandia!joey(tty6):/tmp/work/test/z gunzip  ../manpages_2.52.orig.tar.gz   
out.tar
finlandia!joey(tty6):/tmp/work/test/z file out.tar
out.tar: POSIX tar archive (GNU)
finlandia!joey(tty6):/tmp/work/test/z cat ../manpages_2.52.orig.tar.gz | 
gunzip  out.tar
finlandia!joey(tty6):/tmp/work/test/z file out.tar
out.tar: POSIX tar archive (GNU)

Please pass this upstream and restore the old behaviour.

(And as a workaround, changing the inner working of dpkg-source may
be adequate as well.)

Regards,

Joey

-- 
Still can't talk about what I can't talk about.  Sorry.  -- Bruce Schneier

Please always Cc to me when replying to me on the lists.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#429462: gunzip does not uncompress anymore, breaks dpkg-source

2007-06-18 Thread Martin Schulze
Bdale Garbee wrote:
 tags 429462 +unreproducible +moreinfo
 thanks
 
 On Mon, 2007-06-18 at 11:24 +0200, Joey Schulze wrote:
  Package: gzip
  Version: 1.3.12-2
  Severity: grave
  
  I'm sorry to report but the new version of gzip breaks dpkg-source in
  sid and thus cannot be used for package building anymore.
 
 I can't reproduce this problem.  For example:
 
   $ gunzip  gzip_1.3.12.orig.tar.gz | cat -  /tmp/out
   $ file /tmp/out
   /tmp/out: tar archive
 
 Also just talked to James Troup who is in the same room here at Debconf,
 and he's running this version of gzip on various buildd systems... so
 I'm confused about what might be wrong.
 
  Please pass this upstream and restore the old behaviour.
 
 More research will be required to understand why this is a problem on
 your system and not on mine.  Any thoughts?

Great!

Any idea at where to look?

Regards,

Joey

-- 
Still can't talk about what I can't talk about.  Sorry.  -- Bruce Schneier

Please always Cc to me when replying to me on the lists.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#429462: gunzip does not uncompress anymore, breaks dpkg-source

2007-06-18 Thread Bdale Garbee
tags 429462 +unreproducible +moreinfo
thanks

On Mon, 2007-06-18 at 11:24 +0200, Joey Schulze wrote:
 Package: gzip
 Version: 1.3.12-2
 Severity: grave
 
 I'm sorry to report but the new version of gzip breaks dpkg-source in
 sid and thus cannot be used for package building anymore.

I can't reproduce this problem.  For example:

$ gunzip  gzip_1.3.12.orig.tar.gz | cat -  /tmp/out
$ file /tmp/out
/tmp/out: tar archive

Also just talked to James Troup who is in the same room here at Debconf,
and he's running this version of gzip on various buildd systems... so
I'm confused about what might be wrong.

 Please pass this upstream and restore the old behaviour.

More research will be required to understand why this is a problem on
your system and not on mine.  Any thoughts?

Bdale



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#429462: gunzip does not uncompress anymore, breaks dpkg-source

2007-06-18 Thread Martin Schulze
Bdale Garbee wrote:
  Any idea at where to look?
 
 Not really.  I freshened my machine to latest unstable this morning...
 maybe an strace would point to something?  [shrug]

Does this help?

finlandia!joey(tty6):/tmp/work dpkg -l gzip
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ NameVersion Description
+++-===-===-==
hi  gzip1.3.12-2The GNU compression 
utility
finlandia!joey(tty6):/tmp/work strace -o gunzip.log gunzip  
man-pages-2.52.tar.gz  test
finlandia!joey(tty6):/tmp/work file test
test: gzip compressed data, from Unix, last modified: Thu Jun  7 14:49:54 2007
finlandia!joey(tty6):/tmp/work

Regards,

Joey

-- 
Still can't talk about what I can't talk about.  Sorry.  -- Bruce Schneier

Please always Cc to me when replying to me on the lists.


gunzip.log.bz2
Description: Binary data


Bug#429462: gunzip does not uncompress anymore, breaks dpkg-source

2007-06-18 Thread Bdale Garbee
On Mon, 2007-06-18 at 15:56 +0200, Martin Schulze wrote:

 Any idea at where to look?

Not really.  I freshened my machine to latest unstable this morning...
maybe an strace would point to something?  [shrug]

Bdale



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]