Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Nov 2025 04:29:48 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        Sulev-Madis Silber <freebsd-current-freebsd-org111@ketas.si.pri.ee>
Cc:        freebsd-current@freebsd.org
Subject:   Re: rescue - usr.bin/id/id.c:149:16: error: use of undeclared identifier 'Aflag'
Message-ID:  <aQdOvAWWUYWgSh83@albert.catwhisker.org>
In-Reply-To: <D1DF7084-5029-44B2-B7E2-8CA9F76E7FEF@ketas.si.pri.ee>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Sun, Nov 02, 2025 at 08:32:59AM +0200, Sulev-Madis Silber wrote:
> there's no newer current than this
> 
> and i get this error
> 
> 
> (cd /root/files/poudriere/basefs/jails/current-armv7-minimal/usr/src/rescue/rescue/../../usr.bin/id &&  make MK_PIE=no NO_SHARED=yes -DRESCUE CRUNCH_CFLAGS=-DRESCUE CRUNCH_CFLAGS+=-I/root/files/poudriere/obj/current-armv7-minimal/root/files/poudriere/basefs/jails/current-armv7-minimal/usr/src/arm.armv7/lib/libifconfig MK_AUTO_OBJ=yes DIRPRFX=rescue/rescue/id/ depend && make MK_PIE=no NO_SHARED=yes -DRESCUE CRUNCH_CFLAGS=-DRESCUE CRUNCH_CFLAGS+=-I/root/files/poudriere/obj/current-armv7-minimal/root/files/poudriere/basefs/jails/current-armv7-minimal/usr/src/arm.armv7/lib/libifconfig MK_AUTO_OBJ=yes DIRPRFX=rescue/rescue/id/ id.o)
> echo id: /root/files/poudriere/obj/current-armv7-minimal/root/files/poudriere/basefs/jails/current-armv7-minimal/usr/src/arm.armv7/tmp/usr/lib/libc.a  >> .depend
> cc -target armv7-gnueabihf-freebsd16.0 --sysroot=/root/files/poudriere/obj/current-armv7-minimal/root/files/poudriere/basefs/jails/current-armv7-minimal/usr/src/arm.armv7/tmp -B/root/files/poudriere/obj/current-armv7-minimal/root/files/poudriere/basefs/jails/current-armv7-minimal/usr/src/arm.armv7/tmp/usr/bin  -O2 -pipe -fno-common   -DRESCUE -I/root/files/poudriere/obj/current-armv7-minimal/root/files/poudriere/basefs/jails/current-armv7-minimal/usr/src/arm.armv7/lib/libifconfig -DNDEBUG -MD  -MF.depend.id.o -MTid.o -std=gnu17 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Wno-error=cast-function-type-mismatch  -Qunused-arguments     -c /root/files/poudriere/basefs/jails/current-armv7-minimal/usr/src/usr.bin/id/id.c -o id.o
> /root/files/poudriere/basefs/jails/current-armv7-minimal/usr/src/usr.bin/id/id.c:149:16: error: use of undeclared identifier 'Aflag'
>   149 |         if ((cflag || Aflag || Mflag) && argc > 0)
>       |                       ^
> /root/files/poudriere/basefs/jails/current-armv7-minimal/usr/src/usr.bin/id/id.c:152:10: error: use of undeclared identifier 'Aflag'
>   152 |         combo = Aflag + Gflag + Mflag + Pflag + gflag + pflag + uflag;
>       |                 ^
> 2 errors generated.
> *** [id.o] Error code 1
> ....

I just performed an in-place source-based update from

FreeBSD 16.0-CURRENT #637 main-n281638-e4f2a3509554: Sat Nov  1 12:58:41 UTC 2025     root@g1-120.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY amd64 1600003 1600003

to

FreeBSD 16.0-CURRENT #638 main-n281643-c3a3af134668: Sun Nov  2 11:55:09 UTC 2025     root@g1-120.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY amd64 1600003 1600003

(on 3 machines; the 4th is presently building packages, but should get
around to the above later today) without complaint or issue.

In case it's relevant, I'm using "meta" mode on these machines.

Peace,
david
-- 
David H. Wolfskill                              david@catwhisker.org

See https://www.catwhisker.org/~david/publickey.gpg for my public key.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCaQdOvF8UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy
RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx
5Y3aAQCmRhJX5lQkVQ8xjLw1LRxkfuoHQ4UkGRQG3US3dBqLnQD+PvlFiXgjkBTC
hFX7kZRkRfnRqj5czUiYu1dr65p0kgA=
=xQQH
-----END PGP SIGNATURE-----
home | help

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