maintainer-feedback requested: [Bug 242678] graphics/drm-current-kmod: fails to build after r355732
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Dec 17 09:06:05 UTC 2019
Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-x11 mailing list
<x11 at FreeBSD.org> 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
More information about the freebsd-x11
mailing list