All of lore.kernel.org
 help / color / mirror / Atom feed
* perf: nativesdk
@ 2025-06-19  7:53 Andrej Valek
  2025-06-19  7:56 ` [OE-core] " Alexander Kanavin
  2025-06-19 11:21 ` Richard Purdie
  0 siblings, 2 replies; 10+ messages in thread
From: Andrej Valek @ 2025-06-19  7:53 UTC (permalink / raw)
  To: openembedded-core@lists.openembedded.org

Hello,

I know, that what I'm doing is not fully supported way, but... . I 
wanted to build the perf for target device (aarch64), record the data 
and analyze them on the host. So I extended the recipe by adding 
BBCLASSEXTEND = "native nativesdk".

After that I have compilation failure do to missing manifest.

ERROR: nativesdk-perf-1.0-r0 do_configure: The sstate manifest for task 
'linux-libc-headers:populate_sysroot' (multilib variant '') could not be 
found.
The pkgarchs considered were: machineA, cortexa53, cortexa53, cortexa53, 
armv8a-crc, armv8a, aarch64, allarch, x86_64_x86_64-nativesdk.
But none of these manifests exists:
/home/build/tmp/sstate-control/manifest-machineA-linux-libc-headers.populate_sysroot
/home/build/tmp/sstate-control/manifest-cortexa53-linux-libc-headers.populate_sysroot
/home/build/tmp/sstate-control/manifest-cortexa53-linux-libc-headers.populate_sysroot
/home/build/tmp/sstate-control/manifest-cortexa53-linux-libc-headers.populate_sysroot
/home/build/tmp/sstate-control/manifest-armv8a-crc-linux-libc-headers.populate_sysroot
/home/build/tmp/sstate-control/manifest-armv8a-linux-libc-headers.populate_sysroot
/home/build/tmp/sstate-control/manifest-aarch64-linux-libc-headers.populate_sysroot
/home/build/tmp/sstate-control/manifest-allarch-linux-libc-headers.populate_sysroot
/home/build/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-linux-libc-headers.populate_sysroot

The "linux-libc-headers" dependency is coming from "gcc-cross-aarch64".

EXTRADEPENDS = ""
DEPENDS = "virtual/${TARGET_PREFIX}binutils ${EXTRADEPENDS} ${NATIVEDEPS}"
PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
python () {
     if d.getVar("TARGET_OS").startswith("linux"):
         d.setVar("EXTRADEPENDS", "linux-libc-headers")
}

This function adds the dependency without respecting any 
native/nativesdk variant.

I know touching the "PACKAGE_EXTRA_ARCHS" or removing this function 
above it's not right way to fix it.

How to deal with something like that?

Thanks,
Andy


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-06-19 12:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-19  7:53 perf: nativesdk Andrej Valek
2025-06-19  7:56 ` [OE-core] " Alexander Kanavin
2025-06-19  8:07   ` Andrej Valek
2025-06-19  8:13     ` Alexander Kanavin
2025-06-19  8:59       ` Marko, Peter
2025-06-19 10:57         ` Andrej Valek
2025-06-19 11:21 ` Richard Purdie
2025-06-19 11:44   ` Andrej Valek
2025-06-19 12:45     ` Richard Purdie
2025-06-19 12:55       ` Andrej Valek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.