I tried that before.  Here are the results:

WARNING: ${workdir} ('S') doesn't exist, please set 'S' to a proper value
ERROR: Function failed: gst-crypto: LIC_FILES_CHKSUM points to an invalid file: 
${workdir}/COPYING
ERROR: Logfile of failure stored in: 
/home/dcor/nv8/fsl-community-bsp-nv8/build/tmp/work/nv8-poky-linux-gnueabi/gst-crypto/0.10.0-r0/temp/log.do_configure.118052
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| DEBUG: Shell function do_configure finished
| DEBUG: Executing python function do_qa_configure
| NOTE: Checking autotools environment for common misconfiguration
| DEBUG: Python function do_qa_configure finished
| ERROR: Function failed: gst-crypto: LIC_FILES_CHKSUM points to an invalid 
file: ${workdir}/COPYING
ERROR: Task 3 
(/home/dcor/nv8/fsl-community-bsp-nv8/sources/meta-digecor/recipes-gstreamer/gst-crypto/gst-crypto_0.10.0.bb,
 do_configure) failed with exit code '1'

rob

-----Original Message-----
From: Sullivan, California L [mailto:california.l.sulli...@intel.com] 
Sent: Thursday, September 10, 2015 1:33 PM
To: Rob McPherson <rob.mcpher...@digecor.com>
Subject: Re: [linux-yocto] ${S} variable resists being set in recipe

Hi Rob,

I am not an expert, but I believe you want:

S = "${workdir}"

---
Cal

On 09/10/2015 12:23 PM, Rob McPherson wrote:
All,

I'm having a problem with a recipe.  It runs without error, but doesn't build 
the code, and it doesn't deploy the artifacts.  It also give a warning that S 
must be set properly.  Here is my recipe.

DESCRIPTION = "Gstreamer plugin provided by RidgeRun to decrypt videos on the 
fly, static or streaming."
SECTION = "Digecor gstreamer"

LICENSE = "closed"
LIC_FILES_CHKSUM = 
"file://COPYING;md5=cb8aedd3bced19bd8026d96a8b6876d7"<file://COPYING;md5=cb8aedd3bced19bd8026d96a8b6876d7>

${S} = "${workdir}"
#SRC_URI = 
"file://gst-crypto_0.10.0.orig.tar.gz"<file://gst-crypto_0.10.0.orig.tar.gz>
SRC_URI = 
"file://gst-crypto-0.10.0.mod.tar.gz"<file://gst-crypto-0.10.0.mod.tar.gz>

DEPENDS = "autoconf gettext pkgconfig"

do_unpack() {
cd ..
rm -rf ./gst-crypto-0.10.0
}
do_install() {
        install -m 0755 -d ${S}/libgstcrypto.so ${D}/usr/lib/gstreamer-0.10 }

It doesn't matter what I change the S variable to, it always installs in 
tmp/work/nv8-poky-linux-gnueabi/gst-crypto/0.10.0-r0/, but bitbake gst-crypto 
-c devshell always opens in 
tmp/work/nv8-poky-linux-gnueabi/gst-crypto/0.10.0-r0/gst-crypto-0.10.0/, one 
extra directory below this.  Please help me understand what I'm doing wrong.  
The tarball is unpacking correctly, but in parent directory to the one called 
by S.

Rob


Rob McPherson
743 W. 1200 North
Springville, UT 84663
801.691.7253
mailto: rob.mcpher...@digecor.com<mailto:rob.mcpher...@digecor.com>


-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to