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 <ema...@freebsd.org> wrote:

> On Tue, 23 Apr 2019 at 00:07, Yoshihiro Ota <o...@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.
% svn info
Path: .
Working Copy Root Path: /usr/src
URL: https://svn0.us-east.freebsd.org/base/head
Relative URL: ^/head
Repository Root: https://svn0.us-east.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 346593
Node Kind: directory
Schedule: normal
Last Changed Author: wma
Last Changed Rev: 346593
Last Changed Date: 2019-04-23 02:36:32 -0400 (Tue, 23 Apr 2019)

% make xdev-build TARGET=mips TARGET_ARCH=mips
mkdir -p /usr/obj/usr/src/mips.mips/mips-freebsd/tmp/usr
mtree -deUW -f /usr/src/etc/mtree/BSD.usr.dist  -p 
/usr/obj/usr/src/mips.mips/mips-freebsd/tmp/usr >/dev/null
===> lib/clang/libllvmminimal (obj,all,install)
===> usr.bin/clang/llvm-tblgen (obj,all,install)
sh /usr/src/tools/install.sh  -s -o root -g wheel -m 555   llvm-tblgen 
/usr/obj/usr/src/mips.mips/mips-freebsd/tmp/usr/bin/llvm-tblgen
sh /usr/src/tools/install.sh  -o root -g wheel -m 444  llvm-tblgen.debug 
/usr/obj/usr/src/mips.mips/mips-freebsd/tmp/usr/lib/debug/usr/bin/llvm-tblgen.debug
===> usr.bin/clang/clang-tblgen (obj,all,install)
sh /usr/src/tools/install.sh  -s -o root -g wheel -m 555   clang-tblgen 
/usr/obj/usr/src/mips.mips/mips-freebsd/tmp/usr/bin/clang-tblgen
sh /usr/src/tools/install.sh  -o root -g wheel -m 444  clang-tblgen.debug 
/usr/obj/usr/src/mips.mips/mips-freebsd/tmp/usr/lib/debug/usr/bin/clang-tblgen.debug
===> gnu/usr.bin/gperf (obj,all,install)
sh /usr/src/tools/install.sh  -s -o root -g wheel -m 555   gperf 
/usr/obj/usr/src/mips.mips/mips-freebsd/tmp/usr/bin/gperf
sh /usr/src/tools/install.sh  -o root -g wheel -m 444  gperf.debug 
/usr/obj/usr/src/mips.mips/mips-freebsd/tmp/usr/lib/debug/usr/bin/gperf.debug
===> lib/liby (obj,all,install)
sh /usr/src/tools/install.sh  -C -o root -g wheel -m 444   liby.a 
/usr/obj/usr/src/mips.mips/mips-freebsd/tmp/usr/lib/
===> usr.bin/yacc (obj,all,install)
sh /usr/src/tools/install.sh  -s -o root -g wheel -m 555   yacc 
/usr/obj/usr/src/mips.mips/mips-freebsd/tmp/usr/bin/yacc
sh /usr/src/tools/install.sh  -o root -g wheel -m 444  yacc.debug 
/usr/obj/usr/src/mips.mips/mips-freebsd/tmp/usr/lib/debug/usr/bin/yacc.debug
sh /usr/src/tools/install.sh -l h -o root -g wheel -m 555  
/usr/obj/usr/src/mips.mips/mips-freebsd/tmp/usr/bin/yacc 
/usr/obj/usr/src/mips.mips/mips-freebsd/tmp/usr/bin/byacc
===> bin/csh (obj,build-tools)
===> bin/sh (obj,build-tools)
===> lib/ncurses/ncurses (obj,build-tools)
===> lib/ncurses/ncursesw (obj,build-tools)
===> share/syscons/scrnmaps (obj,build-tools)
===> usr.bin/awk (obj,build-tools)
===> lib/libmagic (obj,build-tools)
===> usr.bin/mkesdb_static (obj,build-tools)
===> usr.bin/mkcsmapper_static (obj,build-tools)
===> usr.bin/vi/catalog (obj,build-tools)
===> gnu/usr.bin/cc/cc_tools (obj,build-tools)
===> xdev gnu/usr.bin/binutils (obj,all)
===> gnu/usr.bin/binutils/libiberty (all)
===> gnu/usr.bin/binutils/libbfd (all)
===> gnu/usr.bin/binutils/libopcodes (all)
===> gnu/usr.bin/binutils/doc (all)
===> gnu/usr.bin/binutils/libbinutils (all)
===> gnu/usr.bin/binutils/as (all)
===> gnu/usr.bin/binutils/objdump (all)
===> gnu/usr.bin/binutils/ld (all)
===> xdev lib/libelftc (obj,all)
===> xdev lib/libpe (obj,all)
===> xdev usr.bin/objcopy (obj,all)
===> xdev usr.bin/nm (obj,all)
===> xdev usr.bin/size (obj,all)
===> xdev usr.bin/strings (obj,all)
cc  -O2 -pipe   -DWITH_CASPER -I/usr/src/contrib/elftoolchain/libelftc 
-I/usr/src/contrib/elftoolchain/common -g -MD  -MF.depend.strings.o 
-MTstrings.o -std=gnu99 -Qunused-arguments  -c 
/usr/src/contrib/elftoolchain/strings/strings.c -o strings.o
/usr/src/contrib/elftoolchain/strings/strings.c:198:55: error: use of 
undeclared identifier 'FA_OPEN'
        fa = fileargs_init(argc, argv, O_RDONLY, 0, &rights, FA_OPEN);
                                                             ^
1 error generated.
*** Error code 1

Stop.
make[2]: stopped in /usr/src/usr.bin/strings
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to