[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242678
Bug ID: 242678
Summary: graphics/drm-current-kmod: fails to build after
r355732
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: x11 at FreeBSD.org
Reporter: brigadir15 at gmail.com
Flags: maintainer-feedback?(x11 at FreeBSD.org)
Assignee: x11 at FreeBSD.org
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_os_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_os_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_os_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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-x11
mailing list