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] emerge --info
Adding as a blocker to #575232
fixed in Gentoo & sent upstream: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c946fd3b81136b633882884a8e47abc49c706e