Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469064 - media-gfx-freecad-0.13 - src_prepare(): The source directory '[...]/work/FreeCAD-0.13.1830' doesn't exist
Summary: media-gfx-freecad-0.13 - src_prepare(): The source directory '[...]/work/Free...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-05-08 13:35 UTC by Alessio De Marchi
Modified: 2013-05-09 08:37 UTC (History)
0 users

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 Alessio De Marchi 2013-05-08 13:35:58 UTC
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.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-08 13:50:49 UTC
Please attach the entire build log to this bug report.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-08 13:52:12 UTC
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
Comment 3 Michael Weber (RETIRED) gentoo-dev 2013-05-09 08:37:15 UTC
+  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.