Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2014 01:49:23 +0800
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Craig Rodrigues <rodrigc@FreeBSD.org>, freebsd-current Current <freebsd-current@freebsd.org>, "jenkins-admin@freebsd.org" <jenkins-admin@freebsd.org>
Subject:   Re: Build failed in Jenkins: FreeBSD_HEAD-modules #386
Message-ID:  <20140511174923.GA86890@FreeBSD.cs.nctu.edu.tw>
In-Reply-To: <24A899DC-E837-4050-964C-4A592C39D8C8@bsdimp.com>
References:  <254143261.0.1399675169702.JavaMail.jenkins@jenkins-9.freebsd.org> <CAG=rPVdHR29qMsvZVfVxBgoX4Jg7sXXWePZ9%2BvvyPOcLqL5R8A@mail.gmail.com> <26E92F41-F849-43E2-AC1F-553F1AB7B11F@bsdimp.com> <24A899DC-E837-4050-964C-4A592C39D8C8@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 10, 2014 at 20:06:58 -0600, Warner Losh wrote:
> 
> On May 10, 2014, at 8:06 PM, Warner Losh <imp@bsdimp.com> wrote:
> 
> > 
> > On May 10, 2014, at 6:27 PM, Craig Rodrigues <rodrigc@FreeBSD.org> 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
> 
> Just confirmed that it works with a proper MAKESYSPATH…
> 
> Warner
> 

This job checks out svn://svn.freebsd.org/base/head/sys to
${WORKSPACE}/sys and svn://svn.freebsd.org/base/head/share/mk to
${WORKSPACE}/mk , then sets MAKESYSPATH="${WORKSPACE}/mk" since I was
trying not to check out the whole src tree.

Just be curious, why in line 24 of sys/conf/kern.opts.mk , we do:

    .include "../../share/mk/bsd.mkopt.mk"

but not:

    .include <bsd.mkopt.mk>

like other .mk files under sys/conf ?

I tried to switch to this and it seems work, but I am not sure if this
is your original intention.  I'll change the modules building job to
checkout the whole src tree if this is not an accepted solution.

Thanks,
Li-Wen

-- 
Li-Wen Hsu <lwhsu@FreeBSD.org>
http://lwhsu.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140511174923.GA86890>