Makeshift solution for X server bug

* src/xterm.c (x_sync_init_fences): Detect errors around
XSyncCreateFence.  (bug#69762)
10 jobs for master in 106 minutes and 59 seconds (queued for 7 seconds)
Status Job ID Name Coverage
  Build Images
failed #82721
build-image-inotify

00:01:37

 
  Normal
skipped #82722
test-all-inotify
 
  Platform Images
failed #82723
build-image-eglot

01:46:56

failed #82725
build-image-gnustep

00:01:29

failed #82724
build-image-tree-sitter

01:46:51

 
  Platforms
skipped #82726
test-eglot
skipped #82728
test-gnustep
skipped #82727
test-tree-sitter
 
  Native Comp Images
failed #82729
build-native-comp-speed2

01:46:11

 
  Native Comp
skipped #82730
test-native-comp-speed2
 
Name Stage Failure
failed
build-image-eglot Platform Images
Running after_script
Running after script...
$ test -n "$(docker ps -aq -f name=${test_name})" && docker cp ${test_name}:checkout/test ${test_name}
$ test -n "$(docker ps -aq -f name=${test_name})" && docker rm ${test_name}
$ find ${test_name} ! \( -name "*.log" -o -name ${EMACS_TEST_JUNIT_REPORT} \) -type f -delete
find: build-image-eglot-1a8b34a5: No such file or directory
WARNING: after_script failed, but job will continue unaffected: exit code 1
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
build-image-tree-sitter Platform Images
context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Running after_script
Running after script...
$ test -n "$(docker ps -aq -f name=${test_name})" && docker cp ${test_name}:checkout/test ${test_name}
$ test -n "$(docker ps -aq -f name=${test_name})" && docker rm ${test_name}
$ find ${test_name} ! \( -name "*.log" -o -name ${EMACS_TEST_JUNIT_REPORT} \) -type f -delete
find: build-image-tree-sitter-1a8b34a5: No such file or directory
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
build-native-comp-speed2 Native Comp Images
Running after_script
Running after script...
$ test -n "$(docker ps -aq -f name=${test_name})" && docker cp ${test_name}:checkout/test ${test_name}
$ test -n "$(docker ps -aq -f name=${test_name})" && docker rm ${test_name}
$ find ${test_name} ! \( -name "*.log" -o -name ${EMACS_TEST_JUNIT_REPORT} \) -type f -delete
find: build-native-comp-speed2-1a8b34a5: No such file or directory
WARNING: after_script failed, but job will continue unaffected: exit code 1
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
build-image-gnustep Platform Images
fatal: Unable to create '/builds/emacs/emacs/.git/shallow.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
build-image-inotify Build Images
fatal: Unable to create '/builds/emacs/emacs/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1