Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2019 00:24:34 -0400
From:      Yoshihiro Ota <ota@j.email.ne.jp>
To:        Ed Maste <emaste@freebsd.org>
Cc:        ota@j.email.ne.jp, 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:  <20190424002434.06aad79f1135a3f2e7248da6@j.email.ne.jp>
In-Reply-To: <CAPyFy2C3u_mcvREWzBvLgiAEdLhe1RiJVujjVQRWUWdPp6U7tA@mail.gmail.com>
References:  <201904171602.x3HG2wQq054372@repo.freebsd.org> <20190423000625.d051ac725a82186d1736858b@j.email.ne.jp> <CAPyFy2C3u_mcvREWzBvLgiAEdLhe1RiJVujjVQRWUWdPp6U7tA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--Multipart=_Wed__24_Apr_2019_00_24_34_-0400_KhD+WnN_igxQI/iG
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

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.

--Multipart=_Wed__24_Apr_2019_00_24_34_-0400_KhD+WnN_igxQI/iG
Content-Type: text/plain;
 name="xdev-build.txt"
Content-Disposition: attachment;
 filename="xdev-build.txt"
Content-Transfer-Encoding: 7bit

% 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

--Multipart=_Wed__24_Apr_2019_00_24_34_-0400_KhD+WnN_igxQI/iG--



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