From eugen@grosbein.net Fri Jul 16 05:54:06 2021 X-Original-To: freebsd-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 DB3701245E94 for ; Fri, 16 Jul 2021 05:54:20 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GR0mq6Rh3z4qn3 for ; Fri, 16 Jul 2021 05:54:19 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id 16G5s9AV032010 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 16 Jul 2021 05:54:10 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: Received: from [10.58.0.10] (dadv@dadvw [10.58.0.10]) by eg.sd.rdtc.ru (8.16.1/8.16.1) with ESMTPS id 16G5s8ex095644 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 16 Jul 2021 12:54:09 +0700 (+07) (envelope-from eugen@grosbein.net) To: FreeBSD stable From: Eugene Grosbein Subject: stable/12 buildkernel broken? Message-ID: <1e308517-f727-de94-f229-18f1a98b5081@grosbein.net> Date: Fri, 16 Jul 2021 12:54:06 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 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 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-102.3 required=5.0 tests=BAYES_00,SHORTCIRCUIT autolearn=disabled version=3.4.2 X-Spam-Report: * -100 SHORTCIRCUIT No description available. * [score: 0.0000] * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: 4GR0mq6Rh3z4qn3 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=fail (mx1.freebsd.org: domain of eugen@grosbein.net does not designate 2a01:4f8:c2c:26d8::2 as permitted sender) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [0.91 / 15.00]; RCVD_TLS_ALL(0.00)[]; R_SPF_FAIL(1.00)[-all]; FREEFALL_USER(0.00)[eugen]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:4f8:c2c:26d8::2:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a01:4f8:c2c:26d8::2:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[grosbein.net]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.989]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-stable] X-ThisMailContainsUnwantedMimeParts: N Hi! I've just upgraded one of my 12.2-RELEASE/amd64 servers with gitup to 12.2-STABLE (commit db306b0b412a0d14c8a25ab5194c82106a09d0e2), buildworld and buildkernel went OK (GENERIC kernel), installed and rebooted fine. Now it cannot rebuild a kernel, even GENERIC one: -------------------------------------------------------------- >>> stage 3.1: building everything -------------------------------------------------------------- cd /usr/obj/usr/src/amd64.amd64/sys/GENERIC; MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE=native BUILD_ TOOLS_META=.NOMETA CC="cc -target x86_64-unknown-freebsd12.2 --sysroot=/usr/obj/usr/src/amd64.amd64 /tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" CXX="c++ -target x86_64-unknown-freebsd12.2 --sys root=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" CPP="cpp -target x86_64-unknown-freebsd12.2 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd6 4/tmp/usr/bin" AS="as" AR="ar" LD="ld" LLVM_LINK="" NM=nm OBJCOPY="objcopy" RANLIB=ranlib STRINGS= SIZE="size" INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr /sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/ usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/sbin:/bin:/usr/s bin:/usr/bin make -m /usr/src/share/mk KERNEL=kernel all -DNO_MODULES_OBJ Building /usr/obj/usr/src/amd64.amd64/sys/GENERIC/genoffset.o Building /usr/obj/usr/src/amd64.amd64/sys/GENERIC/offset.inc Building /usr/obj/usr/src/amd64.amd64/sys/GENERIC/genassym.o In file included from /usr/src/sys/amd64/amd64/genassym.c:44: In file included from /usr/src/sys/sys/systm.h:130: In file included from /usr/src/sys/sys/kpilite.h:33: ./offset.inc:13:26: error: array is too large (18446744073709550697 elements) u_char pad_td_epochnest[0xf9 - (0x48c + sizeof(u_int))]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. *** Error code 1 Stop. make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC I re-cloned src with gitup -c -w db306b0b412a0d14c8a25ab5194c82106a09d0e2 and still same error. I tried to clean /usr/obj, disable META_MODE etc., still same error. Is it known problem? From eugen@grosbein.net Fri Jul 16 05:57:38 2021 X-Original-To: freebsd-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 D04AB1247241 for ; Fri, 16 Jul 2021 05:57:48 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GR0rr1Md7z4sFY for ; Fri, 16 Jul 2021 05:57:47 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id 16G5vjYo032034 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 16 Jul 2021 05:57:46 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: Received: from [10.58.0.10] (dadvw [10.58.0.10]) by eg.sd.rdtc.ru (8.16.1/8.16.1) with ESMTPS id 16G5vjL4095806 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 16 Jul 2021 12:57:45 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: stable/12 buildkernel broken? To: FreeBSD stable References: <1e308517-f727-de94-f229-18f1a98b5081@grosbein.net> From: Eugene Grosbein Message-ID: Date: Fri, 16 Jul 2021 12:57:38 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 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 In-Reply-To: <1e308517-f727-de94-f229-18f1a98b5081@grosbein.net> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=4.5 required=5.0 tests=BAYES_20,LOCAL_FROM, NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Report: * -0.0 BAYES_20 BODY: Bayes spam probability is 5 to 20% * [score: 0.1723] * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record * -0.0 SPF_PASS SPF: sender matches SPF record * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS * -0.0 NICE_REPLY_A Looks like a legit reply (A) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Spam-Level: **** X-Rspamd-Queue-Id: 4GR0rr1Md7z4sFY X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=fail (mx1.freebsd.org: domain of eugen@grosbein.net does not designate 2a01:4f8:c2c:26d8::2 as permitted sender) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [0.91 / 15.00]; ARC_NA(0.00)[]; R_SPF_FAIL(1.00)[-all:c]; FREEFALL_USER(0.00)[eugen]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:4f8:c2c:26d8::2:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[grosbein.net]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a01:4f8:c2c:26d8::2:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.989]; MID_RHS_MATCH_FROM(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-stable] X-ThisMailContainsUnwantedMimeParts: N 16.07.2021 12:54, Eugene Grosbein wrote: > Hi! > > I've just upgraded one of my 12.2-RELEASE/amd64 servers with gitup to 12.2-STABLE (commit db306b0b412a0d14c8a25ab5194c82106a09d0e2), > buildworld and buildkernel went OK (GENERIC kernel), installed and rebooted fine. > > Now it cannot rebuild a kernel, even GENERIC one: [skip] Now I see UPDATING record 20210715, sorry for noise. From nobody Sat Jul 17 21:34:19 2021 X-Original-To: freebsd-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 4D7CF127790A; Sat, 17 Jul 2021 21:34:23 +0000 (UTC) (envelope-from se@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GS1b31LVDz56Zr; Sat, 17 Jul 2021 21:34:23 +0000 (UTC) (envelope-from se@freebsd.org) Received: from Stefans-MBP-449.fritz.box (p5b002742.dip0.t-ipconnect.de [91.0.39.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 49F13D711; Sat, 17 Jul 2021 21:34:22 +0000 (UTC) (envelope-from se@freebsd.org) To: =?UTF-8?Q?=c5=81ukasz_W=c4=85sikowski?= Cc: Warner Losh , FreeBSD-STABLE Mailing List , FreeBSD ports , trashcan@ellael.org References: <416D3033-138D-4BBB-84FA-FAEA2944C837@ellael.org> <08637D0D-9D65-4F53-9A64-F4742BA8E415@ellael.org> <0B2C7AEA-27C6-4259-9DCF-D20C19737A50@ellael.org> <4355013a-0be1-829f-2fe5-86eeb4ba80f7@freebsd.org> <6bd6fc12-f872-9560-81a0-5b9385fc85cd@wasikowski.net> From: Stefan Esser Subject: Re: security/rkhunter without hashes after recent STABLE-13 update Message-ID: Date: Sat, 17 Jul 2021 23:34:19 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 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 In-Reply-To: <6bd6fc12-f872-9560-81a0-5b9385fc85cd@wasikowski.net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="TdyNFsrzXbs7BO5rwR9VprKvu36qnJ75X" X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --TdyNFsrzXbs7BO5rwR9VprKvu36qnJ75X Content-Type: multipart/mixed; boundary="HJRxu3lujfzPEdxVroJRDjztH46aDagaj"; protected-headers="v1" From: Stefan Esser To: =?UTF-8?Q?=c5=81ukasz_W=c4=85sikowski?= Cc: Warner Losh , FreeBSD-STABLE Mailing List , FreeBSD ports , trashcan@ellael.org Message-ID: Subject: Re: security/rkhunter without hashes after recent STABLE-13 update References: <416D3033-138D-4BBB-84FA-FAEA2944C837@ellael.org> <08637D0D-9D65-4F53-9A64-F4742BA8E415@ellael.org> <0B2C7AEA-27C6-4259-9DCF-D20C19737A50@ellael.org> <4355013a-0be1-829f-2fe5-86eeb4ba80f7@freebsd.org> <6bd6fc12-f872-9560-81a0-5b9385fc85cd@wasikowski.net> In-Reply-To: <6bd6fc12-f872-9560-81a0-5b9385fc85cd@wasikowski.net> --HJRxu3lujfzPEdxVroJRDjztH46aDagaj Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Am 09.07.21 um 01:51 schrieb =C5=81ukasz W=C4=85sikowski: > W dniu 2021-07-08 o=C2=A014:16, Michael Grimm via freebsd-stable pisze:= >=20 >> I can confirm that your patch works perfectly well. >> No more workaround needed, now rkhunter calculates sha256 hashes as us= ual. >> >> Thanks for that. >> >> Now, =C5=81ukasz need's to confirm that rkhunter at 12.2-RELEASE will = calculate >> those hashes as well. >=20 > Works like a charm, thank you Stefan. >=20 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257065 Hi =C5=81ukasz, I had assumed that somebody else would commit the patch, but since this did not happen for more than 1 week, I have just pushed the commit and closed the PR ... Best regards, STefan --HJRxu3lujfzPEdxVroJRDjztH46aDagaj-- --TdyNFsrzXbs7BO5rwR9VprKvu36qnJ75X Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmDzTNsFAwAAAAAACgkQR+u171r99UTf QAf+NegnNBUS2FJRi4GGAlgfSqQxtkCjCiivX2s6Sx3/hPXpkR3jKAbYaXjwx+4olls3H7N0a92L zQkYf24MUClBn73oPaeWfLz8bxrvCMT73BIaWKEkPL9RD7ywT1Oiquq3hj0x5K555rnENAeEMlId QeyWbNwL3IXWXF07uLssmF/z6h7Q38sRm/muX9x31xgobqzQQ6e121gazm5NyQPQpa0vB1V7MNV5 A9Lp/jBafhL67hoUkiwK4ektMD79uG9KFn4fTNQBdSeo3tEPZZHh7R25f03B6aZ+M/rmPw2AzzJF 8Ij+15L7bOo1/ZOvbL04UZBudrtm2wh3n4Ysf0vNiA== =0sRJ -----END PGP SIGNATURE----- --TdyNFsrzXbs7BO5rwR9VprKvu36qnJ75X-- From nobody Sun Jul 18 23:27:55 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 5EF2212AC65D for ; Sun, 18 Jul 2021 23:28:14 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) (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 4GSh3x4wzVz3lpD for ; Sun, 18 Jul 2021 23:28:13 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-wr1-x42a.google.com with SMTP id f17so19574583wrt.6 for ; Sun, 18 Jul 2021 16:28:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=0PL/BiMtStSVsB9VB4XU9w6RbWgiy/jVAYI9ibqArq8=; b=NsK0Z6+oRj2QkFF6bUIbFDzvPabjSQRxnhLBDRAbmWeaQCvUs5tMX1xoEdUWJf+0B3 mnKUgq/lyoOAwk4f/7x14RCFKSLPBmbnB1gCkOvQhhr6az61KTpTTDqpOv0BOb8XqjtD c3xxl6QRPfwHXbZUu4BOcTwkVZzp7k26NUGhTAInKZ3HENv1tpVIWTKeGL0GxwNpG71i DIheYpuxTWgHnKgrWzkjg6iCkV4DAG8dbnLSz0aUThHDEEFmer38dGGUlW4n++BfIThi jf01FQwWTeNa/STnsdmHig/2hHxztCu11e3V99B8EA+f8T2ednOANUdcQSOoR9XWPib5 1reA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=0PL/BiMtStSVsB9VB4XU9w6RbWgiy/jVAYI9ibqArq8=; b=Rm00LCz2wzBoiiErgz4c7oY0o+CVgpEU59oEm+m3U1ljvO2imfyQMvMxr1FFOum71A SdIBpurSaypOtQYiz5Gcx1KqTVW/WJd2/46VF+UAHN/U5qMq4sfiOLvE2Y/CdtsyYViE +ZvTAYB48rrykM0M/17REPjUd8VxDV6xlOkqLn1Lk0WckO9dIe//uJYNlWQv3Z3r3ycc y3O5jV7PuQtOsPJG29OozYdBlJEEstlLucVOWZ+pcCACIOXAoMyy96J7pmAC7KiUmwsz AXvfmLL/T1CKENOsz4i5wKMBj8RpAY/KTEGBBFTea6DQRe6iOgyPX6VLD0F4J1j7hKk1 h1rQ== X-Gm-Message-State: AOAM531n4ZGlyDUYSmjwD0JVDAdzldQZrWlDmOPOdeIAn+YOOIWf0Mg4 HiyzGj7ngsDvQda4k/ziTEIJEulu0FhZnP5tfPH4bMhFc3XrVA== X-Google-Smtp-Source: ABdhPJxKH+LSFijC3a7l5R390TvGESVQ2wHVPtnYZiHo9aq1DKgaR+uFKE/M0wDfRTy92iwBX+hw0NbGvyUfa75CP20= X-Received: by 2002:adf:9cc7:: with SMTP id h7mr26269450wre.186.1626650891938; Sun, 18 Jul 2021 16:28:11 -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 From: Kevin Oberman Date: Sun, 18 Jul 2021 16:27:55 -0700 Message-ID: Subject: Kernel build fails for stable To: FreeBSD Stable ML Content-Type: multipart/alternative; boundary="000000000000966f6205c76e2c86" X-Rspamd-Queue-Id: 4GSh3x4wzVz3lpD X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=NsK0Z6+o; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2a00:1450:4864:20::42a as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [0.30 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::42a:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::42a:from:127.0.2.255]; NEURAL_SPAM_SHORT(1.00)[0.999]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42a:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[stable] X-ThisMailContainsUnwantedMimeParts: Y --000000000000966f6205c76e2c86 Content-Type: text/plain; charset="UTF-8" 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 --000000000000966f6205c76e2c86-- 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-- From nobody Sun Jul 18 23:36:01 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 24D2912AEE3C for ; Sun, 18 Jul 2021 23:36:15 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (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 4GShFB2Hrpz3prB for ; Sun, 18 Jul 2021 23:36:13 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x830.google.com with SMTP id c13so9154559qtc.10 for ; Sun, 18 Jul 2021 16:36:13 -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=rvnDyNnHSGCNPAk5epzZe/2UoWfwEawsajBnbPnK9sQ=; b=z3o+W8yw9Hz2ZvLGEvHEbNLQXlWf+FjVYRjfEXAoaHh+ymKuEoH3YeFMRy3dTuIYx2 2P+pLPw5HRgTsNDHrZA+VXLeh+WfhpYRd+t0iIBchzWrP5WN2v+nmXL5AlyWF4DRCjov Lk0RhF8riwigVe4HmnLt9DXK1q8g2QZDotiXCyn8Ze3LRgMZkb3DSlNsUQFtEYSWLlQL 1bEoeSjO/AG1ha9NUeg56hAZDZcipbyjIbEdGnV3ZapNdzsCeaLPGkQJbLOgaYiR+7JT UWDrhjhdPdhI/KI7N8TDwa6zmzsfmmNUHh+X7KOXd4f0cD2Z7DC8AA2LYsshipthNrm/ azZA== 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=rvnDyNnHSGCNPAk5epzZe/2UoWfwEawsajBnbPnK9sQ=; b=dW+CgSzPqvN63itjjrhTHxKC4T8y7iqMsgyxdsRPFWcI/M/2mjN0g7u6y4UidK8obq psJi9qji27JK4jnCF56gDQw3MeNb/f15qbdnlqmGcDwTwSzVO7/jl5oku/YFNQKukQ+k hIdv65Sg0dBQCjdZd5BXLcI7v11H/W6BuISnH1ZCWVHO2GWYrsomlv6w89nx/QUlJJoL VHph4rjOsHu/aLLvcbyWWI7xHhnhkDeBDrslvKPevOBNHBAWsZCCD8/WwHcWVgX5Fn4J 83fMVVMwMmgeSki4x/dN6IUHmh9aa5zx+13xcxOWfUt52g2t5jfU9v901q2rI9vbPC8D vBYw== X-Gm-Message-State: AOAM531XC346Do4phdXANfcQJ+QlFcj5numEZBKznoZWYCodDcDWe9FQ gyQCCMs7Sjz8/g9DwpqkDb8EX7pKryPktdwslGSRDw== X-Google-Smtp-Source: ABdhPJxY2SY2kdtkW1sKkUnaQaEWFCx9NBVBXv2dI6omOdVDd14EZCMfmdYQD0cKlmVf4sqeDEKbzpAxMzTVzZwjsjA= X-Received: by 2002:ac8:734a:: with SMTP id q10mr10463901qtp.73.1626651373077; Sun, 18 Jul 2021 16:36:13 -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:36:01 -0600 Message-ID: Subject: Re: Kernel build fails for stable To: Kevin Oberman Cc: FreeBSD Stable ML Content-Type: multipart/alternative; boundary="000000000000441bc205c76e4979" X-Rspamd-Queue-Id: 4GShFB2Hrpz3prB X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=z3o+W8yw; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::830) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [1.00 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(1.00)[0.999]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::830:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::830:from]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::830:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; MAILMAN_DEST(0.00)[stable]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: Y --000000000000441bc205c76e4979 Content-Type: text/plain; charset="UTF-8" Scratch that... sorry for the hair trigger.. too many pings elsewhere. Warner On Sun, Jul 18, 2021, 5:31 PM Warner Losh wrote: > 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 >> > --000000000000441bc205c76e4979-- From nobody Sun Jul 18 23:56:17 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 0F17F12755E1 for ; Sun, 18 Jul 2021 23:56:35 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (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 4GShhf6hWHz3vrQ for ; Sun, 18 Jul 2021 23:56:34 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-wm1-x333.google.com with SMTP id c17so2187839wmb.5 for ; Sun, 18 Jul 2021 16:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0TCiuW7fjS9lFKTl87e/usQDnFRW72PpI+UR/tKQIg8=; b=e9tp+7OQm++W6cp2HG4C8s98G+76W1kJxg7l3evHske2fWTMwmB0K0Gq2DT16YAZ6B P/pT9mONFxDZT++rdvI32lw0SyGkwOLayaV0nVW1qBvZY2LM8oDJ3WPZMOp0n5uCirof rbaoUPyVmhLbRz39pH/oPzJYfrzA4GJzIxGINdBvkAxVzxfGPRw+vXIHpWJouhTAlYjA MQgV322NXNph4eeZndMrvgAQ/Mso1JByCFw76kdFYbMeQ8WBnLYe6WFya0m0Ada7ISyI zO3CGtR3x85hnDbkDbCemoXPiJ3Z3UDtqLyuyAm4JezY/vhaZFY4aLeH0l8y7Vag/gaj hs3Q== 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=0TCiuW7fjS9lFKTl87e/usQDnFRW72PpI+UR/tKQIg8=; b=Nk7ScDSRhJmAWjpmdtM6H1p+nTg1Dohmek+PC/YXAMQKgM5aTJycWDAUWuErDJ5S0l fR0G4mrYI/ahSWqMoz18s9s/cWFJ+i1NpHjwldRflT1OanJ8oXohTle+HTq5V3toRpmO bF+Na77dpvtZVR+kN8nMax/jV8+4ToN/S4ZJf+bkSd+VbuBO/cH5RG6xbj/XiWlmwX69 tMh6LR3mGFsc7Ce/Q4rdZ19I2FElhA1OXyJ/6Hc0WdpXHQbHRXJn1zTzeY4Hz6YC0GXh c1QTwfNVlX9xs/7mhI7gkCwF+u03y/GcqUyMUxphoC8ss16dC3pILRSWiRF8bc8zOAQu gbBg== X-Gm-Message-State: AOAM5308nBUJah7cipxrLC+NJoTn03oMECPy4V1lByzvxg86BsSHxv0H xFIl+0XFXufcSTzDCP3u+uX0AGdjYgtuqBmc6V7GdTgDusw9lg== X-Google-Smtp-Source: ABdhPJxUWM+cvMLIyVjnWsd7fDw3AUT7u4Bijl0sXFpkB9nslr4vXb2BD1XWmeIU6WyNEsFk3WIhGW9Ul6nZ/tw0whs= X-Received: by 2002:a05:600c:154a:: with SMTP id f10mr624373wmg.183.1626652593497; Sun, 18 Jul 2021 16:56:33 -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: Kevin Oberman Date: Sun, 18 Jul 2021 16:56:17 -0700 Message-ID: Subject: Re: Kernel build fails for stable To: Warner Losh Cc: FreeBSD Stable ML Content-Type: multipart/alternative; boundary="000000000000022bc705c76e9218" X-Rspamd-Queue-Id: 4GShhf6hWHz3vrQ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --000000000000022bc705c76e9218 Content-Type: text/plain; charset="UTF-8" No problem, thanks! I assume this ties to the lkpi update today for the iwlwifi drivers by bz. The note in UPDATING states: Bump __FreeBSD_version to 1300512 after merging LinuxKPI, OFED, net80211, and driver changes in order to support building Intel wireless iwlwifi drivers. This is especially needed for drm-kmod which needs updates after this. So, are updates available or am I just stuck until they are done. (BTW, trying to build the drm-fbsd13-kmod port yields similar errors. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 On Sun, Jul 18, 2021 at 4:36 PM Warner Losh wrote: > Scratch that... sorry for the hair trigger.. too many pings elsewhere. > > Warner > > On Sun, Jul 18, 2021, 5:31 PM Warner Losh wrote: > >> 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 >>> >> --000000000000022bc705c76e9218--