GNU bug report logs - #23770
Cannot open file gzipped on Android in OSX

Previous Next

Package: gzip;

Reported by: Abhilash Jindal <ajindal <at> mobileenerlytics.com>

Date: Tue, 14 Jun 2016 19:03:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#23770: closed (Cannot open file gzipped on Android in OSX)
Date: Fri, 01 Apr 2022 17:02:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 1 Apr 2022 10:01:31 -0700
with message-id <457619b6-c537-984d-d77e-43ed000d58fa <at> cs.ucla.edu>
and subject line Re: Cannot open file gzipped on Android in OSX
has caused the debbugs.gnu.org bug report #23770,
regarding Cannot open file gzipped on Android in OSX
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
23770: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23770
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Abhilash Jindal <ajindal <at> mobileenerlytics.com>
To: bug-gzip <at> gnu.org
Subject: Cannot open file gzipped on Android in OSX
Date: Tue, 14 Jun 2016 14:58:57 -0400
[Message part 3 (text/plain, inline)]
Hello,

I gzipped a file on Android (BusyBox v1.21.1-jb bionic (version: 2013-07-25
21:23 +0100) multi-call binary) and am able to unzip it on Android.

But when I copy the file on to OSX (using adb) , I am not able to
decompress it.

$ gzip -d -S .0 atrace_z.0
gzip: atrace_z.0: unexpected end of file
gzip: atrace_z.0: uncompress failed
$ gzip -V
Apple gzip 251

I can still decompress on Android if I copy the file back from OSX to
Android phone. Please find the file attached.

Best regards,
abhilash
[Message part 4 (text/html, inline)]
[atrace_z.0 (application/octet-stream, attachment)]
[Message part 6 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Abhilash Jindal <ajindal <at> mobileenerlytics.com>
Cc: 23770-done <at> debbugs.gnu.org
Subject: Re: Cannot open file gzipped on Android in OSX
Date: Fri, 1 Apr 2022 10:01:31 -0700
This is evidently a problem with the way you're using adb; it's not a 
gzip bug. adb will sometimes convert LF to CRLF and vice versa, which is 
not something you can do to a gzipped file. For help on that topic, 
please consult an adb expert. Closing this (old) gzip bug report.


This bug report was last modified 3 years and 76 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.