On Wed, Sep 20, 2023 at 2:16 PM Alexandre Belloni via
lists.yoctoproject.org
<alexandre.belloni=bootlin....@lists.yoctoproject.org> wrote:
>
> Hello,
>
> On 20/09/2023 13:59:54-0700, Rudolf J Streif wrote:
> > I need to resurrect a Yocto Project build environment based on honister. My
> > dev system has since moved on to a newer glibc etc. As expected, I am
> > getting this warning
> >
> > WARNING: Your host glibc version (2.37) is newer than that in uninative
> > (2.34). Disabling uninative so that sstate is not corrupted.
> >
> > The distro's gcc now is 13.2.1.
> >
> > Now the following packages do not compile anymore:
> >
> >  * rust-llvm-native : which there is a patch (applied to kirkstone):
> >    
> > https://lore.kernel.org/openembedded-core/CANPvuR=G1NxfJb67xD19FoNh4eTDsTM4TDyF+vDbh6crNH=d...@mail.gmail.com/T/
> >  * libdnf-native : because std::uint32_t does not exist anymore
> >
> > I don't care about the sstate as I am creating a new one. However, how can I
> > force uninative to be used and would it even solve the problem (I would
> > think so as the idea of uninative is to isolate the build from the host
> > libraries)?
> >
>
> You should rather use buildtools. You can install those with
> scripts/install-buildtools. The -r option is there to allow you to
> select a target release. You can try something like:
>
> poky/scripts/install-buildtools -d ~/YP/buildtools -r yocto-3.4.4 
> --installer-version 3.4.4
>
> This will then tell you to source 
> buildtools/environment-setup-x86_64-pokysdk-linux
>
> This should be enough to be able to build old releases.

real issue would be getting native packages compiling with newer
compilers, unless you are ready to do such backports this
is going to be a problem. I would suggest using a supported/tested
distro for honister release inside a VM or container to build it.
>
> Regards,
>
> --
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61061): https://lists.yoctoproject.org/g/yocto/message/61061
Mute This Topic: https://lists.yoctoproject.org/mt/101487564/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to