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
Summary: graphics/drm-kmod : Fails to build on FreeBSD 12.2-BETA1 r365618 GENERIC powe...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-28 12:29 UTC by canardo
Modified: 2020-09-28 12:29 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description canardo 2020-09-28 12:29:41 UTC
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