From nobody Sun Jun 5 15:03:43 2022 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id ECB771BECB18 for ; Sun, 5 Jun 2022 15:05:20 +0000 (UTC) (envelope-from vladimir@kondratyev.su) Received: from corp.infotel.ru (corp.infotel.ru [195.170.219.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4LGKg34Dg9z4XHY for ; Sun, 5 Jun 2022 15:05:19 +0000 (UTC) (envelope-from vladimir@kondratyev.su) Received: from corp (corp.infotel.ru [195.170.219.3]) by corp.infotel.ru (Postfix) with ESMTP id 676E5343E60; Sun, 5 Jun 2022 18:05:11 +0300 (MSK) X-Virus-Scanned: amavisd-new at corp.infotel.ru Received: from corp.infotel.ru ([195.170.219.3]) by corp (corp.infotel.ru [195.170.219.3]) (amavisd-new, port 10024) with ESMTP id U4MbqDegrDlj; Sun, 5 Jun 2022 18:04:31 +0300 (MSK) Received: from mail.cicgroup.ru (unknown [195.170.219.74]) by corp.infotel.ru (Postfix) with ESMTP id 633C6343E5F; Sun, 5 Jun 2022 18:04:31 +0300 (MSK) Received: from mail.cicgroup.ru (localhost [127.0.0.1]) by mail.cicgroup.ru (Postfix) with ESMTP id 3082742211F; Sun, 5 Jun 2022 18:04:27 +0300 (MSK) Received: from mail.cicgroup.ru ([127.0.0.1]) by mail.cicgroup.ru (mail.cicgroup.ru [127.0.0.1]) (amavisd-new, port 10024) with SMTP id iZQIb81TdlsI; Sun, 5 Jun 2022 18:04:24 +0300 (MSK) Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.cicgroup.ru (Postfix) with ESMTPA id 3804E42211C; Sun, 5 Jun 2022 18:04:24 +0300 (MSK) Message-ID: Date: Sun, 5 Jun 2022 18:03:43 +0300 List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: Build failure for graphics/drm-fbsd13-kmod during stable/13 update Content-Language: en-US To: x11@freebsd.org, David Wolfskill References: From: Vladimir Kondratyev In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4LGKg34Dg9z4XHY X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of vladimir@kondratyev.su has no SPF policy when checking 195.170.219.3) smtp.mailfrom=vladimir@kondratyev.su X-Spamd-Result: default: False [-1.97 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; NEURAL_HAM_MEDIUM(-0.98)[-0.976]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[kondratyev.su]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.995]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[x11]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8299, ipnet:195.170.192.0/19, country:RU]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N 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