Yes, I got these to fail: /srv/work/alex/meta-openembedded/meta-python/recipes-devtools/python/python3-ipy_1.01.bb:do_install /srv/work/alex/meta-openembedded/meta-python/recipes-extended/python-meh/python3-meh_0.50.1.bb:do_install /srv/work/alex/meta-openembedded/meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb:do_install virtual:native:/srv/work/alex/meta-openembedded/meta-networking/recipes-protocols/frr/frr_8.3.1.bb:do_configure /srv/work/alex/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.2.bb:do_compile /srv/work/alex/meta-openembedded/meta-gnome/recipes-gimp/babl/babl_0.1.96.bb:do_compile /srv/work/alex/meta-openembedded/meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.9.1.bb:do_install /srv/work/alex/meta-openembedded/meta-xfce/recipes-apps/menulibre/menulibre_2.2.3.bb:do_install /srv/work/alex/meta-openembedded/meta-gnome/recipes-gnome/gedit/gedit_42.2.bb:do_compile /srv/work/alex/meta-openembedded/meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.44.0.bb:do_configure
So it's not as painless as I expected, I'll look into what's wrong with these. Alex On Wed, 9 Nov 2022 at 04:47, Khem Raj <[email protected]> wrote: > > I am seeing a bunch of failures perhaps related but not sure > > https://errors.yoctoproject.org/Errors/Build/154610/ > > On Tue, Nov 8, 2022 at 2:59 PM Richard Purdie > <[email protected]> wrote: > > > > On Mon, 2022-11-07 at 15:55 +0100, Alexander Kanavin wrote: > > > > > > +SYSROOT_PREPROCESS_FUNCS:append:class-target = " > > > provide_target_config_script" > > > +SYSROOT_PREPROCESS_FUNCS:append:class-nativesdk = " > > > provide_target_config_script" > > > + > > > +provide_target_config_script() { > > > + install -d ${SYSROOT_DESTDIR}${bindir}/ > > > + install ${D}/${bindir}/python3-config > > > ${SYSROOT_DESTDIR}${bindir}/ > > > + install ${D}/${bindir}/python${PYTHON_MAJMIN}-config > > > ${SYSROOT_DESTDIR}${bindir}/ > > > +} > > > + > > > + > > > SSTATE_SCAN_FILES += "Makefile _sysconfigdata.py" > > > SSTATE_HASHEQUIV_FILEMAP = " \ > > > populate_sysroot:*/lib*/python3*/_sysconfigdata*.py:${TMPDIR} \ > > > > This made me wonder if we shouldn't have a better way of handling this. > > I was wondering if we should have a sysroot_stage_file function (like > > sysroot_stage_dir) and then we could do something like: > > > > sysroot_stage_all:append() { > > sysroot_stage_file ${D}/${bindir}/python3-config > > ${SYSROOT_DESTDIR}/${bindir}/python3-config > > } > > > > Note that the sysroot code plays with hardlinks for efficiency, I > > appreciate one file doesn't really matter though. > > > > I was hoping we could have just added to SYSROOT_DIRS but that does > > only handle dirs, not files. > > > > Cheers, > > > > Richard > > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#173016): https://lists.openembedded.org/g/openembedded-core/message/173016 Mute This Topic: https://lists.openembedded.org/mt/94867622/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
