Attempting to install fetchmail-6.3.21, package builds but installation fails, seems to be an issue with am__py_complile not being defined. The Makefile has $(am__py_compile) --destdir "$(DESTDIR)" \ --basedir "$(pythondir)" $$dlist; \ and the error I'm seeing is * /bin/sh: line 15: --destdir: command not found Changing "am__py_compile" to "py_compile" in the Makefile makes the problem go away. Reproducible: Always Steps to Reproduce: 1. emerge fetchmail Actual Results: /usr/bin/install -c -m 644 'fetchmailconf.man' '/var/tmp/portage/net-mail/fetchmail-6.3.21/image//usr/share/man/man1/fetchmailconf.1' test -z "/usr/lib64/python2.7/site-packages" || /bin/mkdir -p "/var/tmp/portage/net-mail/fetchmail-6.3.21/image//usr/lib64/python2.7/site-packages" /usr/bin/install -c -m 644 fetchmailconf.py '/var/tmp/portage/net-mail/fetchmail-6.3.21/image//usr/lib64/python2.7/site-packages' /bin/sh: line 15: --destdir: command not found make[3]: *** [install-pythonPYTHON] Error 127 make[3]: Leaving directory `/var/tmp/portage/net-mail/fetchmail-6.3.21/work/fetchmail-6.3.21' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-mail/fetchmail-6.3.21/work/fetchmail-6.3.21' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-mail/fetchmail-6.3.21/work/fetchmail-6.3.21' make: *** [install] Error 2 emake failed * ERROR: net-mail/fetchmail-6.3.21 failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 85: Called src_install * environment, line 5349: Called die * The specific snippet of code: * emake DESTDIR="${D}" install || die; * * If you need support, post the output of 'emerge --info =net-mail/fetchmail-6.3.21', * the complete build log and the output of 'emerge -pqv =net-mail/fetchmail-6.3.21'. * The complete build log is located at '/var/tmp/portage/net-mail/fetchmail-6.3.21/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-mail/fetchmail-6.3.21/temp/environment'. * S: '/var/tmp/portage/net-mail/fetchmail-6.3.21/work/fetchmail-6.3.21' * QA Notice: command not found: * * /bin/sh: line 15: --destdir: command not found Expected Results: Complete installation of fetchmail I'm filing this as "Major" since there's no other version of fetchmail in Portage.
Upgrade your automake. If that doesn't fix your problem, please attach emerge --info output and full build log. Thank you.
Probably related to bug 396585. You might want to try with automake-1.11.1.
Fetchmail build succeeds with automake-1.l1.1, fails with automake-1.11.2-r1.
Closing as python guys seems to have taken care of it. Please reopen if you still have a problem.