>>> Preparing source in /var/tmp/portage/app-misc/gnote-3.18.1/work/gnote-3.18.1 ... * Applying gnote-3.18.2-x11-support-switch.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/app-misc/gnote-3.18.1/work/gnote-3.18.1' ... * Running glib-gettextize --copy --force ... [ ok ] * Running intltoolize --automake --copy --force ... [ ok ] * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I m4 ... [ !! ] * Failed Running aclocal ! * * Include in your bugreport the contents of: * * /var/tmp/portage/app-misc/gnote-3.18.1/temp/aclocal.out * ERROR: app-misc/gnote-3.18.1::gentoo failed (prepare phase): * Failed Running aclocal ! ***** aclocal ***** ***** PWD: /var/tmp/portage/app-misc/gnote-3.18.1/work/gnote-3.18.1 ***** aclocal -I m4 m4/glib-gettext.m4:39: error: m4_copy: won't overwrite defined macro: glib_DEFUN m4/glib-gettext.m4:39: the top level autom4te-2.69: /usr/bin/m4 failed with exit status: 1 aclocal-1.15: error: echo failed with exit status: 1 Looks like bug 580302. In that case per https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c13b5e88c6e9c7bd2698d844cb5ed127ed809f7e the fix is to nuke the shipped m4/glib-gettext.m4 prior to running eautoreconf: # Prevent m4_copy error when running aclocal # m4_copy: won't overwrite defined macro: glib_DEFUN rm m4/glib-gettext.m4 || die This seems to work fine here.
I can confirm that glib-gettext.m4 fixes this.
*** Bug 577246 has been marked as a duplicate of this bug. ***
Any news? gnote-3.18.1 still does not compile.
Fixed in git without a revision bump. Sorry for the long wait! https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f8551642b77435b0b2580e90ade514d328c2120