Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642404 - media-libs/libsdl2 [wayland]: pointer-constraints-unstable-v1-client-protocol.h: No such file or directory
Summary: media-libs/libsdl2 [wayland]: pointer-constraints-unstable-v1-client-protocol...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-27 14:15 UTC by Maciej Piechotka
Modified: 2018-09-22 05:53 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,200.41 KB, text/x-log)
2018-04-16 23:22 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Piechotka 2017-12-27 14:15:18 UTC
/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.
Comment 1 Jiří Moravec 2018-01-02 11:49:31 UTC
Me too...
Comment 2 Jiří Moravec 2018-01-02 12:33:02 UTC
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
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-01-03 23:01:11 UTC
Please attach a complete build.log, and paste or attach 'emerge --info'.
Comment 4 Jonas Stein gentoo-dev 2018-01-06 18:46:43 UTC
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).
Comment 5 Dennis Schridde 2018-04-16 23:22:18 UTC
Created attachment 527660 [details]
build.log

This is the build.log from when it fails.  Setting MAKEOPTS=-j1 allows me to build.
Comment 6 Alexander Pilipenko 2018-05-03 16:53:10 UTC
Same error in 2.0.8-r1, successful build only with MAKEOPTS=-j1
Comment 7 Joonas Niilola gentoo-dev 2018-09-18 13:34:22 UTC
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.