Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
Qt Creator 3.1.0-rc1
-
None
-
Windows 7 64bit using MSYS2 package msys/tar 1.27.1-1
Description
It seems that the rc1 source tarball is packaged with symlinks appearing before targets they point at, which causes the following errors on extraction on systems (e.g. MSYS2) that implement symlink-via-copy:
tar: qt-creator-opensource-src-3.1.0-rc1/tests/cppmodelmanager/testdata/frameworks/My.framework/Frameworks: Cannot create symlink to ‘Versions/A/Frameworks’: No such file or directory
tar: qt-creator-opensource-src-3.1.0-rc1/tests/cppmodelmanager/testdata/frameworks/My.framework/Headers: Cannot create symlink to ‘Versions/A/Headers’: No such file or directory
tar: qt-creator-opensource-src-3.1.0-rc1/tests/cppmodelmanager/testdata/frameworks/My.framework/Versions/A/Frameworks/Nested.framework/Headers: Cannot create symlink to ‘Versions/Current/Headers’: No such file or directory
.. would it be possible to either forgo symlinks (using -h when creating the tar) or else sorting the inputs to tar such that symlinks are packaged after non-symlinks so that this condition is avoided? .. Though this doesn't address symlinks to symlinks that don't exist, still it would catch the most common problem I think.
Attachments
Issue Links
- relates to
-
QTBUG-42960 Symlinks inside "tar.xz" source archives
- Closed