[Bug 249954] graphics/drm-kmod : Fails to build on FreeBSD 12.2-BETA1 r365618 GENERIC powerpc 32 bit : /usr/src/sys/vm/vm_page.h:204: error: field 'md' has incomplete type

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249954

            Bug ID: 249954
           Summary: graphics/drm-kmod : Fails to build on FreeBSD
                    12.2-BETA1 r365618 GENERIC powerpc 32 bit :
                    /usr/src/sys/vm/vm_page.h:204: error: field 'md' has
                    incomplete type
           Product: Ports & Packages
           Version: Latest
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
          Assignee: [email protected]
                CC: [email protected]
             Flags: maintainer-feedback?([email protected])

Problem found when building graphics/drm-kmod on FreeBSD 12.2-BETA1 r365618
GENERIC powerpc 32 bit, running on Apple Powerbook 17".


# cd /usr/ports/graphics/drm-kmod/
/usr/ports/graphics/drm-kmod # make -DBATCH install clean
===>  Staging for drm-kmod-g20190710
===>   drm-kmod-g20190710 depends on file: /boot/modules/drm.ko - not found
===>  Building for drm-legacy-kmod-g20200825
===> drm (all)
===> drm/drm (all)
Warning: Object directory not changed from original
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-3f527d9/drm/drm
cc  -O2 -pipe -fno-strict-aliasing  -Wno-error -D_KERNEL -DKLD_MODULE -nostdinc
 -I/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-3f527d9/drm/../src/ -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common  -mlongcall
-fno-omit-frame-pointer   -MD  -MF.depend.drm_agpsupport.o -MTdrm_agpsupport.o
-mno-altivec -msoft-float -ffreestanding -fwrapv -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions
-Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-uninitialized  -finline-limit=15000 -fms-extensions --param
inline-unit-growth=100 --param large-function-growth=1000  -std=iso9899:1999 -c
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-3f527d9/src/dev/drm/drm_agpsupport.c
-o drm_agpsupport.o
In file included from
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-3f527d9/drm/../src/dev/drm/drmP.h:75,
                 from
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-3f527d9/src/dev/drm/drm_agpsupport.c:39:
/usr/src/sys/vm/vm_page.h:204: error: field 'md' has incomplete type
*** [drm_agpsupport.o] Error code 1

make[4]: stopped in
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-3f527d9/drm/drm
1 error

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

Stop.
make[1]: stopped in /usr/ports/graphics/drm-legacy-kmod
*** Error code 1

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.