gzip support in tar broken for 12.2?
Joakim Tjernlund
Joakim.Tjernlund at transmode.se
Sat Dec 6 12:10:45 UTC 2008
> -----Original Message-----
> From: Gilles Espinasse [mailto:g.esp at free.fr]
> Sent: den 6 december 2008 11:58
> To: Joakim Tjernlund; 'Roberto A. Foglietta'
> Cc: busybox at busybox.net
> Subject: Re: gzip support in tar broken for 12.2?
>
>
> ----- Original Message -----
> From: "Joakim Tjernlund" <Joakim.Tjernlund at transmode.se>
> To: "'Roberto A. Foglietta'" <roberto.foglietta at gmail.com>
> Cc: "'Gilles Espinasse'" <g.esp at free.fr>; <busybox at busybox.net>
> Sent: Saturday, December 06, 2008 11:47 AM
> Subject: RE: gzip support in tar broken for 12.2?
>
>
>
> > > >> ----- Original Message -----
> > > >> From: "Tjernlund" <tjernlund at tjernlund.se>
> > > >> To: <busybox at busybox.net>
> > > >> Sent: Friday, December 05, 2008 11:52 PM
> > > >> Subject: gzip support in tar broken for 12.2?
> > > >>
> > > >>
> > > >> > After upgrading to bb 12.2 bb tar does not understand
> > > >> > the z option:
> > > >> > #> tar z
> > > >> > tar: invalid option -- z
> > > >> >
> > > >> > I am using the same .config and CONFIG_FEATURE_GZIP=y is set
> > > >> >
> > > >> > Jocke
> > > >> >
> > > >> That's fixed by the getopt.patch in
> > > >> http://busybox.net/downloads/fixes-1.12.2
> > > >> Or upgrade to 1.12.3
> > > >>
> > > >
> > > > Got that one tried Roberto's version too.
> > > > Still no luck.
> > > > I noticed these while building bb:
> > > > .config:112:warning: trying to assign nonexistent symbol
> FEATURE_GUNZIP_UNCOMPRESS
> > > > .config:116:warning: trying to assign nonexistent symbol
> FEATURE_RPM_BZ2
> > > > .config:119:warning: trying to assign nonexistent symbol
> FEATURE_TAR_GZIP
> > > > .config:120:warning: trying to assign nonexistent symbol
> FEATURE_TAR_BZIP2
> > > > .config:121:warning: trying to assign nonexistent symbol
> FEATURE_TAR_LZMA
> > > > .config:122:warning: trying to assign nonexistent symbol
> FEATURE_TAR_COMPRESS
> > > > .config:138:warning: trying to assign nonexistent symbol
> FEATURE_DEB_TAR_GZ
> > > > .config:139:warning: trying to assign nonexistent symbol
> FEATURE_DEB_TAR_BZ2
> > > > .config:140:warning: trying to assign nonexistent symbol
> FEATURE_DEB_TAR_LZMA
> > > > yes: standard output: Broken pipe
> > > >
> > > > Seems relevant. I am cross compiling on gentoo.
> > > >
> > >
> > > could you send your .config, please
> >
> > Found it. It is FEATURE_SEAMLESS_GZ that needs to be set in 12.2
> >
> > Jocke
> >
> Really at least add getopt patch or upgrade to 1.12.3 or 1.13.1
> Or you will have the bad surprise with 1.12.2 when using gzip -c -d foo.gz
> that foo.gz file is suppressed and replaced by foo file.
Yes, I got both busybox-1.12.2-getopt.patch and
busybox-1.12.2-lineedit.patch plus some more
I am using gentoo's ebuilds and they haven't installed 1.12.3 yet.
More information about the busybox
mailing list