Re: Build failure

From: marco <freebsd-current_at_lordsith.net>
Date: Tue, 20 Oct 2020 09:46:00 +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."
Received on Tue Oct 20 2020 - 07:46:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC