Here's the error, this ebuild is needed for a glsa fix (and it's actually what glsa-check -f new does):
Putting files in AC_CONFIG_AUX_DIR, `build'.
* Running aclocal on openldap-2.1.30
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
aclocal:configure.in:2311: warning: macro `AM_TYPE_PTRDIFF_T' not found in library
build/openldap.m4:66: error: m4_defn: undefined macro: _m4_divert_diversion
build/openldap.m4:66: the top level
autom4te-2.60: /usr/bin/m4 failed with exit status: 1
aclocal-1.9: autom4te failed with exit status: 1
!!! ERROR: net-nds/openldap-2.2.28-r5 failed.
ebuild.sh, line 1546: Called dyn_unpack
ebuild.sh, line 708: Called src_unpack
openldap-2.2.28-r5.ebuild, line 181: Called die
!!! aclocal failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
jokey/strerror: looks like openldap-2.1 in there needs an older autoconf, please investigate
Robin: That's why I introduced the automake fix patch ;)
Andrea: Please retry with -r6
-r6 worked. thanks.
nice then :)