=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for picom-13 ninja: Entering directory `output' [1/49] Compiling C object src/picom.p/api.c.o [2/49] Compiling C object src/picom.p/config.c.o FAILED: [code=1] src/picom.p/config.c.o gcc -Isrc/picom.p -Isrc -I../src -Iinclude -I../include -Isubprojects/test.h -I../subprojects/test.h -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/dbus-1.0 -I/usr/pkg/lib/dbus-1.0/include -I/usr/include -I/usr/pkg/include/ev -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 '-DPICOM_VERSION="v13"' '-DPICOM_FULL_VERSION="v13"' -D_GNU_SOURCE -Wcast-function-type -Wignored-qualifiers -Wmissing-parameter-type -Wnonnull -Wshadow -Wno-type-limits -Wold-style-declaration -Woverride-init -Wsign-compare -Wtype-limits -Wuninitialized -Wshift-negative-value -Wunused-but-set-parameter -Wunused-parameter -Wimplicit-fallthrough=2 -Wno-missing-braces -Wconversion -Wempty-body -O2 -Dz_off_t=long -pthread -D_REENTRANT -DCONFIG_REGEX_PCRE -DCONFIG_OPENGL -DCONFIG_DBUS -DHAS_KQUEUE -MD -MQ src/picom.p/config.c.o -MF src/picom.p/config.c.o.d -o src/picom.p/config.c.o -c ../src/config.c In file included from ../src/common.h:40, from ../src/config.c:23: ../src/region.h: In function 'log_region_': ../src/region.h:55:41: warning: passing argument 1 of 'pixman_region32_extents' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | auto extent = pixman_region32_extents(x); | ^ In file included from ../src/common.h:28, from ../src/config.c:23: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:580:80: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 580 | pixman_box32_t * pixman_region32_extents (pixman_region32_t *region); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/config.c:23: ../src/region.h: In function 'region_subtract': ../src/region.h:146:43: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | pixman_region32_subtract(region, region, other); | ^~~~~ In file included from ../src/common.h:28, from ../src/config.c:23: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/config.c:23: ../src/region.h: In function 'region_union': ../src/region.h:153:40: warning: passing argument 3 of 'pixman_region32_union' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | pixman_region32_union(region, region, other); | ^~~~~ In file included from ../src/common.h:28, from ../src/config.c:23: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:554:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 554 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/config.c:23: ../src/region.h: In function 'region_intersect': ../src/region.h:160:44: warning: passing argument 3 of 'pixman_region32_intersect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | pixman_region32_intersect(region, region, other); | ^~~~~ In file included from ../src/common.h:28, from ../src/config.c:23: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:551:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 551 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/config.c:23: ../src/region.h: In function 'region_symmetric_difference_local': ../src/region.h:195:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | pixman_region32_copy(scratch, region1); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/config.c:23: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/config.c:23: ../src/region.h:196:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | pixman_region32_subtract(scratch, scratch, region2); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/config.c:23: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/config.c:23: ../src/region.h:199:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | pixman_region32_copy(scratch, region2); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/config.c:23: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/config.c:23: ../src/region.h:200:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | pixman_region32_subtract(scratch, scratch, region1); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/config.c:23: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ ../src/config.c: In function 'parse_window_shader_prefix_with_cwd': ../src/config.c:629:78: error: parameter name omitted 629 | void *parse_window_shader_prefix_with_cwd(const char *src, const char **end, void * /*data*/) { | ^~~~~~ [3/49] Compiling C object src/picom.p/inspect.c.o In file included from ../src/wm/win.h:19, from ../src/inspect.h:6, from ../src/inspect.c:12: ../src/region.h: In function 'log_region_': ../src/region.h:55:41: warning: passing argument 1 of 'pixman_region32_extents' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | auto extent = pixman_region32_extents(x); | ^ In file included from ../include/picom/backend.h:6, from ../src/wm/win.h:12, from ../src/inspect.h:6, from ../src/inspect.c:12: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:580:80: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 580 | pixman_box32_t * pixman_region32_extents (pixman_region32_t *region); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/wm/win.h:19, from ../src/inspect.h:6, from ../src/inspect.c:12: ../src/region.h: In function 'region_subtract': ../src/region.h:146:43: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | pixman_region32_subtract(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/wm/win.h:12, from ../src/inspect.h:6, from ../src/inspect.c:12: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/wm/win.h:19, from ../src/inspect.h:6, from ../src/inspect.c:12: ../src/region.h: In function 'region_union': ../src/region.h:153:40: warning: passing argument 3 of 'pixman_region32_union' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | pixman_region32_union(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/wm/win.h:12, from ../src/inspect.h:6, from ../src/inspect.c:12: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:554:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 554 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/wm/win.h:19, from ../src/inspect.h:6, from ../src/inspect.c:12: ../src/region.h: In function 'region_intersect': ../src/region.h:160:44: warning: passing argument 3 of 'pixman_region32_intersect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | pixman_region32_intersect(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/wm/win.h:12, from ../src/inspect.h:6, from ../src/inspect.c:12: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:551:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 551 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/wm/win.h:19, from ../src/inspect.h:6, from ../src/inspect.c:12: ../src/region.h: In function 'region_symmetric_difference_local': ../src/region.h:195:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | pixman_region32_copy(scratch, region1); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/wm/win.h:12, from ../src/inspect.h:6, from ../src/inspect.c:12: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/wm/win.h:19, from ../src/inspect.h:6, from ../src/inspect.c:12: ../src/region.h:196:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | pixman_region32_subtract(scratch, scratch, region2); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/wm/win.h:12, from ../src/inspect.h:6, from ../src/inspect.c:12: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/wm/win.h:19, from ../src/inspect.h:6, from ../src/inspect.c:12: ../src/region.h:199:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | pixman_region32_copy(scratch, region2); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/wm/win.h:12, from ../src/inspect.h:6, from ../src/inspect.c:12: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/wm/win.h:19, from ../src/inspect.h:6, from ../src/inspect.c:12: ../src/region.h:200:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | pixman_region32_subtract(scratch, scratch, region1); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/wm/win.h:12, from ../src/inspect.h:6, from ../src/inspect.c:12: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ [4/49] Compiling C object src/picom.p/atom.c.o [5/49] Compiling C object src/picom.p/diagnostic.c.o In file included from ../src/common.h:40, from ../src/diagnostic.c:10: ../src/region.h: In function 'log_region_': ../src/region.h:55:41: warning: passing argument 1 of 'pixman_region32_extents' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | auto extent = pixman_region32_extents(x); | ^ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/diagnostic.c:8: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:580:80: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 580 | pixman_box32_t * pixman_region32_extents (pixman_region32_t *region); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/diagnostic.c:10: ../src/region.h: In function 'region_subtract': ../src/region.h:146:43: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | pixman_region32_subtract(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/diagnostic.c:8: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/diagnostic.c:10: ../src/region.h: In function 'region_union': ../src/region.h:153:40: warning: passing argument 3 of 'pixman_region32_union' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | pixman_region32_union(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/diagnostic.c:8: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:554:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 554 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/diagnostic.c:10: ../src/region.h: In function 'region_intersect': ../src/region.h:160:44: warning: passing argument 3 of 'pixman_region32_intersect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | pixman_region32_intersect(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/diagnostic.c:8: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:551:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 551 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/diagnostic.c:10: ../src/region.h: In function 'region_symmetric_difference_local': ../src/region.h:195:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | pixman_region32_copy(scratch, region1); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/diagnostic.c:8: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/diagnostic.c:10: ../src/region.h:196:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | pixman_region32_subtract(scratch, scratch, region2); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/diagnostic.c:8: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/diagnostic.c:10: ../src/region.h:199:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | pixman_region32_copy(scratch, region2); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/diagnostic.c:8: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/diagnostic.c:10: ../src/region.h:200:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | pixman_region32_subtract(scratch, scratch, region1); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/diagnostic.c:8: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ [6/49] Compiling C object src/picom.p/log.c.o [7/49] Compiling C object src/picom.p/event.c.o In file included from ../src/common.h:40, from ../src/event.c:17: ../src/region.h: In function 'log_region_': ../src/region.h:55:41: warning: passing argument 1 of 'pixman_region32_extents' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | auto extent = pixman_region32_extents(x); | ^ In file included from ../src/common.h:28, from ../src/event.c:17: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:580:80: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 580 | pixman_box32_t * pixman_region32_extents (pixman_region32_t *region); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/event.c:17: ../src/region.h: In function 'region_subtract': ../src/region.h:146:43: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | pixman_region32_subtract(region, region, other); | ^~~~~ In file included from ../src/common.h:28, from ../src/event.c:17: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/event.c:17: ../src/region.h: In function 'region_union': ../src/region.h:153:40: warning: passing argument 3 of 'pixman_region32_union' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | pixman_region32_union(region, region, other); | ^~~~~ In file included from ../src/common.h:28, from ../src/event.c:17: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:554:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 554 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/event.c:17: ../src/region.h: In function 'region_intersect': ../src/region.h:160:44: warning: passing argument 3 of 'pixman_region32_intersect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | pixman_region32_intersect(region, region, other); | ^~~~~ In file included from ../src/common.h:28, from ../src/event.c:17: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:551:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 551 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/event.c:17: ../src/region.h: In function 'region_symmetric_difference_local': ../src/region.h:195:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | pixman_region32_copy(scratch, region1); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/event.c:17: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/event.c:17: ../src/region.h:196:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | pixman_region32_subtract(scratch, scratch, region2); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/event.c:17: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/event.c:17: ../src/region.h:199:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | pixman_region32_copy(scratch, region2); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/event.c:17: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/event.c:17: ../src/region.h:200:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | pixman_region32_subtract(scratch, scratch, region1); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/event.c:17: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ [8/49] Compiling C object src/picom.p/c2.c.o In file included from ../src/common.h:40, from ../src/c2.c:26: ../src/region.h: In function 'log_region_': ../src/region.h:55:41: warning: passing argument 1 of 'pixman_region32_extents' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | auto extent = pixman_region32_extents(x); | ^ In file included from ../src/common.h:28, from ../src/c2.c:26: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:580:80: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 580 | pixman_box32_t * pixman_region32_extents (pixman_region32_t *region); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/c2.c:26: ../src/region.h: In function 'region_subtract': ../src/region.h:146:43: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | pixman_region32_subtract(region, region, other); | ^~~~~ In file included from ../src/common.h:28, from ../src/c2.c:26: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/c2.c:26: ../src/region.h: In function 'region_union': ../src/region.h:153:40: warning: passing argument 3 of 'pixman_region32_union' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | pixman_region32_union(region, region, other); | ^~~~~ In file included from ../src/common.h:28, from ../src/c2.c:26: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:554:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 554 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/c2.c:26: ../src/region.h: In function 'region_intersect': ../src/region.h:160:44: warning: passing argument 3 of 'pixman_region32_intersect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | pixman_region32_intersect(region, region, other); | ^~~~~ In file included from ../src/common.h:28, from ../src/c2.c:26: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:551:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 551 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/c2.c:26: ../src/region.h: In function 'region_symmetric_difference_local': ../src/region.h:195:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | pixman_region32_copy(scratch, region1); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/c2.c:26: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/c2.c:26: ../src/region.h:196:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | pixman_region32_subtract(scratch, scratch, region2); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/c2.c:26: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/c2.c:26: ../src/region.h:199:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | pixman_region32_copy(scratch, region2); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/c2.c:26: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/c2.c:26: ../src/region.h:200:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | pixman_region32_subtract(scratch, scratch, region1); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/c2.c:26: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ ../src/c2.c: In function 'c2_parse': ../src/c2.c:365:40: warning: passing argument 3 of 'c2_parse_legacy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 365 | offset = c2_parse_legacy(pattern, 0, &result); | ^~~~~~~ ../src/c2.c:334:84: note: expected 'c2_condition_node_ptr *' but argument is of type 'const c2_condition_node_ptr *' 334 | static int c2_parse_legacy(const char *pattern, int offset, c2_condition_node_ptr *presult); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../src/c2.c:367:39: warning: passing argument 3 of 'c2_parse_group' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 367 | offset = c2_parse_group(pattern, 0, &result, 0, deprecated); | ^~~~~~~ ../src/c2.c:329:83: note: expected 'c2_condition_node_ptr *' but argument is of type 'const c2_condition_node_ptr *' 329 | static int c2_parse_group(const char *pattern, int offset, c2_condition_node_ptr *presult, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../src/c2.c:371:12: warning: passing argument 1 of 'c2_freep' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 371 | c2_freep(&result); | ^~~~~~~ ../src/c2.c:344:52: note: expected 'c2_condition_node_ptr *' but argument is of type 'const c2_condition_node_ptr *' 344 | static inline void c2_freep(c2_condition_node_ptr *pp) { | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/ctype.h:100, from ../src/c2.c:6: ../src/c2.c: In function 'c2_condition_node_to_str': ../src/c2.c:1499:29: warning: array subscript has type 'char' [-Wchar-subscripts] 1499 | if (isprint(p.l->ptnstr[i])) { | ^ [9/49] Compiling C object src/picom.p/config_libconfig.c.o In file included from ../src/common.h:40, from ../src/config_libconfig.c:16: ../src/region.h: In function 'log_region_': ../src/region.h:55:41: warning: passing argument 1 of 'pixman_region32_extents' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | auto extent = pixman_region32_extents(x); | ^ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/config_libconfig.c:14: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:580:80: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 580 | pixman_box32_t * pixman_region32_extents (pixman_region32_t *region); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/config_libconfig.c:16: ../src/region.h: In function 'region_subtract': ../src/region.h:146:43: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | pixman_region32_subtract(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/config_libconfig.c:14: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/config_libconfig.c:16: ../src/region.h: In function 'region_union': ../src/region.h:153:40: warning: passing argument 3 of 'pixman_region32_union' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | pixman_region32_union(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/config_libconfig.c:14: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:554:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 554 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/config_libconfig.c:16: ../src/region.h: In function 'region_intersect': ../src/region.h:160:44: warning: passing argument 3 of 'pixman_region32_intersect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | pixman_region32_intersect(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/config_libconfig.c:14: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:551:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 551 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/config_libconfig.c:16: ../src/region.h: In function 'region_symmetric_difference_local': ../src/region.h:195:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | pixman_region32_copy(scratch, region1); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/config_libconfig.c:14: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/config_libconfig.c:16: ../src/region.h:196:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | pixman_region32_subtract(scratch, scratch, region2); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/config_libconfig.c:14: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/config_libconfig.c:16: ../src/region.h:199:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | pixman_region32_copy(scratch, region2); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/config_libconfig.c:14: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/config_libconfig.c:16: ../src/region.h:200:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | pixman_region32_subtract(scratch, scratch, region1); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/config_libconfig.c:14: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ ninja: build stopped: subcommand failed. *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/x11/picom *** Error code 1 Stop. make: stopped in /usr/pkgsrc/x11/picom