Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jun 2022 18:03:43 +0300
From:      Vladimir Kondratyev <vladimir@kondratyev.su>
To:        x11@freebsd.org, David Wolfskill <david@catwhisker.org>
Subject:   Re: Build failure for graphics/drm-fbsd13-kmod during stable/13 update
Message-ID:  <da7f3616-0ec1-4f46-918c-8686d1ce3e1b@kondratyev.su>
In-Reply-To: <Ypy5WFThjj0QdAD9@albert.catwhisker.org>
References:  <Ypy5WFThjj0QdAD9@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05.06.2022 17:10, David Wolfskill wrote:

> On the laptop where I track stable/13 daily that uses
> graphics/drm-fbsd13-kmod, I have
> 
> PORTS_MODULES+=graphics/drm-fbsd13-kmod
> 
> in /etc/src.conf.  Today, it was running:
> g1-48(13.1-S)[2] uname -aUK
> FreeBSD g1-48.catwhisker.org 13.1-STABLE FreeBSD 13.1-STABLE #495 stable/13-n250980-2699604d8eae: Sat Jun  4 05:14:24 PDT 2022     root@g1-48.catwhisker.org:/common/S3/obj/usr/src/amd64.amd64/sys/CANARY amd64 1301503 1301503
> 
> and after updating sources to stable/13-n251011-2b005e89681b and
> ports to main-n585690-75fc11eb3dbe, the kernel build failed:
> 
> /common/S3/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.144_7/drivers/gpu/drm/i915/intel_pm.c:3028:12: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
>          changed = ilk_increase_wm_latency(dev_priv, dev_priv->wm.pri_latency, 12) |
>                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /common/S3/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.144_7/drivers/gpu/drm/i915/intel_pm.c:3028:12: note: cast one or both operands to int to silence this warning
> /common/S3/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.144_7/drivers/gpu/drm/i915/intel_pm.c:3028:12: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
>          changed = ilk_increase_wm_latency(dev_priv, dev_priv->wm.pri_latency, 12) |
>                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>                                                                                    ||
> /common/S3/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.144_7/drivers/gpu/drm/i915/intel_pm.c:3028:12: note: cast one or both operands to int to silence this warning
> 2 errors generated.
> *** Error code 1
> 

PR containing the fix is waiting for x11 approval:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264449

-- 
WBR
Vladimir Kondratyev



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?da7f3616-0ec1-4f46-918c-8686d1ce3e1b>