Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531522 - dev-libs/nettle-2.7.1-r1 has missing sys-devel/automake DEPEND, docs are not installed anymore
Summary: dev-libs/nettle-2.7.1-r1 has missing sys-devel/automake DEPEND, docs are not ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-03 10:55 UTC by Nikoli
Modified: 2014-12-03 12:23 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2014-12-03 10:55:24 UTC
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.
Comment 1 Pacho Ramos gentoo-dev 2014-12-03 11:07:21 UTC
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
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2014-12-03 11:17:54 UTC
(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
Comment 3 Nikoli 2014-12-03 11:30:59 UTC
> 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.
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2014-12-03 11:36:21 UTC
(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
Comment 5 Nikoli 2014-12-03 11:55:46 UTC
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) ]
Comment 6 Nikoli 2014-12-03 12:23:49 UTC
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) ]