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

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.9.0
    • Remote Linux
    • None
    • Linux/X11
    • 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

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

        Activity

          People

            kandeler Christian Kandeler
            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