Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Nov 2025 15:06:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 290790] /usr/bin/id error compile with WITHOUT_AUDIT=yes flag
Message-ID:  <bug-290790-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 290790
           Summary: /usr/bin/id error compile with WITHOUT_AUDIT=3Dyes flag
           Product: Base System
           Version: 15.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: dmitryluhtionov@gmail.com

WITHOUT_AUDIT=3Dyes in /etc/src.conf

```
cc -fpie -DPIC   -O2 -pipe -fno-common   -fPIE
-ffile-prefix-map=3D/usr/src=3D/usr/src -ffile-prefix-map=3D/usr/obj/usr/sr=
c=3D/usr/obj
-MD  -MF.depend.id.pieo -MTid.pieo -std=3Dgnu17 -Wno-format-zero-length
-fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar=
ith
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parame=
ter
-Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition
-Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safe=
ty
-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.pieo
/usr/src/usr.bin/id/id.c:149:16: error: use of undeclared identifier 'Aflag'
  149 |         if ((cflag || Aflag || Mflag) && argc > 0)
      |                       ^
/usr/src/usr.bin/id/id.c:152:10: error: use of undeclared identifier 'Aflag'
  152 |         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-290790-227>