Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2019 20:05:34 -0400
From:      Yoshihiro Ota <ota@j.email.ne.jp>
To:        Yoshihiro Ota <ota@j.email.ne.jp>
Cc:        Ed Maste <emaste@freebsd.org>, svn-src-head <svn-src-head@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, src-committers <src-committers@freebsd.org>
Subject:   Re: svn commit: r346315 - head/lib/libcasper/services/cap_fileargs
Message-ID:  <20190430200534.f7eb9da6d4ba113d77ed61d9@j.email.ne.jp>
In-Reply-To: <20190424002434.06aad79f1135a3f2e7248da6@j.email.ne.jp>
References:  <201904171602.x3HG2wQq054372@repo.freebsd.org> <20190423000625.d051ac725a82186d1736858b@j.email.ne.jp> <CAPyFy2C3u_mcvREWzBvLgiAEdLhe1RiJVujjVQRWUWdPp6U7tA@mail.gmail.com> <20190424002434.06aad79f1135a3f2e7248da6@j.email.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
I looked into this more.

I started wondering if "xdev" has been obsolete after /usr/obj/<target>.<target_arch> dir chaneg.

Both of these commands worked okay:
% make kernel-toolchain kernel TARGET_ARCH=mips KERNCONF=PB92 -C /usr/src
% make buildworld TARGET_ARCH=arm -C /usr/src

While I kept getting compile errors by:
% make xdev-build TARGET_ARCH=mips TARGET=mips -C /usr/src

In other words, if I don't run explict xdev command, buildworld and buildkernel
compile okay.

Hiro


On Wed, 24 Apr 2019 00:24:34 -0400
Yoshihiro Ota <ota@j.email.ne.jp> wrote:

> Hi Ed and thank you for taking a look.
> 
> my svn info says 346593 which is after few other fixes were commited.
> 
> I'm on i386 arch.
> I haven't done installworld yet after picking up libcasper changes.
> 'make buildworld' works fine.
> 'make xdev-build' fails and I tried with both "arm" and "mips" for TARGET and TARGET_ARCH.
> Both fail same way.
> Please check your /usr/include/casper/ca_fileargs.h and I suspect that's where you pick up
> FA_OPEN.
> 
> I attached a log file this time.
> 
> Regards,
> Hiro
> 
> On Tue, 23 Apr 2019 09:49:00 -0400
> Ed Maste <emaste@freebsd.org> wrote:
> 
> > On Tue, 23 Apr 2019 at 00:07, Yoshihiro Ota <ota@j.email.ne.jp> wrote:
> > >
> > > It looks this change is causing 'make xdev TARGET=mips TARGET_ARCH=mips' to fail as the
> > > following with HEAD checked out under "/usr/obj/freebsd":
> > 
> > Hello Hiro-san, sorry about that.
> > 
> > I tried `make xdev TARGET=mips TARGET_ARCH=mips` on HEAD just now (but
> > it failed on the install as DESTDIR wasn't set and I ran as non-root).
> > Just `make xdev-build` was successful though.
> > 
> > What version were you trying to build? There were (several) followup
> > commits to address issues with the initial commit of cap_fileargs
> > lstat support.



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