From nobody Sun Jul 18 23:31:16 2021 X-Original-To: stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6058312AD67D for ; Sun, 18 Jul 2021 23:31:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GSh7j1rK6z3n1c for ; Sun, 18 Jul 2021 23:31:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qv1-xf2b.google.com with SMTP id m13so4247256qvh.8 for ; Sun, 18 Jul 2021 16:31:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=O/Vf8eU1pfRe+8rSCOXNflnLgjqb0c7YEX7UGU6TTHU=; b=y/GSN2B5pvkG2prZOeWWszG9WuXCz7YzrYpxXjK003rypr3/YXV3zhEVEpCqsRDCex HW44rZlQENiLExag8qmIcuDe3jJeqIYUFzxuHQaSmoGiPqr2zYv+m6mNCr4TWJxOeA3t p1fNOH/mW0U25IiGj7Nj8KCDNleyPPtk75eIBf1Ql25So47EqVIGBIW4dT8LoDzHBrz8 MzigFLfUWAj2cNl7KAksNpi3jbf18NDY+PeCAmJCRiKOzlL0Vbz99AbZpn3ZgvfQ0X4T FnMUDWk7mE+cyjuJHp4y/5b9qnhsOMSWabtkU/NUmSHh8Z4MuUtVaWVnGjgYe2wtkN4y bGVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=O/Vf8eU1pfRe+8rSCOXNflnLgjqb0c7YEX7UGU6TTHU=; b=cszzNuLTuNnRhsxHjWtACREj2I5dVgAnhjdI06Q31+Q18Xll6v71Ha1n2OQDJG3j+X 4JPwqDoY9/dkd/vsOs+AJNVPfYSuwdd0+e2i4dbH6PfRI4SZ/o8bUM7f7WbiM/3llJ/B Kl1fYPX5GO/Sb5tK3i49K+oS1eMTX7utF2Rf2yjZtVEMUYNbpQNA/0LAVhb7DxJL5g7v VD3wZxf7m2MX1SBcjnIqk89SLpA6YSR7iWBONCFheoUiNdy9iquYLkEK7qhMYnJnrXjP hTVq8hARudv5gqy8R/8R6vU3kdiSI5UDK7bvOqFHG99zqSh2WdGtQSuLIjVD/5B50zbl sIMw== X-Gm-Message-State: AOAM5309DYnL8CNuvlOt0wzW9vgOmttU5l1JtXN0yrykU8VYeaklWjgS gtQRNsfHqcRN9PvnQFzxgDZFg9P6NPPfx1l4ynCVIQ== X-Google-Smtp-Source: ABdhPJweljPgbIa+UhRgYmQocyeFfyZK6ByN4gf2uDjz7CVQs1IzF5e5gR4pTZYGNZvCvBW5+DhB1f3mNUVDWCNKsO4= X-Received: by 2002:ad4:5ded:: with SMTP id jn13mr20545333qvb.24.1626651088100; Sun, 18 Jul 2021 16:31:28 -0700 (PDT) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Sun, 18 Jul 2021 17:31:16 -0600 Message-ID: Subject: Re: Kernel build fails for stable To: Kevin Oberman Cc: FreeBSD Stable ML Content-Type: multipart/alternative; boundary="00000000000047b0ec05c76e382c" X-Rspamd-Queue-Id: 4GSh7j1rK6z3n1c X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --00000000000047b0ec05c76e382c Content-Type: text/plain; charset="UTF-8" You need to grab the awk fix listed in UPDATING. Warner On Sun, Jul 18, 2021, 5:29 PM Kevin Oberman wrote: > I updated sources and did a buildworld for 13/stable updated about > 2021-07-18 22:50. Still trying to figure out how to get the hash. Sorry. > > buildkernel dies building /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi. > Build of linux_compat.o fails with the rather long chain of includes with: > In file included from > /usr/src/sys/compat/linuxkpi/common/include/linux/device.h:36: > In file included from > > /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/include/linux/kobject.h:4: > In file included from > /usr/src/sys/compat/linuxkpi/common/include/linux/kobject.h:37: > /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:118:2: error: > implicit declaration of function '__stringify' is invalid in C99 > [-Werror,-Wimplicit-function-declaration] > WARN_ON(release == NULL); > ^ > /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:128:7: note: > expanded from macro 'WARN_ON' > __stringify(cond), __FILE__, __LINE__); \ > ^ > ^ > In file included from > > /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/src/linux_compat.c:10: > In file included from > > /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/include/linux/pci.h:10: > In file included from > /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55: > In file included from > /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:37: > In file included from > > /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/include/linux/device.h:4: > In file included from > /usr/src/sys/compat/linuxkpi/common/include/linux/device.h:36: > In file included from > > /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/include/linux/kobject.h:4: > In file included from > /usr/src/sys/compat/linuxkpi/common/include/linux/kobject.h:37: > /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:118:2: error: > format specifies type 'char *' but the argument has type 'int' > [-Werror,-Wformat] > WARN_ON(release == NULL); > ^~~~~~~~~~~~~~~~~~~~~~~~ > /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:128:7: note: > expanded from macro 'WARN_ON' > __stringify(cond), __FILE__, __LINE__); \ > > Are others seeing this? Any idea what's wrong? I didn't even realize that > the lkpi and drm module had been moved into the kernel build. > > I mostly would like to see if something is broken in my environment before > opening a ticket. Full build log available on request. > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > --00000000000047b0ec05c76e382c--