BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000971 [buildroot] Other block always 07-25-06 21:31 02-12-07 05:44
Reporter wiml View Status public  
Assigned To buildroot
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0000971: zcat vs. gunzip (host system portability)
Description As the man page for (g)zcat mentions, zcat is identical to gunzip -c, except that zcat might not be installed on some systems (or might be the old 'compress' zcat instead of the GNU zip gzcat). Darwin / MacOS is one such.

Using gunzip -c should work everywhere. A patch is attached.
Additional Information
Attached Files  zcat.patch [^] (35,527 bytes) 07-25-06 21:31

- Relationships

- Notes
(0001682)
bernhardf
10-01-06 08:09

Can you please update your patch to take $(BR2_ZCAT) into account -- i.e use that instead of hardcoding 'gunzip -c'?

TIA

diff -r16280:16281 looks like this, FYI:

Index: Config.in
===================================================================
--- Config.in (revision 16280)
+++ Config.in (revision 16281)
@@ -180,6 +180,16 @@
     string "Subversion (svn) checkout command"
     default "svn co"
 
+config BR2_ZCAT
+ string "zcat command"
+ default "zcat"
+ help
+ Command to be used to extract a gzip'ed file to stdout.
+ zcat is identical to gunzip -c except that the former may
+ not be available on your system.
+ Default is "zcat"
+ Other possible values include "gunzip -c"
+
 config BR2_TAR_OPTIONS
     string "Tar options"
     default ""
 
(0001683)
bernhardf
10-01-06 08:18

I did that change for you, please test r16282 or later and report back.

Thanks,
Bernhard
 

- Issue History
Date Modified Username Field Change
07-25-06 21:31 wiml New Issue
07-25-06 21:31 wiml Status new => assigned
07-25-06 21:31 wiml Assigned To  => uClibc
07-25-06 21:31 wiml File Added: zcat.patch
10-01-06 08:09 bernhardf Note Added: 0001682
10-01-06 08:18 bernhardf Status assigned => closed
10-01-06 08:18 bernhardf Note Added: 0001683
10-01-06 08:18 bernhardf Resolution open => fixed
02-12-07 05:44 vapier Status closed => assigned
02-12-07 05:44 vapier Assigned To uClibc => buildroot


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker