Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407811 - app-admin/rsyslog missing automake dependency
Summary: app-admin/rsyslog missing automake dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-11 16:05 UTC by robinetd
Modified: 2012-05-31 16:51 UTC (History)
1 user (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 robinetd 2012-03-11 16:05:06 UTC
While following the handbook, I opted to install rsyslog instead of syslog-ng and was hit with a dependency error on automake.

Reproducible: Always

Steps to Reproduce:
1. install new system in chroot
2. emerge rsyslog
3.
Actual Results:  
>>> Emerging (1 of 1) app-admin/rsyslog-5.8.5
 * rsyslog-5.8.5.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                           [ ok ]
>>> Unpacking source...
>>> Unpacking rsyslog-5.8.5.tar.gz to /var/tmp/portage/app-admin/rsyslog-5.8.5/work
>>> Source unpacked in /var/tmp/portage/app-admin/rsyslog-5.8.5/work
>>> Preparing source in /var/tmp/portage/app-admin/rsyslog-5.8.5/work/rsyslog-5.8.5 ...
 * Running eautoreconf in '/var/tmp/portage/app-admin/rsyslog-5.8.5/work/rsyslog-5.8.5' ...
 * ERROR: app-admin/rsyslog-5.8.5 failed (prepare phase):
 *   Cannot find the latest automake! Tried 1.11
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 2789:  Called eautoreconf
 *   environment, line  819:  Called eaclocal
 *   environment, line  737:  Called eaclocal_amflags
 *   environment, line  745:  Called autotools_env_setup
 *   environment, line  524:  Called die
 * The specific snippet of code:
 *           [[ ${WANT_AUTOMAKE} == "latest" ]] && die "Cannot find the latest automake! Tried ${_LATEST_AUTOMAKE}";
 * 
 * If you need support, post the output of 'emerge --info =app-admin/rsyslog-5.8.5',
 * the complete build log and the output of 'emerge -pqv =app-admin/rsyslog-5.8.5'.
 * The complete build log is located at '/var/tmp/portage/app-admin/rsyslog-5.8.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/rsyslog-5.8.5/temp/environment'.
 * S: '/var/tmp/portage/app-admin/rsyslog-5.8.5/work/rsyslog-5.8.5'


Expected Results:  
Portage should've been told that it requires automake to build and pull it in.
Comment 1 robinetd 2012-03-11 16:12:00 UTC
I also just noticed that it requires libtool also, which isn't pulled in. Should I create another bug report for that?
Comment 2 Ultrabug gentoo-dev 2012-05-23 08:21:32 UTC
Hi Dakota, I'll test and look into this asap, no need to create another bug for libtool for now thanks.
Comment 3 SpanKY gentoo-dev 2012-05-30 22:03:05 UTC
most likely the ebuild needs to set AUTOTOOLS_AUTORECONF=yes before inherting the autotools-utils eclass
Comment 4 Ultrabug gentoo-dev 2012-05-31 16:51:14 UTC
(In reply to comment #3)
> most likely the ebuild needs to set AUTOTOOLS_AUTORECONF=yes before
> inherting the autotools-utils eclass

Indeed thank you vapier, also mgorny lead me to use autotools-utils_src_prepare as well.

So this is it :

+  31 May 2012; Ultrabug <ultrabug@gentoo.org> rsyslog-5.8.11.ebuild,
+  rsyslog-5.8.5.ebuild, rsyslog-5.8.8.ebuild:
+  Fix autotools-utils usage wrt #407811 thanks to vapier and mgorny.
+

Thank you everyone !