From owner-freebsd-x11@freebsd.org Fri Dec 13 22:57:36 2019 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CAD9B1D9739 for ; Fri, 13 Dec 2019 22:57:36 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47ZQzh55nhz4d2R for ; Fri, 13 Dec 2019 22:57:36 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id AEEAE1D9738; Fri, 13 Dec 2019 22:57:36 +0000 (UTC) Delivered-To: x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AEB241D9737 for ; Fri, 13 Dec 2019 22:57:36 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47ZQzh4B2vz4d2Q; Fri, 13 Dec 2019 22:57:36 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from [10.50.24.222] (wsip-184-181-13-226.ph.ph.cox.net [184.181.13.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: johalun) by smtp.freebsd.org (Postfix) with ESMTPSA id 420FF2C80; Fri, 13 Dec 2019 22:57:36 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Subject: Re: DRM driver build fail To: Jan Beich Cc: John Baldwin , x11@freebsd.org References: <9369.40239496238$1576274562@news.gmane.org> From: Johannes Lundberg X-Tagtoolbar-Keys: D20191213155732622 Message-ID: <1ca5dfeb-e32b-0fd4-3070-1fdef1de9758@FreeBSD.org> Date: Fri, 13 Dec 2019 15:57:32 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Dec 2019 22:57:36 -0000 Hi Jan We have a build script running every three hours, building every supported combination of driver/os release/platform. This is the result of it failing (or rather succeeding in doing its work). We're working on a fix and culprit is https://svnweb.freebsd.org/base?view=revision&revision=355732 Cheers On 2019-12-13 15:49, Jan Beich wrote: > (Assuming master is HEAD aka -CURRENT). > > "Johannes Lundberg" writes: > >> FreeBSD DRM Drivers Build Results >> >> STABLE-11: Version 1103504. Revision 355731. >> STABLE-12: Version 1201504. Revision 355704. >> HEAD: Version 1300067. Revision 355732. >> >> >> Failed on Fri Dec 13 15:01:57 MST 2019: >> >> https://people.freebsd.org/~johalun/drmlogs/ERROR-aarch64__master__drm-v5.0.log >> https://people.freebsd.org/~johalun/drmlogs/ERROR-amd64__master__drm-legacy.log >> https://people.freebsd.org/~johalun/drmlogs/ERROR-amd64__master__drm-v4.16.log >> https://people.freebsd.org/~johalun/drmlogs/ERROR-amd64__master__drm-v5.0.log >> https://people.freebsd.org/~johalun/drmlogs/ERROR-i386__master__drm-legacy.log >> https://people.freebsd.org/~johalun/drmlogs/ERROR-i386__master__drm-v4.16.log >> https://people.freebsd.org/~johalun/drmlogs/ERROR-i386__master__drm-v5.0.log >> https://people.freebsd.org/~johalun/drmlogs/ERROR-powerpc64__master__drm-v5.0.log > 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); > ^ > 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, > ^ > 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, > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > drm-v5.0 built fine here just 2 days ago. Regressed by https://reviews.freebsd.org/D22602 > Other kms-drm branches appear to be affected by the same issue. D22602 lists fixes > for base drivers in Revision Contents -> Stack which one can use as examples e.g., > D22598 replaced untimeout() with callout_drain() but... let me run away. ;)