--enable-wayland-focus-steal (enabled by default)-j100Sometimes build fails on missing symbols:
/usr/bin/ld: objects/wayland.o: in function `wl_registry_listener_event_global': /home/users/jan/devel/vim/src/wayland.c:363:(.text+0xcaf): undefined reference to `zwp_primary_selection_device_manager_v1_interface' /usr/bin/ld: objects/wayland.o: in function `zwp_primary_selection_device_manager_v1_get_device': /home/users/jan/devel/vim/src/auto/wayland/primary-selection-unstable-v1.h:244:(.text+0x177d): undefined reference to `zwp_primary_selection_device_v1_interface' /usr/bin/ld: objects/wayland.o: in function `zwp_primary_selection_device_manager_v1_create_source': /home/users/jan/devel/vim/src/auto/wayland/primary-selection-unstable-v1.h:228:(.text+0x1895): undefined reference to `zwp_primary_selection_source_v1_interface'
which is caused by parallel run of 4 make instances, each generating same files, overwriting each other results which in turn leads to inconsistent outcome:
$ make -j100 ... cd auto/wayland; make cd auto/wayland; make cd auto/wayland; make cd auto/wayland; make make[2]: Entering directory '/home/users/jan/devel/vim/src/auto/wayland' wayland-scanner private-code protocols/ext-data-control-v1.xml ext-data-control-v1.c wayland-scanner private-code protocols/primary-selection-unstable-v1.xml primary-selection-unstable-v1.c make[2]: Entering directory '/home/users/jan/devel/vim/src/auto/wayland' wayland-scanner private-code protocols/ext-data-control-v1.xml ext-data-control-v1.c creating auto/pathdef.c wayland-scanner private-code protocols/primary-selection-unstable-v1.xml primary-selection-unstable-v1.c wayland-scanner private-code protocols/wlr-data-control-unstable-v1.xml wlr-data-control-unstable-v1.c wayland-scanner private-code protocols/wlr-data-control-unstable-v1.xml wlr-data-control-unstable-v1.c make[2]: Entering directory '/home/users/jan/devel/vim/src/auto/wayland' wayland-scanner private-code protocols/ext-data-control-v1.xml ext-data-control-v1.c wayland-scanner private-code protocols/xdg-shell.xml xdg-shell.c wayland-scanner private-code protocols/xdg-shell.xml xdg-shell.c wayland-scanner client-header protocols/ext-data-control-v1.xml ext-data-control-v1.h wayland-scanner private-code protocols/xdg-shell.xml xdg-shell.c
All builds succeed.
9.2.0
OS: PLD Linux
term: foot
$TERM: foot
zsh 5.9
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()