Details
Description
When building with -DWITH_WSREP=OFF -DPLUGIN_WSREP_INFO=NO, I am still finding many wsrep-related files installed in the INSTALLDIR. Specifically:
usr/include/mysql/server/mysql/service_wsrep.h
|
usr/include/mysql/server/private/wsrep*.h
|
usr/share/mysql/wsrep_notify
|
usr/share/doc/README-wsrep
|
usr/share/man/man1/wsrep_sst_rsync_wan.1
|
usr/share/man/man1/wsrep_sst_mariabackup.1
|
usr/share/man/man1/wsrep_sst_mysqldump.1
|
usr/share/man/man1/wsrep_sst_rsync.1
|
usr/share/man/man1/wsrep_sst_common.1
|
Whether or not the includes files should be installed I don't know, and the SQL in wsrep_notify and the README-wsrep could also be argued. But, certainly the man pages should not be installed as the tools are not built or installed.
I would suggest that none of these should be installed, and that the build configurtion should turn them all off if -DWITH_WSREP=OFF.
Attachments
Issue Links
- causes
-
MDEV-30344 MTR tests fail when built without WSREP
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Attachment | mariadb_MDEV-23230.patch [ 53017 ] |
Affects Version/s | 10.5.5 [ 24423 ] |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] |
Assignee | Julius Goryavsky [ sysprg ] |
Affects Version/s | 10.5.8 [ 25023 ] |
Workflow | MariaDB v3 [ 111423 ] | MariaDB v4 [ 142114 ] |
Assignee | Julius Goryavsky [ sysprg ] | Daniel Black [ danblack ] |
Attachment | mariadb_MDEV-23230-1.patch [ 66882 ] |
Affects Version/s | 10.5.16 [ 27508 ] |
Fix Version/s | 10.4 [ 22408 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Daniel Black [ danblack ] | Andrew Hutchings [ JIRAUSER52179 ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Affects Version/s | 10.6.11 [ 28441 ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Fix Version/s | 10.5.20 [ 28512 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Fix Version/s | 10.5.19 [ 28511 ] | |
Fix Version/s | 10.5.20 [ 28512 ] |
Fix Version/s | 10.6.12 [ 28513 ] | |
Fix Version/s | 10.7.8 [ 28515 ] | |
Fix Version/s | 10.8.7 [ 28517 ] | |
Fix Version/s | 10.9.5 [ 28519 ] | |
Fix Version/s | 10.10.3 [ 28521 ] | |
Fix Version/s | 10.11.2 [ 28523 ] |
Link |
This issue causes |
The following patch will prevent installation of the man pages and support/doc files. Removing the headers would be a little more complicated, and I'm not 100% sure those aren't something some users might want even when building without wsrep. Insight would be appreciated, I can figure out how to prevent those as well.
This is a quick patch, style may not be what you want, but it accomplishes my goal.