[yocto] linux-yocto-custom error on do_validate_branches()

Carlo Caione carlo.caione at gmail.com
Sun Sep 8 12:19:21 PDT 2013


Hi,
to build the v3.8.13 kernel I'm using the linux-yocto-custom recipe as
following:

---------------------------------------------
inherit kernel
require recipes-kernel/linux/linux-yocto.inc

SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;nocheckout=1"
SRC_URI += "file://defconfig"
SRC_URI += "file://0001-kernel-rskrza1_rzlspv0.patch"

LINUX_VERSION ?= "3.8.13"
LINUX_VERSION_EXTENSION ?= "-custom"

SRCREV="dbf932a9b316d5b29b3e220e5a30e7a165ad2992"

PR = "r1"
PV = "${LINUX_VERSION}+git${SRCPV}"

COMPATIBLE_MACHINE = "rsr972"
------------------------------------------------

the problem is that bitbake returns an error:

------------------------------------------------
ERROR: Function failed: do_validate_branches (see
/home/carlo/work/RSR/yocto/build/tmp/work/rsr972-poky-linux-gnueabi/linux-yocto-custom/3.8.13+gitAUTOINC+dbf932a9b316d5b29b3e220e5a30e7a165ad2992-r1/temp/log.do_validate_branches.7939
for further information)
ERROR: Logfile of failure stored in:
/home/carlo/work/RSR/yocto/build/tmp/work/rsr972-poky-linux-gnueabi/linux-yocto-custom/3.8.13+gitAUTOINC+dbf932a9b316d5b29b3e220e5a30e7a165ad2992-r1/temp/log.do_validate_branches.7939
Log data follows:
| DEBUG: Executing shell function do_validate_branches
| error: no such commit dbf932a9b316d5b29b3e220e5a30e7a165ad2992
| usage: git branch [options] [-r | -a] [--merged | --no-merged]
|    or: git branch [options] [-l] [-f] <branchname> [<start-point>]
|    or: git branch [options] [-r] (-d | -D) <branchname>...
|    or: git branch [options] (-m | -M) [<oldbranch>] <newbranch>
|
| Generic options
|     -v, --verbose         show hash and subject, give twice for
upstream branch
|     -t, --track           set up tracking mode (see git-pull(1))
|     --set-upstream        change upstream info
|     --color[=<when>]      use colored output
|     -r, --remotes         act on remote-tracking branches
|     --contains <commit>   print only branches that contain the commit
|     --abbrev[=<n>]        use <n> digits to display SHA-1s
|
| Specific git-branch actions:
|     -a, --all             list both remote-tracking and local branches
|     -d, --delete          delete fully merged branch
|     -D                    delete branch (even if not merged)
|     -m, --move            move/rename a branch and its reflog
|     -M                    move/rename a branch, even if target exists
|     --list                list branch names
|     -l, --create-reflog   create the branch's reflog
|     --edit-description    edit the description for the branch
|     -f, --force           force creation (when already exists)
|     --no-merged <commit>  print only not merged branches
|     --merged <commit>     print only merged branches
|
| ERROR: SRCREV was set to "dbf932a9b316d5b29b3e220e5a30e7a165ad2992",
but no branches
|        contain this commit
| ERROR: Function failed: do_validate_branches (see
/home/carlo/work/RSR/yocto/build/tmp/work/rsr972-poky-linux-gnueabi/linux-yocto-custom/3.8.13+gitAUTOINC+dbf932a9b316d5b29b3e220e5a30e7a165ad2992-r1/temp/log.do_validate_branches.7939
for further information)
ERROR: Task 0 (/home/carlo/work/RSR/yocto/meta-renesas/meta-rsr972/recipes-kernel/linux/linux-yocto-custom.bb,
do_validate_branches) failed with exit code '1'
-------------------------------

Actally the SHA is valid since using the Linus repo I have

~/work/linux-stable(branch:master) » git branch --contains
dbf932a9b316d5b29b3e220e5a30e7a165ad2992
  linux-3.8.y

what's the problem with the recipe?

Thank you,

--
Carlo Caione



More information about the yocto mailing list