Currently, build fails with
[ +6 ms] FAILED: [code=1] plugins/flserial/shared/CMakeFiles/flserial.dir/native_libs/src/tinycthread.c.o
[ +366 ms] /usr/bin/clang -DDART_SHARED_LIB -Dflserial_EXPORTS -I/tmp/makepkg/build/meshcore-open-git/src/meshcore-open/linux/flutter/ephemeral/.plugin_symlinks/flserial/src/native_libs/include
-I/tmp/makepkg/build/meshcore-open-git/src/meshcore-open/linux/flutter/ephemeral/.plugin_symlinks/flserial/src/native_libs/include/serial -march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat
-fstack-clash-protection -fcf-protection -flto=auto -O3 -DNDEBUG -fPIC -MD -MT plugins/flserial/shared/CMakeFiles/flserial.dir/native_libs/src/tinycthread.c.o -MF
plugins/flserial/shared/CMakeFiles/flserial.dir/native_libs/src/tinycthread.c.o.d -o plugins/flserial/shared/CMakeFiles/flserial.dir/native_libs/src/tinycthread.c.o -c
/tmp/makepkg/build/meshcore-open-git/src/meshcore-open/linux/flutter/ephemeral/.plugin_symlinks/flserial/src/native_libs/src/tinycthread.c
[ +27 ms] In file included from /tmp/makepkg/build/meshcore-open-git/src/meshcore-open/linux/flutter/ephemeral/.plugin_symlinks/flserial/src/native_libs/src/tinycthread.c:26:
[ +4 ms] In file included from /usr/include/stdlib.h:1191:
[ +4 ms] /usr/include/bits/types/once_flag.h:24:21: error: typedef redefinition with different types ('__once_flag' vs 'int')
[ +19 ms] 24 | typedef __once_flag once_flag;
[ +1 ms] | ^
[ +2 ms] /tmp/makepkg/build/meshcore-open-git/src/meshcore-open/linux/flutter/ephemeral/.plugin_symlinks/flserial/src/native_libs/src/../include/tinycthread.h:460:21: note: expanded from macro 'once_flag'
[ ] 460 | #define once_flag pthread_once_t
[ ] | ^
[ ] /usr/include/bits/pthreadtypes.h:53:30: note: previous definition is here
[ ] 53 | typedef int __ONCE_ALIGNMENT pthread_once_t;
[ ] | ^
[ +2 ms] In file included from /tmp/makepkg/build/meshcore-open-git/src/meshcore-open/linux/flutter/ephemeral/.plugin_symlinks/flserial/src/native_libs/src/tinycthread.c:26:
[ +1 ms] /usr/include/stdlib.h:1195:13: error: conflicting types for 'pthread_once'
[ +1 ms] 1195 | extern void call_once (once_flag *__flag, void (*__func)(void));
[ +1 ms] | ^
[ ] /tmp/makepkg/build/meshcore-open-git/src/meshcore-open/linux/flutter/ephemeral/.plugin_symlinks/flserial/src/native_libs/src/../include/tinycthread.h:472:32: note: expanded from macro 'call_once'
[ +1 ms] 472 | #define call_once(flag,func) pthread_once(flag,func)
[ ] | ^
[ ] /usr/include/pthread.h:509:12: note: previous declaration is here
[ +1 ms] 509 | extern int pthread_once (pthread_once_t *__once_control,
[ ] | ^
[ ] 2 errors generated.
See this upstream report.
Pinned Comments
dreieck commented on 2026-04-13 10:09 (UTC)
Currently, build fails with
See this upstream report.