| Summary: | eSDK: getting error "xmlcatalog: not found" installing SDK | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | anon2313 |
| Component: | meta-yocto | Assignee: | Chen Qi <Qi.Chen> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | poky.bs.watcher, poky.watcher, randy.macleod |
| Version: | 3.0.1 | ||
| Target Milestone: | 3.2 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | Backport to 3.0.2 | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
anon2313
2020-01-10 21:07:02 UTC
I haven't tracked it down. The only layer I am using is the one that defines our distro. It does tweak the standard poky distro by changing the name. I'll try to provide more information when I have a chance. Also the problem doesn't happen with every eSDK that I've tried building using my layer. So far it has been just one of the images that is loosely based of off core-image-x11. Building and installing an eSDK for core-image-x11 doesn't have this error. Do you have extended documentation enabled as a DISTRO_FEATURE? No, I tweaked POKY_DEFAULT_DISTRO_FEATURES. # Override standard features in poky based distros POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl multiarch x11" Then it looks like it resolves to: DISTRO_FEATURES="acl alsa argp bluetooth ext2 ipv4 ipv6 largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11 largefile opengl multiarch x11 pulseaudio sysvinit gobject-introspection-data" It seems to be an intermittent issue for me. I started to use the buildhistory log. When I first tried building the eSDK it failed. I made some minor changes to one of my applications. Then I built the SDK for that and it was fine. Then I built the eSDK and it worked. My apologies. I confused myself because I ran into an error with building the eSDK. Even when the eSDK can be built it has the "xmlcatalog: not found" error. This has been fixed by the following commit. commit fdee2d49fc9139ff7e0b5a8b1b6476224540ca57 Author: Alexander Kanavin <alex.kanavin@gmail.com> Date: Mon Jun 8 09:46:59 2020 +0200 build-sysroots: add sysroot paths with native binaries to PATH staging_populate_sysroot_dir() collects postinsts from the sysroot and executes them. These postinsts, in turn, may call binaries that are only available from the sysroot. This works fine with recipe-specific sysroots, as all necessary paths are already in PATH, but breaks down in this recipe which imitates the old global sysroot way but doesn't adjust the PATH to include the binary paths from global sysroot. To reproduce the failure: $ bitbake docbook-xml-dtd4-native $ bitbake -c build_native_sysroot build-sysroots |