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

Deployment with rsync fails with "This rsync lacks old-style --compress due to its external zlib"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.9.0
    • Component/s: Remote Linux
    • Labels:
      None
    • Environment:
    • Platform/s:
      Linux/X11
    • Commits:
      7e0c17eb3797977cdb6debddcbec43704d1fb7fc (qt-creator/qt-creator/4.9)

      Description

      Deploying a project to remote Linux machine using rsync fails with the message:

      rsync: This rsync lacks old-style --compress due to its external zlib. Try -zz

      I'm using Linux Mint 19.1. Rsync shows the version 3.1.2.

       

      As a workaround, I have created a small shell script named "rsync" which modifies the arguments passed to rsync. Prepending the directory where this script lives to the PATH environment variable makes Qt execute the script instead the original rsync program.

      The script looks like this:

      #!/bin/bash
      /usr/bin/rsync "$1" "$2" "${3//-avz/-avzz}" "$4" "$5"

        Attachments

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

          Activity

            People

            • Assignee:
              kandeler Christian Kandeler
              Reporter:
              k-h.sch Karl-Heinz Schneider
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes