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.
I also just noticed that it requires libtool also, which isn't pulled in. Should I create another bug report for that?
Hi Dakota, I'll test and look into this asap, no need to create another bug for libtool for now thanks.
most likely the ebuild needs to set AUTOTOOLS_AUTORECONF=yes before inherting the autotools-utils eclass
(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 !