Opened 15 years ago

Closed 5 years ago

#101 closed defect (wontfix)

setup.exe doesn't understand .bz2 archives created by 7zip (and gnuwin32?)

Reported by: maphew Owned by: osgeo4w-dev@…
Priority: minor Component: Documentation
Version: Keywords:
Cc:

Description

from http://lists.osgeo.org/pipermail/osgeo4w-dev/2009-April/000530.html :

"[earlier this year] I reported that setup.exe cannot unpack the tar.bz2 created by 7zip. Today I can extend that lack of success to also include gnuwin32's bzip2. Surprisingly I'm pretty sure cygwin's own bzip2 also doesn't work though I didn't test this last on completely because I was tired of up/dnloading the same file over and over again. When I diff'd gnuwin32 and cygwin's output, the files were exactly the same.

In the end I worked around the problem by uploading the non-working package to upload.osgeo.org, opening a remote shell on same, and unpacking & repacking using the tar & bzip2 on that machine.

I found one other report of problems with 7zip and cygwin setup, but no illumination: http://www.nabble.com/Problem-making-a-package-td18701549.html"

Change History (7)

comment:1 by maphew, 15 years ago

contrary to the April report, Dave Sampson reports success with gnuwin32 tar, bzip2: http://lists.osgeo.org/pipermail/osgeo4w-dev/2009-August/000653.html

in reply to:  1 comment:2 by jef, 15 years ago

Replying to maphew:

contrary to the April report, Dave Sampson reports success with gnuwin32 tar, bzip2: http://lists.osgeo.org/pipermail/osgeo4w-dev/2009-August/000653.html

And the tar(+bzip2) from osgeo4w's msys package also works - in %OSGEO4W_ROOT%\apps\msys\bin

comment:3 by dsampson, 15 years ago

it might require some clarification... the gnuwin32 project ships two tar packages.. gnutar DOES NOT WORK.

try bsdTAR found here http://gnuwin32.sourceforge.net/packages.html

http://gnuwin32.sourceforge.net/packages/libarchive.htm is the home page for libarchive...

it allows you to chain actions such as

tar xvjf

and

tar cvjf

I guess it shipps with bzip2 inside the application where the gnuwin32 tar and bzip tools are shipped seprately and the tar program was not compiled with bz2.

Just some clarification.

comment:4 by maphew, 14 years ago

Resolution: fixed
Status: newclosed

Closed with the January 2011 release of osgeo4w-setup.exe. See http://lists.osgeo.org/pipermail/osgeo4w-dev/2011-January/001204.html

comment:5 by maphew, 13 years ago

Resolution: fixed
Status: closedreopened

Packages created with 7zip Portable 9.20 can't be read by osgeo4w-setup.exe dated 12/30/2010, the current default on the repository. The previous 7zip success above was reported 01/31/2011. I think perhaps the current setup.exe is not actually the most recent version? Perhaps a casualty of the server crash last year and subsequent restore from backups.

Sample package created with:

7z a -ttar archive.tar stuff\*
7a s -tbzip2 archive.tar.bz2 archive.tar

comment:6 by jef, 13 years ago

Priority: majorminor
Summary: setup.exe doesn't understand .bz2 archives created by 7zip (and cygwin, gnuwin32?)setup.exe doesn't understand .bz2 archives created by 7zip (and gnuwin32?)

comment:7 by jef, 5 years ago

Resolution: wontfix
Status: reopenedclosed
Note: See TracTickets for help on using tickets.