Re: Build failure for graphics/drm-fbsd13-kmod during stable/13 update

Kevin Oberman <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <CAN6yY1vO2oRXnBgSB+Bv7TehMWd=K9ncz0Q34TyiBTgH-JZVOg@mail.gmail.com>
On Sun, Jun 5, 2022 at 8:08 AM Vladimir Kondratyev <[email protected]>
wrote:

> 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
>  [email protected]:/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
>

For the record, the fix was committed today at 15:46 UTC, or less than an
hour ago.

Now to pull it and rebuild.
-- 
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: [email protected]
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.