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
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.