Bug 8720 - GITSM do_unpack is trying to copy from /modules which does not exists in project cloned.
Summary: GITSM do_unpack is trying to copy from /modules which does not exists in proj...
Status: VERIFIED NOTABUG
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium major
Target Milestone: 2.1
Assignee: aravind valluri
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-11-24 07:07 UTC by aravind valluri
Modified: 2016-02-17 02:59 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aravind valluri 2015-11-24 07:07:02 UTC
While unpacking gitsm is looking for modules in project which has just been cloned. but project doesn't have any such directory causing the below failure.

see line 134 in file

https://github.com/openembedded/bitbake/blob/master/lib/bb/fetch2/gitsm.py


7-oracle/bin:/usr/lib/jvm/java-7-oracle/db/bin:/usr/lib/jvm/java-7-oracle/jre/bin:/opt/dell/srvadmin/bin"; export HOME="/home/xaraval"; cp -r /home/xaraval/Embedded_Testing/DL_DIR/git2/gerritforge.lmera.*****.se.29418.com-main/modules /home/xaraval/MIM_TOOL/build30/tmp/work/x86_64-poky-linux/com/1.0-r26/git//.git/ 
| DEBUG: Python function base_do_unpack finished 
| DEBUG: Python function do_unpack finished 
| ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 1, output: 
| cp: cannot stat '/home/xaraval/Embedded_Testing/DL_DIR/git2/gerritforge.lmera.*****.se.29418.com-main/modules': No such file or directory
Comment 1 Richard Purdie 2015-11-26 15:22:20 UTC
So how do we reproduce this error? Is there an example SRC_URI which fails?
Comment 2 aravind valluri 2015-12-24 16:41:31 UTC
Perform a clean before run
Checked the comment in gitsm.py
Comment 3 Bogdan Alexandru Voiculescu 2016-01-12 07:46:02 UTC
Verified per above comments and no answers from the reporter.