Created attachment 4102 [details] do_compile Issue found on lttng-modules do_fetch where the patch file is not found. Issue first found on pyro branch and further tested on master is failing too. ERROR: lttng-modules-2.9.3-r0 do_fetch: Fetcher failure: Unable to find file file://0002-lttng-modules-PKT-4.9-yocto-build-failed.patch anywhere. The paths that were searched were: /media/rebeccas/yocto/poky/meta/recipes-kernel/lttng/lttng-modules-2.9.3/poky /media/rebeccas/yocto/poky/meta/recipes-kernel/lttng/lttng-modules/poky /media/rebeccas/yocto/poky/meta/recipes-kernel/lttng/files/poky /media/rebeccas/yocto/poky/meta/recipes-kernel/lttng/lttng-modules-2.9.3/qemux86 /media/rebeccas/yocto/poky/meta/recipes-kernel/lttng/lttng-modules/qemux86 /media/rebeccas/yocto/poky/meta/recipes-kernel/lttng/files/qemux86 /media/rebeccas/yocto/poky/meta/recipes-kernel/lttng/lttng-modules-2.9.3/qemuall /media/rebeccas/yocto/poky/meta/recipes-kernel/lttng/lttng-modules/qemuall /media/rebeccas/yocto/poky/meta/recipes-kernel/lttng/files/qemuall /media/rebeccas/yocto/poky/meta/recipes-kernel/lttng/lttng-modules-2.9.3/x86 /media/rebeccas/yocto/poky/meta/recipes-kernel/lttng/lttng-modules/x86 /media/rebeccas/yocto/poky/meta/recipes-kernel/lttng/files/x86 /media/rebeccas/yocto/poky/meta/recipes-kernel/lttng/lttng-modules-2.9.3/i586 /media/rebeccas/yocto/poky/meta/recipes-kernel/lttng/lttng-modules/i586 /media/rebeccas/yocto/poky/meta/recipes-kernel/lttng/files/i586 /media/rebeccas/yocto/poky/meta/recipes-kernel/lttng/lttng-modules-2.9.3/ /media/rebeccas/yocto/poky/meta/recipes-kernel/lttng/lttng-modules/ /media/rebeccas/yocto/poky/meta/recipes-kernel/lttng/files/ /media/rebeccas/build/downloads ERROR: lttng-modules-2.9.3-r0 do_fetch: Fetcher failure for URL: 'file://0002-lttng-modules-PKT-4.9-yocto-build-failed.patch'. Unable to fetch URL from any source. ERROR: lttng-modules-2.9.3-r0 do_fetch: Function failed: base_do_fetch Build configuration: Poky & meta-intel on pyro branch. conf/local.conf: PREFERRED_PROVIDER_virtual/kernel ?= "linux-intel-rt" We also hit do_compile failure using the build configuration below: Poky & meta-intel on pyro branch. conf/local.conf: PREFERRED_PROVIDER_virtual/kernel ?= "linux-intel" (See attachment for do_compile log) Default configuration with linux-yocto has no issue. Require backport to pyro.
Created attachment 4103 [details] do_fetch
Created attachment 4104 [details] bitbake -e lttng-modules
Created attachment 4106 [details] lttng fetch env
I believe Saul sent some patches addressing this. I will verify.
Current pyro HEAD works for me. Saul's patches appear to have solved the issue.
Actually, I see another issue, and Saul's patches do not address it. What is happening in your case is that you're using qemux86 MACHINE, and lttng-modules is only patched in the case of an intel-* machine being used in order to maintain Yocto Project compatibility status, which causes this failure. I'll have a discussion with Saul and others on how to fix this issue, if appropriate.
After discussion with Saul it was decided that it wasn't appropriate to build linux-intel with a qemux86 MACHINE. We actually attempted to limit it previously through our COMPATIBLE_MACHINE flags, but we missed setting the default in the case that a non-intel MACHINE was set, causing it to build anyway. I sent a patch addressing this here: https://lists.yoctoproject.org/pipermail/meta-intel/2017-November/005102.html