rvaiya / warpd

A modal keyboard-driven virtual pointer
MIT License
2.85k stars 126 forks source link

Compilation fail to build #197

Closed roland-5 closed 1 year ago

roland-5 commented 1 year ago

Arch Linux, clean AUR build for warpd-wayland-git. Yesterday warpd build without problem.

==> Starting build()...
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/platform/linux/linux.o src/platform/linux/linux.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/config.o src/config.c
src/config.c: In function ‘validate_key_option’:
src/config.c:153:9: warning: ‘__builtin_strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation]
  153 |         strncpy(buf, s, sizeof buf);
      |         ^
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/grid.o src/grid.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/grid_drw.o src/grid_drw.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/hint.o src/hint.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/histfile.o src/histfile.c
src/histfile.c: In function ‘read_hist’:
src/histfile.c:17:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   17 |         read(fd, &hist, sizeof(hist));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/histfile.c: In function ‘histfile_add’:
src/histfile.c:57:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   57 |         write(fd, &hist, sizeof(hist));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/history.o src/history.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/input.o src/input.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/mouse.o src/mouse.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/normal.o src/normal.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/screen.o src/screen.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/scroll.o src/scroll.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/warpd.o src/warpd.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/platform/linux/wayland/hint.o src/platform/linux/wayland/hint.c
src/platform/linux/wayland/hint.c: In function ‘wl_init_hint’:
src/platform/linux/wayland/hint.c:79:9: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
   79 |         strncpy(bgcolor, bg, sizeof bgcolor);
      |         ^
src/platform/linux/wayland/hint.c:80:9: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
   80 |         strncpy(fgcolor, fg, sizeof fgcolor);
      |         ^
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/platform/linux/wayland/input.o src/platform/linux/wayland/input.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/platform/linux/wayland/screen.o src/platform/linux/wayland/screen.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/platform/linux/wayland/surface.o src/platform/linux/wayland/surface.c
src/platform/linux/wayland/surface.c: In function ‘init_surface’:
src/platform/linux/wayland/surface.c:82:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   82 |         ftruncate(fd, sfc->bufsz);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/platform/linux/wayland/util.o src/platform/linux/wayland/util.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/platform/linux/wayland/wayland.o src/platform/linux/wayland/wayland.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/platform/linux/wayland/wl.o src/platform/linux/wayland/wl.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/platform/linux/wayland/wl/layer-shell.o src/platform/linux/wayland/wl/layer-shell.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/platform/linux/wayland/wl/virtual-pointer.o src/platform/linux/wayland/wl/virtual-pointer.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/platform/linux/wayland/wl/xdg-output.o src/platform/linux/wayland/wl/xdg-output.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/platform/linux/wayland/wl/xdg-shell.o src/platform/linux/wayland/wl/xdg-shell.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/platform/linux/X/hint.o src/platform/linux/X/hint.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/platform/linux/X/input.o src/platform/linux/X/input.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/platform/linux/X/mouse.o src/platform/linux/X/mouse.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/platform/linux/X/screen.o src/platform/linux/X/screen.c
cc -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1   -c -o src/platform/linux/X/X.o src/platform/linux/X/X.c
src/platform/linux/X/X.c: In function ‘x_copy_selection’:
src/platform/linux/X/X.c:107:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  107 |         system("xclip -o|xclip -selection CLIPBOARD");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mkdir bin
cc  -o bin/warpd src/platform/linux/linux.o src/config.o src/grid.o src/grid_drw.o src/hint.o src/histfile.o src/history.o src/input.o src/mouse.o src/normal.o src/screen.o src/scroll.o src/warpd.o src/platform/linux/wayland/hint.o src/platform/linux/wayland/input.o src/platform/linux/wayland/screen.o src/platform/linux/wayland/surface.o src/platform/linux/wayland/util.o src/platform/linux/wayland/wayland.o src/platform/linux/wayland/wl.o src/platform/linux/wayland/wl/layer-shell.o src/platform/linux/wayland/wl/virtual-pointer.o src/platform/linux/wayland/wl/xdg-output.o src/platform/linux/wayland/wl/xdg-shell.o src/platform/linux/X/hint.o src/platform/linux/X/input.o src/platform/linux/X/mouse.o src/platform/linux/X/screen.o src/platform/linux/X/X.o -g -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-unused-parameter -std=c99 -DVERSION=\"1.3.4\" -DCOMMIT=\"04d9f78\" -D_DEFAULT_SOURCE  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lwayland-client -lxkbcommon -lcairo -lrt -DWARPD_WAYLAND=1 -I/usr/include/freetype2/ -lXfixes -lXext -lXinerama -lXi -lXtst -lX11 -lXft -DWARPD_X=1
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'warpd.1.gz': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
error: failed to build 'warpd-wayland-git-r124.4dcfffc-1':
error: packages failed to build: warpd-wayland-git-r124.4dcfffc-1
rvaiya commented 1 year ago

Some of the files have moved around (warpd.1.gz is now in files/). The AUR package might need some adjustment (I don't manage it). A quick glance at the PKGBUILD suggests it has hard coded some of the paths, it should probably be using make install. Best take it up with the package maintainer.

roland-5 commented 1 year ago

Oh, sorry for spam. I will contact AUR package maintainer then. Have a nice day!