/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -m32 -march=native -O2 -pipe -ggdb -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/libsdl2-2.0.7/work/SDL2-2.0.7/include -idirafter /var/tmp/portage/media-libs/libsdl2-2.0.7/work/SDL2-2.0.7/src/video/khronos -mmmx -msse -msse2 -Wall -fvisibility=hidden -Wdeclaration-after-statement -Werror=declaration-after-statement -D_REENTRANT -Igen -I/usr/include/dbus-1.0 -I/usr/lib32/dbus-1.0/include -D_REENTRANT -DHAVE_LINUX_VERSION_H -MMD -MT build/SDL_waylandevents.lo -c /var/tmp/portage/media-libs/libsdl2-2.0.7/work/SDL2-2.0.7/src/video/wayland/SDL_waylandevents.c -o build/SDL_waylandevents.lo libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -march=native -O2 -pipe -ggdb -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/libsdl2-2.0.7/work/SDL2-2.0.7/include -idirafter /var/tmp/portage/media-libs/libsdl2-2.0.7/work/SDL2-2.0.7/src/video/khronos -mmmx -msse -msse2 -Wall -fvisibility=hidden -Wdeclaration-after-statement -Werror=declaration-after-statement -D_REENTRANT -Igen -I/usr/include/dbus-1.0 -I/usr/lib32/dbus-1.0/include -D_REENTRANT -DHAVE_LINUX_VERSION_H -MMD -MT build/SDL_waylandevents.lo -c /var/tmp/portage/media-libs/libsdl2-2.0.7/work/SDL2-2.0.7/src/video/wayland/SDL_waylandevents.c -fPIC -DPIC -o build/.libs/SDL_waylandevents.o /var/tmp/portage/media-libs/libsdl2-2.0.7/work/SDL2-2.0.7/src/video/wayland/SDL_waylandevents.c:41:10: fatal error: pointer-constraints-unstable-v1-client-protocol.h: No such file or directory #include "pointer-constraints-unstable-v1-client-protocol.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:617: build/SDL_waylandevents.lo] Error 1 Probably a missing dependency or wayland-protocols should convert xml files into .h files.
Me too...
After I did 'make all' in /var/tmp/portage/media-libs/libsdl2-2.0.7/work/SDL2-2.0.7-abi_x86_64.amd64 problem disappeared. And next 'emerge -v1 =media-libs/libsdl2-2.0.7' succeeded without hitch. Interesting ... ls -1 /var/tmp/portage/media-libs/libsdl2-2.0.7/work/SDL2-2.0.7-abi_x86_64.amd64/gen: pointer-constraints-unstable-v1-client-protocol.h pointer-constraints-unstable-v1-protocol.c relative-pointer-unstable-v1-client-protocol.h relative-pointer-unstable-v1-protocol.c wayland-client-protocol.h wayland-protocol.c
Please attach a complete build.log, and paste or attach 'emerge --info'.
You can see here how to *attach* the logfiles, https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket and reopen this ticket (Status:unconfirmed).
Created attachment 527660 [details] build.log This is the build.log from when it fails. Setting MAKEOPTS=-j1 allows me to build.
Same error in 2.0.8-r1, successful build only with MAKEOPTS=-j1
Hit this error today, too, on media-libs/libsdl2-2.0.8-r2::gentoo MAKEOPTS="-j1" made the emerge build successful. This bug was a bit hidden even though build failure is still present.
Fixed by chewi, https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca5358d650f11d045615aa19edbed5f5781a4480