[Bug 269605] graphics/drm-510-kmod fails to compile on 13-STABLE

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 16 Feb 2023 23:39:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269605

            Bug ID: 269605
           Summary: graphics/drm-510-kmod fails to compile on 13-STABLE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: jakub_lach@mailplus.pl
          Assignee: x11@FreeBSD.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)

13.2-STABLE #0 stable/13-07e39710b amd64

--- i915_gem_shmem.o ---
/usr/obj/usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10.163_1/drivers/gpu/drm/i915/gem/i915_gem_shmem.c:18:29:
error: redefinition of 'totalram_pages'
static inline unsigned long totalram_pages(void) { return physmem; }
                            ^
/usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:344:1: note: previous
definition is here
totalram_pages(void)
^
1 error generated.
*** [i915_gem_shmem.o] Error code 1

make[2]: stopped in
/usr/obj/usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10.163_1/i915
1 error

make[2]: stopped in
/usr/obj/usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10.163_1/i915

make[1]: stopped in
/usr/obj/usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10.163_1
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.