Hello,

I am using the "git://" fetcher with the "protocol=http" to fetch the files from
the internal sw-stash repo. The problem is that in the directory pointed by the 
S variable
no files from the repo are unpacked, which lead to a "No such file or 
directory" error on the
compilation step:

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ERROR: Function failed: do_compile (log file is located at 
/home/filip/YOCTO_DISK/tmp/vybrid/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/user-draw/0.0-r0/temp/log.do_compile.20053)
ERROR: Logfile of failure stored in: 
/home/filip/YOCTO_DISK/tmp/vybrid/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/user-draw/0.0-r0/temp/log.do_compile.20053
Log data follows:
| DEBUG: Executing shell function do_compile
| arm-poky-linux-gnueabi-gcc: error: 
/home/filip/YOCTO_DISK/tmp/vybrid/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/user-draw/0.0-r0/kerndraw.c:
 No such file or directory
| arm-poky-linux-gnueabi-gcc: fatal error: no input files
| compilation terminated.
| WARNING: 
/home/filip/YOCTO_DISK/tmp/vybrid/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/user-draw/0.0-r0/temp/run.do_compile.20053:1
 exit 1 from
|   arm-poky-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork 
-mfloat-abi=softfp -mfpu=neon 
--sysroot=/home/filip/YOCTO_DISK/tmp/vybrid/tmp/sysroots/twr-vf65gs10 
/home/filip/YOCTO_DISK/tmp/vybrid/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/user-draw/0.0-r0/kerndraw.c
 -o 
/home/filip/YOCTO_DISK/tmp/vybrid/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/user-draw/0.0-r0/git/kerndraw
| ERROR: Function failed: do_compile (log file is located at 
/home/filip/YOCTO_DISK/tmp/vybrid/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/user-draw/0.0-r0/temp/log.do_compile.20053)
ERROR: Task 6 
(/home/filip/YOCTO_DISK/tmp/sources/meta-fsl-filip/recipes-filip/user-draw/user-draw_0.0.bb,
 do_compile) failed with exit code '1'
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is my recipe

../meta-fsl-filip/recipes-filip/user-draw/user-draw_0.0.bb:
---------------------------------------------------------------------------------

DESCRIPTION = "Example of a remote application added with Yocto"
LICENSE = "CLOSED"
PR = "r0"

SRC_URI = 
"git://sw-stash.freescale.net/scm/~b51162/kernel_draw-application-2.git;protocol=http;nocheckout=1;branch=usedraw"

S = "${WORKDIR}/git"

SRCREV="d0ab868bb8385f85c6824028496a83ce74530359"

do_compile() {
    ${CC} ${S}/kerndraw.c -o ${S}/kerndraw
}

do_install() {
    install -d ${D}${bindir}
    install -m 0755 ${S}/kerndraw ${D}${bindir}
}
------------------------------------------------------------------------------------


The .git repo is fetched from the sw-stash but the files are not.

Thank you!
Filip



-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to