Package: evdi-dkms Version: 1.12.0+dfsg-0.3 Severity: serious Tags: sid trixie User: debian...@lists.debian.org Usertags: piuparts
DKMS make.log for evdi-1.12.0+dfsg for kernel 6.3.0-1-amd64 (x86_64) Thu Jun 15 09:56:32 UTC 2023 make: Entering directory '/usr/src/linux-headers-6.3.0-1-amd64' CC [M] /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_platform_drv.o CC [M] /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_platform_dev.o CC [M] /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_sysfs.o CC [M] /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_modeset.o CC [M] /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_connector.o CC [M] /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.o CC [M] /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_drm_drv.o CC [M] /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.o CC [M] /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_gem.o CC [M] /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_painter.o CC [M] /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_params.o CC [M] /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_cursor.o CC [M] /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_debug.o CC [M] /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_i2c.o CC [M] /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_ioc32.o In file included from /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_connector.c:19: /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_drm_drv.h:196:72: warning: 'struct i2c_msg' declared inside parameter list will not be visible outside of this definition or declaration 196 | bool evdi_painter_i2c_data_notify(struct evdi_painter *painter, struct i2c_msg *msg); | ^~~~~~~ In file included from /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c:21: /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_drm_drv.h:196:72: warning: 'struct i2c_msg' declared inside parameter list will not be visible outside of this definition or declaration 196 | bool evdi_painter_i2c_data_notify(struct evdi_painter *painter, struct i2c_msg *msg); | ^~~~~~~ In file included from /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_platform_dev.c:30: /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_drm_drv.h:196:72: warning: 'struct i2c_msg' declared inside parameter list will not be visible outside of this definition or declaration 196 | bool evdi_painter_i2c_data_notify(struct evdi_painter *painter, struct i2c_msg *msg); | ^~~~~~~ In file included from /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_gem.c:24: /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_drm_drv.h:196:72: warning: 'struct i2c_msg' declared inside parameter list will not be visible outside of this definition or declaration 196 | bool evdi_painter_i2c_data_notify(struct evdi_painter *painter, struct i2c_msg *msg); | ^~~~~~~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c: In function 'evdi_enc_destroy': /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c:26:9: error: implicit declaration of function 'drm_encoder_cleanup'; did you mean 'drm_crtc_cleanup'? [-Werror=implicit-function-declaration] 26 | drm_encoder_cleanup(encoder); | ^~~~~~~~~~~~~~~~~~~ | drm_crtc_cleanup /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c: At top level: /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c:38:21: error: variable 'evdi_enc_helper_funcs' has initializer but incomplete type 38 | static const struct drm_encoder_helper_funcs evdi_enc_helper_funcs = { | ^~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c:39:10: error: 'const struct drm_encoder_helper_funcs' has no member named 'enable' 39 | .enable = evdi_encoder_enable, | ^~~~~~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c:39:19: warning: excess elements in struct initializer 39 | .enable = evdi_encoder_enable, | ^~~~~~~~~~~~~~~~~~~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c:39:19: note: (near initialization for 'evdi_enc_helper_funcs') In file included from /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_cursor.c:33: /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_drm_drv.h:196:72: warning: 'struct i2c_msg' declared inside parameter list will not be visible outside of this definition or declaration 196 | bool evdi_painter_i2c_data_notify(struct evdi_painter *painter, struct i2c_msg *msg); | ^~~~~~~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c:40:10: error: 'const struct drm_encoder_helper_funcs' has no member named 'disable' 40 | .disable = evdi_encoder_disable | ^~~~~~~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c:40:20: warning: excess elements in struct initializer 40 | .disable = evdi_encoder_disable | ^~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c:40:20: note: (near initialization for 'evdi_enc_helper_funcs') /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c:43:21: error: variable 'evdi_enc_funcs' has initializer but incomplete type 43 | static const struct drm_encoder_funcs evdi_enc_funcs = { | ^~~~~~~~~~~~~~~~~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c:44:10: error: 'const struct drm_encoder_funcs' has no member named 'destroy' 44 | .destroy = evdi_enc_destroy, | ^~~~~~~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c:44:20: warning: excess elements in struct initializer 44 | .destroy = evdi_enc_destroy, | ^~~~~~~~~~~~~~~~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c:44:20: note: (near initialization for 'evdi_enc_funcs') /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c: In function 'evdi_encoder_init': /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c:52:34: error: invalid application of 'sizeof' to incomplete type 'struct drm_encoder' 52 | encoder = kzalloc(sizeof(struct drm_encoder), GFP_KERNEL); | ^~~~~~ In file included from /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_ioc32.c:34: /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_drm_drv.h:196:72: warning: 'struct i2c_msg' declared inside parameter list will not be visible outside of this definition or declaration 196 | bool evdi_painter_i2c_data_notify(struct evdi_painter *painter, struct i2c_msg *msg); | ^~~~~~~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c:56:15: error: implicit declaration of function 'drm_encoder_init'; did you mean 'evdi_encoder_init'? [-Werror=implicit-function-declaration] 56 | ret = drm_encoder_init(dev, encoder, &evdi_enc_funcs, | ^~~~~~~~~~~~~~~~ | evdi_encoder_init /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_gem.c: In function 'evdi_drm_gem_mmap': /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_gem.c:192:23: error: assignment of read-only member 'vm_flags' 192 | vma->vm_flags &= ~VM_PFNMAP; | ^~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_gem.c:193:23: error: assignment of read-only member 'vm_flags' 193 | vma->vm_flags |= VM_MIXEDMAP; | ^~ make[1]: *** [/usr/src/linux-headers-6.3.0-1-common/scripts/Makefile.build:257: /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_gem.o] Error 1 make[1]: *** Waiting for unfinished jobs.... /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c:63:9: error: implicit declaration of function 'drm_encoder_helper_add' [-Werror=implicit-function-declaration] 63 | drm_encoder_helper_add(encoder, &evdi_enc_helper_funcs); | ^~~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c:65:16: error: invalid use of undefined type 'struct drm_encoder' 65 | encoder->possible_crtcs = 1; | ^~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c: At top level: /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c:38:46: error: storage size of 'evdi_enc_helper_funcs' isn't known 38 | static const struct drm_encoder_helper_funcs evdi_enc_helper_funcs = { | ^~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.c:43:39: error: storage size of 'evdi_enc_funcs' isn't known 43 | static const struct drm_encoder_funcs evdi_enc_funcs = { | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_drm_drv.c:31: /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_drm_drv.h:196:72: warning: 'struct i2c_msg' declared inside parameter list will not be visible outside of this definition or declaration 196 | bool evdi_painter_i2c_data_notify(struct evdi_painter *painter, struct i2c_msg *msg); | ^~~~~~~ cc1: some warnings being treated as errors make[1]: *** [/usr/src/linux-headers-6.3.0-1-common/scripts/Makefile.build:257: /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.o] Error 1 In file included from /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_modeset.c:29: /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_drm_drv.h:196:72: warning: 'struct i2c_msg' declared inside parameter list will not be visible outside of this definition or declaration 196 | bool evdi_painter_i2c_data_notify(struct evdi_painter *painter, struct i2c_msg *msg); | ^~~~~~~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c: In function 'evdifb_create': /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c:408:24: error: 'struct drm_fb_helper' has no member named 'fbdev'; did you mean 'dev'? 408 | efbdev->helper.fbdev = info; | ^~~~~ | dev /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c: In function 'evdi_fbdev_destroy': /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c:462:28: error: 'struct drm_fb_helper' has no member named 'fbdev'; did you mean 'dev'? 462 | if (efbdev->helper.fbdev) { | ^~~~~ | dev /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c:463:39: error: 'struct drm_fb_helper' has no member named 'fbdev'; did you mean 'dev'? 463 | info = efbdev->helper.fbdev; | ^~~~~ | dev /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c: In function 'evdi_fbdev_init': /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c:494:53: warning: passing argument 3 of 'drm_fb_helper_prepare' makes integer from pointer without a cast [-Wint-conversion] 494 | drm_fb_helper_prepare(dev, &efbdev->helper, &evdi_fb_helper_funcs); | ^~~~~~~~~~~~~~~~~~~~~ | | | struct drm_fb_helper_funcs * In file included from /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c:26: /usr/src/linux-headers-6.3.0-1-common/include/drm/drm_fb_helper.h:244:41: note: expected 'unsigned int' but argument is of type 'struct drm_fb_helper_funcs *' 244 | unsigned int preferred_bpp, | ~~~~~~~~~~~~~^~~~~~~~~~~~~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c:494:9: error: too few arguments to function 'drm_fb_helper_prepare' 494 | drm_fb_helper_prepare(dev, &efbdev->helper, &evdi_fb_helper_funcs); | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/linux-headers-6.3.0-1-common/include/drm/drm_fb_helper.h:243:6: note: declared here 243 | void drm_fb_helper_prepare(struct drm_device *dev, struct drm_fb_helper *helper, | ^~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c:511:15: error: too many arguments to function 'drm_fb_helper_initial_config' 511 | ret = drm_fb_helper_initial_config(&efbdev->helper, 32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/linux-headers-6.3.0-1-common/include/drm/drm_fb_helper.h:300:5: note: declared here 300 | int drm_fb_helper_initial_config(struct drm_fb_helper *fb_helper); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c: In function 'evdi_fbdev_unplug': /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c:540:28: error: 'struct drm_fb_helper' has no member named 'fbdev'; did you mean 'dev'? 540 | if (efbdev->helper.fbdev) { | ^~~~~ | dev /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c:543:39: error: 'struct drm_fb_helper' has no member named 'fbdev'; did you mean 'dev'? 543 | info = efbdev->helper.fbdev; | ^~~~~ | dev In file included from /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_painter.c:23: /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_drm_drv.h:196:72: warning: 'struct i2c_msg' declared inside parameter list will not be visible outside of this definition or declaration 196 | bool evdi_painter_i2c_data_notify(struct evdi_painter *painter, struct i2c_msg *msg); | ^~~~~~~ make[1]: *** [/usr/src/linux-headers-6.3.0-1-common/scripts/Makefile.build:257: /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.o] Error 1 /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_painter.c:1308:6: error: conflicting types for 'evdi_painter_i2c_data_notify'; have 'bool(struct evdi_painter *, struct i2c_msg *)' {aka '_Bool(struct evdi_painter *, struct i2c_msg *)'} 1308 | bool evdi_painter_i2c_data_notify(struct evdi_painter *painter, struct i2c_msg *msg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_drm_drv.h:196:6: note: previous declaration of 'evdi_painter_i2c_data_notify' with type 'bool(struct evdi_painter *, struct i2c_msg *)' {aka '_Bool(struct evdi_painter *, struct i2c_msg *)'} 196 | bool evdi_painter_i2c_data_notify(struct evdi_painter *painter, struct i2c_msg *msg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [/usr/src/linux-headers-6.3.0-1-common/scripts/Makefile.build:257: /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_painter.o] Error 1 make: *** [/usr/src/linux-headers-6.3.0-1-common/Makefile:2050: /var/lib/dkms/evdi/1.12.0+dfsg/build] Error 2 make: Leaving directory '/usr/src/linux-headers-6.3.0-1-amd64' Andreas