Re: r355097 make buildkernel: ports module graphics/gpu-firmware-kmod (all): could not find bsd.sysdir.mk

From: Graham Perrin <grahamperrin_at_gmail.com>
Date: Wed, 27 Nov 2019 17:51:38 +0000
On 26/11/2019 08:15, Hans Petter Selasky wrote:
> On 2019-11-26 05:54, Warner Losh wrote:
>> So when I committed the sysdir stuff I forgot to add it to the install
>> list. I've fixed it now. Either upgrade, or just copy src/share/mk/
>> bsd.sysdir.mk to /usr/share/mk
>>
>> Warner
>
> Or:
>
> make -m /usr/src/share/mk
>
> --HPS
>
I updated source to r355121, still getting an error (below).

Did I misunderstand the advice?


----

root_at_momh167-gjp4-8570p:/usr/src # make -m /usr/src/share/mk -j2 
buildkernel KERNCONF=GENERIC-NODEBUG

…

===> Ports module graphics/gpu-firmware-kmod (all)
cd ${PORTSDIR:-/usr/ports}/graphics/gpu-firmware-kmod; env  -u CC -u 
CXX  -u CPP  -u MAKESYSPATH  -u MK_AUTO_OBJ  -u MAKEOBJDIR MAKEFLAGS="-j 
2 -J 15,16 -j 2 -J 15,16 -D NO_MODULES_OBJ .MAKE.LEVEL.ENV=MAKELEVEL 
KERNCONF=GENERIC-NODEBUG KERNEL=kernel TARGET=amd64 TARGET_ARCH=amd64"  
SYSDIR=/usr/src/sys 
PATH=/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin::/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin 
SRC_BASE=/usr/src  OSVERSION=1300060 
WRKDIRPREFIX=/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG make -B 
clean build
===>  Cleaning for gpu-firmware-kmod-g20191015
===>  License AMD INTEL accepted by the user
===>   gpu-firmware-kmod-g20191015 depends on file: /usr/local/sbin/pkg 
- found
===> Fetching all distfiles required by gpu-firmware-kmod-g20191015 for 
building
===>  Extracting for gpu-firmware-kmod-g20191015
=> SHA256 Checksum OK for 
FreeBSDDesktop-kms-firmware-g20191015-81315fa_GH0.tar.gz.
===>  Patching for gpu-firmware-kmod-g20191015
===>  Configuring for gpu-firmware-kmod-g20191015
===>  Building for gpu-firmware-kmod-g20191015
===> i915kmsfw (all)
===> i915kmsfw/bxtdmc (all)
make[6]: "/usr/src/sys/conf/kmod.mk" line 77: Could not find bsd.sysdir.mk
make[6]: Fatal errors encountered -- cannot continue
make[6]: stopped in 
/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG/usr/ports/graphics/gpu-firmware-kmod/work/kms-firmware-81315fa/i915kmsfw/bxtdmc
*** Error code 1

Stop.
make[5]: stopped in 
/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG/usr/ports/graphics/gpu-firmware-kmod/work/kms-firmware-81315fa/i915kmsfw
*** Error code 1

Stop.
make[4]: stopped in 
/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG/usr/ports/graphics/gpu-firmware-kmod/work/kms-firmware-81315fa
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/graphics/gpu-firmware-kmod
*** [all] Error code 1

make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG
1 error

make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG
*** [buildkernel] Error code 2

make[1]: stopped in /usr/src
1 error

make[1]: stopped in /usr/src
*** [buildkernel] Error code 2

make: stopped in /usr/src
1 error

make: stopped in /usr/src
root_at_momh167-gjp4-8570p:/usr/src # date ; uname -v
Wed Nov 27 09:08:01 GMT 2019
FreeBSD 13.0-CURRENT #37 r354945: Thu Nov 21 19:11:47 GMT 2019 
root_at_momh167-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG
root_at_momh167-gjp4-8570p:/usr/src # bectl list
BE       Active Mountpoint Space Created
r350684  -      -          1.66M 2019-08-07 19:01
r354082b -      -          108G  2019-10-27 14:08
r354616b -      -          1.37M 2019-11-16 17:35
r354945  -      -          1.29M 2019-11-21 13:06
r354945a -      -          1.39M 2019-11-22 02:26
r354945b -      -          1.61M 2019-11-25 06:04
r355107  -      -          1.32M 2019-11-26 07:59
r355121  NR     /          30.8G 2019-11-27 00:35
root_at_momh167-gjp4-8570p:/usr/src #
Received on Wed Nov 27 2019 - 16:51:43 UTC

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