There is a line of code that always evaluates to die on Mac OS X in the ebuild. >>> Install tk-8.5.9 into /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image/Library/Gentoo/ category dev-lang make -j9 DESTDIR=/Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image/ install Making directory /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image//Library/Gentoo/usr/lib Making directory /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image//Library/Gentoo/usr/include Making directory /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image//Library/Gentoo/usr/lib/tk8.5/demos Making directory /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image//Library/Gentoo/usr/share/man Making directory /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image//Library/Gentoo/usr/bin Making directory /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image//Library/Gentoo/usr/lib/tk8.5/demos/images Making directory /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image//Library/Gentoo/usr/lib/tk8.5/images Making directory /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image//Library/Gentoo/usr/share/man/man1 Making directory /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image//Library/Gentoo/usr/lib/tk8.5/msgs Making directory /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image//Library/Gentoo/usr/share/man/man3 Installing demos to /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image//Library/Gentoo/usr/lib/tk8.5/demos/ Creating package index /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image//Library/Gentoo/usr/lib/tk8.5/pkgIndex.tcl Making directory /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image//Library/Gentoo/usr/lib/tk8.5/ttk Making directory /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image//Library/Gentoo/usr/share/man/mann Installing and cross-linking top-level (.1) docs Installing libtk8.5.dylib to /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image//Library/Gentoo/usr/lib/ Installing header files Installing and cross-linking C API (.3) docs Installing wish as /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image//Library/Gentoo/usr/bin/wish8.5 Installing tkConfig.sh to /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image//Library/Gentoo/usr/lib/ Installing libtkstub8.5.a to /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image//Library/Gentoo/usr/lib/ Installing library files to /Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/image//Library/Gentoo/usr/lib/tk8.5 Installing demo images Installing library ttk directory Installing library images directory Installing translation directory Installing and cross-linking command (.n) docs * ERROR: dev-lang/tk-8.5.9 failed: * (no error message) * * Call stack: * ebuild.sh, line 62: Called src_install * environment, line 2930: Called die * The specific snippet of code: * [[ ${CHOST} != *-darwin* ]] && sed -i -e "s,^\(TK_CC_SEARCH_FLAGS='.*\)',\1:${EPREFIX}/usr/${mylibdir}'," -e "s,^\(TK_LD_SEARCH_FLAGS='.*\)',\1:${EPREFIX}/usr/${mylibdir}'," "${ED}"/usr/${mylibdir}/tkConfig.sh || die; * * If you need support, post the output of 'emerge --info =dev-lang/tk-8.5.9', * the complete build log and the output of 'emerge -pqv =dev-lang/tk-8.5.9'. * The complete build log is located at '/Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/temp/build.log'. * The ebuild environment file is located at '/Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/temp/environment'. * S: '/Library/Gentoo/var/tmp/portage/dev-lang/tk-8.5.9/work/tk8.5.9' I will attach my fixed ebuild in a comment. Reproducible: Always
Created attachment 256514 [details] tk-8.5.9.ebuild Fixed ebuild.
+ 07 Dec 2010; Justin Lecher <jlec@gentoo.org> tk-8.5.8-r1.ebuild, + tk-8.5.9.ebuild: + Corrected logic on die, thanks Guilherme Amadio for the patch #347929 +
*** Bug 348026 has been marked as a duplicate of this bug. ***