Date: Sun, 19 Feb 2023 13:13:47 +0000 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 Message-ID: <bug-269684-7141-6h95FNRRB9@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-269684-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-269684-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody) <x11@FreeBSD.org> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269684-7141-6h95FNRRB9>