drm-legacy is broken, again

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Thu, 1 Aug 2019 12:10:09 -0700
Just updated /usr/src to top of tree.

Trying to update drm-legacy port.  After
a failed 'make' in /usr/ports/drm-legacy

% make |& tee drm.txt
% tail drm.txt

===> drm2/drm2 (all)
Warning: Object directory not changed from original /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/drm2/drm2
cc  -O2 -pipe -march=bdver2 -fno-strict-aliasing -march=bdver2  -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/drm2/../src/ -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include     -MD  -MF.depend.drm_crtc.o -MTdrm_crtc.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member  -mno-aes -mno-avx  -std=iso9899:1999 -c /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c -o drm_crtc.o
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c:1128:21: error: use of undeclared identifier 'USHRT_MAX'
        if (in->hdisplay > USHRT_MAX || in->hsync_start > USHRT_MAX ||
                           ^
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c:1128:52: error: use of undeclared identifier 'USHRT_MAX'
        if (in->hdisplay > USHRT_MAX || in->hsync_start > USHRT_MAX ||
                                                          ^
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c:1129:23: error: use of undeclared identifier 'USHRT_MAX'
             in->hsync_end > USHRT_MAX || in->htotal > USHRT_MAX ||
                             ^
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c:1129:49: error: use of undeclared identifier 'USHRT_MAX'
             in->hsync_end > USHRT_MAX || in->htotal > USHRT_MAX ||
                                                       ^
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c:1130:19: error: use of undeclared identifier 'USHRT_MAX'
             in->hskew > USHRT_MAX || in->vdisplay > USHRT_MAX ||
                         ^
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c:1130:47: error: use of undeclared identifier 'USHRT_MAX'
             in->hskew > USHRT_MAX || in->vdisplay > USHRT_MAX ||
                                                     ^
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c:1131:25: error: use of undeclared identifier 'USHRT_MAX'
             in->vsync_start > USHRT_MAX || in->vsync_end > USHRT_MAX ||
                               ^
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c:1131:54: error: use of undeclared identifier 'USHRT_MAX'
             in->vsync_start > USHRT_MAX || in->vsync_end > USHRT_MAX ||
                                                            ^
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c:1132:20: error: use of undeclared identifier 'USHRT_MAX'
             in->vtotal > USHRT_MAX || in->vscan > USHRT_MAX)
                          ^
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c:1132:45: error: use of undeclared identifier 'USHRT_MAX'
             in->vtotal > USHRT_MAX || in->vscan > USHRT_MAX)
                                                   ^
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c:1170:18: error: use of undeclared identifier 'INT_MAX'
        if (in->clock > INT_MAX || in->vrefresh > INT_MAX)
                        ^
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c:1170:44: error: use of undeclared identifier 'INT_MAX'
        if (in->clock > INT_MAX || in->vrefresh > INT_MAX)
                                                  ^
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c:1840:26: error: use of undeclared identifier 'INT_MAX'
        if (plane_req->crtc_w > INT_MAX ||
                                ^
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c:1841:26: error: use of undeclared identifier 'INT_MAX'
            plane_req->crtc_x > INT_MAX - (int32_t) plane_req->crtc_w ||
                                ^
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c:1842:26: error: use of undeclared identifier 'INT_MAX'
            plane_req->crtc_h > INT_MAX ||
                                ^
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c:1843:26: error: use of undeclared identifier 'INT_MAX'
            plane_req->crtc_y > INT_MAX - (int32_t) plane_req->crtc_h) {
                                ^
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c:1903:20: error: use of undeclared identifier 'INT_MAX'
        if (crtc_req->x > INT_MAX || crtc_req->y > INT_MAX)
                          ^
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c:1903:45: error: use of undeclared identifier 'INT_MAX'
        if (crtc_req->x > INT_MAX || crtc_req->y > INT_MAX)
                                                   ^
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/drm_crtc.c:2297:32: error: use of undeclared identifier 'UINT_MAX'
                if ((uint64_t) width * cpp > UINT_MAX)
                                             ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** Error code 1

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

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

Stop.
make[2]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b
*** 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-legacy-kmod

-- 
Steve
20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4
20161221 https://www.youtube.com/watch?v=IbCHE-hONow
Received on Thu Aug 01 2019 - 17:10:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:21 UTC