Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing rsync by default #11219

Closed
LecrisUT opened this issue Mar 14, 2024 · 3 comments
Closed

Installing rsync by default #11219

LecrisUT opened this issue Mar 14, 2024 · 3 comments

Comments

@LecrisUT
Copy link

LecrisUT commented Mar 14, 2024

What's the problem this feature will solve?

On manual build.commands we only have cp we can use, but for the most part, rsync is more robust and for those familiar can be safer w.r.t. creating the correct path structure. It can even eliminate mkdir -p commands

Describe the solution you'd like

Install rsync by default on the supported os images

Alternative solutions

I have tried to install rsync manually, but as you can see here, that doesn't help 🤔

@stsewd
Copy link
Member

stsewd commented Mar 14, 2024

Hi, we won't be installing packages by default anymore, since projects have different requirements.

I have tried to install rsync manually, but as you can see here, that doesn't help 🤔

See #9599.

You may be able to install rsync by downloading the binary https://rsync.samba.org/download.html.

@stsewd stsewd closed this as not planned Won't fix, can't repro, duplicate, stale Mar 14, 2024
@ssbarnea
Copy link

ssbarnea commented Aug 20, 2024

This should be reopened, especially as @stsewd suggestion would not work. I tried it myself.

Any attempt to download and install the binary will fail because it will not have access to required system libraries, rsync is not really a portable executable.

rsync: error while loading shared libraries: libpopt.so.0: cannot open shared object file: No such file or directory

I had to do really ugly commands to attemp to install it and still failed:

    - curl -o /tmp/rsync.tar.gz https://download.samba.org/pub/rsync/binaries/ubuntu-22.04-x86_64/rsync-3.2.7.tar.gz
    - tar -vxzf /tmp/rsync.tar.gz -C /tmp
    # Copy executable in the first directory in path, which happens to be writable on RTD
    - mkdir -p ${PATH%%:*}
    - cp /tmp/usr/local/bin/rsync ${PATH%%:*}/
    - type rsync

Reading RsyncProject/rsync#72 would also uncover some interesting bits.

@stsewd
Copy link
Member

stsewd commented Aug 20, 2024

@ssbarnea please subscribe to #9599. As we won't pre-install rsync by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants