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

The Create tarball deploy step does not correctly tar files that have a target path longer than 100 characters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.9.2, Qt Creator 4.10.0-rc1
    • Fix Version/s: Qt Creator 4.10.0
    • Component/s: Remote Linux
    • Labels:
      None
    • Environment:
      Mint Linux 19.1
    • Platform/s:
      Linux/X11
    • Commits:
      1f4176275ebf05de8024ff38cde781f22d135faf (qt-creator/qt-creator/4.10)

      Description

      While creating the tarball, if the target path is longer than 100 characters, it is broken up into two fileds of the tar header: fileName and fileNamePrefix.

      Unfortunately it is broken up incorrectly and the effect is that a file with the target path

      "opt/RTTS/backend/RTTSServiceApplication/tracks/Zandvoort_overlayTrack-hd_3C0A7364-5429-41D3-A3B9-A51E78CDC703.png"

      will be tared as

      "opt/RTTS/back/end/RTTSServiceApplication/tracks/Zandvoort_overlayTrack-hd_3C0A7364-5429-41D3-A3B9-A51E78CDC703.png"

      Note the additional '/' between "back" and "end"

        Attachments

        For Gerrit Dashboard: QTCREATORBUG-22815
        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              kandeler Christian Kandeler
              Reporter:
              mr_wilk Bartosz Juja
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes