[bitbake-devel] Problem using Subversion in Pyro

Alan Levy alan.levy at plextek.com
Thu May 18 14:22:56 UTC 2017


If I run the following script under Pyro:


DESCRIPTION = "Recipe to test SVN"

PACKAGE_ARCH = "${MACHINE_ARCH}"

LICENSE = "CLOSED"

PV = "${SRCPV}"

SRCREV = "${AUTOREV}"

SRC_URI = "svn://server/path;module=my_module"

I get the following error message (names have been changed...)


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)}<mailto:$%7b at bb.fetch2.get_srcrev(d)%7d> 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-linux/usr/bin:/home/user/project/yocto/poky/scripts:/home/user/project/yocto/build/tmp/work/picozed_zynq7-poky-linux-gnueabi/my-recipe/fetcheravoidrecurse-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi:/home/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-gnueabi/my-recipe/fetcheravoidrecurse-r0/recipe-sysroot-native/usr/sbin:/home/user/project/yocto/build/tmp/work/picozed_zynq7-poky-linux-gnueabi/my-recipe/fetcheravoidrecurse-r0/recipe-sysroot-native/usr/bin:/home/user/project/yocto/build/tmp/work/picozed_zynq7-poky-linux-gnueabi/my-recipe/fetcheravoidrecurse-r0/recipe-sysroot-native/sbin:/home/user/project/yocto/build/tmp/work/picozed_zynq7-poky-linux-gnueabi/my-recipe/fetcheravoidrecurse-r0/recipe-sysroot-native/bin:/home/user/project/yocto/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

If I comment out the line containing SRCPV, all is well. Digging into the code it appears that svn is missing from ${HOSTTOOLS} in bitbake.conf.
ALAN LEVY
Lead Consultant, Embedded Systems

Tel > +44 (0) 1799 533200
Email > alan.levy at plextek.com

[http://www.plextek.com/wp-content/uploads/Footer-AlanLevy.jpg]<http://www.plextek.com/technicalpaper/an-introduction-to-yocto/>
[http://www.plextek.com/wp-content/uploads/2016/04/Plextek-LOGO-for-email.jpg]<http://www.plextek.com/>

www.plextek.com<http://www.plextek.com/>
The Plextek Building, London Road, Great Chesterford, Saffron Walden, CB10 1NY, UK

Plextek is the trading name of Plextek Services Ltd. Registered in England and Wales, no. 09826669


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20170518/488d1a4d/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 28068 bytes
Desc: image001.jpg
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20170518/488d1a4d/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 8152 bytes
Desc: image002.jpg
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20170518/488d1a4d/attachment-0005.jpg>


More information about the bitbake-devel mailing list