[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: |
|
| 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 |
| Comment by Sergei Golubchik [ 2012-03-21 ] |
|
Re: support-files/Makefile.am includes scripts both in pkgsupp_DATA and pkgsupp_SCRIPTS |
| Comment by Rasmus Johansson (Inactive) [ 2012-03-21 ] |
|
Launchpad bug id: 943736 |