Ticket #101 (reopened defect)

Opened 5 years ago

Last modified 2 years ago

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

follow-up: ↓ 2   Changed 5 years ago by 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

in reply to: ↑ 1   Changed 5 years ago by jef

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

  Changed 5 years ago by dsampson

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.

  Changed 3 years ago by maphew

  • status changed from new to closed
  • resolution set to fixed

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

  Changed 2 years ago by maphew

  • status changed from closed to reopened
  • resolution fixed deleted

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

  Changed 2 years ago by jef

  • priority changed from major to minor
  • summary changed from setup.exe doesn't understand .bz2 archives created by 7zip (and cygwin, gnuwin32?) to setup.exe doesn't understand .bz2 archives created by 7zip (and gnuwin32?)
Note: See TracTickets for help on using tickets.