You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: master Fast Gate red since #4059: mingw oracle build, pthread_mutex_lock redefined #4168
Since #4059 (9a95b46), every master push run fails the Fast Gate: the Windows cross build (mingw) of the C oracle does not compile rust/obs-c-oracle/oracle/output_pause_queries.c.
First red run: 42516069306 (9a95b46); the run before it, 42513019795 (096ef55), is green. The same error is in every master Fast Gate since then, for example 42551828784 and 42572306613.
Cause
The oracle file counts the lock calls of obs-output-pause-queries.c.h with #define pthread_mutex_lock output_pause_queries_lock_probe (and the same for pthread_mutex_unlock). The mingw cross build compiles every oracle file with -Dpthread_mutex_lock=oracle_pthread_mutex_lock (the w32-pthreads renaming), so the macro is defined twice and -Werror stops the build. No other oracle file defines a pthread function.
Fix
Save the macros with #pragma push_macro, #undef them before the probe defines, and restore them with #pragma pop_macro after the include. The probe then works on every host, and the w32-pthreads renaming applies again to the rest of the file.
Not this issue
Since about 06:50 UTC on 11-09, other master jobs (Rust Tests and Tier 2 on Windows and macOS, the mac-arm64 cross compile) also fail on downloads from GitHub releases (nextest: HTTP 504; the host Qt for uic: HTTP 22). That is external and goes away on a rerun.
One PR: #pragma push_macro / #undef / #pragma pop_macro around the two lock probe macros in rust/obs-c-oracle/oracle/output_pause_queries.c. RED: the cross lane of the local gate on master (the mingw compile error), recorded locally; GREEN: the same lane with the fix. First PR within the hour.
Activity
vpacher commentedon Nov 9, 2026
Claiming: #4168
#pragma push_macro/#undef/#pragma pop_macroaround the two lock probe macros inrust/obs-c-oracle/oracle/output_pause_queries.c. RED: the cross lane of the local gate on master (the mingw compile error), recorded locally; GREEN: the same lane with the fix. First PR within the hour.docs(skills): check master's push runs before branching; follow your …
fix(ci): build the C oracle for windows-gnu on the PR path when its i…
fix(obs-c-oracle): keep the mingw pthread names around the pause lock…