From owner-freebsd-current@FreeBSD.ORG Sun May 11 19:43:08 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 76720E97; Sun, 11 May 2014 19:43:08 +0000 (UTC) Received: from mail-lb0-x232.google.com (mail-lb0-x232.google.com [IPv6:2a00:1450:4010:c04::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C62152E85; Sun, 11 May 2014 19:43:07 +0000 (UTC) Received: by mail-lb0-f178.google.com with SMTP id w7so6935058lbi.9 for ; Sun, 11 May 2014 12:43:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=+cwLBRVWLfqGiF+M6915pZ5q3IRL8u/8DKVLnAqEWR0=; b=snLkZ2A7Gj5g59gvJkTJwFKom5gO9c8utvyco2S0ru+39IZTgDteepm44cBAOfRmSx NCoOCedYNHG5xymrHBfbx3zDNe6aVuNeznDktWePe2mGfyaWssr8fDPwXyi04FF5LAYT 458k1HDFqwHckCzpCrBzlvXmjGnD2r1EfS64o8dSbRRpEWbGqcboFzKLfbF+/Qp16wCW e3rpaEswR7/D4FnvlkF6DsMQ5xMSMQpkB6IfST20qLnS/7dkVJqO8SzHl3VH3shOjapm TCm8FK3tTAN3Ir88Qf9tDl3Ygx3wRbi7HqK/L8pDtYxnJSQHXdBs51/CYz8M0mDS3Eot kfKA== MIME-Version: 1.0 X-Received: by 10.152.43.70 with SMTP id u6mr9912048lal.3.1399837385514; Sun, 11 May 2014 12:43:05 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.67.73 with HTTP; Sun, 11 May 2014 12:43:05 -0700 (PDT) In-Reply-To: <26E92F41-F849-43E2-AC1F-553F1AB7B11F@bsdimp.com> References: <254143261.0.1399675169702.JavaMail.jenkins@jenkins-9.freebsd.org> <26E92F41-F849-43E2-AC1F-553F1AB7B11F@bsdimp.com> Date: Sun, 11 May 2014 12:43:05 -0700 X-Google-Sender-Auth: S-9CKZKOoFNRWLFzlW4mlGKwAug Message-ID: Subject: Re: Build failed in Jenkins: FreeBSD_HEAD-modules #386 From: Craig Rodrigues To: Warner Losh Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current Current , "jenkins-admin@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2014 19:43:08 -0000 Hi, No, that's not the problem, because we specifically check out /usr/share/mk into $WORKSPACE/mk before running the build. The problem is due to this commit: http://svnweb.freebsd.org/base/head/sys/conf/kern.mk?r1=265832&r2=265841 You didn't completely remove MK_FORMAT_EXTENSIONS from this file, so we are now getting this error message: make[1]: "/builds/FreeBSD_HEAD-modules/sys/modules/aac/../../conf/kern.opts.mk" line 24: Could not find ../../share/mk/bsd.mkopt.mk make[1]: "/builds/FreeBSD_HEAD-modules/sys/modules/aac/../../conf/kern.mk" line 38: Malformed conditional (${MK_FORMAT_EXTENSIONS} == "no") -- Craig On Sat, May 10, 2014 at 7:06 PM, Warner Losh wrote: > > On May 10, 2014, at 6:27 PM, Craig Rodrigues wrote: > >> Warner, >> >> It looks like your change broke the FreeBSD-HEAD-modules >> build. >> >> This build does the following: >> >> export JFLAG="-j4" >> export MAKESYSPATH="${WORKSPACE}/mk" > > Shouldn't this be ${WORKSPACE}/share/mk? MAKESYSPATH needs to be .../share/mk or $TOP/share/mk when building outside of make world-like environments now. > > Warner > >> cd ${WORKSPACE}/sys/modules >> echo "=== make cleandir ===" >> make cleandir >> echo "=== make depend ===" >> make ${JFLAG} depend >> echo "=== make all ===" >> make ${JFLAG} all >> >> >> Can you look into this? >> >> Thanks. >> >> -- >> Craig >> >> >> On Fri, May 9, 2014 at 3:39 PM, wrote: >>> See >>> >>> Changes: >>> >>> [imp] Introduce kern.opts.mk to hold all the options for kernel module >>> builds. Include this in the right places. Make src.opts.mk optional so >>> that modules can be built outside of the tree in the ports system. >>> >>> PR: 189520 >>> >>> ------------------------------------------ >>> Started by upstream project "FreeBSD_HEAD" build number 636 >>> originally caused by: >>> Started by an SCM change >>> Building remotely on jenkins-10.freebsd.org (FreeBSD-10) in workspace >>> Updating svn://svn.freebsd.org/base/head/sys at revision '2014-05-09T22:39:09.739 +0000' >>> U conf/kmod.mk >>> AU conf/kern.opts.mk >>> U conf/kern.pre.mk >>> At revision 265785 >>> Updating svn://svn.freebsd.org/base/head/share/mk at revision '2014-05-09T22:39:09.739 +0000' >>> U src.opts.mk >>> At revision 265785 >>> [FreeBSD_HEAD-modules] $ /bin/sh -xe /tmp/hudson6703688508778127870.sh >>> + export JFLAG=-j4 >>> + export MAKESYSPATH= >>> + cd >>> + echo '=== make cleandir ===' >>> === make cleandir === >>> + make cleandir >>> ===> aac (cleandir) >>> make[1]: " line 24: Could not find ../../share/mk/bsd.mkopt.mk >>> make[1]: Fatal errors encountered -- cannot continue >>> make[1]: stopped in >>> *** Error code 1 >>> >>> Stop. >>> make: stopped in >>> Build step 'Execute shell' marked build as failure >