Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2021 12:37:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 255222] drm-fbsd13-mod: Build failure
Message-ID:  <bug-255222-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255222

            Bug ID: 255222
           Summary: drm-fbsd13-mod: Build failure
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: jwb@freebsd.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)
          Assignee: x11@FreeBSD.org

13.0-RELEASE, Fully updated packages and ports tree:

/usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/drivers/gpu=
/drm/ttm/ttm_page_alloc.c:1039:15:
error: variable 'first' is uninitialized when used here
[-Werror,-Wuninitialized]
                if (count > first && pages[count - 1] =3D=3D tmp - 1)
                            ^~~~~
/usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/drivers/gpu=
/drm/ttm/ttm_page_alloc.c:933:23:
note: initialize the variable 'first' to silence this warning
        unsigned count, first;
                             ^
                              =3D 0
1 error generated.
*** [ttm_page_alloc.o] Error code 1

make[3]: stopped in
/usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/ttm
--- ttm_tt.o ---
/usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/drivers/gpu=
/drm/ttm/ttm_tt.c:464:10:
error: unused variable 'i' [-Werror,-Wunused-variable]
        pgoff_t i;
                ^
/usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/drivers/gpu=
/drm/ttm/ttm_tt.c:494:16:
error: unused variable 'vm_page' [-Werror,-Wunused-variable]
        struct page **page =3D ttm->pages;
                      ^
/usr/src/sys/compat/linuxkpi/common/include/linux/page.h:49:14: note: expan=
ded
from macro 'page'
#define page    vm_page
                ^
/usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/drivers/gpu=
/drm/ttm/ttm_tt.c:493:10:
error: unused variable 'i' [-Werror,-Wunused-variable]
        pgoff_t i;
                ^
3 errors generated.
*** [ttm_tt.o] Error code 1

make[3]: stopped in
/usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/ttm
2 errors

make[3]: stopped in
/usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/ttm

make[2]: stopped in
/usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3
=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[1]: stopped in /usr/ports/graphics/drm-fbsd13-kmod
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/drm-fbsd13-kmod

--=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-255222-7788>