GithubHelp home page GithubHelp logo

Build failure with latest master about labwc HOT 23 CLOSED

labwc avatar labwc commented on May 23, 2024
Build failure with latest master

from labwc.

Comments (23)

johanmalm avatar johanmalm commented on May 23, 2024 1

@Narrat @jbeich Have tagged at 0.2.1

from labwc.

apbryan avatar apbryan commented on May 23, 2024

It looks like at some point you're using a newer version of wlr-layer-shell-unstable-v1.xml (and the cooresponding .h and .c file) than what labwc has in it's repo. keyboard_interactivity was added in interface version 4, while the xml in the labwc repo is version 3. You can either try to remove the version 4 (of the v1 header; very confusing) header from your include directories (/usr/include, /usr/local/include), wait for someone to upgrade labwc to the newest version of wlr-layer-shell-unstable-v1.xml, or upgrade it yourself! Maybe it's easy!

from labwc.

epsilon-0 avatar epsilon-0 commented on May 23, 2024

I'll have to wait for the upgrade 😉
I'm trying to make it available for other users, so removing the older files is not going to be possible, as they will also have to do manual work. And it would also hinder installation of labwc with other compositors.

from labwc.

johanmalm avatar johanmalm commented on May 23, 2024

I've updated the protocol. Any good?

from labwc.

epsilon-0 avatar epsilon-0 commented on May 23, 2024

It progressed further :D but still crashed D:

>>> Configuring source in /var/tmp/portage/gui-wm/labwc-9999/work/labwc-9999 ...
meson setup --buildtype plain --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/gui-wm/labwc-9999/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Dxwayland=enabled /var/tmp/portage/gui-wm/labwc-9999/work/labwc-9999 /var/tmp/portage/gui-wm/labwc-9999/work/labwc-9999-build
DEPRECATION: c_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: c_link_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: cpp_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: cpp_link_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: fortran_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: fortran_link_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: objc_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: objc_link_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: objcpp_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: objcpp_link_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
The Meson build system
Version: 0.56.2
Source dir: /var/tmp/portage/gui-wm/labwc-9999/work/labwc-9999
Build dir: /var/tmp/portage/gui-wm/labwc-9999/work/labwc-9999-build
Build type: native build
Project name: labwc
Project version: undefined
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 10.2.0 "x86_64-pc-linux-gnu-gcc (Gentoo 10.2.0-r5 p6) 10.2.0")
C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.35.2
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wundef: YES
Neither a subproject directory nor a wlroots.wrap file was found.
Subproject  wlroots is buildable: NO (disabling)
Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.7.3)
Run-time dependency wlroots found: YES 0.12.0
Fetching value of define "WLR_HAS_XWAYLAND" with dependency wlroots: 1
Run-time dependency wayland-server found: YES 1.19.0
Run-time dependency wayland-protocols found: YES 1.20
Run-time dependency xkbcommon found: YES 1.0.3
Run-time dependency xcb found: YES 1.14
Run-time dependency libxml-2.0 found: YES 2.9.10
Run-time dependency glib-2.0 found: YES 2.66.7
Run-time dependency cairo found: YES 1.16.0
Run-time dependency pangocairo found: YES 1.42.4
Run-time dependency libinput found: YES 1.17.0
Run-time dependency pixman-1 found: YES 0.40.0
Library m found: YES
Program wayland-scanner found: YES (/usr/bin/wayland-scanner)
Configuring config.h using configuration
Program pandoc found: NO
Build targets in project: 2

labwc undefined

  Subprojects
    wlroots: NO Neither a subproject directory nor a wlroots.wrap file was found.

Found ninja-1.10.2 at /usr/bin/ninja
>>> Source configured.
>>> Compiling source in /var/tmp/portage/gui-wm/labwc-9999/work/labwc-9999 ...
ninja -v -j8 -l0 -C /var/tmp/portage/gui-wm/labwc-9999/work/labwc-9999-build
ninja: Entering directory `/var/tmp/portage/gui-wm/labwc-9999/work/labwc-9999-build'
[1/44] /usr/bin/wayland-scanner private-code //usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml protocols/libserver_protos.a.p/xdg-shell-protocol.c
[2/44] /usr/bin/wayland-scanner private-code ../labwc-9999/protocols/wlr-layer-shell-unstable-v1.xml protocols/libserver_protos.a.p/wlr-layer-shell-unstable-v1-protocol.c
[3/44] /usr/bin/wayland-scanner server-header //usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml protocols/libserver_protos.a.p/xdg-shell-protocol.h
[4/44] /usr/bin/wayland-scanner server-header ../labwc-9999/protocols/wlr-layer-shell-unstable-v1.xml protocols/libserver_protos.a.p/wlr-layer-shell-unstable-v1-protocol.h
[5/44] /usr/bin/wayland-scanner server-header //usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml labwc.p/xdg-shell-protocol.h
[6/44] /usr/bin/wayland-scanner server-header ../labwc-9999/protocols/wlr-layer-shell-unstable-v1.xml labwc.p/wlr-layer-shell-unstable-v1-protocol.h
[7/44] x86_64-pc-linux-gnu-gcc -Iprotocols/libserver_protos.a.p -Iprotocols -I../labwc-9999/protocols -I/usr/lib64/libffi/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -fPIC -MD -MQ protocols/libserver_protos.a.p/meson-generated_xdg-shell-protocol.c.o -MF protocols/libserver_protos.a.p/meson-generated_xdg-shell-protocol.c.o.d -o protocols/libserver_protos.a.p/meson-generated_xdg-shell-protocol.c.o -c protocols/libserver_protos.a.p/xdg-shell-protocol.c
[8/44] x86_64-pc-linux-gnu-gcc -Iprotocols/libserver_protos.a.p -Iprotocols -I../labwc-9999/protocols -I/usr/lib64/libffi/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -fPIC -MD -MQ protocols/libserver_protos.a.p/meson-generated_wlr-layer-shell-unstable-v1-protocol.c.o -MF protocols/libserver_protos.a.p/meson-generated_wlr-layer-shell-unstable-v1-protocol.c.o.d -o protocols/libserver_protos.a.p/meson-generated_wlr-layer-shell-unstable-v1-protocol.c.o -c protocols/libserver_protos.a.p/wlr-layer-shell-unstable-v1-protocol.c
[9/44] rm -f protocols/libserver_protos.a && x86_64-pc-linux-gnu-ar csrD protocols/libserver_protos.a protocols/libserver_protos.a.p/meson-generated_xdg-shell-protocol.c.o protocols/libserver_protos.a.p/meson-generated_wlr-layer-shell-unstable-v1-protocol.c.o
[10/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_cursor.c.o -MF labwc.p/src_cursor.c.o.d -o labwc.p/src_cursor.c.o -c ../labwc-9999/src/cursor.c
[11/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_deco.c.o -MF labwc.p/src_deco.c.o.d -o labwc.p/src_deco.c.o -c ../labwc-9999/src/deco.c
[12/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_damage.c.o -MF labwc.p/src_damage.c.o.d -o labwc.p/src_damage.c.o -c ../labwc-9999/src/damage.c
[13/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_desktop.c.o -MF labwc.p/src_desktop.c.o.d -o labwc.p/src_desktop.c.o -c ../labwc-9999/src/desktop.c
[14/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_interactive.c.o -MF labwc.p/src_interactive.c.o.d -o labwc.p/src_interactive.c.o -c ../labwc-9999/src/interactive.c
[15/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_action.c.o -MF labwc.p/src_action.c.o.d -o labwc.p/src_action.c.o -c ../labwc-9999/src/action.c
[16/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_keyboard.c.o -MF labwc.p/src_keyboard.c.o.d -o labwc.p/src_keyboard.c.o -c ../labwc-9999/src/keyboard.c
[17/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_layers.c.o -MF labwc.p/src_layers.c.o.d -o labwc.p/src_layers.c.o -c ../labwc-9999/src/layers.c
[18/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_seat.c.o -MF labwc.p/src_seat.c.o.d -o labwc.p/src_seat.c.o -c ../labwc-9999/src/seat.c
[19/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_main.c.o -MF labwc.p/src_main.c.o.d -o labwc.p/src_main.c.o -c ../labwc-9999/src/main.c
[20/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_osd.c.o -MF labwc.p/src_osd.c.o.d -o labwc.p/src_osd.c.o -c ../labwc-9999/src/osd.c
[21/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_view.c.o -MF labwc.p/src_view.c.o.d -o labwc.p/src_view.c.o -c ../labwc-9999/src/view.c
[22/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_xdg.c.o -MF labwc.p/src_xdg.c.o.d -o labwc.p/src_xdg.c.o -c ../labwc-9999/src/xdg.c
../labwc-9999/src/xdg.c: In function ‘xdg_toplevel_view_for_each_popup’:
../labwc-9999/src/xdg.c:292:2: warning: implicit declaration of function ‘wlr_xdg_surface_for_each_popup’; did you mean ‘wlr_xdg_surface_for_each_surface’? [-Wimplicit-function-declaration]
  292 |  wlr_xdg_surface_for_each_popup(view->xdg_surface, iterator, data);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |  wlr_xdg_surface_for_each_surface
[23/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_server.c.o -MF labwc.p/src_server.c.o.d -o labwc.p/src_server.c.o -c ../labwc-9999/src/server.c
FAILED: labwc.p/src_server.c.o
x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_server.c.o -MF labwc.p/src_server.c.o.d -o labwc.p/src_server.c.o -c ../labwc-9999/src/server.c
../labwc-9999/src/server.c: In function ‘server_init’:
../labwc-9999/src/server.c:93:20: error: too many arguments to function ‘wlr_backend_autocreate’
   93 |  server->backend = wlr_backend_autocreate(server->wl_display, NULL);
      |                    ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../labwc-9999/include/labwc.h:11,
                 from ../labwc-9999/src/server.c:12:
/usr/include/wlr/backend.h:35:21: note: declared here
   35 | struct wlr_backend *wlr_backend_autocreate(struct wl_display *display);
      |                     ^~~~~~~~~~~~~~~~~~~~~~
[24/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_output.c.o -MF labwc.p/src_output.c.o.d -o labwc.p/src_output.c.o -c ../labwc-9999/src/output.c
[25/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_common_buf.c.o -MF labwc.p/src_common_buf.c.o.d -o labwc.p/src_common_buf.c.o -c ../labwc-9999/src/common/buf.c
[26/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_theme.c.o -MF labwc.p/src_theme.c.o.d -o labwc.p/src_theme.c.o -c ../labwc-9999/src/theme.c
[27/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_xwayland.c.o -MF labwc.p/src_xwayland.c.o.d -o labwc.p/src_xwayland.c.o -c ../labwc-9999/src/xwayland.c
[28/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_xwayland-unmanaged.c.o -MF labwc.p/src_xwayland-unmanaged.c.o.d -o labwc.p/src_xwayland-unmanaged.c.o -c ../labwc-9999/src/xwayland-unmanaged.c
[29/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_common_dir.c.o -MF labwc.p/src_common_dir.c.o.d -o labwc.p/src_common_dir.c.o -c ../labwc-9999/src/common/dir.c
[30/44] x86_64-pc-linux-gnu-gcc -Ilabwc.p -I. -I../labwc-9999 -Iinclude -I../labwc-9999/include -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-enum-compare -Wno-unused-parameter -Wundef -march=znver1 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal-math -Wl,-O1 -Wl,--as-needed -pthread -MD -MQ labwc.p/src_common_font.c.o -MF labwc.p/src_common_font.c.o.d -o labwc.p/src_common_font.c.o -c ../labwc-9999/src/common/font.c
ninja: build stopped: subcommand failed.

from labwc.

epsilon-0 avatar epsilon-0 commented on May 23, 2024

Changing the two functions (as indicated in the error message) manages to finish the compilation and also allows to run it.

from labwc.

johanmalm avatar johanmalm commented on May 23, 2024

The wlroots API has changed since 0.12.0
Could you build with wlroots as a subproject checked out at 0.12.0
I will change the wlr_backend_autocreate call when 0.13.0 is out.

from labwc.

epsilon-0 avatar epsilon-0 commented on May 23, 2024

Maybe it might be good to make releases in tandum with wlroots releases and keep the main branch head in sync with wlroots head?
A few of the other compositor projects (wayfire, sway, hikari) do this and it helps keep track of versions for users and packagers.

from labwc.

johanmalm avatar johanmalm commented on May 23, 2024

Yes - I will do, I just haven't got to the first release yet 😄

from labwc.

epsilon-0 avatar epsilon-0 commented on May 23, 2024

I'd say that the current state is pretty nice for a first release ❤️

In a slightly unrelated note, I was trying to get the documentation to build and it seems to be using pandoc, which is a monster.
Would you be willing to entertain a PR for writing the documentation in plain man text, so that you can just straight away install the documentation? I'd be happy to change up the documentation.
Having docs is very important for new users, especially Gentoo, and pandoc is a mood killer for most people.

from labwc.

johanmalm avatar johanmalm commented on May 23, 2024

Thanks. Will push 0.1.0 soon. Just want to fix few bugs first.

Yes, completely get the pandoc argument.
Was planning on converting to scdoc. Not mad keen on raw man format.
Help with scdoc welcome.
Also, happy to commit the actual .1 and .5 files to avoid the scdoc dependency.

from labwc.

johanmalm avatar johanmalm commented on May 23, 2024

@epsilon-0
I think I'm ready to push 0.1.0, but want to convert the man pages to scdoc first.
Just wanted to check that we're not duplicating effort. I'll make a start tomorrow unless I hear.

from labwc.

epsilon-0 avatar epsilon-0 commented on May 23, 2024

Ah, apologies, I haven't started yet :(
Congrats on the first upcoming release!! ❤️

from labwc.

johanmalm avatar johanmalm commented on May 23, 2024

Just wanted to double check 😄
I'll have a go tomorrow night.

from labwc.

jbeich avatar jbeich commented on May 23, 2024

@johanmalm, do you plan to create a tag (0.2.0 or 0.1.1) with wlroots 0.13 support? I'd like to get rid of local backport downstream

from labwc.

johanmalm avatar johanmalm commented on May 23, 2024

@jbeich Yes, will do. Just want to to fix a couple of things first 😄

from labwc.

johanmalm avatar johanmalm commented on May 23, 2024

@jbeich I've upversioned to 0.2.0

from labwc.

Narrat avatar Narrat commented on May 23, 2024

Maybe it's worth to tag a 0.2.1 which includes https://github.com/johanmalm/labwc/pull/30 ?

from labwc.

ahmadraniri1994 avatar ahmadraniri1994 commented on May 23, 2024

Hi, I'm sorry for bringing this issue up, I'm trying to compile with latest master and I got this error, I'm not sure what are those mean. I compile with wlroots first and include it on subproject too. This is the error part I take with screenshot.
2021-08-04-155525_1366x768_scrot

from labwc.

ahmadraniri1994 avatar ahmadraniri1994 commented on May 23, 2024

Hi, I'm sorry for bringing this issue up, I'm trying to compile with latest master and I got this error, I'm not sure what are those mean. I compile with wlroots first and include it on subproject too. This is the error part I take with screenshot.
2021-08-04-155525_1366x768_scrot

also, I didn't compile from AUR because the wlroots will mess swaywm up.

from labwc.

johanmalm avatar johanmalm commented on May 23, 2024

Does that the commits on 2 Aug?

from labwc.

ahmadraniri1994 avatar ahmadraniri1994 commented on May 23, 2024

Does that the commits on 2 Aug?

I'm not sure, I cloned it some days ago...
I'll try again.

from labwc.

ahmadraniri1994 avatar ahmadraniri1994 commented on May 23, 2024

Does that the commits on 2 Aug?

It's working now. Thanks.

from labwc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.