Wind River Support Network

HomeDefectsLIN6-11394
Fixed

LIN6-11394 : Problem using gitsm:// fetcher on packages with sub-modules

Created: May 31, 2016    Updated: Dec 3, 2018
Resolved Date: Jun 13, 2016
Found In Version: 6.0.0.29
Fix Version: 6.0.0.30
Severity: Standard
Applicable for: Wind River Linux 6
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 '/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