[MDEV-23027] symlink_wsrep_sst_rsync target built when WITH_WSREP is off Created: 2020-06-26 Updated: 2020-07-16 Resolved: 2020-07-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling, Configuration, Galera, Scripts & Clients |
| Affects Version/s: | 10.4.13 |
| Fix Version/s: | 10.1.46, 10.2.33, 10.3.24, 10.4.14, 10.5.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Chris Ross | Assignee: | Vicențiu Ciorbaru |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux |
||
| Attachments: |
|
| Description |
|
I am configuring with numerous options including -DWITH_WSREP=OFF -DPLUGIN_WSREP_INFO=NO. But, after cmake generates the build framework, I see the following as the last item in a build:
Additionally, after this, looking in scripts shows:
I think this shouldn't be built at all, and I think it's doing something wrong. (symlink to non-existent file) Why is there a block related to wsrep_sst_rsync_wan/symlink_wsrep_sst_rsync starting at line 336 in scripts/CMakeLists.txt, but the majority of the WSREP scripts are back at line 276 protected inside of a
? |
| Comments |
| Comment by Chris Ross [ 2020-07-09 ] | ||||||||||||||
|
Attempting the same in 10.5.4, I see fewer scripts installed, but the same issue exists. I do see the invalid symlink and all of the man pages for WSREP are getting installed. Configuring with -DWITH_WSREP=OFF -DPLUGIN_WSREP_INFO=NO, I still see the following in install_manifest.txt
And, that mentioned link points to a non-existent file
| ||||||||||||||
| Comment by Chris Ross [ 2020-07-10 ] | ||||||||||||||
|
I attached the patches I used to avoid the extraneous files for 10.4.13 and 10.5.4. Likely not the cleanest way to do it, but just FYI. | ||||||||||||||
| Comment by Vicențiu Ciorbaru [ 2020-07-13 ] | ||||||||||||||
|
Fixed with: cross Thanks for the patch, it made it faster to track the problem, although I didn't quite use your version. | ||||||||||||||
| Comment by Chris Ross [ 2020-07-13 ] | ||||||||||||||
|
cvicentiu You're welcome. I thought there might be cleaner solutions, yours looks great. Thanks for the quick response! |