Issue 471 in protobuf: automake-1.12 warning "archiver requires 'AM_PROG_AR' in 'configure.ac'"

830 views
Skip to first unread message

prot...@googlecode.com

unread,
Mar 1, 2013, 12:07:44 PM3/1/13
to prot...@googlegroups.com
Status: New
Owner: liu...@google.com
Labels: Type-Defect Priority-Medium

New issue 471 by dim...@gmail.com: automake-1.12 warning "archiver
requires 'AM_PROG_AR' in 'configure.ac'"
http://code.google.com/p/protobuf/issues/detail?id=471

What steps will reproduce the problem?
1. svn up
2. ./autogen.sh
3.

What is the expected output? What do you see instead?
expected: no warnings

rcv:
[...]/usr/share/automake-1.12/am/ltlibrary.am:
warning: 'libprotobuf-lite.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR'
in 'configure.ac'
src/Makefile.am:90: while processing Libtool library 'libprotobuf-lite.la'
/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libprotobuf.la':
linking libtool libraries using a non-POSIX
/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR'
in 'configure.ac'
src/Makefile.am:90: while processing Libtool library 'libprotobuf.la'
/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libprotoc.la': linking
libtool libraries using a non-POSIX
/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR'
in 'configure.ac'
src/Makefile.am:90: while processing Libtool library 'libprotoc.la'
src/Makefile.am: installing './depcomp'
[...]


What version of the product are you using? On what operating system?
Fedora 18, automake-1.12, protobuf-trunk rev.489

Please provide any additional information below.


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

prot...@googlecode.com

unread,
Mar 1, 2013, 12:26:29 PM3/1/13
to prot...@googlegroups.com

Comment #1 on issue 471 by dim...@gmail.com: automake-1.12
warning "archiver requires 'AM_PROG_AR' in 'configure.ac'"
http://code.google.com/p/protobuf/issues/detail?id=471

$ svn diff
Index: configure.ac
===================================================================
--- configure.ac (revision 489)
+++ configure.ac (working copy)
@@ -46,6 +46,7 @@
AC_PROG_CXX
AC_LANG([C++])
ACX_USE_SYSTEM_EXTENSIONS
+AM_PROG_AR
AM_CONDITIONAL(GCC, test "$GCC" = yes) # let the Makefile know if we're
gcc

# test_util.cc takes forever to compile with GCC and optimization turned
on.

prot...@googlecode.com

unread,
Aug 4, 2014, 2:50:41 PM8/4/14
to prot...@googlegroups.com
Updates:
Status: Started
Owner: jie...@google.com
Labels: FixedIn-2.6.0

Comment #2 on issue 471 by jie...@google.com: automake-1.12
warning "archiver requires 'AM_PROG_AR' in 'configure.ac'"
http://code.google.com/p/protobuf/issues/detail?id=471

(No comment was entered for this change.)

prot...@googlecode.com

unread,
Aug 5, 2014, 5:26:03 PM8/5/14
to prot...@googlegroups.com
Updates:
Status: WontFix

Comment #3 on issue 471 by jie...@google.com: automake-1.12
warning "archiver requires 'AM_PROG_AR' in 'configure.ac'"
http://code.google.com/p/protobuf/issues/detail?id=471

If add AM_PROG_AR, mingw reports "error: possibly undefined macro:
AM_PROG_AR" (mingw, autoreconf-2.68)

The warning reported by automake-1.12 do not affect tests nor install, will
not fix it.
Reply all
Reply to author
Forward
0 new messages