Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 2020 09:46:00 +0000
From:      marco <freebsd-current@lordsith.net>
To:        freebsd-current@freebsd.org
Subject:   Re: Build failure
Message-ID:  <20201020094600.GA1631@freedom.nl>
In-Reply-To: <20201020071516.GA11920@freedom.nl>
References:  <CAKS%2Bcu1YipLBwK90=VKRPE2YPscD8=GYQNwHSiFwD3xOGx-_Lg@mail.gmail.com> <20201003103630.b93bcef3cf5ea163cbd4b03d@bidouilliste.com> <20201020071516.GA11920@freedom.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201020094600.GA1631>