[Bug 251163] graphics/drm-fbsd12.0-kmod fails to build on FreeBSD-stable

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 15 17:38:54 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251163

            Bug ID: 251163
           Summary: graphics/drm-fbsd12.0-kmod fails to build on
                    FreeBSD-stable
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11 at FreeBSD.org
          Reporter: gja822 at narod.ru
             Flags: maintainer-feedback?(x11 at FreeBSD.org)
          Assignee: x11 at FreeBSD.org

I'm on FreeBSD 12.2-PRERELEASE r364926 amd64 now.
Lately graphics/drm-fbsd12.0-kmod stopped to build with errors like this:

--- ttm_agp_backend.o ---
In file included from
/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-99da0ba/drivers/gpu/drm/ttm/ttm_agp_backend.c:35:
In file included from
/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-99da0ba/include/drm/ttm/ttm_bo_driver.h:37:
In file included from
/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-99da0ba/include/drm/drmP.h:139:
/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-99da0ba/drivers/gpu/drm/drm_os_freebsd.h:124:9:
error: 'IS_ALIGNED' macro redefined [-Werror,-Wmacro-redefined]
#define IS_ALIGNED(x, y)        (((x) & ((y) - 1)) == 0)
        ^
/usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:138:9: note:
previous definition is here

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


More information about the freebsd-x11 mailing list