Skip to content

Some notes about current master branch #38

@GFallasRR

Description

@GFallasRR

Hi Team,

I wanted to share some comments about some recipes on current master branch, tested on Yocto Sumo:

  • libguvc/gst-uvc-sink has some warnings/errors related to AUTOREV

WARNING: /home/gfallas/work/devdirs/customers/ridgerun/yocto-imx6/sources/meta-ridgerun/recipes-multimedia/libguvc/libguvc_1.4.0.bb: Exception during build_dependencies for AUTOREV
WARNING: /home/gfallas/work/devdirs/customers/ridgerun/yocto-imx6/sources/meta-ridgerun/recipes-multimedia/libguvc/libguvc_1.4.0.bb: Error during finalise of /home/gfallas/work/devdirs/customers/ridgerun/yocto-imx6/sources/meta-ridgerun/recipes-multimedia/libguvc/libguvc_1.4.0.bb
WARNING: /home/gfallas/work/devdirs/customers/ridgerun/yocto-imx6/sources/meta-ridgerun/recipes-multimedia/gstreamer/gst-uvc-sink_1.0.bb: Exception during build_dependencies for AUTOREV
WARNING: /home/gfallas/work/devdirs/customers/ridgerun/yocto-imx6/sources/meta-ridgerun/recipes-multimedia/gstreamer/gst-uvc-sink_1.0.bb: Error during finalise of /home/gfallas/work/devdirs/customers/ridgerun/yocto-imx6/sources/meta-ridgerun/recipes-multimedia/gstreamer/gst-uvc-sink_1.0.bb
ERROR: ExpansionError during parsing /home/gfallas/work/devdirs/customers/ridgerun/yocto-imx6/sources/meta-ridgerun/recipes-multimedia/gstreamer/gst-uvc-sink_1.0.bb

  • GstPerf requires a license file in the repo and a couple of changes on the recipe

Error related to missing license

ERROR: gst-perf-1.0-r0 do_populate_lic: QA Issue: gst-perf: Recipe file fetches files and does not have license file information (LIC_FILES_CHKSUM) [license-checksum]
ERROR: gst-perf-1.0-r0 do_populate_lic: Fatal QA errors found, failing task.
ERROR: gst-perf-1.0-r0 do_populate_lic: Function failed: populate_lic_qa_checksum
ERROR: Logfile of failure stored in: /home/gfallas/work/devdirs/customers/ridgerun/yocto-imx6/build_x11/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/gst-perf/1.0-r0/temp/log.do_populate_lic.20675
ERROR: Task (/home/gfallas/work/devdirs/customers/ridgerun/yocto-imx6/sources/meta-ridgerun/recipes-multimedia/gstreamer/gst-perf_1.0.bb:do_populate_lic) failed with exit code '1'

I tested adding the same recipe used by GstQtOverlay in the sources of GstPerf, I modified the source gst-perf.bb as follows:

SUMMARY = "GStreamer Perf 1.0"
DESCRIPTION = "GStreamer element to measure fps and performance"
HOMEPAGE = "https://github.com/RidgeRun/gst-perf-autotools"
SECTION = "multimedia"
LICENSE = "LGPLv2"

LIC_FILES_CHKSUM = "file://COPYING;md5=2282fc857e14ce7b17c1c9d810504ac5"

DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"

SRCBRANCH ?= "master"
SRCREV = "939eee167c6e95ed1c2f2013246b1f0b671a378b"
SRC_URI = "git://github.com/RidgeRun/gst-perf.git;protocol=https;branch=${SRCBRANCH}"

S = "${WORKDIR}/git/"

INSANE_SKIP_${PN} = "dev-so"
FILES_${PN} += "${libdir}/gstreamer-1.0/libgstperf.so
${libdir}/gstreamer-1.0/libgstperf.so.0
${libdir}/gstreamer-1.0/libgstperf.so.0.0.0
"

inherit autotools pkgconfig gettext

do_configure() {
${S}/autogen.sh
oe_runconf
}

Changes:
1- Added the license section
2- Adjusted 'S' to correct folder

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions