Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 728530 - dev-util/spirv-tools-2020.3 : src_prepare(): The source directory '.../work/SPIRV-Tools-v2020.3' doesn't exist
Summary: dev-util/spirv-tools-2020.3 : src_prepare(): The source directory '.../work/S...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PATCH
: 728538 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-06-17 06:29 UTC by Andrew Udvare
Modified: 2020-06-17 07:57 UTC (History)
2 users (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 Andrew Udvare 2020-06-17 06:29:54 UTC
There's no v prefix in the output directory. Otherwise, the ebuild works.

diff --git a/dev-util/spirv-tools/spirv-tools-2020.3.ebuild b/dev-util/spirv-tools/spirv-tools-2020.3.ebuild
index f212aae098..30114a505b 100644
--- a/dev-util/spirv-tools/spirv-tools-2020.3.ebuild
+++ b/dev-util/spirv-tools/spirv-tools-2020.3.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == *9999* ]]; then
        EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git"
        inherit git-r3
 else
-       SNAPSHOT_COMMIT="v${PV}"
+       SNAPSHOT_COMMIT="${PV}"
        SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/${SNAPSHOT_COMMIT}.tar.gz -> ${P}.tar.gz"
        KEYWORDS="amd64 ~ppc64 x86"
        S="${WORKDIR}"/${MY_PN}-${SNAPSHOT_COMMIT}
Comment 1 Joonas Niilola gentoo-dev 2020-06-17 07:48:01 UTC
*** Bug 728538 has been marked as a duplicate of this bug. ***
Comment 2 Larry the Git Cow gentoo-dev 2020-06-17 07:57:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcb4eae00cae5c01aa1fec2fbd681ff19ff75018

commit bcb4eae00cae5c01aa1fec2fbd681ff19ff75018
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2020-06-17 07:56:46 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-06-17 07:56:46 +0000

    dev-util/spirv-tools: fix build-breakage, #728530
    
     - non-maintainer commit to fix "The source directory '${S}' doesn't exist".
    
    Closes: https://bugs.gentoo.org/728530
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-util/spirv-tools/spirv-tools-2020.3.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)