Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-12045

Symlink issues with qt-creator-opensource-src-3.1.0-rc1.tar.gz on MSYS2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 3.1.0-rc1
    • Installer
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              con Eike Ziller
              raydonnelly Ray Donnelly
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes