[yocto] bitbake check out from svn

2012-09-20 Thread Tarek El-Sherbiny
I'm writing a recipe to checkout files from local svn. Here is my URI:

SRC_URI =
"svn://svn.ad-group.adh/svn/dev_repos/Generation3_app;module=trunk;protocol=http"

bitbake fails to fetch the source from this location and gives the bellow
error message.

Looks like bitbake is not replacing svn with http hence it's not querying a
correct address.

Why bitbake is not reading the protocol parameter and construct the
correct address?


NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 1577 of 2240 (ID: 4,
/home/telsherbiny/work/fsl/sources/meta-adh-console/recipes-web/web-browser/
web-browser_8.5.bb, do_fetch)
NOTE: package web-browser-8.5-r1: task do_fetch: Started
ERROR: Function failed: Fetcher failure: Fetch command export
HOME="/home/telsherbiny"; export SSH_AGENT_PID="2398"; export
SSH_AUTH_SOCK="/tmp/keyring-suRHPa/ssh"; export
GIT_CONFIG="/home/telsherbiny/work/fsl/build/tmp/sysroots/i686-linux/etc/gitconfig";
export
PATH="/home/telsherbiny/work/fsl/build/tmp/sysroots/i686-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi:/home/telsherbiny/work/fsl/build/tmp/sysroots/imx6qsabrelite/usr/bin/crossscripts:/home/telsherbiny/work/fsl/build/tmp/sysroots/i686-linux/usr/sbin:/home/telsherbiny/work/fsl/build/tmp/sysroots/i686-linux/usr/bin:/home/telsherbiny/work/fsl/build/tmp/sysroots/i686-linux/sbin:/home/telsherbiny/work/fsl/build/tmp/sysroots/i686-linux//bin:/home/telsherbiny/work/fsl/sources/poky/scripts:/home/telsherbiny/work/fsl/sources/poky/bitbake/bin/:/home/telsherbiny/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/openocd/bin:/opt/arm-elf/bin:/opt/arm-elf-insight/bin:/opt/sh-elf/bin:/opt/insight.sh-elf/bin:/usr/local/cwSDK/cwvx/bin:/opt/arm-elf-insight/bin:/opt/android-sdk-linux_x86/platform-tools/:/home/telsherbiny/work/fsl/sources/poky/scripts";
LANG=C LC_ALL=C /usr/bin/env svn info
 svn://svn.ad-group.adh/svn/dev_repos/Generation3_app/trunk/ could not be
run:
None
ERROR: Logfile of failure stored in:
/home/telsherbiny/work/fsl/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/web-browser-8.5-r1/temp/log.do_fetch.14696


Thanks
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] bitbake check out from svn

2012-09-20 Thread Cliff Brake
On Thu, Sep 20, 2012 at 8:26 AM, Tarek El-Sherbiny <
tarek.elsherb...@gmail.com> wrote:

> I'm writing a recipe to checkout files from local svn. Here is my URI:
>
> SRC_URI =
> "svn://svn.ad-group.adh/svn/dev_repos/Generation3_app;module=trunk;protocol=http"
>

Are you trying to fetch from the tip of the trunk?  In this case, you may
need something like:

SRCREV = "${AUTOREV}"
PV = "1.0+svnr${SRCPV}"
PR = "r6"

SRC_URI = "svn://;module=monitor4;proto=https"

Cliff

-- 
=
http://bec-systems.com
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] bitbake check out from svn

2012-09-20 Thread Tarek El-Sherbiny
Yes, I'm trying to fetch from tip. and yes I've got all the parameters
you mentioned.
The strange thing, bitbake is recognizing the Last Changed Rev: 78205 but
not doing the actual checkout!

NOTE: package web-browser-1.0+svnr*78205*-r6: task do_fetch: Started
WARNING: Failed to fetch URL
svn://svn.ad-group.adh/svn/dev_repos/Generation3_app;module=trunk;proto=http
..
...

/bin:/opt/sh-elf/bin:/opt/insight.sh-elf/bin:/usr/local/cwSDK/cwvx/bin:/opt/arm-elf-insight/bin:/opt/android-sdk-linux_x86/platform-tools/:/home/telsherbiny/work/fsl/sources/poky/scripts:/home/telsherbiny/work/fsl/sources/poky/scripts:/home/telsherbiny/work/fsl/sources/poky/scripts:/home/telsherbiny/work/fsl/sources/poky/scripts";
/usr/bin/env svn update -r *78205* could not be run:
None
ERROR: Function failed: Fetcher failure for URL:
'svn://svn.ad-group.adh/svn/dev_repos/Generation3_app;module=trunk;proto=http'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:
/home/telsherbiny/work/fsl/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/web-browser-1.0+svnr78205-r6/temp/log.do_fetch.19552
NOTE: package web-browser-1.0+svnr*78205*-r6: task do_fetch: Failed



On Thu, Sep 20, 2012 at 3:15 PM, Cliff Brake  wrote:

> On Thu, Sep 20, 2012 at 8:26 AM, Tarek El-Sherbiny <
> tarek.elsherb...@gmail.com> wrote:
>
>> I'm writing a recipe to checkout files from local svn. Here is my URI:
>>
>> SRC_URI =
>> "svn://svn.ad-group.adh/svn/dev_repos/Generation3_app;module=trunk;protocol=http"
>>
>
> Are you trying to fetch from the tip of the trunk?  In this case, you may
> need something like:
>
> SRCREV = "${AUTOREV}"
> PV = "1.0+svnr${SRCPV}"
> PR = "r6"
>
> SRC_URI = "svn://;module=monitor4;proto=https"
>
> Cliff
>
> --
> =
> http://bec-systems.com
>
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto