Date: Thu, 18 Feb 2021 11:41:47 +0300 From: Ruslan Makhmatkhanov <rm@FreeBSD.org> To: Niclas Zeising <zeising+freebsd@daemonic.se>, Ruslan Makhmatkhanov <rm@FreeBSD.org>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: buildkernel: don't know how to make cleandir in drm-current-kmod Message-ID: <81540cb5-81af-3a45-e9ca-c00b20a6ae6e@FreeBSD.org> In-Reply-To: <22f360b7-3b6d-61c6-e05e-579b8699b9ee@daemonic.se> References: <ae889f8f-2bdc-1763-431b-e54a3cb3c7bd@FreeBSD.org> <22f360b7-3b6d-61c6-e05e-579b8699b9ee@daemonic.se>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <gjb@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?81540cb5-81af-3a45-e9ca-c00b20a6ae6e>