Created attachment 430512 [details]
build log fragment
xine-lib fails on building src/xine-utils/xine_check.c (see attached build log fragment).
Failure is caused by implicit declaration of function major(). Looking at "man major" suggests that xine_check.c is missing #include <sys/types.h> but on my system (linux-headers-4.5) the proper header file is in fact <sys/sysmacros.h>. Adding such #include directive to xine_check.c makes the build complete successfully.
Created attachment 430514 [details]
Adding as a blocker to #575232
fixed in Gentoo & sent upstream: