Niclas Zeising wrote on 2/18/21 9:55 AM:
On 2021-02-18 06:32, Ruslan Makhmatkhanov wrote:
Hello,

trying to build kernel from
commit f61e92ca5a23450bc28169bbdd71d7674df98c19 (HEAD -> main, origin/main, origin/HEAD)
Author: Glen Barber <g...@freebsd.org>
Date:   Wed Feb 17 23:00:03 2021 -0500

world built ok, but then I have this on make kernel:

===> zlib (cleandir)
rm -f export_syms machine x86 zlib.ko zlib.kld zcalloc.o zlib_mod.o adler32.o compress.o crc32.o deflate.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o offset.inc genoffset.o
rm -f machine x86 .depend .depend.* GPATH GRTAGS GSYMS GTAGS
===> drm-current-kmod (cleandir)
make[3]: don't know how to make cleandir. Stop

make[3]: stopped in /usr/local/sys/modules/drm-current-kmod
*** Error code 2

Stop.
make[2]: stopped in /usr/obj/mnt/hdd/src/amd64.amd64/sys/Z1
*** Error code 1

Stop.
make[1]: stopped in /mnt/hdd/src
*** Error code 1

Stop.
make: stopped in /mnt/hdd/src

Tried to reinstall drm-current-kmod to not avail.


Can you check that you have the folder /usr/local/sys/modules/drm-current-kmod, and that there are sources inside? drm-current-kmod no longer installs sources by default, please check if you have enabled that option locally.
Regards

There was something in there:
rm@cf:/usr/local> ls -R /usr/local/sys/modules/drm-current-kmod
linuxkpi

/usr/local/sys/modules/drm-current-kmod/linuxkpi:
gplv2

/usr/local/sys/modules/drm-current-kmod/linuxkpi/gplv2:
include src

/usr/local/sys/modules/drm-current-kmod/linuxkpi/gplv2/include:
asm     linux

/usr/local/sys/modules/drm-current-kmod/linuxkpi/gplv2/include/asm:
fpu

/usr/local/sys/modules/drm-current-kmod/linuxkpi/gplv2/include/asm/fpu:
api.h

/usr/local/sys/modules/drm-current-kmod/linuxkpi/gplv2/include/linux:
llist.h         shrinker.h

/usr/local/sys/modules/drm-current-kmod/linuxkpi/gplv2/src:
linux_llist.c


That's what was installed by the package from official repo. Now I built it locally with making sure SOURCE option is enabled and kernel now builds. Thanks.

So, was it some temporary decision to exclude sources from the package by default, or since now I should manually build drm-kmod package at every update?

--
Regards,
Ruslan

T.O.S. Of Reality
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to