Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 467464 - app-office/dia-0.97.2-r1 fails due to AM_CONFIG_HEADER obsolete error
Summary: app-office/dia-0.97.2-r1 fails due to AM_CONFIG_HEADER obsolete error
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNOME Office (OBSOLETE)
Keywords: Inclusion, PATCH
: 467590 (view as bug list)
Depends on:
Blocks: automake-1.13
  Show dependency tree
Reported: 2013-04-27 09:35 UTC by Lee Trager
Modified: 2013-09-22 11:22 UTC (History)
3 users (show)

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

Patch to use the new AC_CONFIG_HEADERS function (dia-0.97.2-automake-fix.patch,346 bytes, patch)
2013-04-27 15:01 UTC, Jan Bessai
Details | Diff
Apply patch in ebuild (file_467464.txt,460 bytes, text/plain)
2013-04-27 15:02 UTC, Jan Bessai

Note You need to log in before you can comment on or make changes to this bug.
Description Lee Trager 2013-04-27 09:35:34 UTC
***** aclocal *****
***** PWD: /var/tmp/portage/app-office/dia-0.97.2-r1/work/dia-0.97.2
***** aclocal

aclocal-1.13: warning: autoconf input should be named '', not 'conf\' 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

Reproducible: Always
Comment 1 Jan Bessai 2013-04-27 15:01:31 UTC
Created attachment 346700 [details, diff]
Patch to use the new AC_CONFIG_HEADERS function
Comment 2 Jan Bessai 2013-04-27 15:02:02 UTC
Created attachment 346702 [details]
Apply patch in ebuild
Comment 3 Lee Trager 2013-04-30 08:22:48 UTC
Adding this will also fix it

# AM_CONFIG_HEADER is obsolete and causes build failure with
# >=sys-devel/automake-1.13.1
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-08 14:11:55 UTC
*** Bug 467590 has been marked as a duplicate of this bug. ***
Comment 5 Peter Asplund 2013-05-17 20:30:56 UTC
Works great for me.
Comment 6 Pacho Ramos gentoo-dev 2013-09-22 11:22:43 UTC
+*dia-0.97.2-r2 (22 Sep 2013)
+  22 Sep 2013; Pacho Ramos <> +dia-0.97.2-r2.ebuild,
+  +files/dia-0.97.2-glib2.36.patch,
+  +files/dia-0.97.2-implicit-declaration.patch:
+  Migrate to new python eclasses, improve desktop file translations, drop
+  unneeded libgnome* deps, let it compile with latest automake, don't mess with
+  localedir, fix glib-2.36 compat, apply upstream patch to fix some warnings.