maintainer-feedback requested: [Bug 242678] graphics/drm-current-kmod: fails to build after r355732

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
Bugzilla Automation <[email protected]> has asked freebsd-x11 mailing list
<[email protected]> for maintainer-feedback:
Bug 242678: graphics/drm-current-kmod: fails to build after r355732
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242678



--- Description ---
Trying to build graphics/drm-current-kmod on FreeBSD 13.0-CURRENT r355689 with
/usr/src updated to r355843:

# cd /usr/ports/graphics/drm-current-kmod
# make build
$ cd /usr/ports/graphics/drm-current-kmod
$ su root -c "make build"
...
--- drm_os_freebsd.o ---
/usr/ports/graphics/drm-current-kmod/work/kms-drm-f9869ff/drivers/gpu/drm/drm_o
s_freebsd.c:47:3:
error: implicit declaration of function 'untimeout' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
		untimeout(clear_debug_func, NULL, reset_debug_log_handle);
		^
/usr/ports/graphics/drm-current-kmod/work/kms-drm-f9869ff/drivers/gpu/drm/drm_o
s_freebsd.c:57:28:
error: implicit declaration of function 'timeout' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
		reset_debug_log_handle = timeout(clear_debug_func, NULL,
					 ^
/usr/ports/graphics/drm-current-kmod/work/kms-drm-f9869ff/drivers/gpu/drm/drm_o
s_freebsd.c:57:26:
error: assigning to 'struct callout_handle' from incompatible type 'int'
		reset_debug_log_handle = timeout(clear_debug_func, NULL,
				       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
*** [drm_os_freebsd.o] Error code 1

make[3]: stopped in
/usr/ports/graphics/drm-current-kmod/work/kms-drm-f9869ff/drm
1 error

make[3]: stopped in
/usr/ports/graphics/drm-current-kmod/work/kms-drm-f9869ff/drm
*** [all_subdir_drm] Error code 2

make[2]: stopped in /usr/ports/graphics/drm-current-kmod/work/kms-drm-f9869ff
1 error

make[2]: stopped in /usr/ports/graphics/drm-current-kmod/work/kms-drm-f9869ff
===> 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-current-kmod
*** Error code 1

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

I believe this is caused by r355732[1] which deprecated timeout(9) interfaces.

[1] https://svnweb.freebsd.org/base?view=revision&revision=355732
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
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.