From nobody Sun Feb 19 13:13:47 2023 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 4PKQwr0qsFz3r70c for ; Sun, 19 Feb 2023 13:13:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PKQwq5dtqz4S41 for ; Sun, 19 Feb 2023 13:13:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676812427; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=t9C/PK5XKTmOd/WFAqLNALCO5UDMnvbTIapNukPnYwM=; b=qxVSS4NnTGhCh4Hhkej7aRAaTmfZY7ZqZA/5x7P2aL37FwLnAa48bpO3mUG069RAT0/PVj IaX7dqJXyIAse6v48knU6vnMYJTWvAO247UsObLswSWaJ2NBOXWHkJVMa01o4vUdkDQubH AGKujl8zV6Be21K5228X5nrtRN1GbjsLScKv682FuSJqoT5ypNt5W1yN/CmANmFEjkvKfR J0QqTxb3A9xgx6+jT8JCkdXsbpbcBC6FP2GL8kkE2s3WhaLPywLCTFhigBgS4XkRxOWWsP MZMcCJMSdf8humJ1MZT5lsVZYe80R85LmmP4WSGyyH9MR8zfe2WxrYIkgB27Lg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676812427; a=rsa-sha256; cv=none; b=qxoLEGVvrZ5Fd1GCCG8KwTDkolAD3nwHRaBY1SHLlgNLSG6OHWwqHPIw2aBpT4MG8w6/gL Fp83Hj7h/64KFTHqDg9NMTJFfeyPLaG9SBWumP5YWqIYbFzVt39vbijmG8A4SimyatZX/5 e4qD/d8D1eRctIQ2BAvOpSlnWX++d/2fvvwyTBLslMsp77mol25/W0biyra1IQZaAVzt+h hM8tJ65H0reyv3WXlBzEPe8hkQbmrnbsQnfPijVXdAEkiwRxvU1N4ktTStHGRqd3mSJBsq wO1FEUVw8H0MYuy9KRLEnLNGTDcCCFuoQycG4BzQ6LUS2/sBeoHsR+lDgdEC2g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PKQwq4gw1z13YM for ; Sun, 19 Feb 2023 13:13:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 31JDDlp0079372 for ; Sun, 19 Feb 2023 13:13:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31JDDlxX079371 for x11@FreeBSD.org; Sun, 19 Feb 2023 13:13:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-feedback requested: [Bug 269684] graphics/drm-510-kmod fails to compile on 14-CURRENT Date: Sun, 19 Feb 2023 13:13:47 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-x11 (Nobody) for maintainer-feedback: Bug 269684: graphics/drm-510-kmod fails to compile on 14-CURRENT https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269684 --- Description --- ``` /usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10.163_2/drivers/gpu/= drm/ i915/gem/i915_gem_shmem.c:687:8: error: implicit declaration of function 'totalram_pages' is invalid in C99 [-Werror,-Wimplicit-function-declaration] totalram_pages() << PAGE_SHIFT, ^ 1 error generated. *** [i915_gem_shmem.o] Error code 1 make[2]: stopped in /usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10.163_2/i915 1 error make[2]: stopped in /usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10.163_2/i915 make[1]: stopped in /usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10.163_2 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/graphics/drm-510-kmod root@labo:/usr/ports/graphics/drm-510-kmod #=20 ``` My issue comes from this commit I think: https://github.com/freebsd/drm-kmod/commit/58b2f2602fc11ec9b013f89bf556f105= c678 74e0#diff-7458df6aa24bcbd93579cfbe0eb08cfe5c207c8f7d12aad09a63da3192b2e8c1 ``` (__FreeBSD_version < 1400080 && __FreeBSD_version < 1302501) ``` As 1400073 < 1400080 but not to 1302501, I get this error.