mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-18 05:13:43 -09:00
When building webkit, I got this build error: >>> webkitgtk 2.46.3 Building GIT_DIR=. PATH="/home/thomas/br-test-pkg/bootlin-armv5-uclibc/host/bin:/home/thomas/br-test-pkg/bootlin-armv5-uclibc/host/sbin:/home/thomas/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin" /home/thomas/.local/bin/cmake --build /home/thomas/br-test-pkg/bootlin-armv5-uclibc/build/webkitgtk-2.46.3/ -j25 ninja: error: '/home/thomas/br-test-pkg/bootlin-armv5-uclibc/host/arm-buildroot-linux-uclibcgnueabi/sysroot/home/thomas/br-test-pkg/bootlin-armv5-uclibc/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/share/wayland-protocols/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml', needed by 'WebKitGTK/DerivedSources/pointer-constraints-unstable-v1-protocol.c', missing and no known rule to make it make[1]: *** [package/pkg-generic.mk:289: /home/thomas/br-test-pkg/bootlin-armv5-uclibc/build/webkitgtk-2.46.3/.stamp_built] Error 1 make: *** [Makefile:83: _all] Error 2 The sysroot path is prepended twice to the path. This error persists sincea3b2bc8"package/pkgconf: bump to version 2.3.0". After digging into it, I found out that dropping "pkgdatadir" from the patch does fix it. This is, in fact, the same, or similar problem that was fixed in3e74c13"package/pkgconf: variable pkgdatadir also needs sysroot prefixing, wayland patch III" years ago. I was not able to find out which pkgconf commit caused the behavior change. Commita3b2bc8bumped it from 1.6.3 to 2.3.0, which is a considerable big change. Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit139b580ca4) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>