Top-level make fails in UDF autoreconf with Automake 1.13

Bug #1244110 reported by Laurynas Biveinis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Invalid
Undecided
Unassigned
5.1
Fix Released
High
Laurynas Biveinis
5.5
Invalid
Undecided
Unassigned
5.6
Invalid
Undecided
Unassigned

Bug Description

With Automake 1.13 (which is the default version on e.g. Ubuntu 13.10), top-level Make results in:

...
cd "Percona-Server-5.1.72-rel14.10"/UDF && autoreconf --install
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
automake: warnings are treated as errors
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libfnv1a_udf.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
src/Makefile.am:1: while processing Libtool library 'libfnv1a_udf.la'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libfnv_udf.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
src/Makefile.am:1: while processing Libtool library 'libfnv_udf.la'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libmurmur_udf.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
src/Makefile.am:1: while processing Libtool library 'libmurmur_udf.la'
autoreconf: automake failed with exit status: 1
make: *** [maatkit-udf] Error 1

http://jenkins.percona.com/job/percona-server-5.1-trunk/723/BUILD_TYPE=release,Host=ubuntu-saucy-64bit/console

This issue is already prevented (or fixed) in 5.5 and 5.6 trees, where configure.ac has extra line
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])

(Just adding AM_PROG_AR will not work, as this macro is undefined in earlier Automake versions).

We should add this to 5.1 too. There are other ways to fix this (disable Automake -Werror or -Wextra-portability), but probably the best idea is to backport the 5.5/5.6 fix.

Related branches

tags: added: ci low-hanging-fruit
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-3054

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.