Date: Mon, 15 Jan 2018 01:14:46 -0600 From: Scott Bennett <bennett@sdf.org> To: freebsd-questions@freebsd.org Subject: help requested with /usr/src problems Message-ID: <201801150714.w0F7Ek8M025494@sdf.org>
next in thread | raw e-mail | index | archive | help
I'm trying to compile the amd64 version of 11.1-STABLE on a newly installed image dating from December 2017, but I'm getting nowhere with make targets in /usr/src. Here's what happens. Script started on Mon Jan 15 00:55:41 2018 hellas# cd /usr/src hellas# cat /etc/make.conf # added by SJB 11 Jan. 2007 CPUTYPE?=core2 # added by SJB 8 Nov. 2011 CFLAGS+="-mtune=core2" # added by SJB 14 Apr. 2013 # updated by SJB 8 Dec. 2014 SVNFLAGS?="-r RELENG_11" # build ports with clang stack protector WITH_SSP=yes SSP_CFLAGS=-fstack-protector-all # added for ports system use to avoid dialogs by SJB 4 May 2007 BATCH=YES # added for new pkg system --SJB 10 December 2014 WITH_PKGNG=yes # build ports using ccache --SJB 19 January 2015 WITH_CCACHE_BUILD=yes ## buildworld and buildkernel using ccache --SJB 26 January 2015 .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) .if !defined(NOCCACHE) && exists(/usr/local/libexec/ccache/world/cc) CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1} CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/c++,1} CCACHE_COMPILERCHECK=content CCACHE_DIR=/buildwork/ccache.freebsd .endif .else CFLAGS+="-mssse3" CFLAGS+="-msse4.1" .endif # added to deal with ccache bug 8460 --SJB 2 November 2013 # bug has been reported fixed, so try without this workaround #CCACHE_CPP2=1 # added as a better specification of -j by SJB 17 November 2009 MAKE_JOBS_NUMBER=5 ## added to compile without profiling --SJB 3 June 2007 #NO_PROFILE=true # put build tree where there is plenty of temporary workspace WRKDIRPREFIX=/buildwork/ports #WRKDIRPREFIX=/work/portswork # Use OpenSSL from ports tree, not from base system #WITH_OPENSSL_PORT=YES #DEFAULT_VERSIONS+= ssl=libressl DEFAULT_VERSIONS+= ssl=openssl DEFAULT_VERSIONS+= perl5=5.24 # Allow updating of Mesa3D from 7.4.4 to 7.6.1 and libdrm from 2.4.12 to 2.4.17 WITHOUT_NOUVEAU=yes # Use ATLAS libraries in ports that use BLAS libraries OPTIONS_SET=ATLAS # Tell gnustep-related ports to use base system's compiler GNUSTEP_WITH_BASE_GCC=yes GNUSTEP_WITHOUT_LIBOBJC=yes # Pango #..if $(.CURDIR:M*/x11-toolkits/linux-pango) #DISABLE_VULNERABILITIES=yes #..endif QT4_OPTIONS= CUPS NAS QGTKSTYLE # Begin portconf settings # Do not touch these lines .if !empty(.CURDIR:M/usr/ports*) && exists(/usr/local/libexec/portconf) _PORTCONF!=/usr/local/libexec/portconf .if ${_PORTCONF} != "|" .for i in ${_PORTCONF:S/^|//:S/|/ /g} ${i:C/^([^=]*)=.*/\1/}=${i:C/^[^=]*=//:S/%/ /g} .endfor .endif .endif # End portconf settings hellas# cat /etc/src.conf PORTS_MODULES=multimedia/cuse4bsd-kmod sysutils/pefs-kmod emulators/virtualbox-ose-kmod net/ndproxy WITH_LLDB=yes #WITH_FAST_DEPEND=yes WITH_CCACHE_BUILD=yes hellas# printenv SCRIPT=/ztmpc/buildworld+kernel.15jan2018 WINDOW_ID=5 TERMCAP=WW|window-v2|window program version 2: :am:bs:da:db:ms:pt:cr=^M:nl=^J:bl=^G:ta=^I: :cm=\EY%+ %+ :le=^H:nd=\EC:up=\EA:do=\EB:ho=\EH: :cd=\EJ:ce=\EK:cl=\EE:me=\Er^?:co#80:li#14:se=\ErA:so=\EsA:mr=\EsA:ue=\ErD:us=\EsD:ae=\ErH:as=\EsH:al=\EL:dl=\EM:im=\E@:ei=\EO:ic=:mi:dc=\EN:kb=^H:ku=^[[A:kd=^[[B:kl=^[[D:kr=^[[C:kh=^[[1~:kn#20:k1=^[[11~:k2=^[[12~:k3=^[[13~:k4=^[[14~:k5=^[[15~:k6=^[[17~:k7=^[[18~:k8=^[[19~:k9=^[[20~:k10=^[[11~:k11=^[[11~:k12=^[[11~:k13=^[[11~:k14=^[[11~:k15=^[[11~:k16=^[[11~:k17=^[[11~:k18=^[[11~:k19=^[[11~:k20=^[[12~: USER=bennett LOGNAME=bennett HOME=/root SHELL=/bin/csh BLOCKSIZE=K MAIL=/var/mail/bennett PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin TERM=window-v2 HOSTTYPE=FreeBSD VENDOR=amd OSTYPE=FreeBSD MACHTYPE=x86_64 SHLVL=4 PWD=/usr/src GROUP=wheel HOST=hellas EDITOR=vi PAGER=/usr/bin/less BURNCD_SPEED=8 DISPLAY=:0.0 ADOBE_LANG=ENU LC_ALL=en_US.ISO8859-1 LESSEDIT=/usr/bin/vi ?lm+%lm. %f LESSOPEN=|/usr/local/bin/lesspipe.sh %s JASPERINC=/usr/local/include/jasper JASPERLIB=/usr/local/lib MANPATH=/usr/share/man:/usr/local/share/man:/usr/local/man:/usr/local/lib/erlang/man:/usr/local/lib/perl5/5.20 MOZ_DISABLE_IMAGE_OPTIMIZE=1 NETCDF=/home/bennett/src/wrf/WRFV3/netcdf PVM_ROOT=/usr/local/lib/pvm PWSAFE_DATABASE=/secmbl/bennett/.pwsafe.dat RANDFILE=/secmbl/bennett/.rnd RFCVIEWER=/usr/local/bin/lynx SAGA_MLB=/usr/local/lib/saga SCIDIR=/usr/local/lib/scilab-3.0 SDL_VIDEODRIVER=vgl SSL_CERT_DIR=/usr/local/openssl/certs SSL_CERT_FILE=/usr/local/share/certs/ca-root-nss.crt TOP=-CHIPSz -opri -s3 XPVM_ROOT=/usr/local/share/xpvm https_proxy=https://localhost.:8118 XIM=ibus GTK_IM_MODULE=ibus QT_IM_MODULE=xim XMODIFIERS=@im=ibus XIM_PROGRAM=ibus-daemon XIM_ARGS=--daemonize --xim CCACHE_DIR=/buildwork/ccache CCACHE_PATH=/usr/bin:/usr/local/bin CCACHE_COMPRESS=yes PRUNEDIRS=/buildwork TMPDIR=/tmp hellas# make update Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' "/usr/src/share/mk/src.sys.mk", line 28: Option DIRDEPS_BUILD may only be defined in , environment, or make argument, not /etc/src.conf. *** Error code 1 Stop. make: stopped in /usr/src hellas# svn update /usr/src Updating '.': At revision 327992. hellas# make cleanworld Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' "/usr/src/share/mk/src.sys.mk", line 28: Option DIRDEPS_BUILD may only be defined in , environment, or make argument, not /etc/src.conf. *** Error code 1 Stop. make: stopped in /usr/src hellas# make buildworld Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' Unknown modifier 'U' "/usr/src/share/mk/src.sys.mk", line 28: Option DIRDEPS_BUILD may only be defined in , environment, or make argument, not /etc/src.conf. *** Error code 1 Stop. make: stopped in /usr/src hellas# exit exit Script done on Mon Jan 15 00:57:25 2018 I do not understand what it is complaining about with the "Unknown modifier 'U'" messages, nor do I have any idea what the DIRDEPS_BUILD message is about. Could someone clue me in, please? For now, I'm stuck, so any help is welcome. Thanks in advance for any help! Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at sdf.org *xor* bennett at freeshell.org * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * **********************************************************************
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801150714.w0F7Ek8M025494>