New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 595434 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Mar 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

drm-tests ebuild is missing libdrm dependency

Reported by vpalatin@chromium.org, Mar 16 2016

Issue description

I'm under the impression that the chromeos-base/drm-tests ebuild is missing a direct build dependency to x11-libs/libdrm.
On some/most? platforms, it is pulling the libdrm indirectly through other DEPENDs (e.g. media-libs/minigbm)

But it seems it can still fails as per my trybot (with a sketchy config though) :
drm-tests-0.0.1-r38: In file included from /build/smaug-cheets/tmp/portage/chromeos-base/drm-tests-0.0.1-r38/work/drm-tests-0.0.1/vgem_test.c:26:
drm-tests-0.0.1-r38: /build/smaug-cheets/usr/include/xf86drm.h:40:10: fatal error: 'drm.h' file not
drm-tests-0.0.1-r38:       found
drm-tests-0.0.1-r38: #include <drm.h>
drm-tests-0.0.1-r38:          ^
drm-tests-0.0.1-r38: In file included from /build/smaug-cheets/tmp/portage/chromeos-base/drm-tests-0.0.1-r38/work/drm-tests-0.0.1/bsdrm/src/drm_open.c:7:
drm-tests-0.0.1-r38: /build/smaug-cheets/tmp/portage/chromeos-base/drm-tests-0.0.1-r38/work/drm-tests-0.0.1/bsdrm/include/bs_drm.h:28:10: fatal error: 
drm-tests-0.0.1-r38:       'drm_fourcc.h' file not found
drm-tests-0.0.1-r38: #include <drm_fourcc.h>
drm-tests-0.0.1-r38:          ^
drm-tests-0.0.1-r38: common.mk:555: recipe for target 'bo.pic.o' failed
drm-tests-0.0.1-r38: make[1]: *** [bo.pic.o] Error 1

I don't see any downside of adding the explicit x11-libs/libdrm dependency.
 
Status: WontFix (was: Untriaged)
Actually that was the egl.pc missing which was failing the build
drm-tests always has a proper indirect dependency on libdrm

Package egl was not found in the pkg-config search path.
Perhaps you should add the directory containing `egl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'egl' found
Package egl was not found in the pkg-config search path.
Perhaps you should add the directory containing `egl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'egl' found
CC		null_platform_test.c ->  null_platform_test.pic.o
CC		null_platform_test.c ->  null_platform_test.pie.o
CC		vgem_test.c ->  vgem_test.pic.o
CC		vgem_test.c ->  vgem_test.pie.o
CC		vgem_fb_test.c ->  vgem_fb_test.pic.o
CC		vgem_fb_test.c ->  vgem_fb_test.pie.o
CC		swrast_test.c ->  swrast_test.pic.o
CC		swrast_test.c ->  swrast_test.pie.o
CC		atomictest.c ->  atomictest.pic.o
CC		atomictest.c ->  atomictest.pie.o
CC		bo.c ->  bo.pic.o
CC		dev.c ->  dev.pie.o
CC		bo.c ->  bo.pie.o
CC		modeset.c ->  modeset.pie.o
CC		nv12_test.c ->  nv12_test.pic.o
CC		gamma_test.c ->  gamma_test.pie.o
CC		dev.c ->  dev.pic.o
CC		gamma_test.c ->  gamma_test.pic.o
CC		modeset.c ->  modeset.pic.o
CC		bsdrm/example/stripe.c ->  bsdrm/example/stripe.pic.o
CC		bsdrm/example/stripe.c ->  bsdrm/example/stripe.pie.o
CC		nv12_test.c ->  nv12_test.pie.o
In file included from /build/smaug-cheets/tmp/portage/chromeos-base/drm-tests-9999/work/drm-tests-9999/modeset.c:5:
/build/smaug-cheets/usr/include/xf86drm.h:40:10: fatal error: 'drm.h' file not found
#include <drm.h>

Sign in to add a comment