From owner-freebsd-current@freebsd.org Tue Oct 20 09:46:05 2020 Return-Path: Delivered-To: freebsd-current@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 5052B42B851 for ; Tue, 20 Oct 2020 09:46:05 +0000 (UTC) (envelope-from freebsd-current@lordsith.net) Received: from outbound.soverin.net (outbound.soverin.net [116.202.65.215]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CFpfN2K5Rz45FN for ; Tue, 20 Oct 2020 09:46:03 +0000 (UTC) (envelope-from freebsd-current@lordsith.net) Received: from smtp.freedom.nl (unknown [10.10.3.36]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 3A322608C4 for ; Tue, 20 Oct 2020 09:46:02 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [116.202.65.211]) by soverin.net Date: Tue, 20 Oct 2020 09:46:00 +0000 From: marco To: freebsd-current@freebsd.org Subject: Re: Build failure Message-ID: <20201020094600.GA1631@freedom.nl> Reply-To: marco Mail-Followup-To: marco , freebsd-current@freebsd.org References: <20201003103630.b93bcef3cf5ea163cbd4b03d@bidouilliste.com> <20201020071516.GA11920@freedom.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201020071516.GA11920@freedom.nl> Organization: lordsith.net X-Operating-System: FreeBSD 13.0-CURRENT amd64 X-Unix: Use Unix or die X-Uptime: 9:39AM up 4 mins, 1 user, load averages: 0.04, 0.07, 0.03 X-Rspamd-Queue-Id: 4CFpfN2K5Rz45FN X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.52 / 15.00]; HAS_REPLYTO(0.00)[freebsd-current@lordsith.net]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:116.202.65.215]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[lordsith.net]; NEURAL_HAM_LONG(-1.01)[-1.014]; NEURAL_HAM_SHORT(-0.13)[-0.128]; NEURAL_HAM_MEDIUM(-0.98)[-0.979]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:116.202.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current]; RCVD_IN_DNSWL_LOW(-0.10)[116.202.65.215:from] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2020 09:46:05 -0000 On Tue, Oct 20, 2020 at 07:15:16AM +0000, you (marco) sent the following to [freebsd-current] : > > > > I checked out 05b104834ae7 (r366780) from > https://cgit-beta.freebsd.org/src.git and ran a 'make -j4 builworld and make -j4 buildkernel' > for GENERIC-NODEBUG which also failed (buildworld was successfull). > I did update the ports tree (portsnap fetch update) right before > buildkernel and also have > drm-current-kmod installed. > > My normal procedure of updating current using BEs (using > WITH_MALLOC_PRODUCTION= in /etc/src.conf): > > make -j4 buildworld > make -j4 buildkernel > bectl create xxxxx > bectl mount xxxxx /mnt > make -j4 installkernel DESTDIR=/mnt > mergemaster -Fp -D /mnt > make -j4 installworld DESTDIR=/mnt > mergemaster -Fi -D /mnt > make -DBATCH_DELETE_OLD_FILES delete-old DESTDIR=/mnt > make -DBATCH_DELETE_OLD_FILES delete-old-libs DESTDIR=/mnt (optional) > bectl umount xxxxx > bectl activate xxxxx > shutdown -r +1 > > I do see there's an update to drm-current-kmod (g20201003) and I'm currently > on g20200914 but I don't want to > update in place in my current BE (not sure if this could solve the > errors that are thrown). > > --- linux_backlight.o --- > In file included from /usr/local/sys/modules/drm-current-kmod/linuxkpi/gplv2/src/linux_backlight.c:12: > In file included from /usr/local/sys/modules/drm-current-kmod/linuxkpi/gplv2/include/linux/device.h:4: > In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/device.h:44: > In file included from /usr/local/sys/modules/drm-current-kmod/linuxkpi/gplv2/include/linux/backlight.h:12: > In file included from /usr/local/sys/modules/drm-current-kmod/linuxkpi/gplv2/include/linux/fb.h:10: Managed to get this all sorted. I created a new BE based on r366252, mounted it and updated and upgraded pkg and all my packages (including drm-current-kmod) into that new BE. Booted to that BE and from there I did another buildkernel which succeeded. I hadn't run make cleanworld prior to the make buildkernel so still had that world built and proceeed from there. I'm now booted into my latest BE [~] uname -apKU FreeBSD harbinger 13.0-CURRENT FreeBSD 13.0-CURRENT #1 05b104834ae7-c253833(HE C-NODEBUG amd64 amd64 1300121 1300121 -- Marco van Lienen -- FreeBSD enthusiast https://keybase.io/scarcry , GnuPG id: 8580E6CB "The Tuck Pendleton machine...zero defects."