D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/swaybg-1.2.0-1.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.42F3pM + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf swaybg-1.2.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/swaybg-1.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd swaybg-1.2.0 + rm -rf /home/pterjan/rpmbuild/BUILD/swaybg-1.2.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/swaybg-1.2.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7sjlHY + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd swaybg-1.2.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . build The Meson build system Version: 1.4.0 Source dir: /home/pterjan/rpmbuild/BUILD/swaybg-1.2.0 Build dir: /home/pterjan/rpmbuild/BUILD/swaybg-1.2.0/build Build type: native build Project name: swaybg Project version: 1.2.0 C compiler for the host machine: gcc (gcc 14.0.1 "gcc (Mageia 14.0.1-0.20240317.1.mga10) 14.0.1 20240317 (experimental)") C linker for the host machine: gcc ld.bfd 2.42 Host machine cpu family: x86_64 Host machine cpu: x86_64 Library rt found: YES Found pkg-config: YES (/usr/bin/pkg-config) 1.8.0 Run-time dependency wayland-client found: YES 1.22.0 Run-time dependency wayland-protocols found: YES 1.33 Build-time dependency wayland-scanner found: YES 1.22.0 Run-time dependency cairo found: YES 1.18.0 Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.10 Program git found: NO Program scdoc found: YES (/usr/bin/scdoc) Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner) Build targets in project: 3 swaybg 1.2.0 User defined options auto_features : enabled bindir : /usr/bin buildtype : plain datadir : /usr/share includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib64 libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/sbin sharedstatedir: /var/lib sysconfdir : /etc wrap_mode : nodownload Found ninja-1.11.1 at /usr/bin/ninja + /usr/bin/meson compile -C build -j 16 --verbose ninja: Entering directory `/home/pterjan/rpmbuild/BUILD/swaybg-1.2.0/build' [1/24] /usr/bin/wayland-scanner private-code //usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml libclient_protos.a.p/xdg-shell-protocol.c [2/24] /usr/bin/wayland-scanner private-code //usr/share/wayland-protocols/stable/viewporter/viewporter.xml libclient_protos.a.p/viewporter-protocol.c [3/24] /usr/bin/wayland-scanner private-code //usr/share/wayland-protocols/staging/single-pixel-buffer/single-pixel-buffer-v1.xml libclient_protos.a.p/single-pixel-buffer-v1-protocol.c [4/24] /usr/bin/wayland-scanner private-code ../wlr-layer-shell-unstable-v1.xml libclient_protos.a.p/wlr-layer-shell-unstable-v1-protocol.c [5/24] /usr/bin/wayland-scanner client-header //usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml libclient_protos.a.p/xdg-shell-client-protocol.h [6/24] /usr/bin/wayland-scanner client-header //usr/share/wayland-protocols/stable/viewporter/viewporter.xml libclient_protos.a.p/viewporter-client-protocol.h [7/24] /usr/bin/wayland-scanner client-header //usr/share/wayland-protocols/staging/single-pixel-buffer/single-pixel-buffer-v1.xml libclient_protos.a.p/single-pixel-buffer-v1-client-protocol.h [8/24] /usr/bin/wayland-scanner client-header ../wlr-layer-shell-unstable-v1.xml libclient_protos.a.p/wlr-layer-shell-unstable-v1-client-protocol.h [9/24] /usr/bin/wayland-scanner client-header //usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml swaybg.p/xdg-shell-client-protocol.h [10/24] /usr/bin/wayland-scanner client-header //usr/share/wayland-protocols/stable/viewporter/viewporter.xml swaybg.p/viewporter-client-protocol.h [11/24] /usr/bin/wayland-scanner client-header //usr/share/wayland-protocols/staging/single-pixel-buffer/single-pixel-buffer-v1.xml swaybg.p/single-pixel-buffer-v1-client-protocol.h [12/24] /usr/bin/wayland-scanner client-header ../wlr-layer-shell-unstable-v1.xml swaybg.p/wlr-layer-shell-unstable-v1-client-protocol.h [13/24] gcc -Ilibclient_protos.a.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -Wno-unused-parameter -Wno-unused-result -Wundef -Wvla '-DSWAYBG_VERSION="1.2.0"' -DHAVE_GDK_PIXBUF=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ libclient_protos.a.p/meson-generated_viewporter-protocol.c.o -MF libclient_protos.a.p/meson-generated_viewporter-protocol.c.o.d -o libclient_protos.a.p/meson-generated_viewporter-protocol.c.o -c libclient_protos.a.p/viewporter-protocol.c [14/24] gcc -Ilibclient_protos.a.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -Wno-unused-parameter -Wno-unused-result -Wundef -Wvla '-DSWAYBG_VERSION="1.2.0"' -DHAVE_GDK_PIXBUF=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ libclient_protos.a.p/meson-generated_xdg-shell-protocol.c.o -MF libclient_protos.a.p/meson-generated_xdg-shell-protocol.c.o.d -o libclient_protos.a.p/meson-generated_xdg-shell-protocol.c.o -c libclient_protos.a.p/xdg-shell-protocol.c [15/24] gcc -Ilibclient_protos.a.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -Wno-unused-parameter -Wno-unused-result -Wundef -Wvla '-DSWAYBG_VERSION="1.2.0"' -DHAVE_GDK_PIXBUF=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ libclient_protos.a.p/meson-generated_single-pixel-buffer-v1-protocol.c.o -MF libclient_protos.a.p/meson-generated_single-pixel-buffer-v1-protocol.c.o.d -o libclient_protos.a.p/meson-generated_single-pixel-buffer-v1-protocol.c.o -c libclient_protos.a.p/single-pixel-buffer-v1-protocol.c [16/24] gcc -Ilibclient_protos.a.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -Wno-unused-parameter -Wno-unused-result -Wundef -Wvla '-DSWAYBG_VERSION="1.2.0"' -DHAVE_GDK_PIXBUF=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ libclient_protos.a.p/meson-generated_wlr-layer-shell-unstable-v1-protocol.c.o -MF libclient_protos.a.p/meson-generated_wlr-layer-shell-unstable-v1-protocol.c.o.d -o libclient_protos.a.p/meson-generated_wlr-layer-shell-unstable-v1-protocol.c.o -c libclient_protos.a.p/wlr-layer-shell-unstable-v1-protocol.c [17/24] rm -f libclient_protos.a && gcc-ar csrDT libclient_protos.a libclient_protos.a.p/meson-generated_xdg-shell-protocol.c.o libclient_protos.a.p/meson-generated_viewporter-protocol.c.o libclient_protos.a.p/meson-generated_single-pixel-buffer-v1-protocol.c.o libclient_protos.a.p/meson-generated_wlr-layer-shell-unstable-v1-protocol.c.o [18/24] /usr/bin/meson --internal exe --capture swaybg.1 --feed ../swaybg.1.scd -- /usr/bin/scdoc [19/24] gcc -Iswaybg.p -I. -I.. -I../include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -Wno-unused-parameter -Wno-unused-result -Wundef -Wvla '-DSWAYBG_VERSION="1.2.0"' -DHAVE_GDK_PIXBUF=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pthread -MD -MQ swaybg.p/log.c.o -MF swaybg.p/log.c.o.d -o swaybg.p/log.c.o -c ../log.c [20/24] gcc -Iswaybg.p -I. -I.. -I../include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -Wno-unused-parameter -Wno-unused-result -Wundef -Wvla '-DSWAYBG_VERSION="1.2.0"' -DHAVE_GDK_PIXBUF=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pthread -MD -MQ swaybg.p/pool-buffer.c.o -MF swaybg.p/pool-buffer.c.o.d -o swaybg.p/pool-buffer.c.o -c ../pool-buffer.c [21/24] gcc -Iswaybg.p -I. -I.. -I../include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -Wno-unused-parameter -Wno-unused-result -Wundef -Wvla '-DSWAYBG_VERSION="1.2.0"' -DHAVE_GDK_PIXBUF=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pthread -MD -MQ swaybg.p/background-image.c.o -MF swaybg.p/background-image.c.o.d -o swaybg.p/background-image.c.o -c ../background-image.c [22/24] gcc -Iswaybg.p -I. -I.. -I../include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -Wno-unused-parameter -Wno-unused-result -Wundef -Wvla '-DSWAYBG_VERSION="1.2.0"' -DHAVE_GDK_PIXBUF=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pthread -MD -MQ swaybg.p/cairo.c.o -MF swaybg.p/cairo.c.o.d -o swaybg.p/cairo.c.o -c ../cairo.c [23/24] gcc -Iswaybg.p -I. -I.. -I../include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -Wno-unused-parameter -Wno-unused-result -Wundef -Wvla '-DSWAYBG_VERSION="1.2.0"' -DHAVE_GDK_PIXBUF=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pthread -MD -MQ swaybg.p/main.c.o -MF swaybg.p/main.c.o.d -o swaybg.p/main.c.o -c ../main.c FAILED: swaybg.p/main.c.o gcc -Iswaybg.p -I. -I.. -I../include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -Wno-unused-parameter -Wno-unused-result -Wundef -Wvla '-DSWAYBG_VERSION="1.2.0"' -DHAVE_GDK_PIXBUF=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pthread -MD -MQ swaybg.p/main.c.o -MF swaybg.p/main.c.o.d -o swaybg.p/main.c.o -c ../main.c ../main.c: In function ‘parse_command_line’: ../main.c:458:61: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args] 458 | struct swaybg_output_config *config = calloc(sizeof(struct swaybg_output_config), 1); | ^~~~~~ ../main.c:458:61: note: earlier argument should specify number of elements, later size of each element ../main.c:492:48: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args] 492 | config = calloc(sizeof(struct swaybg_output_config), 1); | ^~~~~~ ../main.c:492:48: note: earlier argument should specify number of elements, later size of each element cc1: all warnings being treated as errors ninja: build stopped: subcommand failed. INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /home/pterjan/rpmbuild/BUILD/swaybg-1.2.0/build -j 16 -v error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.7sjlHY (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.7sjlHY (%build) I: [iurt_root_command] ERROR: chroot