https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290787
Bug ID: 290787
Summary: [patch] 'id' fails to build with AUDIT disabled.
Product: Base System
Version: 14.3-STABLE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Created attachment 265147
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=265147&action=edit
id.c.patch
When audit is disabled in /etc/src.conf (WITHOUT_AUDIT=YES), 'id' fails to
build:
OS: 14.3-STABLE
cc -target x86_64-unknown-freebsd14.3
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -O2 -pipe -march=native
-fno-common -DRESCUE -I/usr/obj/usr/src/amd64.amd64/lib/libifconfig
-I/usr/obj/usr/src/amd64.amd64/lib/libiscsiutil -DNDEBUG
-ffile-prefix-map=/usr/src=/usr/src
-ffile-prefix-map=/usr/obj/usr/src/amd64.amd64/rescue/rescue/usr/src=/usr/obj
-MD -MF.depend.id.o -MTid.o -std=gnu99 -Wno-format-zero-length
-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 /usr/src/usr.bin/id/id.c -o id.o
/usr/src/usr.bin/id/id.c:161:16: error: use of undeclared identifier 'Aflag'
161 | if ((cflag || Aflag || Mflag) && argc > 0)
| ^
/usr/src/usr.bin/id/id.c:164:10: error: use of undeclared identifier 'Aflag'
164 | combo = Aflag + Gflag + Mflag + Pflag + gflag + pflag + uflag;
| ^
2 errors generated.
*** Error code 1
--
You are receiving this mail because:
You are the assignee for the bug.