Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 467330 - net-dialup/lrzsz-0.12.20-r3 with automake 1.13 - error: 'AM_CONFIG_HEADER': this macro is obsolete.
Summary: net-dialup/lrzsz-0.12.20-r3 with automake 1.13 - error: 'AM_C...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Dialup Developers
Depends on:
Blocks: automake-1.13
  Show dependency tree
Reported: 2013-04-26 11:07 UTC by Shunsuke Shimizu
Modified: 2013-04-26 15:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

the patch to replace old macro (lrzsz-0.12.20-automake-1.12.patch,454 bytes, text/plain)
2013-04-26 11:07 UTC, Shunsuke Shimizu

Note You need to log in before you can comment on or make changes to this bug.
Description Shunsuke Shimizu 2013-04-26 11:07:57 UTC
Created attachment 346632 [details]
the patch to replace old macro

lrzsz-0.12.20 uses obsolete AM_CONFIG_HEADER macro, which is removed in automake 1.13.

Here is aclocal.out.
***** aclocal *****
***** PWD: /var/tmp/portage/net-dialup/lrzsz-0.12.20-r3/work/lrzsz-0.12.20
***** aclocal

aclocal-1.13: warning: autoconf input should be named '', not ''
acinclude.m4:2: warning: underquoted definition of AC_REPLACE_GNU_GETOPT
acinclude.m4:2:   run info Automake 'Extending aclocal'
acinclude.m4:2:   or see error: 'AM_CONFIG_HEADER': this macro is obsolete.
    You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from... the top level
autom4te-2.69: /usr/bin/m4 failed with exit status: 1
aclocal-1.13: error: echo failed with exit status: 1

Appling attached patch fixed problem. I suppose the patch can be merged with existing lrzsz-0.12.20-automake-2.12.patch. BTW, automake-2.12 is probably a typo of automake-1.12, I guess.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-26 15:30:46 UTC
Fixed without a revision bump. Thanks for reporting!
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-26 15:34:44 UTC
Actually, I'll use your patch instead of the sed script.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-26 15:37:15 UTC
I also renamed the older automake-1.12 patch to avoid confusion. Thanks for the patch! :)