Created attachment 432632 [details] emerge --info output /var/tmp/portage/x11-libs/libdrm-2.4.68/work/libdrm-2.4.68/xf86drm.c: In function ‘drmOpenMinor’: /var/tmp/portage/x11-libs/libdrm-2.4.68/work/libdrm-2.4.68/xf86drm.c:444:23: error: implicit declaration of function ‘makedev’ [-Werror=implicit-function-declaration] return drmOpenDevice(makedev(DRM_MAJOR, minor), minor, type); ^ /var/tmp/portage/x11-libs/libdrm-2.4.68/work/libdrm-2.4.68/xf86drm.c:444:2: warning: nested extern declaration of ‘makedev’ [-Wnested-externs] return drmOpenDevice(makedev(DRM_MAJOR, minor), minor, type); ^ /var/tmp/portage/x11-libs/libdrm-2.4.68/work/libdrm-2.4.68/xf86drm.c: In function ‘drmGetNodeTypeFromFd’: /var/tmp/portage/x11-libs/libdrm-2.4.68/work/libdrm-2.4.68/xf86drm.c:2717:8: error: implicit declaration of function ‘major’ [-Werror=implicit-function-declaration] maj = major(sbuf.st_rdev); ^ /var/tmp/portage/x11-libs/libdrm-2.4.68/work/libdrm-2.4.68/xf86drm.c:2717:2: warning: nested extern declaration of ‘major’ [-Wnested-externs] maj = major(sbuf.st_rdev); ^ /var/tmp/portage/x11-libs/libdrm-2.4.68/work/libdrm-2.4.68/xf86drm.c:2718:8: error: implicit declaration of function ‘minor’ [-Werror=implicit-function-declaration] min = minor(sbuf.st_rdev); ^ /var/tmp/portage/x11-libs/libdrm-2.4.68/work/libdrm-2.4.68/xf86drm.c:2718:2: warning: nested extern declaration of ‘minor’ [-Wnested-externs] min = minor(sbuf.st_rdev); ^ cc1: some warnings being treated as errors Makefile:706: recipe for target 'libdrm_la-xf86drm.lo' failed make[2]: *** [libdrm_la-xf86drm.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... /var/tmp/portage/x11-libs/libdrm-2.4.68/work/libdrm-2.4.68/xf86drmMode.c: In function ‘drmHandleEvent’: /var/tmp/portage/x11-libs/libdrm-2.4.68/work/libdrm-2.4.68/xf86drmMode.c:891:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] e = (struct drm_event *) &buffer[i]; ^ make[2]: Leaving directory '/var/tmp/portage/x11-libs/libdrm-2.4.68/work/libdrm-2.4.68-abi_x86_32.x86' Makefile:815: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/x11-libs/libdrm-2.4.68/work/libdrm-2.4.68-abi_x86_32.x86' Makefile:574: recipe for target 'all' failed make: *** [all] Error 2
Created attachment 432634 [details] full build log Related to this bug: (mesa) https://bugs.gentoo.org/show_bug.cgi?id=581618
Found more information here: https://forums.gentoo.org/viewtopic-p-7907200.html?sid=70a94ef897181e05d9b318c29e15a349 And probably this one: https://bugs.gentoo.org/show_bug.cgi?id=575232
*** This bug has been marked as a duplicate of bug 580088 ***