[Bug 253741] graphics/mesa-devel: disabling OPTIONS_MULTI_DRI is not effective

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 21 12:06:58 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253741

            Bug ID: 253741
           Summary: graphics/mesa-devel: disabling OPTIONS_MULTI_DRI is
                    not effective
           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: 2khramtsov at gmail.com
          Assignee: jbeich at FreeBSD.org
             Flags: maintainer-feedback?(jbeich at FreeBSD.org)

Created attachment 222698
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=222698&action=edit
compressed full poudriere logs

If one disables DRI drivers like this:
graphics_mesa-devel_UNSET+= DRI LLVM r600 radeonsi radv VAAPI

DRI driver i965 will be disabled as an option:
root at localhost:/usr/ports/graphics/mesa-devel # make -V DESELECTED_OPTIONS
DRI LLVM VAAPI VDPAU i965 r600 radeonsi radv

But generated MESON_ARGS will still build i965:
root at localhost:/usr/ports/graphics/mesa-devel # make -V MESON_ARGS
-Dgallium-omx=disabled  -Dgallium-opencl=disabled  -Dgallium-xa=disabled 
-Dgallium-xvmc=disabled  -Dplatforms=x11,wayland 
--native-file=binary_alias.ini   -Ddri-drivers=i965 -Dgallium-drivers=iris
-Dvulkan-drivers=intel -Dglvnd=false -Dlibunwind=enabled -Dllvm=disabled
-Dgallium-va=disabled -Dgallium-vdpau=disabled
-Dvulkan-device-select-layer=true -Dvulkan-overlay-layer=true -Dzstd=enabled

Poudriere logs are attached.

Additional info: when I tried to add conditionals for enabled options to
Makefile with <bsd.port.options.mk> or <bsd.port.pre.mk>, I could affect
{SELECTED,DELESECTED}_OPTIONS with IMPLIES, but selected options weren't
enabled in make config.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list