Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399423 - net-mail/fetchmail-6.3.21 installation failure
Summary: net-mail/fetchmail-6.3.21 installation failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-19 20:24 UTC by Charles G Waldman
Modified: 2013-01-04 07:48 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 Charles G Waldman 2012-01-19 20:24:42 UTC
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.
Comment 1 Eray Aslan gentoo-dev 2012-01-20 07:54:34 UTC
Upgrade your automake.  If that doesn't fix your problem, please attach emerge --info output and full build log.  Thank you.
Comment 2 Eray Aslan gentoo-dev 2012-01-21 16:48:00 UTC
Probably related to bug 396585.  You might want to try with automake-1.11.1.
Comment 3 Charles G Waldman 2012-01-21 17:13:48 UTC
Fetchmail build succeeds with automake-1.l1.1, fails with automake-1.11.2-r1.
Comment 4 Eray Aslan gentoo-dev 2013-01-04 07:48:19 UTC
Closing as python guys seems to have taken care of it.  Please reopen if you still have a problem.