Build fails if automake is not installed: >>> Preparing source in /var/tmp/portage/dev-libs/nettle-2.7.1-r1/work/nettle-2.7.1 ... * Applying nettle-2.7-shared.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-libs/nettle-2.7.1-r1/work/nettle-2.7.1' ... * ERROR: dev-libs/nettle-2.7.1-r1::gentoo failed (prepare phase): * Cannot find the latest automake! Tried 1.13:1.13 1.14:1.14 Also r1 does not install docs anymore, these files are missing: /usr/share/doc/nettle-2.7.1/AUTHORS /usr/share/doc/nettle-2.7.1/ChangeLog.bz2 /usr/share/doc/nettle-2.7.1/NEWS.bz2 /usr/share/doc/nettle-2.7.1/README.bz2 /usr/share/doc/nettle-2.7.1/TODO.bz2 This is typical mistake during migration to multilib: 'default' was removed from scr_install and nothing installs docs.
I think ebuild should set AUTOTOOLS_AUTORECONF=yes before inheritting autotools-* eclass and drop the manual eautoreconf to get deps added and also manually call einstalldocs at the install phase defined by ebuild
(In reply to Pacho Ramos from comment #1) > I think ebuild should set AUTOTOOLS_AUTORECONF=yes before inheritting > autotools-* eclass and drop the manual eautoreconf to get deps added and I do not think this is the problem the dependencies should have been added anyway. But added anyway as we use the autotools-utils. > also manually call einstalldocs at the install phase defined by ebuild done. nettle-2.7.1-r2
> I do not think this is the problem the dependencies should have been added anyway. But added anyway as we use the autotools-utils. automake is optional in eclasses because it is not required when you use existing './configure' and do not run eautoreconf.
(In reply to Nikoli from comment #3) > > I do not think this is the problem the dependencies should have been added anyway. > But added anyway as we use the autotools-utils. > > automake is optional in eclasses because it is not required when you use > existing './configure' and do not run eautoreconf. autotools eclass pulls them all, please paste output of: $ equery list automake $ equery depgraph nettle
automake is not installed in my systems because i run 'emerge --depclean --with-bdeps=n -qa'. $ equery list automake * Searching for automake ... !!! No installed packages matching 'automake' $ equery depgraph nettle * Searching for nettle ... * dependency graph for dev-libs/nettle-1.15 `-- dev-libs/nettle-1.15 amd64 `-- dev-libs/gmp-5.1.3-r1 (dev-libs/gmp) amd64 `-- dev-libs/openssl-1.0.1j (dev-libs/openssl) amd64 `-- sys-devel/automake-1.13.4 (>=sys-devel/automake-1.13) amd64 `-- sys-devel/automake-9999 (>=sys-devel/automake-1.14) [missing keyword] `-- sys-devel/autoconf-2.69 (>=sys-devel/autoconf-2.69) amd64 `-- sys-devel/libtool-2.4.2-r1 (>=sys-devel/libtool-2.4) amd64 [ dev-libs/nettle-1.15 stats: packages (7), max depth (1) ] * dependency graph for dev-libs/nettle-2.7.1 `-- dev-libs/nettle-2.7.1 amd64 `-- dev-libs/gmp-5.1.3-r1 (dev-libs/gmp) amd64 `-- sys-devel/automake-1.13.4 (>=sys-devel/automake-1.13) amd64 `-- sys-devel/automake-1.14.1 (>=sys-devel/automake-1.14) [~amd64 keyword] `-- sys-devel/autoconf-2.69 (>=sys-devel/autoconf-2.69) amd64 `-- sys-devel/libtool-2.4.2-r1 (>=sys-devel/libtool-2.4) amd64 [ dev-libs/nettle-2.7.1 stats: packages (6), max depth (1) ] * dependency graph for dev-libs/nettle-2.7.1-r1 `-- dev-libs/nettle-2.7.1-r1 amd64 `-- dev-libs/gmp-5.1.3-r1 (dev-libs/gmp) amd64 [ dev-libs/nettle-2.7.1-r1 stats: packages (2), max depth (1) ]
r2 is fine: $ equery depgraph =dev-libs/nettle-2.7.1-r2: * Searching for nettle2.7.1-r2 in dev-libs ... * dependency graph for dev-libs/nettle-2.7.1-r2 `-- dev-libs/nettle-2.7.1-r2 ~amd64 `-- dev-libs/gmp-5.1.3-r1 (dev-libs/gmp) amd64 `-- sys-devel/automake-1.13.4 (>=sys-devel/automake-1.13) amd64 `-- sys-devel/automake-1.14.1 (>=sys-devel/automake-1.14) [~amd64 keyword] `-- sys-devel/autoconf-2.69 (>=sys-devel/autoconf-2.69) amd64 `-- sys-devel/libtool-2.4.2-r1 (>=sys-devel/libtool-2.4) amd64 [ dev-libs/nettle-2.7.1-r2 stats: packages (6), max depth (1) ]