Content

상위 폴더로 이동
Build start time: Wed Sep 24 05:17:56 UTC 2025
[ REASON ] :      target/debs/bullseye/audisp-tacplus_1.0.2_amd64.deb does not exist   NON-EXISTENT PREREQUISITES: target/debs/bullseye/libtac-dev_1.4.1-1_amd64.deb-install 
[ FLAGS  FILE    ] : [] 
[ FLAGS  DEPENDS ] : [] 
[ FLAGS  DIFF    ] : [] 
make[1]: warning: -j112 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/sonic/src/tacacs/audisp'
# Obtain audisp-tacplus
rm -rf ./audisp-tacplus
git clone https://github.com/daveolson53/audisp-tacplus.git
# checkout by sha1
pushd ./audisp-tacplus
git checkout 559c9f22edd4f2dea0ecedffb3ad9502b12a75b6
# Apply patches
cp -r ../patches patches
quilt push -a
# fix aclocal depency issue by run auto.sh
./auto.sh
# build package
dpkg-buildpackage -rfakeroot -b -us -uc -j112 --admindir /sonic/dpkg/tmp.4wChy29dCP
popd
mv  audisp-tacplus_1.0.2_amd64.deb /sonic/target/debs/bullseye/
Cloning into 'audisp-tacplus'...
/sonic/src/tacacs/audisp/audisp-tacplus /sonic/src/tacacs/audisp
Note: switching to '559c9f22edd4f2dea0ecedffb3ad9502b12a75b6'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c 

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 559c9f2 Updated changelog
Applying patch patches/0001-Porting-to-sonic.patch
patching file Makefile.am
patching file Makefile.in
patching file audisp-tacplus.c
patching file audisp-tacplus.conf
patching file debian/control

Applying patch patches/0002-Remove-user-secret-from-accounting-log.patch
patching file Makefile.am
patching file audisp-tacplus.c
patching file audisp-tacplus.conf
patching file password.c
patching file password.h
patching file regex_helper.c
patching file regex_helper.h
patching file sudoers_helper.c
patching file sudoers_helper.h
patching file trace.c
patching file trace.h
patching file unittest/Makefile
patching file unittest/mock.h
patching file unittest/mock_helper.c
patching file unittest/mock_helper.h
patching file unittest/password_test.c
patching file unittest/sudoers

Applying patch patches/0003-Add-local-accounting.patch
patching file Makefile.am
patching file audisp-tacplus.c
patching file local_accounting.c
patching file local_accounting.h

Now at patch patches/0003-Add-local-accounting.patch
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I config
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config'.
libtoolize: copying file 'config/libtool.m4'
libtoolize: copying file 'config/ltoptions.m4'
libtoolize: copying file 'config/ltsugar.m4'
libtoolize: copying file 'config/ltversion.m4'
libtoolize: copying file 'config/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:25: installing 'config/compile'
configure.ac:18: installing 'config/missing'
Makefile.am: installing 'config/depcomp'
autoreconf: Leaving directory `.'
dpkg-buildpackage: info: source package audisp-tacplus
dpkg-buildpackage: info: source version 1.0.2
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Dave Olson 
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
make[2]: Entering directory '/sonic/src/tacacs/audisp/audisp-tacplus'
make[2]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
dh clean  --with autotools-dev
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh: warning: The autotools-dev sequence is deprecated and replaced by dh in debhelper (>= 9.20160115)
dh: warning: This feature will be removed in compat 12.
   dh_autotools-dev_restoreconfig
dh_autotools-dev_restoreconfig: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_autotools-dev_restoreconfig: warning: dh_autotools-dev_restoreconfig is deprecated; please see dh_autotools-dev_restoreconfig(1) for a replacement
dh_autotools-dev_restoreconfig: warning: This feature will be removed in compat 12.
   dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
make[2]: Leaving directory '/sonic/src/tacacs/audisp/audisp-tacplus'
 debian/rules build
make[2]: Entering directory '/sonic/src/tacacs/audisp/audisp-tacplus'
make[2]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
dh build  --with autotools-dev
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh: warning: The autotools-dev sequence is deprecated and replaced by dh in debhelper (>= 9.20160115)
dh: warning: This feature will be removed in compat 12.
   dh_update_autotools_config
   dh_autotools-dev_updateconfig
dh_autotools-dev_updateconfig: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_autotools-dev_updateconfig: warning: dh_autotools-dev_updateconfig is deprecated; please see dh_autotools-dev_updateconfig(1) for a replacement
dh_autotools-dev_updateconfig: warning: This feature will be removed in compat 12.
   debian/rules override_dh_auto_configure
make[3]: Entering directory '/sonic/src/tacacs/audisp/audisp-tacplus'
dh_auto_configure -- --prefix="" --mandir=/usr/share/man
dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use)
	./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --prefix= --mandir=/usr/share/man
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for tac_connect in -ltac... yes
checking for ANSI C header files... (cached) yes
checking libaudit.h usability... yes
checking libaudit.h presence... yes
checking for libaudit.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking tacplus/libtac.h usability... no
checking tacplus/libtac.h presence... no
checking for tacplus/libtac.h... no
checking auparse.h usability... yes
checking auparse.h presence... yes
checking for auparse.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for select... yes
checking for socket... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make[3]: Leaving directory '/sonic/src/tacacs/audisp/audisp-tacplus'
   dh_auto_build
dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use)
	make -j1
make[3]: Entering directory '/sonic/src/tacacs/audisp/audisp-tacplus'
make  all-am
make[4]: Entering directory '/sonic/src/tacacs/audisp/audisp-tacplus'
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -O -g -O2 -ffile-prefix-map=/sonic/src/tacacs/audisp/audisp-tacplus=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -c -o audisp_tacplus-audisp-tacplus.o `test -f 'audisp-tacplus.c' || echo './'`audisp-tacplus.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -O -g -O2 -ffile-prefix-map=/sonic/src/tacacs/audisp/audisp-tacplus=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -c -o audisp_tacplus-password.o `test -f 'password.c' || echo './'`password.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -O -g -O2 -ffile-prefix-map=/sonic/src/tacacs/audisp/audisp-tacplus=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -c -o audisp_tacplus-regex_helper.o `test -f 'regex_helper.c' || echo './'`regex_helper.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -O -g -O2 -ffile-prefix-map=/sonic/src/tacacs/audisp/audisp-tacplus=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -c -o audisp_tacplus-trace.o `test -f 'trace.c' || echo './'`trace.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -O -g -O2 -ffile-prefix-map=/sonic/src/tacacs/audisp/audisp-tacplus=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -c -o audisp_tacplus-local_accounting.o `test -f 'local_accounting.c' || echo './'`local_accounting.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -O -g -O2 -ffile-prefix-map=/sonic/src/tacacs/audisp/audisp-tacplus=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -c -o audisp_tacplus-sudoers_helper.o `test -f 'sudoers_helper.c' || echo './'`sudoers_helper.c
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O -g -O2 -ffile-prefix-map=/sonic/src/tacacs/audisp/audisp-tacplus=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror  -Wl,-z,relro -o audisp-tacplus audisp_tacplus-audisp-tacplus.o audisp_tacplus-password.o audisp_tacplus-regex_helper.o audisp_tacplus-trace.o audisp_tacplus-local_accounting.o audisp_tacplus-sudoers_helper.o -lauparse -ltacsupport -ltac -ltac 
libtool: link: gcc -O -g -O2 -ffile-prefix-map=/sonic/src/tacacs/audisp/audisp-tacplus=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -Wl,-z -Wl,relro -o audisp-tacplus audisp_tacplus-audisp-tacplus.o audisp_tacplus-password.o audisp_tacplus-regex_helper.o audisp_tacplus-trace.o audisp_tacplus-local_accounting.o audisp_tacplus-sudoers_helper.o  -lauparse -ltacsupport -ltac
make[4]: Leaving directory '/sonic/src/tacacs/audisp/audisp-tacplus'
make[3]: Leaving directory '/sonic/src/tacacs/audisp/audisp-tacplus'
   dh_auto_test
dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use)
	make -j1 check VERBOSE=1
make[3]: Entering directory '/sonic/src/tacacs/audisp/audisp-tacplus'
make[3]: Leaving directory '/sonic/src/tacacs/audisp/audisp-tacplus'
make[2]: Leaving directory '/sonic/src/tacacs/audisp/audisp-tacplus'
 fakeroot debian/rules binary
make[2]: Entering directory '/sonic/src/tacacs/audisp/audisp-tacplus'
make[2]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
dh binary  --with autotools-dev
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh: warning: The autotools-dev sequence is deprecated and replaced by dh in debhelper (>= 9.20160115)
dh: warning: This feature will be removed in compat 12.
   dh_testroot
   dh_prep
   dh_auto_install
dh_auto_install: warning: Compatibility levels before 10 are deprecated (level 9 in use)
	make -j1 install DESTDIR=/sonic/src/tacacs/audisp/audisp-tacplus/debian/audisp-tacplus AM_UPDATE_INFO_DIR=no
make[3]: Entering directory '/sonic/src/tacacs/audisp/audisp-tacplus'
make[4]: Entering directory '/sonic/src/tacacs/audisp/audisp-tacplus'
 /bin/mkdir -p '/sonic/src/tacacs/audisp/audisp-tacplus/debian/audisp-tacplus/sbin'
  /bin/bash ./libtool   --mode=install /usr/bin/install -c audisp-tacplus '/sonic/src/tacacs/audisp/audisp-tacplus/debian/audisp-tacplus/sbin'
libtool: install: /usr/bin/install -c audisp-tacplus /sonic/src/tacacs/audisp/audisp-tacplus/debian/audisp-tacplus/sbin/audisp-tacplus
 /bin/mkdir -p '/sonic/src/tacacs/audisp/audisp-tacplus/debian/audisp-tacplus/usr/share/man/man8'
 /usr/bin/install -c -m 644 audisp-tacplus.8 '/sonic/src/tacacs/audisp/audisp-tacplus/debian/audisp-tacplus/usr/share/man/man8'
make  install-data-hook
make[5]: Entering directory '/sonic/src/tacacs/audisp/audisp-tacplus'
/usr/bin/install -c -d /sonic/src/tacacs/audisp/audisp-tacplus/debian/audisp-tacplus/sbin/
/usr/bin/install -c -m 755 audisp-tacplus /sonic/src/tacacs/audisp/audisp-tacplus/debian/audisp-tacplus/sbin
/usr/bin/install -c -d /sonic/src/tacacs/audisp/audisp-tacplus/debian/audisp-tacplus/etc/audit/plugins.d
/usr/bin/install -c -d /sonic/src/tacacs/audisp/audisp-tacplus/debian/audisp-tacplus/etc/audit/rules.d
/usr/bin/install -c -m 644 audisp-tacplus.conf /sonic/src/tacacs/audisp/audisp-tacplus/debian/audisp-tacplus/etc/audit/plugins.d
/usr/bin/install -c -m 644 -o 0 audisp-tacplus.rules /sonic/src/tacacs/audisp/audisp-tacplus/debian/audisp-tacplus/etc/audit/rules.d
make[5]: Leaving directory '/sonic/src/tacacs/audisp/audisp-tacplus'
make[4]: Leaving directory '/sonic/src/tacacs/audisp/audisp-tacplus'
make[3]: Leaving directory '/sonic/src/tacacs/audisp/audisp-tacplus'
   dh_installdocs
dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_installchangelogs
   dh_installman
dh_installman: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   debian/rules override_dh_installinit
make[3]: Entering directory '/sonic/src/tacacs/audisp/audisp-tacplus'
# do nothing; already in postinst, and automatic would error out
# for some cases.
make[3]: Leaving directory '/sonic/src/tacacs/audisp/audisp-tacplus'
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_fixperms
   dh_missing
dh_missing: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_strip
dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_makeshlibs
dh_makeshlibs: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_shlibdeps
dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_installdeb
dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_gencontrol
   dh_md5sums
   dh_builddeb
dpkg-deb: building package 'audisp-tacplus-dbgsym' in '../audisp-tacplus-dbgsym_1.0.2_amd64.deb'.
dpkg-deb: building package 'audisp-tacplus' in '../audisp-tacplus_1.0.2_amd64.deb'.
make[2]: Leaving directory '/sonic/src/tacacs/audisp/audisp-tacplus'
 dpkg-genbuildinfo --build=binary --admindir=/sonic/dpkg/tmp.4wChy29dCP
 dpkg-genchanges --build=binary >../audisp-tacplus_1.0.2_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
/sonic/src/tacacs/audisp
make[1]: Leaving directory '/sonic/src/tacacs/audisp'
Build end time: Wed Sep 24 05:18:26 UTC 2025
Elapsed time: 0h 0m 30s