[yocto] Problem using Subversion in Pyro
Alan Levy
alan.levy at plextek.com
Thu May 18 07:24:06 PDT 2017
OK, done that now. Thanks for your assistance
Alan
ALAN LEVY, Lead Consultant, Embedded Systems
Plextek Consulting, The Plextek Building, London Road, Great Chesterford, Saffron Walden, CB10 1NY, UK
T: +44 (0) 1799 533200 E: alan.levy at plextek.com W: www.plextek.com
-----Original Message-----
From: Alexander Kanavin [mailto:alexander.kanavin at linux.intel.com]
Sent: 18 May 2017 15:12
To: Alan Levy; yocto at yoctoproject.org
Subject: Re: [yocto] Problem using Subversion in Pyro
On 05/18/2017 05:02 PM, Alan Levy wrote:
> Here it is, certain names have been changed to protect the guilty. As
> you can see at the bottom svn isn't on the path, so bitbake blows up
> when it tries to evaluate SRCPV:
>
> ERROR: ExpansionError during parsing <path>/my_recipe.bb
> | ETA: 0:00:01 Traceback (most recent call last):
> bb.data_smart.ExpansionError: Failure expanding variable SRCPV,
> expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception
> FetchError: Fetcher failure: Fetch command export
> DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-ykmscGFFM1"; export
> SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export
> PATH="/home/user/project/yocto/build/tmp/sysroots-uninative/x86_64-lin
> ux/usr/bin:/home/user/project/yocto/poky/scripts:/home/user/project/yo
> cto/build/tmp/work/picozed_zynq7-poky-linux-gnueabi/my-recipe/fetchera
> voidrecurse-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi:/h
> ome/user/project/yocto/build/tmp/work/picozed_zynq7-poky-linux-gnueabi
> /my-recipe/fetcheravoidrecurse-r0/recipe-sysroot/usr/bin/crossscripts:
> /home/user/project/yocto/build/tmp/work/picozed_zynq7-poky-linux-gnuea
> bi/my-recipe/fetcheravoidrecurse-r0/recipe-sysroot-native/usr/sbin:/ho
> me/user/project/yocto/build/tmp/work/picozed_zynq7-poky-linux-gnueabi/
> my-recipe/fetcheravoidrecurse-r0/recipe-sysroot-native/usr/bin:/home/u
> ser/project/yocto/build/tmp/work/picozed_zynq7-poky-linux-gnueabi/my-r
> ecipe/fetcheravoidrecurse-r0/recipe-sysroot-native/sbin:/home/user/pro
> ject/yocto/build/tmp/work/picozed_zynq7-poky-linux-gnueabi/my-recipe/f
> etcheravoidrecurse-r0/recipe-sysroot-native/bin:/home/user/project/yoc
> to/poky/bitbake/bin:/home/user/project/yocto/build/tmp/hosttools";
> export HOME="/home/user"; LANG=C LC_ALL=C /usr/bin/env svn
> --non-interactive --trust-server-cert log --limit 1 --no-auth-cache !
> http://server/path/my_module/ failed with exit code 127, output:
> /usr/bin/env: 'svn': No such file or directory
>
Right. This seems to happen way before the fetch task and so does require host svn, I guess you'll need to take it to bitbake mailing list. It works for git because we are using host's git for the same purpose.
Alex
More information about the yocto
mailing list