From owner-freebsd-stable@freebsd.org Sun Dec 11 17:15:27 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93A9EC72C67 for ; Sun, 11 Dec 2016 17:15:27 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 68F6011EF for ; Sun, 11 Dec 2016 17:15:26 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6E8B1207FF for ; Sun, 11 Dec 2016 12:15:25 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Sun, 11 Dec 2016 12:15:25 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=yC/MtAvDWDUHGxp Js9E2kbDlPx8=; b=GuR6LwqTBTEKlUHMy8vXgFulK3LC6iiAEDINMAUBNLl1IWC jbBQ0Lw86Qsa591s38i0T523hCVzKH4glT6mS6xyKsWRjD+7WI/uedHhyRGYKpKQ XibYN1f6NGdur6gI6ohL2mDUH1H3OhuP3tUYS6RCG2h+Yzl0hlw2pYHNXNxs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=yC/MtAvDWDUHGxpJs9E2kbDlPx8=; b=cb9xSzeedWo5zaoB1Z66 BD0177WMsyY3obCTEXTTQUQfTICUEvEQtxhP7uenkCKsZd3psLVTaT+kulb8A/QU uhy++YO/ZVMZEgu6Ph+c4jvwWXoifzo8Ya0oYclWkmzP6Zl5iDdCtcYPS8K9Kxiv SeHi+1fbfsOAQp5Ved8T6OA= X-ME-Sender: X-Sasl-enc: 9W6OFHvD4YO22qxe7Ezol+/+EUv1hq7qauI98fQOl0NJ 1481476525 Received: from pumpkin.growveg.org (pumpkin.growveg.org [82.70.91.101]) by mail.messagingengine.com (Postfix) with ESMTPA id 06E947E050 for ; Sun, 11 Dec 2016 12:15:24 -0500 (EST) Subject: Re: make buildkernel does not respect KERNCONF or JOBS in /etc/make.conf To: freebsd-stable@freebsd.org References: <127a9164-9ad2-47c4-9ec4-e9f59cbe94f2@zyxst.net> <8637hu76pm.wl-herbert@mailbox.org> From: tech-lists Message-ID: Date: Sun, 11 Dec 2016 17:15:22 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <8637hu76pm.wl-herbert@mailbox.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2016 17:15:27 -0000 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-unsubscribe@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.