Date: Sun, 19 Feb 2023 13:13:47 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 269684] graphics/drm-510-kmod fails to compile on 14-CURRENT Message-ID: <bug-269684-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269684 Bug ID: 269684 Summary: graphics/drm-510-kmod fails to compile on 14-CURRENT Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: m.viey@wanadoo.fr Flags: maintainer-feedback?(x11@FreeBSD.org) Assignee: x11@FreeBSD.org ``` /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= c67874e0#diff-7458df6aa24bcbd93579cfbe0eb08cfe5c207c8f7d12aad09a63da3192b2e= 8c1 ``` (__FreeBSD_version < 1400080 && __FreeBSD_version < 1302501) ``` As 1400073 < 1400080 but not to 1302501, I get this error. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269684-7788>