Wind River Support Network

HomeDefectsLIN7-6360
Fixed

LIN7-6360 : CLONE - Problem using gitsm:// fetcher on packages with sub-modules

Created: Jun 1, 2016    Updated: Sep 8, 2018
Resolved Date: Jun 12, 2016
Previous ID: LIN6-11395
Found In Version: 7.0.0.15
Fix Version: 7.0.0.17
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace

Description

Trying to build a package from git that has sub-modules brought from third-party git fails.

This bug has been fixed upstream https://bugzilla.yoctoproject.org/show_bug.cgi?id=7771

Steps to Reproduce

1. make import-package - package type - New Empty Project
package name: "google-api-python-client"
import

This adds the layer so you don't have to create a new project.

2. Replace the content of the google-api-python-client_1.0.bb from layers/local/recipes-local/google-api-python-client.bb with

###

SUMMARY = "Google API Client Library for Python"
DESCRIPTION = "The Google API Client for Python is a client library for accessing the Plus, Moderator, and many other Google APIs."
HOMEPAGE = "http://google.github.io/google-api-python-client/"
SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=69288519d6bfb758121ede64d27585ce"

SRC_URI = "gitsm://github.com/google/google-api-python-client.git "


S = "${WORKDIR}/git"

SRCREV = "62af5a96988404207da9fc0e4aff2f6cefcb26c2"
PR = "r0"

inherit setuptools
include python-package-split.inc

############


and run make -C build google-api-python-client

3. Observe results: "cp: cannot stat '/media/alex/HDD/6_29/bitbake_build/downloads/git2/github.com.google.google-api-python-client.git/modules': No such file or directory" . This message is the same as the one in the yocto defect.


Other Downloads


Live chat
Online