On 11/12/2016 16:48, Herbert J. Skuhra wrote:
tech-lists wrote:

Hello list,
I have found that make buildkernel/installkernel does not respect
KERNCONF= variables. It also doesn't respect MAKE_JOBS_NUMBER. It
*DOES* however respect WITH_CCACHE_BUILD. It's hard to say when the
behaviour changed to what it is, but it was sometime around the time
that 11-CURRENT became 11-STABLE.

Sources are 11-STABLE r309795

Here is my /etc/make.conf, which used to work:

I don't know MAKE_JOBS_NUMBER(?), but KERNCONF works for me!
Are you sure that there is no extra KERNCONF line in /etc/src.conf?

--
Herbert
_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Hi,

Yep I'm sure. The only extra I've added is for nvidia-driver. Everything else is a "without" directive. My /etc/src.conf looks like this:

# less src.conf
PORTS_MODULES=x11/nvidia-driver
WITHOUT_ASSERT_DEBUG="YES"
WITHOUT_ATM="YES"
WITHOUT_AUDIT="YES"
#WITHOUT_BLUETOOTH="YES"
WITHOUT_BOOTPD="YES"
#WITHOUT_BSNMP="YES"
WITHOUT_CUSE="YES"
WITHOUT_DMAGENT="YES"
WITHOUT_FINGER="YES"
WITHOUT_FLOPPY="YES"
WITHOUT_FREEBSD_UPDATE="YES"
WITHOUT_HAST="YES"
WITHOUT_HYPERV="YES"
WITHOUT_INETD="YES"
WITHOUT_IPFILTER="YES"
WITHOUT_IPX="YES"
WITHOUT_IPX_SUPPORT="YES"
WITHOUT_ISCSI="YES"
WITHOUT_JAIL="YES"
WITHOUT_KERBEROS="YES"
WITHOUT_KERBEROS_SUPPORT="YES"
WITHOUT_LPR="YES"
#WITHOUT_NDIS="YES"
#WITHOUT_NETGRAPH="YES"
WITHOUT_PORTSNAP="YES"
WITHOUT_PPP="YES"
WITHOUT_QUOTAS="YES"
WITHOUT_RADIUS_SUPPORT="YES"
WITHOUT_RBOOTD="YES"
WITHOUT_RCMDS="YES"
WITHOUT_ROUTED="YES"
WITHOUT_SHAREDOCS="YES"
WITHOUT_TALK="YES"
WITHOUT_TFTP="YES"
WITHOUT_TCP_WRAPPERS="YES"
WITHOUT_TESTS="YES"

This is the error I get when I try to build kernel and world the old way:

/usr/src # make cleandir && make clean && make buildworld && make buildkernel && make installkernel && mergemaster -p

===> zlib (all)
machine -> /storage/usr/src/sys/amd64/include
x86 -> /storage/usr/src/sys/x86/include
/usr/local/bin/ccache cc -target x86_64-unknown-freebsd11.0 --sysroot=/usr/obj/storage/usr/src/tmp -B/usr/obj/storage/usr/src/tmp/usr/bin -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/storage/usr/src/sys/PUMPKIN/opt_global.h -I. -I/storage/usr/src/sys -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/obj/storage/usr/src/sys/PUMPKIN -MD -MF.depend.zlib.o -MTzlib.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -mno-aes -mno-avx -std=iso9899:1999 -c /storage/usr/src/sys/modules/zlib/../../libkern/zlib.c -o zlib.o
ld -d -warn-common -r -d -o zlib.ko zlib.o
:> export_syms
awk -f /storage/usr/src/sys/conf/kmod_syms.awk zlib.ko export_syms | xargs -J% objcopy % zlib.ko
objcopy --strip-debug zlib.ko
===> Ports module x11/nvidia-driver (all)
cd ${PORTSDIR:-/usr/ports}/x11/nvidia-driver; env -u CC -u CXX -u CPP PATH=/usr/obj/storage/usr/src/tmp/legacy/usr/sbin:/usr/obj/storage/usr/src/tmp/legacy/usr/bin:/usr/obj/storage/usr/src/tmp/legacy/bin:/usr/obj/storage/usr/src/tmp/usr/sbin:/usr/obj/storage/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin SRC_BASE=/storage/usr/src OSVERSION=1100506 WRKDIRPREFIX=/usr/obj/storage/usr/src/sys/PUMPKIN GENERIC make -B clean all
env: GENERIC: No such file or directory
*** Error code 127

Stop.
make[2]: stopped in /obj/storage/usr/src/sys/PUMPKIN
*** Error code 1

Stop.
make[1]: stopped in /storage/usr/src
*** Error code 1

Stop.
make: stopped in /storage/usr/src

##################################

The config file(s) are there:

root@localhost:/usr/src# ls -la /sys/amd64/conf
total 85
drwxr-xr-x   2 root  wheel      9 Dec 10 12:12 .
drwxr-xr-x  14 root  wheel     15 Dec 10 12:06 ..
-rw-r--r--   1 root  wheel    491 Dec 10 12:06 DEFAULTS
-rw-r--r--   1 root  wheel  14315 Dec 10 12:06 GENERIC
-rw-r--r--   1 root  wheel    827 Dec 10 12:06 GENERIC.hints
-rw-r--r--   1 root  wheel   5762 Dec 10 12:06 MINIMAL
-rw-r--r--   1 root  wheel    139 Dec 10 12:06 Makefile
-rw-r--r--   1 root  wheel  20174 Dec 10 12:06 NOTES
-rw-r--r--   1 root  wheel   6538 Dec 10 12:12 PUMPKIN

many thanks,
--
J.
_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to