Issue735

Title autogen source produces deprecated message
Priority bug Status postponed
Assigned To Keywords
Linked issues Watchers

Submitted on 2014-04-19 02h31 by digifuzzy, last changed by digifuzzy.

Messages
Author: digifuzzy Date: 2014-04-19   02h31
Building FDRPG sources produces the following error message:
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:20: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use
is discouraged.
configure.ac:20: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro
instead,
configure.ac:20: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am
files.

google search for 'AM_PROG_MKDIR_P' found the web page:
http://www.gnu.org/software/automake/manual/html_node/Obsolete-Macros.html

Page describes how this macro was obsolete and was to be replaced w/
'AC_PROG_MKDIR_P'. Also, the page mentions occurrances of obsolete macro's
output variable $(mkdir_p) was to be replaced with MKDIR_P.

A review of clean sources found no references to obsolete macro but several
instances of $(mkdir_p)
po/po-src/Rules-others
33:   $(mkdir_p) $$dir; \
68:   $(mkdir_p) tx; \
103:  $(mkdir_p) tx; \
133:  $(mkdir_p) tx; \

po/po-dialogs/Rules-others
33:   $(mkdir_p) $$dir; \
70:   $(mkdir_p) tx; \
109:  $(mkdir_p) tx; \
145:  $(mkdir_p) tx; \

po/po-data/Rules-others
33:   $(mkdir_p) $$dir; \
70:   $(mkdir_p) tx; \
109:  $(mkdir_p) tx; \
145:  $(mkdir_p) tx; \

po/Makefile.am
64:   $(mkdir_p) tx; \

These files are all under control of the Translation team.
Author: jesusalva Date: 2014-05-14   23h40
As long as it don't affect on older autoreconf.
ie. On my autoreconf this is not obsolete. Ubuntu 12.04 LTS. :P
Author: matthiaskrgr Date: 2014-06-06   10h20
Jesusalva, can "make clean", and replace instances of AM_PROG_MKDIR_P with
AC_PROG_MKDIR_P
and MKDIR_P with mkdir_p  and see if you are still able to build with this old
version of ubuntu?
Author: matthiaskrgr Date: 2014-06-06   10h20
*can you
Author: digifuzzy Date: 2014-06-07   13h23
I had tried what you had suggested earlier. No change in output.

Problem is that there is an assignment to "mkdir_p" in the autoconfig file.
Author: jesusalva Date: 2014-06-26   22h23
Ok.
Wait... I didn't knew that gedit could see some errors like AC_PROG_MKDIR_P 
case! COOL!

So, back to build thing...
./autogen.sh ; ./configure -q ; make -s
[BLAH]
autogen.sh ran successfully.
[BLAH]
configure ran successfully.
[BLAH BLAH]
make ran sucefully.
atlas regenerated.
Author: digifuzzy Date: 2014-12-30   02h22
After RR2138 and building autotools, I believe this error may be related to
deprecation in a macro used in configure.ac. Which macro may contain the
deprecation is unknown at this time.
Author: digifuzzy Date: 2014-12-30   19h06
We know the issue - deprecated autotools macros.
Updates of intl.m4 and po.m4 will fix.

When OS's update, this problem will go away.
Author: digifuzzy Date: 2014-12-30   19h06
See RR 2144
History
Date User Action Args
2014-12-30 19:06:46digifuzzysetmessages: + msg3019
2014-12-30 19:06:29digifuzzysetstatus: open -> postponed
messages: + msg3018
2014-12-30 02:22:32digifuzzysetmessages: + msg3015
2014-06-26 22:23:01jesusalvasetmessages: + msg2823
2014-06-07 13:23:52digifuzzysetmessages: + msg2803
2014-06-06 10:20:44matthiaskrgrsetmessages: + msg2799
2014-06-06 10:20:30matthiaskrgrsetmessages: + msg2798
2014-05-14 23:40:27jesusalvasetmessages: + msg2779
2014-04-19 02:31:29digifuzzycreate