Re: Building a GUI - where to start?
"Stephan Hunker" ([email protected] via blfs-support Mailing List) <[email protected]> Tue, 3 Mar 2026 18:06:06 -0800
| Newsgroups | gmane.linux.lfs.beyond.support |
|---|---|
| Message-ID | <CAPtQaCxSCJzzfGCkKVm7Pc1O2dm4MC5rYCnHhUqZw4efNz+LSg@mail.gmail.com> |
This is a multi-part message in MIME format... ------------=_1772590003-1253-12342 Content-Type: multipart/alternative; boundary="000000000000e002e8064c2944b4" --000000000000e002e8064c2944b4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks Zeckma! I continued searching around, and found some posts on a glibc mailing list that pointed me to the Mesa fix. Building Mesa 25.3.5 worked. Appreciate your help! On Tue, Mar 3, 2026 at 5:27=E2=80=AFPM Zeckma < [email protected]> wrote: > On 3/3/26 17:12, "stephan" ([email protected] via blfs-support > Mailing List) wrote: > > Thanks Eric, I see that now. > > > > At any rate, I rebuilt rust after building LLVM, and it seems that > > that error has been resolved. I have a new issue trying to install > > Mesa, and am again stuck. > > > > Compiling C object src/c11/impl/libmesa_util_c11.a.p/threads_posix.c.o > > FAILED: [code=3D1] src/c11/impl/libmesa_util_c11.a.p/threads_posix.c.o > > > > ../source/c11/threads.h:121:25: error: conflicting types for > 'once_flag'; have > > 'pth read_once_t' {aka 'int} > > > > there are a couple of other errors related to this same threads.h file. > > You mentioned earlier in this thread that you are using an older Mesa > version, but mentioned using basically LFS-13.0rc1. This is a > build failure as a result of using a newer toolchain to build an older > Mesa version. It's caused by glibc-2.43. > > I recommend using Mesa-25.3.5 using the instructions from > https://linuxfromscratch.org/blfs/view/systemd/x/mesa.html, which fixes > the issue. If you want to use the older Mesa version, you can try > fixing Mesa following the diff here: > > https://gitlab.freedesktop.org/mesa/mesa/-/commit/179e744f7577d98df7c79d7= 324c22acfb32a0154 > . > Doing that isn't recommended. > > You also mentioned libglvnd, which shouldn't cause a configuration > issue unless `-D glvnd=3Denabled` was passed. > > - Zeckma > -- > http://lists.linuxfromscratch.org/sympa/info/blfs-support > Unsubscribe: See the above information page > --000000000000e002e8064c2944b4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"> <font color=3D"#888888">Thanks Zeckma! I continued searching around, and=20 found some posts on a glibc mailing list that pointed me to the Mesa=20 fix. Building Mesa 25.3.5 worked. Appreciate your help!=C2=A0</font> <br></div><br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"= ltr" class=3D"gmail_attr">On Tue, Mar 3, 2026 at 5:27=E2=80=AFPM Zeckma <= ;<a href=3D"mailto:[email protected]">blfs-support@li= sts.linuxfromscratch.org</a>> wrote:<br></div><blockquote class=3D"gmail= _quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204= ,204);padding-left:1ex">On 3/3/26 17:12, "stephan" (<a href=3D"ma= ilto:[email protected]" target=3D"_blank">[email protected]= </a> via blfs-support<br> Mailing List) wrote:<br> =C2=A0> Thanks Eric, I see that now.<br> =C2=A0><br> =C2=A0> At any rate, I rebuilt rust after building LLVM, and it seems th= at<br> =C2=A0> that error has been resolved. I have a new issue trying to insta= ll<br> =C2=A0> Mesa, and am again stuck.<br> =C2=A0><br> =C2=A0> Compiling C object src/c11/impl/libmesa_util_c11.a.p/threads_pos= ix.c.o<br> =C2=A0> FAILED: [code=3D1] src/c11/impl/libmesa_util_c11.a.p/threads_pos= ix.c.o<br> =C2=A0><br> =C2=A0> ../source/c11/threads.h:121:25: error: conflicting types for <br> 'once_flag'; have<br> =C2=A0> 'pth read_once_t' {aka 'int}<br> =C2=A0><br> =C2=A0> there are a couple of other errors related to this same threads.= h file.<br> <br> You mentioned earlier in this thread that you are using an older Mesa<br> version, but mentioned using basically LFS-13.0rc1. This is a<br> build failure as a result of using a newer toolchain to build an older<br> Mesa version. It's caused by glibc-2.43.<br> <br> I recommend using Mesa-25.3.5 using the instructions from<br> <a href=3D"https://linuxfromscratch.org/blfs/view/systemd/x/mesa.html" rel= =3D"noreferrer" target=3D"_blank">https://linuxfromscratch.org/blfs/view/sy= stemd/x/mesa.html</a>, which fixes<br> the issue. If you want to use the older Mesa version, you can try<br> fixing Mesa following the diff here:<br> <a href=3D"https://gitlab.freedesktop.org/mesa/mesa/-/commit/179e744f7577d9= 8df7c79d7324c22acfb32a0154" rel=3D"noreferrer" target=3D"_blank">https://gi= tlab.freedesktop.org/mesa/mesa/-/commit/179e744f7577d98df7c79d7324c22acfb32= a0154</a>.<br> Doing that isn't recommended.<br> <br> You also mentioned libglvnd, which shouldn't cause a configuration<br> issue unless `-D glvnd=3Denabled` was passed.<br> <br> - Zeckma<br> -- <br> <a href=3D"http://lists.linuxfromscratch.org/sympa/info/blfs-support" rel= =3D"noreferrer" target=3D"_blank">http://lists.linuxfromscratch.org/sympa/i= nfo/blfs-support</a><br> Unsubscribe: See the above information page<br> </blockquote></div> --000000000000e002e8064c2944b4-- ------------=_1772590003-1253-12342 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- http://lists.linuxfromscratch.org/sympa/info/blfs-support Unsubscribe: See the above information page ------------=_1772590003-1253-12342--