Re: Building a GUI - where to start?

"Zeckma" ([email protected] via blfs-support Mailing List) <[email protected]> Tue, 3 Mar 2026 18:29:43 -0700
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1772587622-14511-12297
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

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=1] 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/179e744f7577d98df7c79d7324c22acfb32a0154.
Doing that isn't recommended.

You also mentioned libglvnd, which shouldn't cause a configuration
issue unless `-D glvnd=enabled` was passed.

- Zeckma

------------=_1772587622-14511-12297
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

------------=_1772587622-14511-12297--