Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 467244

Summary: net-libs/webkit-gtk-1.8.3-r201 with sys-devel/automake-1.13.1 - configure.ac:114: error: 'AM_PROG_CC_STDC': this macro is obsolete.
Product: Gentoo Linux Reporter: parafin <help>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: bugs, jarausch, jlec, manschwetus, rbachl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 451744    
Attachments: aclocal.out
Patched ebuild

Description parafin 2013-04-25 17:43:11 UTC
Contents of /var/tmp/portage/net-libs/webkit-gtk-1.8.3-r201/temp/aclocal.out:
***** aclocal *****
***** PWD: /var/tmp/portage/net-libs/webkit-gtk-1.8.3-r201/work/webkit-1.8.3
***** aclocal -I Source/autotools

/usr/share/aclocal/gtkglextmm-1.2.m4:225: warning: underquoted definition of AC_GTKGLEXTMM_SUPPORTS_MULTIHEAD
/usr/share/aclocal/gtkglextmm-1.2.m4:225:   run info Automake 'Extending aclocal'
/usr/share/aclocal/gtkglextmm-1.2.m4:225:   or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
configure.ac:114: error: 'AM_PROG_CC_STDC': this macro is obsolete.
    You should simply use the 'AC_PROG_CC' macro instead.
    Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
    but upon 'ac_cv_prog_cc_stdc'.
/usr/share/aclocal-1.13/obsolete-err.m4:17: AM_PROG_CC_STDC is expanded from...
configure.ac:114: the top level
autom4te-2.69: /usr/bin/m4 failed with exit status: 1
aclocal-1.13: error: echo failed with exit status: 1
Comment 1 Lee Trager 2013-04-27 09:30:54 UTC
Its effecting webkit-gtk-1.8.3-r300 as well

***** aclocal *****
***** PWD: /var/tmp/portage/net-libs/webkit-gtk-1.8.3-r300/work/webkit-1.8.3
***** aclocal -I Source/autotools

configure.ac:114: error: 'AM_PROG_CC_STDC': this macro is obsolete.
    You should simply use the 'AC_PROG_CC' macro instead.
    Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
    but upon 'ac_cv_prog_cc_stdc'.
/usr/share/aclocal-1.13/obsolete-err.m4:17: AM_PROG_CC_STDC is expanded from...
configure.ac:114: the top level
autom4te-2.69: /usr/bin/m4 failed with exit status: 1
aclocal-1.13: error: echo failed with exit status: 1
Comment 2 rainer 2013-04-28 11:53:28 UTC
Same error here, it is blocking emerge of other packages depending on webkit-gtk
Comment 3 Boney McCracker 2013-04-30 05:16:57 UTC
Created attachment 346942 [details]
aclocal.out
Comment 4 Lee Trager 2013-04-30 08:15:18 UTC
Created attachment 346956 [details]
Patched ebuild

# AM_PROG_CC_STDC is obsolete and causes build failure with                 
# >=sys-devel/automake-1.13.1                                               
sed -i -e 's/AM_PROG_CC_STDC/AM_PROG_CC/g' aclocal.m4 || die
sed -i -e '/AM_PROG_CC_STDC/d' configure.ac || die
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2013-04-30 16:56:05 UTC
+  30 Apr 2013; Justin Lecher <jlec@gentoo.org> webkit-gtk-1.10.2-r300.ebuild,
+  metadata.xml:
+  Add compatibility for sys-devel/automake-1.13.1, #467244, thanks Lee Trager
+  for the patch
+