Skip to content

Version inconsistent #720

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

Open
diedpigs opened this issue Jan 21, 2025 · 2 comments
Open

Version inconsistent #720

diedpigs opened this issue Jan 21, 2025 · 2 comments

Comments

@diedpigs
Copy link

Hi,

I recently tried to install rsync 3.4.1 from tarball rsync-3.4.1.tar.gz.
After installation was completed, I found the version print from command is confusing.

$ rsync --version
rsync  version 3.3.0-12-g5510255f  protocol version 32

It looks like version.h and git-version.h are generated with different versions:

$ cat git-version.h
#define RSYNC_GITVER "v3.3.0-12-g5510255f"

$ cat version.h
#define RSYNC_VERSION "3.4.1"
#define MAINTAINER_TZ_OFFSET -7.0

Steps I used to install rsync 3.4.1:

wget https://download.samba.org/pub/rsync/src/rsync-3.4.1.tar.gz
tar zxvf rsync-3.4.1.tar.gz
cd rsync-3.4.1
./prepare-source fetchgen
./configure --prefix=/share/apps/rsync/3.4.1 
make && make install

I have tried tarballs from the following two links:

@carenas
Copy link
Contributor

carenas commented Jan 23, 2025

./prepare-source fetchgen

if this step is skipped, does that "fix" the problem in your setup?

@diedpigs
Copy link
Author

diedpigs commented Feb 4, 2025

Hi,

Sorry for taking so long to reply.

Yes, if I skip the ./prepare-source fetchgen step, it will show the version correctly.

$ rsync  
version 3.4.1  protocol version 32

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

2 participants