10.0.1: build fails
Looks like sometning is wrong with missing symbol on linking test progtraam.
[tkloczko@devel-g2v x86_64-redhat-linux-gnu]$ ninja
[2/2] Linking target tests/test-ivi-layout.so
FAILED: tests/test-ivi-layout.so
/usr/bin/gcc -o tests/test-ivi-layout.so tests/test-ivi-layout.so.p/meson-generated_.._.._protocol_weston-test-protocol.c.o tests/test-ivi-layout.so.p/ivi-layout-test-plugin.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,test-ivi-layout.so -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none '-Wl,-rpath,$ORIGIN/../libweston:$ORIGIN/../compositor' -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/weston-10.0.1/x86_64-redhat-linux-gnu/libweston -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/weston-10.0.1/x86_64-redhat-linux-gnu/compositor libweston/libweston-10.so.0.0.1 compositor/libexec_weston.so.0.0.0 /usr/lib64/libwayland-server.so /usr/lib64/libpixman-1.so /usr/lib64/libxkbcommon.so -Wl,--end-group
/usr/bin/ld: /tmp/cciadncK.lto.o: in function `runner_run_handler':
/home/tkloczko/rpmbuild/BUILD/weston-10.0.1/x86_64-redhat-linux-gnu/../tests/ivi-layout-test-plugin.c:72: undefined reference to `__start_plugin_test_section'
/usr/bin/ld: /tmp/cciadncK.lto.o:/home/tkloczko/rpmbuild/BUILD/weston-10.0.1/x86_64-redhat-linux-gnu/../tests/ivi-layout-test-plugin.c:72: undefined reference to `__stop_plugin_test_section'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
[tkloczko@devel-g2v SPECS]$ rpm -qf /usr/lib64/libwayland-server.so /usr/lib64/libpixman-1.so /usr/lib64/libxkbcommon.so
wayland-devel-1.20.0-5.fc35.x86_64
pixman-devel-0.40.0-6.fc35.x86_64
libxkbcommon-devel-1.4.1-2.fc35.x86_64
Edited by Marius Vlad