Content

상위 폴더로 이동
Build start time: Fri Jul 18 06:58:02 UTC 2025
[ REASON ] :      target/debs/bullseye/systemd-sonic-generator_1.0.0_amd64.deb does not exist  
[ FLAGS  FILE    ] : [] 
[ FLAGS  DEPENDS ] : [] 
[ FLAGS  DIFF    ] : [] 
/sonic/src/systemd-sonic-generator /sonic
dpkg-buildpackage: info: source package systemd-sonic-generator
dpkg-buildpackage: info: source version 1.0.0
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Lawrence Lee 
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/sonic/src/systemd-sonic-generator'
dh clean
   dh_auto_clean
	make -j112 clean
make[2]: Entering directory '/sonic/src/systemd-sonic-generator'
rm -f ./systemd-sonic-generator
rm -f ./systemd-sonic-generator.o
rm -f ./ssg_test
make[2]: Leaving directory '/sonic/src/systemd-sonic-generator'
   dh_clean
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f -- debian/systemd-sonic-generator.substvars debian/files
	rm -fr -- debian/systemd-sonic-generator/ debian/tmp/
	find .  \( \( \
		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} + \) -o \
		\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
make[1]: Leaving directory '/sonic/src/systemd-sonic-generator'
 debian/rules build
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/sonic/src/systemd-sonic-generator'
dh build
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
	make -j112 "INSTALL=install --strip-program=true"
make[2]: Entering directory '/sonic/src/systemd-sonic-generator'
rm -f ./systemd-sonic-generator
gcc -g -O2 -ffile-prefix-map=/sonic/src/systemd-sonic-generator=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -D_GNU_SOURCE -o systemd-sonic-generator systemd-sonic-generator.c
In function 'get_install_targets_from_line',
    inlined from 'get_install_targets' at systemd-sonic-generator.c:317:33:
systemd-sonic-generator.c:162:13: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
  162 |             strncpy(final_target, prefix, prefix_len - 2);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
systemd-sonic-generator.c: In function 'get_install_targets':
systemd-sonic-generator.c:160:30: note: length computed here
  160 |             int prefix_len = strlen(prefix);
      |                              ^~~~~~~~~~~~~~
make[2]: Leaving directory '/sonic/src/systemd-sonic-generator'
   debian/rules override_dh_auto_test
make[2]: Entering directory '/sonic/src/systemd-sonic-generator'
make test
make[3]: Entering directory '/sonic/src/systemd-sonic-generator'
gcc -g -O2 -ffile-prefix-map=/sonic/src/systemd-sonic-generator=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -D_GNU_SOURCE -D_SSG_UNITTEST -o systemd-sonic-generator.o -c systemd-sonic-generator.c
In function 'get_install_targets_from_line',
    inlined from 'get_install_targets' at systemd-sonic-generator.c:317:33:
systemd-sonic-generator.c:162:13: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
  162 |             strncpy(final_target, prefix, prefix_len - 2);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
systemd-sonic-generator.c: In function 'get_install_targets':
systemd-sonic-generator.c:160:30: note: length computed here
  160 |             int prefix_len = strlen(prefix);
      |                              ^~~~~~~~~~~~~~
g++ -g -O2 -ffile-prefix-map=/sonic/src/systemd-sonic-generator=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -D_GNU_SOURCE -o ssg_test ssg-test.cc systemd-sonic-generator.o -Wl,-z,relro -lpthread -lboost_filesystem -lboost_system -lgtest
./ssg_test
[==========] Running 10 tests from 3 test suites.
[----------] Global test environment set-up.
[----------] 2 tests from SystemdSonicGeneratorFixture
[ RUN      ] SystemdSonicGeneratorFixture.get_global_vars
[       OK ] SystemdSonicGeneratorFixture.get_global_vars (0 ms)
[ RUN      ] SystemdSonicGeneratorFixture.global_vars
[       OK ] SystemdSonicGeneratorFixture.global_vars (0 ms)
[----------] 2 tests from SystemdSonicGeneratorFixture (0 ms total)

[----------] 4 tests from SsgFunctionTest
[ RUN      ] SsgFunctionTest.missing_file
[       OK ] SsgFunctionTest.missing_file (13 ms)
[ RUN      ] SsgFunctionTest.insert_instance_number
[       OK ] SsgFunctionTest.insert_instance_number (5 ms)
[ RUN      ] SsgFunctionTest.get_num_of_asic
[       OK ] SsgFunctionTest.get_num_of_asic (5 ms)
[ RUN      ] SsgFunctionTest.get_unit_files
[       OK ] SsgFunctionTest.get_unit_files (14 ms)
[----------] 4 tests from SsgFunctionTest (37 ms total)

[----------] 4 tests from SsgMainTest
[ RUN      ] SsgMainTest.ssg_main_argv
Installation directory required as argument
[       OK ] SsgMainTest.ssg_main_argv (5 ms)
[ RUN      ] SsgMainTest.ssg_main_single_npu
[       OK ] SsgMainTest.ssg_main_single_npu (5 ms)
[ RUN      ] SsgMainTest.ssg_main_10_npu
[       OK ] SsgMainTest.ssg_main_10_npu (12 ms)
[ RUN      ] SsgMainTest.ssg_main_40_npu
[       OK ] SsgMainTest.ssg_main_40_npu (15 ms)
[----------] 4 tests from SsgMainTest (37 ms total)

[----------] Global test environment tear-down
[==========] 10 tests from 3 test suites ran. (74 ms total)
[  PASSED  ] 10 tests.
make[3]: Leaving directory '/sonic/src/systemd-sonic-generator'
make[2]: Leaving directory '/sonic/src/systemd-sonic-generator'
   create-stamp debian/debhelper-build-stamp
make[1]: Leaving directory '/sonic/src/systemd-sonic-generator'
 fakeroot debian/rules binary
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/sonic/src/systemd-sonic-generator'
dh binary
   dh_testroot
   dh_prep
	rm -f -- debian/systemd-sonic-generator.substvars
	rm -fr -- debian/.debhelper/generated/systemd-sonic-generator/ debian/systemd-sonic-generator/ debian/tmp/
   dh_auto_install
	install -d /sonic/src/systemd-sonic-generator/debian/systemd-sonic-generator
	make -j112 install DESTDIR=/sonic/src/systemd-sonic-generator/debian/systemd-sonic-generator AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true"
make[2]: Entering directory '/sonic/src/systemd-sonic-generator'
mkdir -p /sonic/src/systemd-sonic-generator/debian/systemd-sonic-generator
mkdir -p /sonic/src/systemd-sonic-generator/debian/systemd-sonic-generator/lib
mkdir -p /sonic/src/systemd-sonic-generator/debian/systemd-sonic-generator/lib/systemd
mkdir -p /sonic/src/systemd-sonic-generator/debian/systemd-sonic-generator/lib/systemd/system-generators
cp ./systemd-sonic-generator /sonic/src/systemd-sonic-generator/debian/systemd-sonic-generator/lib/systemd/system-generators
make[2]: Leaving directory '/sonic/src/systemd-sonic-generator'
   dh_installdocs
	install -d debian/systemd-sonic-generator/usr/share/doc/systemd-sonic-generator
	install -d debian/.debhelper/generated/systemd-sonic-generator
   dh_installchangelogs
	install -p -m0644 debian/changelog debian/systemd-sonic-generator/usr/share/doc/systemd-sonic-generator/changelog
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
	cd debian/systemd-sonic-generator
	chmod a-x usr/share/doc/systemd-sonic-generator/changelog
	gzip -9nf usr/share/doc/systemd-sonic-generator/changelog
	cd '/sonic/src/systemd-sonic-generator'
   dh_fixperms
	find debian/systemd-sonic-generator -true -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
	find debian/systemd-sonic-generator ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
	find debian/systemd-sonic-generator/usr/share/doc -type f -a -true -a ! -regex 'debian/systemd-sonic-generator/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/systemd-sonic-generator/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755
	find debian/systemd-sonic-generator -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
   dh_missing
   dh_strip
	install -d debian/.debhelper/systemd-sonic-generator/dbgsym-root/usr/lib/debug/.build-id/57
	objcopy --only-keep-debug --compress-debug-sections debian/systemd-sonic-generator/lib/systemd/system-generators/systemd-sonic-generator debian/.debhelper/systemd-sonic-generator/dbgsym-root/usr/lib/debug/.build-id/57/4627ec34928535c835070daa91a6e62f5d71aa.debug
	chmod 0644 -- debian/.debhelper/systemd-sonic-generator/dbgsym-root/usr/lib/debug/.build-id/57/4627ec34928535c835070daa91a6e62f5d71aa.debug
	chown 0:0 -- debian/.debhelper/systemd-sonic-generator/dbgsym-root/usr/lib/debug/.build-id/57/4627ec34928535c835070daa91a6e62f5d71aa.debug
	strip --remove-section=.comment --remove-section=.note debian/systemd-sonic-generator/lib/systemd/system-generators/systemd-sonic-generator
	objcopy --add-gnu-debuglink debian/.debhelper/systemd-sonic-generator/dbgsym-root/usr/lib/debug/.build-id/57/4627ec34928535c835070daa91a6e62f5d71aa.debug debian/systemd-sonic-generator/lib/systemd/system-generators/systemd-sonic-generator
	install -d debian/.debhelper/systemd-sonic-generator/dbgsym-root/usr/share/doc
	ln -s systemd-sonic-generator debian/.debhelper/systemd-sonic-generator/dbgsym-root/usr/share/doc/systemd-sonic-generator-dbgsym
   dh_makeshlibs
	rm -f debian/systemd-sonic-generator/DEBIAN/shlibs
   dh_shlibdeps
	install -d debian/systemd-sonic-generator/DEBIAN
	dpkg-shlibdeps -Tdebian/systemd-sonic-generator.substvars debian/systemd-sonic-generator/lib/systemd/system-generators/systemd-sonic-generator
   dh_installdeb
   dh_gencontrol
	echo misc:Depends= >> debian/systemd-sonic-generator.substvars
	echo misc:Pre-Depends= >> debian/systemd-sonic-generator.substvars
	install -d debian/.debhelper/systemd-sonic-generator/dbgsym-root/DEBIAN
	dpkg-gencontrol -psystemd-sonic-generator -ldebian/changelog -Tdebian/systemd-sonic-generator.substvars -Pdebian/.debhelper/systemd-sonic-generator/dbgsym-root -UPre-Depends -URecommends -USuggests -UEnhances -UProvides -UEssential -UConflicts -DPriority=optional -UHomepage -UImportant -UBuilt-Using -DAuto-Built-Package=debug-symbols -UProtected -DPackage=systemd-sonic-generator-dbgsym "-DDepends=systemd-sonic-generator (= \${binary:Version})" "-DDescription=debug symbols for systemd-sonic-generator" -DBuild-Ids=574627ec34928535c835070daa91a6e62f5d71aa -DSection=debug -UMulti-Arch -UReplaces -UBreaks
	chmod 0644 -- debian/.debhelper/systemd-sonic-generator/dbgsym-root/DEBIAN/control
	chown 0:0 -- debian/.debhelper/systemd-sonic-generator/dbgsym-root/DEBIAN/control
	dpkg-gencontrol -psystemd-sonic-generator -ldebian/changelog -Tdebian/systemd-sonic-generator.substvars -Pdebian/systemd-sonic-generator
	chmod 0644 -- debian/systemd-sonic-generator/DEBIAN/control
	chown 0:0 -- debian/systemd-sonic-generator/DEBIAN/control
   dh_md5sums
	cd debian/systemd-sonic-generator >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
	chmod 0644 -- debian/systemd-sonic-generator/DEBIAN/md5sums
	chown 0:0 -- debian/systemd-sonic-generator/DEBIAN/md5sums
	cd debian/.debhelper/systemd-sonic-generator/dbgsym-root >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
	chmod 0644 -- debian/.debhelper/systemd-sonic-generator/dbgsym-root/DEBIAN/md5sums
	chown 0:0 -- debian/.debhelper/systemd-sonic-generator/dbgsym-root/DEBIAN/md5sums
   dh_builddeb
	dpkg-deb --build debian/systemd-sonic-generator ..
	dpkg-deb --build debian/.debhelper/systemd-sonic-generator/dbgsym-root ..
dpkg-deb: building package 'systemd-sonic-generator' in '../systemd-sonic-generator_1.0.0_amd64.deb'.
dpkg-deb: building package 'systemd-sonic-generator-dbgsym' in '../systemd-sonic-generator-dbgsym_1.0.0_amd64.deb'.
make[1]: Leaving directory '/sonic/src/systemd-sonic-generator'
 dpkg-genbuildinfo --build=binary --admindir=/sonic/dpkg/tmp.jiEB09xnd1
 dpkg-genchanges --build=binary >../systemd-sonic-generator_1.0.0_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 fakeroot debian/rules clean
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/sonic/src/systemd-sonic-generator'
dh clean
   dh_auto_clean
	make -j112 clean
make[2]: Entering directory '/sonic/src/systemd-sonic-generator'
rm -f ./systemd-sonic-generator
rm -f ./systemd-sonic-generator.o
rm -f ./ssg_test
make[2]: Leaving directory '/sonic/src/systemd-sonic-generator'
   dh_clean
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f -- debian/systemd-sonic-generator.substvars debian/files
	rm -fr -- debian/systemd-sonic-generator/ debian/tmp/
	find .  \( \( \
		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} + \) -o \
		\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
make[1]: Leaving directory '/sonic/src/systemd-sonic-generator'
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
/sonic
Build end time: Fri Jul 18 06:58:11 UTC 2025
Elapsed time: 0h 0m 9s