Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2019 09:06:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 242678] graphics/drm-current-kmod: fails to build after r355732
Message-ID:  <bug-242678-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242678

            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@FreeBSD.org
          Reporter: brigadir15@gmail.com
             Flags: maintainer-feedback?(x11@FreeBSD.org)
          Assignee: x11@FreeBSD.org

Trying to build graphics/drm-current-kmod on FreeBSD 13.0-CURRENT r355689 w=
ith
/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/d=
rm_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/d=
rm_os_freebsd.c:57:28:
error: implicit declaration of function 'timeout' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
                reset_debug_log_handle =3D timeout(clear_debug_func, NULL,
                                         ^
/usr/ports/graphics/drm-current-kmod/work/kms-drm-f9869ff/drivers/gpu/drm/d=
rm_os_freebsd.c:57:26:
error: assigning to 'struct callout_handle' from incompatible type 'int'
                reset_debug_log_handle =3D 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-f9869=
ff
1 error

make[2]: stopped in /usr/ports/graphics/drm-current-kmod/work/kms-drm-f9869=
ff
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes 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) interfac=
es.

[1] https://svnweb.freebsd.org/base?view=3Drevision&revision=3D355732

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242678-7141>