[MDEV-14986] WITHOUT_SERVER installs server-only files Created: 2018-01-18  Updated: 2018-01-23  Resolved: 2018-01-23

Status: Closed
Project: MariaDB Server
Component/s: Compiling
Affects Version/s: 10.0.33, 10.1.30, 10.2.12, 10.3.4
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: Bernard Spil Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Environment:

FreeBSD 11.1 amd64


Issue Links:
Duplicate
duplicates MDEV-11790 WITHOUT_SERVER installs server-only f... Closed

 Description   

When cmake is invoked with `-DWITHOUT_SERVER=1` it will install files that are not useful for a client installation. This includes binaries, scripts, man-pages and other files. Some seems to be test-suite related.

Installed files that are server-only:

  • bin/mysql_convert_table_format
  • bin/mysql_install_db
  • bin/mysql_plugin
  • bin/mysql_secure_installation
  • bin/mysql_upgrade
  • bin/mysqld_safe_helper
  • bin/mysqlhotcopy
  • bin/mysqltest
  • man/man1/galera_new_cluster.1.gz
  • man/man1/galera_recovery.1.gz
  • man/man1/innochecksum.1.gz
  • man/man1/mariadb-service-convert.1.gz
  • man/man1/my_safe_process.1.gz
  • man/man1/mysql.server.1.gz
  • man/man1/mysql_client_test.1.gz
  • man/man1/mysql_client_test_embedded.1.gz
  • man/man1/mysql_convert_table_format.1.gz
  • man/man1/mysql_fix_extensions.1.gz
  • man/man1/mysql_install_db.1.gz
  • man/man1/mysql_secure_installation.1.gz
  • man/man1/mysqld_multi.1.gz
  • man/man1/mysqld_safe.1.gz
  • man/man1/mysqld_safe_helper.1.gz
  • man/man1/mysqlhotcopy.1.gz
  • man/man1/mysqltest.1.gz
  • man/man1/mysqltest_embedded.1.gz
  • man/man1/resolve_stack_dump.1.gz
  • share/mysql/wsrep.cnf
  • share/mysql/wsrep_notify
  • local/share/mysql/binary-configure
  • local/share/mysql/fill_help_tables.sql
  • local/share/mysql/magic
  • local/share/mysql/maria_add_gis_sp.sql
  • local/share/mysql/maria_add_gis_sp_bootstrap.sql
  • local/share/mysql/mysql-log-rotate
  • local/share/mysql/mysql.server
  • local/share/mysql/mysql_performance_tables.sql
  • local/share/mysql/mysql_system_tables.sql
  • local/share/mysql/mysql_system_tables_data.sql
  • local/share/mysql/mysql_test_data_timezone.sql
  • local/share/mysql/mysql_to_mariadb.sql
  • local/share/mysql/mysqld_multi.server
  • local/share/mysql/wsrep.cnf
  • local/share/mysql/wsrep_notify

The cmake scripts need to be fixed to not install these files when WITHOUT_SERVER is defined.



 Comments   
Comment by Elena Stepanova [ 2018-01-23 ]

We already have a similar report, MDEV-11790. Since it's older, I suggest to keep it and close this one as a duplicate. I've added there the list of files.

Generated at Thu Feb 08 08:17:50 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.