pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: MesaLib fails to build from source (Linux)



On Mon, 4 May 2026 05:20:54 +0000 (UTC)
Benny Siegert <bsiegert%netbsd.org@localhost> wrote:

> I just upgraded this machine to Fedora 44 (aarch64), and I am in the 
> process of running pkg_rolling-replace. Unfortunately, MesaLib fails with 
> some pthread-related breakage. I assume this is because of new libraries? 
> Anyone have any ideas for a fix?
> 

> ../include/c11/threads_posix.h:54:9: warning: 'ONCE_FLAG_INIT' redefined
>     54 | #define ONCE_FLAG_INIT PTHREAD_ONCE_INIT

Hi,

I use Fedora 44 on x86_64, but with wip/mesa and that seems to not have
the problem. Did however have very similar fallout with www/firefox and
the consensus seems to be that it is glibc related:

https://github.com/servo/servo/issues/42695

I was able to adapt the patches from that issue and have a local
patch for Firefox. I'd try a similar approach or check if upstream Mesa
has a fix.

Kind regards,
-Tobias


Home | Main Index | Thread Index | Old Index