Bug 280762 - [readme] Add warning about using Windows extraction utility
Summary: [readme] Add warning about using Windows extraction utility
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 3.4.2   Edit
Hardware: PC Windows XP
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: platform-runtime-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-18 08:55 EDT by Dominique LORRE CLA
Modified: 2019-09-06 16:14 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique LORRE CLA 2009-06-18 08:55:06 EDT
Build ID: any

Steps To Reproduce:
1. Get pdt-2.0.0GA_debugger-5.2.15.v20081217-all-in-one-win32.zip
2. Unzip it with windows XP or Vista
3. This results into a buggy installation
You can check that with steps described in bug #280637
4. Unzip it with 7zip: the bug has gone


More information:
french forum post that led me to the issue: http://www.developpez.net/forums/d735956/environnements-developpement/eclipse/eclipse-php/chemin-dacces-source-long/

Windows unzipper doesn't extract correctly long file names as it seems.
Comment 1 Michael Spector CLA 2009-06-18 09:10:44 EDT
Either don't use bundled Windows unzip utility or change the archive name to something shorter.
Comment 2 Dominique LORRE CLA 2009-06-18 09:13:53 EDT
(In reply to comment #1)
> Either don't use bundled Windows unzip utility or change the archive name to
> something shorter.

it is not the archive name, it is the file names inside the archive
Comment 3 Dominique LORRE CLA 2009-06-18 09:17:41 EDT
zip format is not reliable for windows eclipse distributions. A solution to this is required.
Comment 4 Michael Spector CLA 2009-06-18 09:18:14 EDT
We will not change filenames, just because some OS lacks good unzip utility.
Comment 5 Dominique LORRE CLA 2009-06-18 09:19:39 EDT
(In reply to comment #4)
> We will not change filenames, just because some OS lacks good unzip utility.

why not ship in 7z format? Are you ready to handle all the bug reports related to this instead?
Comment 6 Dominique LORRE CLA 2009-06-18 09:22:34 EDT
You are shipping invalid distributions. This has to be fixed. Change the archive formats or fix your file names.
Comment 7 Michael Spector CLA 2009-06-18 09:23:27 EDT
(In reply to comment #5)
> (In reply to comment #4)
> > We will not change filenames, just because some OS lacks good unzip utility.
> 
> why not ship in 7z format? Are you ready to handle all the bug reports related
> to this instead?
> 

This problem is common, and it's not related to this concrete archive only. We also encounter this issue, when extracting other Eclipse dependencies, and yes, they are all provided in Zip archives. What we do, is: place them on the C:\ root, rename the archive name - then everything extracts fine. Other option is: using 7zip, as you mentioned.
Comment 8 Michael Spector CLA 2009-06-18 09:25:07 EDT
Not the bug of Eclipse. Zip format spec doesn't specify the length of the path names. It's a limitation of Windows operating system!
Comment 9 Dominique LORRE CLA 2009-06-18 09:30:49 EDT
I recognise it is not an Eclipse software bug, but is an Eclipse packaging/distribution bug and should be treated as this. 
Comment 10 Dominique LORRE CLA 2009-06-18 09:33:46 EDT
(In reply to comment #8)
> Not the bug of Eclipse. Zip format spec doesn't specify the length of the path
> names. It's a limitation of Windows operating system!

It's not the zip format spec, because 7zip can correctly unzip it.
And if you have chosen the wrong format for your archives fix this issue.
Comment 11 Michael Spector CLA 2009-06-18 09:39:33 EDT
(In reply to comment #10)
> (In reply to comment #8)
> > Not the bug of Eclipse. Zip format spec doesn't specify the length of the path
> > names. It's a limitation of Windows operating system!
> 
> It's not the zip format spec, because 7zip can correctly unzip it.
> And if you have chosen the wrong format for your archives fix this issue.
> 

If you still think it's a bug... OK, lets leave it... I don't have nerves to argue with you. But, please, don't set its severity to 'blocker', since it's not blocker - you have a workaround!
Comment 12 Thomas Watson CLA 2009-06-18 09:43:38 EDT
For reference there was a similar bug against platform that was resolved WONTFIX. See bug 166597.
Comment 13 Dominique LORRE CLA 2009-06-18 09:54:36 EDT
Alright. 

Please realize that I lose 3 days to this bug. 

I don't know what qualifies for "blocker" here, but the sideeffects of this bug include being unable to install PDT from a clean ganymede distribution for instance.

Also many problems reported in your database are related to this bug, see Bug#:  237757  for instance.

You would do yourself a favor by solving this definitely.
Comment 14 Dominique LORRE CLA 2009-06-18 10:11:22 EDT
Moving to enhancement requests. Do not file it as a PDT issue, I'm confident the problem is general.

Please use 7zip or a valid zip self-extractor.
Comment 15 John Arthorne CLA 2009-06-18 10:16:14 EDT
This is not an Eclipse bug.

*** This bug has been marked as a duplicate of bug 166597 ***
Comment 16 Dominique LORRE CLA 2009-06-18 10:17:15 EDT
¨Please look carefully it is an enhancement request.
Comment 17 John Arthorne CLA 2009-06-18 10:19:35 EDT
Ok, but you're requesting an enhancement to the broken Windows zip utility. Just use a zip utility that isn't broken.
Comment 18 John Arthorne CLA 2009-06-18 10:24:00 EDT
> why not ship in 7z format?

Wouldn't that require all users to have 7z unzip software installed? And presumably 7z handles long paths in .zip files correctly, so if everyone has 7z installed there is no problem with us using .zip files.
Comment 19 Dominique LORRE CLA 2009-06-18 10:32:08 EDT
(In reply to comment #18)
> > why not ship in 7z format?
> Wouldn't that require all users to have 7z unzip software installed? And
> presumably 7z handles long paths in .zip files correctly, so if everyone has 7z
> installed there is no problem with us using .zip files.

Isn't it better to require an user to install 7z instead of having them *unknowingly* install a buggy distribution?

At the very least mention the issue in the README file shipped with the distribution :S

And stop closing this, there is an issue, and it will be reported to you until you provide a solution, if not by me by other users.

I also suggest mentioning the problem in: readme/readme_eclipse.html#Known Issues


Comment 20 Remy Suen CLA 2009-06-18 10:34:59 EDT
At the moment, it _is_ mentioned on the website. It is on the right hand side in the 'Installing Eclipse' section in the 'Known Issues' link. It's a little out of the way but I guess that's a website problem.
http://www.eclipse.org/downloads/
Comment 21 Dominique LORRE CLA 2009-06-18 10:38:09 EDT
Alright I stand corrected. Including this in the installation archive would help tremendously.
Comment 22 Eclipse Webmaster CLA 2019-09-06 16:14:23 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.