There is a wrong directory name in the freecad-0.13.1830.ebuild file. Emerging freecad result is: >>> '/var/tmp/portage/media-gfx/freecad-0.13.1830/temp/build.log' * Messages for package media-gfx/freecad-0.13.1830: * ERROR: media-gfx/freecad-0.13.1830 failed (prepare phase): * The source directory '/var/tmp/portage/media-gfx/freecad-0.13.1830/work/FreeCAD-0.13.1830' doesn't exist * * Call stack: * ebuild.sh, line 720: Called __ebuild_main 'prepare' * phase-functions.sh, line 942: Called __dyn_prepare * phase-functions.sh, line 367: Called die * The specific snippet of code: * die "The source directory '${S}' doesn't exist" * * If you need support, post the output of `emerge --info '=media-gfx/freecad-0.13.1830'`, * the complete build log and the output of `emerge -pqv '=media-gfx/freecad-0.13.1830'`. * The complete build log is located at '/var/tmp/portage/media-gfx/freecad-0.13.1830/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/freecad-0.13.1830/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/freecad-0.13.1830' * S: '/var/tmp/portage/media-gfx/freecad-0.13.1830/work/FreeCAD-0.13.1830' The directory .../work/FreeCAD-0.13.1830 it is not right. The right directory is .../work/freecad-0.13.1830 Reproducible: Always Steps to Reproduce: 1.emerge freecad 2. 3.
Please attach the entire build log to this bug report.
Never mind! Confirmed. --- freecad-0.13.1830.ebuild 27 Apr 2013 22:49:15 -0000 1.1 +++ freecad-0.13.1830.ebuild 8 May 2013 13:51:37 -0000 @@ -43,8 +43,6 @@ # http://www.gentoo.org/foundation/en/minutes/2011/20110220_trustees.meeting_log.txt RESTRICT="bindist mirror" -S="${WORKDIR}/FreeCAD-${PV}" - pkg_setup() { fortran-2_pkg_setup python_set_active_version 2
+ 09 May 2013; Michael Weber <xmw@gentoo.org> freecad-0.13.1830.ebuild: + Fix S (thanks Alessio De Marchi, bug 469064) + I'm working on this ebuild today, please give me two days.