Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jun 2022 09:29:20 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Vladimir Kondratyev <vladimir@kondratyev.su>
Cc:        "freebsd-x11@freebsd.org" <x11@freebsd.org>, David Wolfskill <david@catwhisker.org>
Subject:   Re: Build failure for graphics/drm-fbsd13-kmod during stable/13 update
Message-ID:  <CAN6yY1vO2oRXnBgSB%2BBv7TehMWd=K9ncz0Q34TyiBTgH-JZVOg@mail.gmail.com>
In-Reply-To: <da7f3616-0ec1-4f46-918c-8686d1ce3e1b@kondratyev.su>
References:  <Ypy5WFThjj0QdAD9@albert.catwhisker.org> <da7f3616-0ec1-4f46-918c-8686d1ce3e1b@kondratyev.su>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000c2749005e0b5dc8e
Content-Type: text/plain; charset="UTF-8"

On Sun, Jun 5, 2022 at 8:08 AM Vladimir Kondratyev <vladimir@kondratyev.su>
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
>  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
>

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: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

--000000000000c2749005e0b5dc8e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:tahoma,sans-serif;font-size:small">On Sun, Jun 5, 2022 at 8:08 AM =
Vladimir Kondratyev &lt;<a href=3D"mailto:vladimir@kondratyev.su">vladimir@=
kondratyev.su</a>&gt; wrote:<br></div></div><div class=3D"gmail_quote"><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
:1px solid rgb(204,204,204);padding-left:1ex">On 05.06.2022 17:10, David Wo=
lfskill wrote:<br>
<br>
&gt; On the laptop where I track stable/13 daily that uses<br>
&gt; graphics/drm-fbsd13-kmod, I have<br>
&gt; <br>
&gt; PORTS_MODULES+=3Dgraphics/drm-fbsd13-kmod<br>
&gt; <br>
&gt; in /etc/src.conf.=C2=A0 Today, it was running:<br>
&gt; g1-48(13.1-S)[2] uname -aUK<br>
&gt; FreeBSD <a href=3D"http://g1-48.catwhisker.org" rel=3D"noreferrer" tar=
get=3D"_blank">g1-48.catwhisker.org</a> 13.1-STABLE FreeBSD 13.1-STABLE #49=
5 stable/13-n250980-2699604d8eae: Sat Jun=C2=A0 4 05:14:24 PDT 2022=C2=A0 =
=C2=A0 =C2=A0root@g1-48.catwhisker.org:/common/S3/obj/usr/src/amd64.amd64/s=
ys/CANARY amd64 1301503 1301503<br>
&gt; <br>
&gt; and after updating sources to stable/13-n251011-2b005e89681b and<br>
&gt; ports to main-n585690-75fc11eb3dbe, the kernel build failed:<br>
&gt; <br>
&gt; /common/S3/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/dr=
m-fbsd13-kmod/work/drm-kmod-drm_v5.4.144_7/drivers/gpu/drm/i915/intel_pm.c:=
3028:12: error: use of bitwise &#39;|&#39; with boolean operands [-Werror,-=
Wbitwise-instead-of-logical]<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 changed =3D ilk_increase_wm_latency(=
dev_priv, dev_priv-&gt;wm.pri_latency, 12) |<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^=
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
&gt; /common/S3/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/dr=
m-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<br>
&gt; /common/S3/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/dr=
m-fbsd13-kmod/work/drm-kmod-drm_v5.4.144_7/drivers/gpu/drm/i915/intel_pm.c:=
3028:12: error: use of bitwise &#39;|&#39; with boolean operands [-Werror,-=
Wbitwise-instead-of-logical]<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 changed =3D ilk_increase_wm_latency(=
dev_priv, dev_priv-&gt;wm.pri_latency, 12) |<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^=
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 ||<br>
&gt; /common/S3/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/dr=
m-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<br>
&gt; 2 errors generated.<br>
&gt; *** Error code 1<br>
&gt; <br>
<br>
PR containing the fix is waiting for x11 approval:<br>
<a href=3D"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264449" rel=
=3D"noreferrer" target=3D"_blank">https://bugs.freebsd.org/bugzilla/show_bu=
g.cgi?id=3D264449</a><br>
<br>
-- <br>
WBR<br>
Vladimir Kondratyev<br></blockquote><div>=C2=A0</div></div><div style=3D"fo=
nt-family:tahoma,sans-serif;font-size:small" class=3D"gmail_default">For th=
e record, the fix was committed today at 15:46 UTC, or less than an hour ag=
o.</div><div style=3D"font-family:tahoma,sans-serif;font-size:small" class=
=3D"gmail_default"><br></div><div style=3D"font-family:tahoma,sans-serif;fo=
nt-size:small" class=3D"gmail_default">Now to pull it and rebuild.<br></div=
>-- <br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div><d=
iv dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr">Kevin Oberman, P=
art time kid herder and retired Network Engineer<br>E-mail: <a href=3D"mail=
to:rkoberman@gmail.com" target=3D"_blank">rkoberman@gmail.com</a><br></div>=
<div>PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683</div></div><=
/div></div></div></div></div></div></div>

--000000000000c2749005e0b5dc8e--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vO2oRXnBgSB%2BBv7TehMWd=K9ncz0Q34TyiBTgH-JZVOg>