Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Nov 2025 11:33:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 290787] [patch] 'id' fails to build with AUDIT disabled.
Message-ID:  <bug-290787-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290787

            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: bugs@FreeBSD.org
          Reporter: iron.udjin@gmail.com

Created attachment 265147
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D265147&action=
=3Dedit
id.c.patch

When audit is disabled in /etc/src.conf (WITHOUT_AUDIT=3DYES), 'id' fails to
build:

OS: 14.3-STABLE

cc -target x86_64-unknown-freebsd14.3
--sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -O2 -pipe -march=3Dna=
tive
-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=3D/usr/src=3D/usr/src
-ffile-prefix-map=3D/usr/obj/usr/src/amd64.amd64/rescue/rescue/usr/src=3D/u=
sr/obj
-MD  -MF.depend.id.o -MTid.o -std=3Dgnu99 -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-ali=
gn
-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=3Dunused-but-set-parameter -Wno-error=3Dcast-function-type-misma=
tch=20
-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 =3D Aflag + Gflag + Mflag + Pflag + gflag + pflag + u=
flag;
      |                 ^
2 errors generated.
*** Error code 1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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