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 (#173010): 
https://lists.openembedded.org/g/openembedded-core/message/173010
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to