[Bug 269684] graphics/drm-510-kmod fails to compile on 14-CURRENT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Feb 2023 13:13:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269684 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 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes 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 # ``` My issue comes from this commit I think: https://github.com/freebsd/drm-kmod/commit/58b2f2602fc11ec9b013f89bf556f105c67874e0#diff-7458df6aa24bcbd93579cfbe0eb08cfe5c207c8f7d12aad09a63da3192b2e8c1 ``` (__FreeBSD_version < 1400080 && __FreeBSD_version < 1302501) ``` As 1400073 < 1400080 but not to 1302501, I get this error. -- You are receiving this mail because: You are the assignee for the bug.