Opened 22 months ago

Closed 22 months ago

Last modified 22 months ago

#748 closed defect (fixed)

Invalid or unsupported tar format for libjpeg-9d-3 and libjpeg12-9d-3

Reported by: nicogodet Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: Keywords:
Cc:

Description

2022/06/20 08:42:14 mbox note: Can't open file://D:\_QGIS/https%3a%2f%2fdownload.osgeo.org%2fosgeo4w%2fv2%2f/x86_64/release/libjpeg/libjpeg-9d-3.tar.bz2 for reading: Invalid or unsupported tar format

2022/06/20 08:43:26 mbox note: Can't open file://D:\_QGIS/https%3a%2f%2fdownload.osgeo.org%2fosgeo4w%2fv2%2f/x86_64/release/libjpeg/libjpeg12/libjpeg12-9d-3.tar.bz2 for reading: Invalid or unsupported tar format

I can't find the logs but jpeg.dll was missing (could be related to above errors) which cause crssync failure

Attachments (2)

img1.png (87.7 KB ) - added by andreaerdna 22 months ago.
img2.png (116.5 KB ) - added by andreaerdna 22 months ago.

Download all attachments as: .zip

Change History (19)

comment:1 by jef, 22 months ago

Resolution: fixed
Status: newclosed

fixed in https://github.com/jef-n/OSGeo4W/commit/c8750636b8757914f1b2bb2c6e82ec944b76dbcf

libjpeg was replaced with libjpeg-turbo. libjpeg-9d-3.tar.bz2 and libjpeg12-9d-3.tar.bz2 are only transitional and empty. Apparently too empty for osgeo4w-setup - now they contain an empty directory.

The missing jpeg.dll was probably just due to the incomplete upgrade. The binaries should depend on jpeg62.dll now.

comment:2 by nicogodet, 22 months ago

Thanks for the quick response !

Comfirmed fixed
Should I retrigger crssync ? If yes, how ?

comment:3 by jef, 22 months ago

Depends - reinstall qgis-common, qgis-ltr-common, qgis-rel-dev, qgis-ltr-dev or qgis-dev.

comment:4 by nicogodet, 22 months ago

I just updated qgis-dev and crssync still fail because it can't find jpeg.dll
Local issue ?

in reply to:  4 comment:5 by jef, 22 months ago

Replying to nicogodet:

I just updated qgis-dev and crssync still fail because it can't find jpeg.dll
Local issue ?

Not reproducible with qgis-dev (3.27.0-264-d73baa680c-1). You could rename etc\postinstall\qgis-dev.bat.done to .bat and run depends on crssync.exe to find what is still using jpeg.dll on your machine (adapted from comment in QGIS #26891)

comment:6 by andreaerdna, 22 months ago

The crssync.exe issue does not happen on my system (Windows 10) with the latest qgis-full 3.26.0-1, qgis-ltr-full 3.22.8-1, qgis-dev-full 3.27.0-265-597e8eebd4-1 installed using OSGeo4W Network Installer in a new empty folder.

The issue does not happen on my system even updating a previous installation of QGIS 3.22.7 and 3.24.3 to the latest 3.22.8 and 3.26.0 versions.

Anyway a bug report has been recently submitted to GitHub about the crssync.exe issue and a Could not load qgis_app.dll issue: https://github.com/qgis/QGIS/issues/49148

Last edited 22 months ago by andreaerdna (previous) (diff)

comment:7 by nicogodet, 22 months ago

I think the failed update with empty archive (initial issue) messed up the install. I will try to fresh install if I find some time but it doesn't prevent QGIS from working

comment:8 by nicogodet, 22 months ago

Update run smoothly on another computer. Looks more and more related to the first failure caused by empty archive.

Will try a full reinstall on monday

comment:9 by andreaerdna, 22 months ago

Another similar issue report, for QGIS 3.22.8 Standalone Installer: https://github.com/qgis/QGIS/issues/49159

comment:10 by andreaerdna, 22 months ago

in reply to:  10 ; comment:11 by jef, 22 months ago

Replying to andreaerdna:

Other issue reports for 3.26.0 probably related:

Requires a login.

comment:12 by nicogodet, 22 months ago

if I run depends on qgis_app.dll in postinstall/qgis-dev.bat

     [  6] c:\osgeo4w\bin\PDALCPP.DLL
          [  6] c:\osgeo4w\apps\gdal-dev\bin\GDAL305.DLL
               [ ^6] c:\osgeo4w\bin\ZLIB.DLL
               [ ^6] c:\osgeo4w\bin\LIBCURL.DLL
               [ ^6] c:\windows\system32\ODBC32.DLL
               [ ^6] c:\osgeo4w\bin\LIBCRYPTO-1_1-X64.DLL
               [ ^6] c:\osgeo4w\bin\LIBSSL-1_1-X64.DLL
               [ ^6] c:\windows\system32\CRYPT32.DLL
               [ ^6] c:\osgeo4w\bin\LIBLZMA.DLL
               [ ^6] c:\windows\system32\OPENCL.DLL
               [ ^6] c:\osgeo4w\bin\PROJ_9_0.DLL
               [ ^6] c:\osgeo4w\bin\XERCES-C_3_2.DLL
               [ ? ] JPEG.DLL

comment:13 by nicogodet, 22 months ago

qgis and qgis-ltr common.bat runs without crssync error.

Only affect -dev

comment:14 by jef, 22 months ago

Remove gdal-dev305-runtime.

comment:15 by nicogodet, 22 months ago

Fixed !

by andreaerdna, 22 months ago

Attachment: img1.png added

by andreaerdna, 22 months ago

Attachment: img2.png added

in reply to:  11 comment:17 by andreaerdna, 22 months ago

Replying to jef:

Requires a login.

No login needed:

https://trac.osgeo.org/osgeo4w/raw-attachment/ticket/748/img1.png

https://trac.osgeo.org/osgeo4w/raw-attachment/ticket/748/img2.png

Note: See TracTickets for help on using tickets.