Re: NO INTERNET ENVIRONMENT - USING PREMIRROR fails -> gstreamer1.0_1.12.2.bb:do_unpack failed due to a fetch issue


Martin Jansa
 

Are you sure this is the whole SRC_URI and that there aren't some other parts added through some .bbappend?

Always use "bitbake -e" to see whatever bitbake sees when building the recipe to make sure.

"common" is git repository gstreamer components use in 1.12 it is git submodule as you can see:

autogen was than checking out this git submodule during do_configure when it wasn't there already, see:

Usually it was failing in do_configure when building without access to this git repo, we were adding "common" git repo to SRC_URI explicitly to make sure that the right revision is always there with the gstreamer sources and managed with bitbake fetcher (so that it's used from downloads directory instead of the fetch from internet every single time gst* recipes are rebuilt for whatever reason).

In your error log it shows that it was failing already in do_unpack, so I guess your recipe has some modifications to work around this issue as well, but the part you've shown doesn't include it.

Regards,

On Thu, Jul 23, 2020 at 2:56 PM <baranarman@...> wrote:

Martin  sorry that am im not quite sure if i get you right

gstreamer1.0_1.12.2.bb is below

"
require gstreamer1.0.inc

LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d \
                    file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d"

SRC_URI = " \
    http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \
    file://0001-configure-Add-switches-for-enabling-disabling-libdw-.patch \
"
SRC_URI[md5sum] = "4748860621607ffd96244fb79c86c238"
SRC_URI[sha256sum] = "9fde3f39a2ea984f9e07ce09250285ce91f6e3619d186889f75b5154ecf994ba"

S = "${WORKDIR}/gstreamer-${PV}"

"
I have no git repo. so how shall i set the "common" git repo?
And also how can i set SRCREV + SRCREV_FORMAT for it

I am quite new so can you be little bit more specific.

Regards.

Join yocto@lists.yoctoproject.org to automatically receive all group messages.