[Bug 257443] multimedia/libva-intel-media-driver: 21.3.0 regressed global nox11?

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 27 Jul 2021 05:10:34 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257443

            Bug ID: 257443
           Summary: multimedia/libva-intel-media-driver: 21.3.0 regressed
                    global nox11?
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich_at_FreeBSD.org
          Reporter: evgeniy_at_khramtsov.org
          Assignee: jbeich_at_FreeBSD.org
             Flags: maintainer-feedback?(jbeich_at_FreeBSD.org)

Note, I was locally fixing fallout from ports not respecting CC, and while it,
rebased to 6a3cf86d09cb31d768e072fe0fc7f05126e12c20 which has 21.2.3 (known
good) -> 21.3.0 upgrade.

samu: job failed: /usr/local/llvm12/bin/clang++ -DENABLE_KERNELS
-DHEVC_FEI_ENABLE_CMRT -DIGFX_GEN10_CNL_SUPPORTED -DIGFX_GEN10_SUPPORTED
-DIGFX_GEN11_ICLLP_SUPPORTED -DIGFX_GEN11_JSL_SU
PPORTED -DIGFX_GEN11_SUPPORTED -DIGFX_GEN12_ADLP_SUPPORTED
-DIGFX_GEN12_ADLS_SUPPORTED -DIGFX_GEN12_RKL_SUPPORTED -DIGFX_GEN12_SUPPORTED
-DIGFX_GEN12_TGLLP_CMFCPATCH_SUPPORTED -DIGFX_GEN12_TGLLP_CMFC_SUPPORTED
-DIGFX_GEN12_TGLLP_SUPPORTED -DIGFX_GEN12_TGLLP_SWSB_SUPPORTED
-DIGFX_GEN8_BDW_SUPPORTED -DIGFX_GEN8_SUPPORTED -DIGFX_GEN9_BXT_SUPPORTED
-DIGFX_GEN9_CFL_SUPPORTED -DIGFX_GEN9_CML_SUPPORTED -DIGFX_GEN9_CMPV_SUPPORTED
-DIGFX_GEN9_GLK_SUPPORTED -DIGFX_GEN9_KBL_SUPPORTED -DIGFX_GEN9_SKL_SUPPORTED
-DIGFX_GEN9_SUPPORTED -DMEDIA_VERSION=\"21.3.0\"
-DMEDIA_VERSION_DETAILS=\"intel-media-21.3.0\" -DVEBOX_AUTO_DENOISE_SUPPORTED=1
-D_AV1_DECODE_SUPPORTED -D_AVC_DECODE_SUPPORTED -D_AVC_ENCODE_VDENC_SUPPORTED
-D_AVC_ENCODE_VME_SUPPORTED -D_COMMON_ENCODE_SUPPORTED
-D_DECODE_PROCESSING_SUPPORTED -D_HEVC_DECODE_SUPPORTED
-D_HEVC_ENCODE_VDENC_SUPPORTED -D_HEVC_ENCODE_VME_SUPPORTED
-D_JPEG_DECODE_SUPPORTED -D_JPEG_ENCODE_SUPPORTED -D_MMC_SUPPORTED
-D_MPEG2_DECODE_SUPPORTED -D_MPEG2_ENCODE_VME_SUPPORTED -D_RELEASE
-D_VC1_DECODE_SUPPORTED -D_VP8_DECODE_SUPPORTED -D_VP8_ENCODE_SUPPORTED
-D_VP9_DECODE_SUPPORTED -D_VP9_ENCODE_VDENC_SUPPORTED -D__STDC_CONSTANT_MACROS
-D__STDC_LIMIT_MACROS -D__VPHAL_SFC_SUPPORTED=1
-I/wrkdirs/usr/ports/multimedia/libva-intel-media-driver/work/media-driver-intel-media-21.3.0/media_driver/linux/common/os/i915/include
-I
[...]
-I/wrkdirs/usr/ports/multimedia/libva-intel-media-driver/work/media-driver-intel-media-21.3.0/../gmmlib/Source/GmmLib/inc
-I/wrkdirs/usr/ports/multimedia/libva-intel-media-driver/work/media-driver-intel-media-21.3.0/../huc/inc
-I/linux -O2 -pipe -O3 -march=native -mbranches-within-32B-boundaries
-fstack-protector-strong -fPIE -fPIC -isystem /usr/local/include
-fno-strict-aliasing  -fPIE -fPIC -isystem /usr/local/include -Wreorder
-Wsign-promo -Wnon-virtual-dtor -Wno-invalid-offsetof
-fvisibility-inlines-hidden -fno-use-cxa-atexit -frtti -fexceptions
-fpermissive -fcheck-new -std=c++1y -std=c++11 -O2 -pipe -O3 -march=native
-mbranches-within-32B-boundaries -fstack-protector-strong -fPIE -fPIC -isystem
/usr/local/include -fno-strict-aliasing  -fPIE -fPIC -isystem
/usr/local/include -fPIC -Wall -Winit-self -Wpointer-arith -Wno-unused
-Wno-unknown-pragmas -Wno-comments -Wno-sign-compare -Wno-attributes
-Wno-narrowing -Wno-overflow -Wno-parentheses -Wno-delete-incomplete
-Werror=address -Werror=format-security -Werror=non-virtual-dtor
-Werror=return-type -finline-functions -fno-short-enums -Wa,--noexecstack
-fno-strict-aliasing -fmessage-length=0 -fvisibility=hidden -fstack-protector
-fdata-sections -ffunction-sections -m64 -DLINUX=1 -DLINUX -DNO_RTTI
-DNO_EXCEPTION_HANDLING -DINTEL_NOT_PUBLIC -g -D_AMD64_ -D__CT__ -fPIC
-Wno-deprecated -Wno-missing-braces -Wno-overloaded-virtual
-Wbitfield-constant-conversion -O2 -D_FORTIFY_SOURCE=2 -fno-omit-frame-pointer
-MD -MT
media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/__/media_softlet/linux/common/ddi/media_libva_interface_next.cpp.o
-MF
media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/__/media_softlet/linux/common/ddi/media_libva_interface_next.cpp.o.d
-o
media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/__/media_softlet/linux/common/ddi/media_libva_interface_next.cpp.o
-c
/wrkdirs/usr/ports/multimedia/libva-intel-media-driver/work/media-driver-intel-media-21.3.0/media_softlet/linux/common/ddi/media_libva_interface_next.cpp
In file included from
/wrkdirs/usr/ports/multimedia/libva-intel-media-driver/work/media-driver-intel-media-21.3.0/media_softlet/linux/common/ddi/media_libva_interface_next.cpp:38:
/wrkdirs/usr/ports/multimedia/libva-intel-media-driver/work/media-driver-intel-media-21.3.0/media_driver/linux/common/ddi/media_libva_putsurface_linux.h:31:10:
fatal error: 'va/va_dricommon.h' file not found
#include <va/va_dricommon.h>
         ^~~~~~~~~~~~~~~~~~~
1 error generated.
samu: subcommand failed
===> Compilation failed unexpectedly.

foo_at_:/usr/ports $ rg 'va_dricommon.h' .
./multimedia/libva/pkg-plist
14:%%X11%%include/va/va_dricommon.h

Rebuiling libva with X11=on results in working build.

I plan to bisect this later; this PR is to inform.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Tue Jul 27 2021 - 05:10:34 UTC

Original text of this message