[MDEV-3047] LP:943736 - support-files/Makefile.am includes scripts both in pkgsupp_DATA and pkgsupp_SCRIPTS Created: 2012-03-01  Updated: 2014-06-20  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Peter Stuge (Inactive) Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug943736.xml     Text File LPexportBug943736_16000_all_mariadb_fix_duplicate_install.patch    

 Description   

All MariaDB versions since revision 2643.50.1 (but maybe earlier) which use autotools as build system (currently this is the 5.1, 5.2 and 5.3 trees) include the mysql-log-rotate and binary-configure scripts in both the pkgsupp_DATA and the pkgsupp_SCRIPTS variables in support-files/Makefile.am.

The two files are scripts, so they shouldn't be included in pkgsupp_DATA. The automake documentation mentions that the DATA variables are meant for architecture-independent data files, while the SCRIPTS variables are meant for executable scripts.

Without the attached patch, the scripts are installed twice on make install.

http://bazaar.launchpad.net/~maria-captains/maria/5.2/revision/2643.50.1 is various changes by Monty for creation of the official binary builds, including some mention of compatibility symlinks placed in the original location of (presumably) these files.

Hopefully the scripts to create official builds can be adjusted so that the duplication in pkgsupp_DATA and pkgsupp_SCRIPTS is no longer neccessary.



 Comments   
Comment by Peter Stuge (Inactive) [ 2012-03-01 ]

Re: support-files/Makefile.am includes scripts both in pkgsupp_DATA and pkgsupp_SCRIPTS

Comment by Peter Stuge (Inactive) [ 2012-03-01 ]

Patch from Gentoo Linux mysql-extras-20110819-0415Z which removes the mysql-log-rotate and binary-configure scripts from pkgsupp_DATA
LPexportBug943736_16000_all_mariadb_fix_duplicate_install.patch

Comment by Sergei Golubchik [ 2012-03-21 ]

Re: support-files/Makefile.am includes scripts both in pkgsupp_DATA and pkgsupp_SCRIPTS
fixed in 5.5

Comment by Rasmus Johansson (Inactive) [ 2012-03-21 ]

Launchpad bug id: 943736

Generated at Thu Feb 08 06:45:57 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.