Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in SONiC Custom Build on 202305 #17548

Open
ridahanif96 opened this issue Dec 18, 2023 · 7 comments
Open

Issue in SONiC Custom Build on 202305 #17548

ridahanif96 opened this issue Dec 18, 2023 · 7 comments
Assignees
Labels
Triaged this issue has been triaged

Comments

@ridahanif96
Copy link
Contributor

ridahanif96 commented Dec 18, 2023

Description

I am trying to custom Build SONiC Image with enabled Kubernetes features in VS Platform for 202305 image. I am facing make 2 errors.

Describe the results you received:

Following are details for my logs:
make SONIC_BUILD_JOBS=4 all
+++ --- Making all --- +++
./scripts/run_with_retry make EXTRA_DOCKER_TARGETS=all BLDENV=buster -f Makefile.work buster
make[1]: Entering directory '/home/rida-laptop/Music/BuildSONIC/sonic-buildimage'
"SECURE_UPGRADE_PROD_SIGNING_TOOL": ""
~/Music/BuildSONIC/sonic-buildimage/src/sonic-build-hooks ~/Music/BuildSONIC/sonic-buildimage
make[2]: Entering directory '/home/rida-laptop/Music/BuildSONIC/sonic-buildimage/src/sonic-build-hooks'
dpkg-deb: building package 'sonic-build-hooks' in 'buildinfo/sonic-build-hooks_1.0_all.deb'.
make[2]: Leaving directory '/home/rida-laptop/Music/BuildSONIC/sonic-buildimage/src/sonic-build-hooks'
[ 01 ] [ target/debs/buster/libnl-3-200_3.5.0-1_amd64.deb ]
[ 02 ] [ target/debs/buster/libyang2_2.0.112-6_amd64.deb ]
[ 03 ] [ target/debs/buster/libhiredis0.14_0.14.1-1_amd64.deb ]
[ 04 ] [ target/python-wheels/buster/redis_dump_load-1.1-py2-none-any.whl ]
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Processing /sonic/src/redis-dump-load
Requirement already satisfied: redis in /usr/local/lib/python2.7/dist-packages (from redis-dump-load==1.1) (3.5.3)
Building wheels for collected packages: redis-dump-load
Building wheel for redis-dump-load (setup.py) ... done
Installing collected packages: redis-dump-load
WARNING: The scripts redis-dump and redis-load are installed in '/var/rida-laptop/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed redis-dump-load-1.1
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Found existing installation: redis-dump-load 1.1
Uninstalling redis-dump-load-1.1:
Successfully uninstalled redis-dump-load-1.1
Removing patch ../redis-dump-load.patch/0002-Fix-setup.py-for-test-and-bdist_wheel.patch
Restoring setup.py
[ 01 ] [ target/debs/buster/libnl-3-200_3.5.0-1_amd64.deb ]
[ 01 ] [ target/debs/buster/libnl-3-200_3.5.0-1_amd64.deb ]
[ 01 ] [ target/debs/buster/libnl-3-200_3.5.0-1_amd64.deb ]
[ 02 ] [ target/debs/buster/libyang2_2.0.112-6_amd64.deb ]
[ 03 ] [ target/debs/buster/socat_1.7.4.1-3_amd64.deb ]
[ 04 ] [ target/python-wheels/buster/redis_dump_load-1.1-py3-none-any.whl ]
Defaulting to user installation because normal site-packages is not writeable
Processing /sonic/src/redis-dump-load
Preparing metadata (setup.py) ... done
Requirement already satisfied: redis in /usr/local/lib/python3.7/dist-packages (from redis-dump-load==1.1) (5.0.1)
Requirement already satisfied: async-timeout>=4.0.2 in /usr/local/lib/python3.7/dist-packages (from redis->redis-dump-load==1.1) (4.0.3)
Requirement already satisfied: importlib-metadata>=1.0 in /usr/local/lib/python3.7/dist-packages (from redis->redis-dump-load==1.1) (6.7.0)
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.7/dist-packages (from redis->redis-dump-load==1.1) (4.7.1)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata>=1.0->redis->redis-dump-load==1.1) (3.15.0)
Building wheels for collected packages: redis-dump-load
Building wheel for redis-dump-load (setup.py) ... done
Created wheel for redis-dump-load: filename=redis_dump_load-1.1-py3-none-any.whl size=12583 sha256=ee6e21f3c1914b96c7d4769497fbcf74406afd9885603a49f3839083fa8d7194
Stored in directory: /var/rida-laptop/.cache/pip/wheels/d5/ef/61/d6974a619b1d31c63bd5140f94aadb7b1cdeeeb14325100bc5
Successfully built redis-dump-load
Installing collected packages: redis-dump-load
WARNING: The scripts redis-dump and redis-load are installed in '/var/rida-lap[ 01 ] [ target/debs/buster/libnl-3-200_3.5.0-1_amd64.deb ]
[ 02 ] [ target/debs/buster/socat_1.7.4.1-3_amd64.deb ]
[ 03 ] [ target/python-wheels/buster/redis_dump_load-1.1-py3-none-any.whl ]
[ 04 ] [ target/python-wheels/buster/swsssdk-2.0.1-py2-none-any.whl ]
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Processing /sonic/src/sonic-py-swsssdk
Requirement already satisfied: redis-dump-load in /usr/local/lib/python2.7/dist-packages (from swsssdk==2.0.1) (1.1)
Requirement already satisfied: redis>=3.5.3 in /usr/local/lib/python2.7/dist-packages (from swsssdk==2.0.1) (3.5.3)
Building wheels for collected packages: swsssdk
Building wheel for swsssdk (setup.py) ... done
Created wheel for swsssdk: filename=swsssdk-2.0.1-py2-none-any.whl size=19169 sha256=9a7619d2382bf49b1e1062328b1256dd413bd78d95a13dab103ab22c04b830d1
Stored in directory: /var/rida-laptop/.cache/pip/wheels/54/ba/62/ce8c32f66f6c2147eee7453657452279114b97185906689032
Successfully built swsssdk
Installing collected packages: swsssdk
Successfully installed swsssdk-2.0.1
Found existing installation: redis-dump-load 1.1
Uninstalling redis-dump-load-1.1:
Successfully uninstalled redis-dump-load-1.1
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Found existing installation: swsssdk 2.0.1
Uninstalling swsssdk-2.0.1:
Successfully uninstalled swsssdk-2.0.1
Removing patch ../redis-dump-load.patch/0002-Fix-setup.py-for-test-and-bdist_wheel.patch
Restoring setup.py
[ 01 ] [ target/debs/buster/libnl-3-200_3.5.0-1_amd64.deb ]
[ 01 ] [ target/debs/buster/libnl-3-200_3.5.0-1_amd64.deb ]
[ 01 ] [ target/debs/buster/libnl-3-200_3.5.0-1_amd64.deb ]
[ 01 ] [ target/debs/buster/libnl-3-200_3.5.0-1_amd64.deb ]
[ 01 ] [ target/debs/buster/libnl-3-200_3.5.0-1_amd64.deb ]
[ 01 ] [ target/debs/buster/libnl-3-200_3.5.0-1_amd64.deb ]
[ 02 ] [ target/debs/buster/socat_1.7.4.1-3_amd64.deb ]
[ 03 ] [ target/python-wheels/buster/swsssdk-2.0.1-py3-none-any.whl ]
Defaulting to user installation because normal site-packages is not writeable
Processing /sonic/src/sonic-py-swsssdk
Preparing metadata (setup.py) ... done
Requirement already satisfied: redis-dump-load in /usr/local/lib/python3.7/dist-packages (from swsssdk==2.0.1) (1.1)
Requirement already satisfied: redis>=4.5.4 in /usr/local/lib/python3.7/dist-packages (from swsssdk==2.0.1) (5.0.1)
Requirement already satisfied: async-timeout>=4.0.2 in /usr/local/lib/python3.7/dist-packages (from redis>=4.5.4->swsssdk==2.0.1) (4.0.3)
Requirement already satisfied: importlib-metadata>=1.0 in /usr/local/lib/python3.7/dist-packages (from redis>=4.5.4->swsssdk==2.0.1) (6.7.0)
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.7/dist-packages (from redis>=4.5.4->swsssdk==2.0.1) (4.7.1)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata>=1.0->redis>=4.5.4->swsssdk==2.0.1) (3.15.0)
Building wheels for collected packages: swsssdk
Building wheel for swsssdk (setup.py) ... done
Created wheel for swsssdk: filename=swsssdk-2.0.1-py3-none-any.whl size=19171 sha256=f76836eb10358e76c3a46ee067af53db769f78991be9cc632b40bc578ad930a5
Stored in directory: /var/rida-laptop/.cache/pip/wheels/2c/e6/db/688a26378c477c406e7f905f3747d21c607f53061c679e9f05
Successfully built swsssdk
Installing collected packages: swsssdk
Successfully installed swsssdk-2.0.1
[ FAIL LOG START ] [ target/debs/buster/libyang_1.0.73_amd64.deb ]
Build start time: Mon Dec 18 12:52:02 UTC 2023
[ REASON ] : target/debs/buster/libyang_1.0.73_amd64.deb does not exist
[ FLAGS FILE ] : []
[ FLAGS DEPENDS ] : []
[ FLAGS DIFF ] : []
make[1]: warning: -j8 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/sonic/src/libyang'
rm -fr ./libyang-1.0.73
git clone https://github.com/CESNET/libyang.git libyang-1.0.73
pushd libyang-1.0.73
git checkout tags/v1.0-r4 -b libyang
stg init
stg import -s ../patch/series
dpkg-buildpackage -rfakeroot -b -us -uc -j8 --admindir /sonic/dpkg/tmp.47nA4eQRYR
popd
mv libyang-dev_1.0.73_amd64.deb libyang-dbgsym_1.0.73_amd64.deb python3-yang_1.0.73_amd64.deb libyang-cpp_1.0.73_amd64.deb libyang_1.0.73_amd64.deb /sonic/target/debs/buster/
Cloning into 'libyang-1.0.73'...
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
make[1]: *** [Makefile:10: /sonic/target/debs/buster/libyang_1.0.73_amd64.deb] Error 128
make[1]: Leaving directory '/sonic/src/libyang'
[ FAIL LOG END ] [ target/debs/buster/libyang_1.0.73_amd64.deb ]
make: *** [slave.mk:684: target/debs/buster/libyang_1.0.73_amd64.deb] Error 1
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
make[1]: *** [Makefile.work:602: buster] Error 2
make[1]: Leaving directory '/home/rida-laptop/Music/BuildSONIC/sonic-buildimage'
make: *** [Makefile:40: all] Error 2

Describe the results you expected:

I have tried this build in different platform environments and experience similar behavior with make2 errors.

@ridahanif96 ridahanif96 changed the title Issue in SONiC Custom Build Issue in SONiC Custom Build on 202305 Dec 19, 2023
@hasan-alkama
Copy link

Hi @ridahanif96 ,
I also faced the similar issue in master as well as in 202305 branch/release
I tried with be22217 release
and built for docker with command
make target/docker-sonic-vs.gz
and it worked you can also try with this release and/or with master release but docker-sonic image instead of vm

@ridahanif96
Copy link
Contributor Author

ridahanif96 commented Dec 20, 2023

Hi @hasan-alkama ,
There are no rules to make target , pls see below error:
*** No rule to make target 'target/docker-sonic-vs.gz', needed by 'all'
I am using "time make SONIC_BUILD_JOBS=4 target/sonic-vs.img.gz" to make it work but still faced similar error.

@hasan-alkama
Copy link

@ridahanif96
can you share the full logs of error? sometimes error is different ,like it may be causing due to your .platform file is empty.

@prabhataravind prabhataravind added the Triaged this issue has been triaged label Dec 20, 2023
@ridahanif96
Copy link
Contributor Author

Following are build Error Details:
time make SONIC_BUILD_JOBS=4 target/sonic-vs.img.gz
+++ --- Making target/sonic-vs.img.gz --- +++
./scripts/run_with_retry make EXTRA_DOCKER_TARGETS=sonic-vs.img.gz BLDENV=buster -f Makefile.work buster
make[1]: Entering directory '/media/mati/Data-Volume-1/Literature/GNS3 Project/SONIC-B2023/sonic-buildimage'
/bin/bash: line 1: [: /media/mati/Data-Volume-1/Literature/GNS3: binary operator expected
"SECURE_UPGRADE_PROD_SIGNING_TOOL": ""
/media/mati/Data-Volume-1/Literature/GNS3 Project/SONIC-B2023/sonic-buildimage/src/sonic-build-hooks /media/mati/Data-Volume-1/Literature/GNS3 Project/SONIC-B2023/sonic-buildimage
make[2]: Entering directory '/media/mati/Data-Volume-1/Literature/GNS3 Project/SONIC-B2023/sonic-buildimage/src/sonic-build-hooks'
dpkg-deb: building package 'sonic-build-hooks' in 'buildinfo/sonic-build-hooks_1.0_all.deb'.
make[2]: Leaving directory '/media/mati/Data-Volume-1/Literature/GNS3 Project/SONIC-B2023/sonic-buildimage/src/sonic-build-hooks'
/media/mati/Data-Volume-1/Literature/GNS3 Project/SONIC-B2023/sonic-buildimage
Checking sonic-slave-base image: sonic-slave-buster:9a443c8b2ae
Checking sonic-slave-user image: sonic-slave-buster-mati:40c1b772fa8
slave.mk:265: USERNAME given on command line: could be visible to other users
SONiC Build System

Build Configuration
"CONFIGURED_PLATFORM" : "vs"
"CONFIGURED_ARCH" : "amd64"
"SONIC_CONFIG_PRINT_DEPENDENCIES" : ""
"SONIC_BUILD_JOBS" : "4"
"SONIC_CONFIG_MAKE_JOBS" : "20"
"USE_NATIVE_DOCKERD_FOR_BUILD" : ""
"SONIC_USE_DOCKER_BUILDKIT" : ""
"USERNAME" : "mati"
"PASSWORD" : "YourPaSsWoRd"
"CHANGE_DEFAULT_PASSWORD" : "n"
"SECURE_UPGRADE_MODE" : "no_sign"
"SECURE_UPGRADE_DEV_SIGNING_KEY" : ""
"SECURE_UPGRADE_SIGNING_CERT" : ""
"SECURE_UPGRADE_PROD_SIGNING_TOOL": ""
"SECURE_UPGRADE_PROD_TOOL_ARGS" : ""
"ENABLE_DHCP_GRAPH_SERVICE" : ""
"SHUTDOWN_BGP_ON_START" : ""
"ENABLE_PFCWD_ON_START" : ""
"SONIC_BUFFER_MODEL" : ""
"INSTALL_DEBUG_TOOLS" : ""
"ROUTING_STACK" : "frr"
"FRR_USER_UID" : "300"
"FRR_USER_GID" : "300"
"ENABLE_SYNCD_RPC" : ""
"SAITHRIFT_V2" : ""
"ENABLE_ORGANIZATION_EXTENSIONS" : "y"
"HTTP_PROXY" : ""
"HTTPS_PROXY" : ""
"NO_PROXY" : ""
"ENABLE_ZTP" : ""
"INCLUDE_PDE" : ""
"SONIC_DEBUGGING_ON" : ""
"SONIC_PROFILING_ON" : ""
"KERNEL_PROCURE_METHOD" : "build"
"BUILD_TIMESTAMP" : "20231220.232007"
"BUILD_LOG_TIMESTAMP" : "none"
"SONIC_IMAGE_VERSION" : "HEAD.0-dirty-20231220.232007"
"BLDENV" : "buster"
"VS_PREPARE_MEM" : "yes"
"INCLUDE_MGMT_FRAMEWORK" : "y"
"INCLUDE_ICCPD" : "n"
"INCLUDE_SYSTEM_TELEMETRY" : "y"
"ENABLE_HOST_SERVICE_ON_START" : "y"
"INCLUDE_RESTAPI" : "n"
"INCLUDE_SFLOW" : "y"
"ENABLE_SFLOW_DROPMON" : "n"
"INCLUDE_NAT" : "y"
"INCLUDE_DHCP_RELAY" : "y"
"INCLUDE_P4RT" : "n"
"INCLUDE_KUBERNETES" : "y"
"INCLUDE_KUBERNETES_MASTER" : "y"
"INCLUDE_MACSEC" : "y"
"INCLUDE_MUX" : "y"
"INCLUDE_TEAMD" : "y"
"INCLUDE_ROUTER_ADVERTISER" : "y"
"INCLUDE_BOOTCHART : "y"
"ENABLE_BOOTCHART : "n"
"ENABLE_FIPS_FEATURE" : "y"
"ENABLE_TRANSLIB_WRITE" : ""
"ENABLE_NATIVE_WRITE" : "y"
"ENABLE_AUTO_TECH_SUPPORT" : "y"
"PDDF_SUPPORT" : "y"
"MULTIARCH_QEMU_ENVIRON" : "n"
"SONIC_VERSION_CONTROL_COMPONENTS": "none"
"ENABLE_ASAN" : "n"
"DEFAULT_CONTAINER_REGISTRY" : ""
"BUILD_MULTIASIC_KVM" : "n"
"CROSS_BUILD_ENVIRON" : "n"
"GZ_COMPRESS_PROGRAM" : "gzip"

"SONIC_DPKG_CACHE_METHOD" : "none"

[ FAIL LOG START ] [ target/debs/buster/libnl-3-200_3.5.0-1_amd64.deb ]
Build start time: Wed Dec 20 18:20:16 UTC 2023
[ REASON ] : target/debs/buster/libnl-3-200_3.5.0-1_amd64.deb does not exist
[ FLAGS FILE ] : []
[ FLAGS DEPENDS ] : []
[ FLAGS DIFF ] : []
make[1]: warning: -j20 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/sonic/src/libnl3'

Obtaining the libnl3

rm -rf ./libnl3-3.5.0
git clone https://github.com/thom311/libnl libnl3-3.5.0
pushd libnl3-3.5.0
git checkout tags/libnl3_5_0
git checkout -b sonic
stg init
stg import -s ../patch/series
ln -s ../debian debian
dpkg-buildpackage -rfakeroot -b -us -uc -j20 --admindir /sonic/dpkg/tmp.uSV56yhHNo
popd
mv libnl-3-dev_3.5.0-1_amd64.deb libnl-genl-3-200_3.5.0-1_amd64.deb libnl-genl-3-dev_3.5.0-1_amd64.deb libnl-route-3-200_3.5.0-1_amd64.deb libnl-route-3-dev_3.5.0-1_amd64.deb libnl-nf-3-200_3.5.0-1_amd64.deb libnl-nf-3-dev_3.5.0-1_amd64.deb libnl-cli-3-200_3.5.0-1_amd64.deb libnl-cli-3-dev_3.5.0-1_amd64.deb libnl-3-200_3.5.0-1_amd64.deb /sonic/target/debs/buster/
Cloning into 'libnl3-3.5.0'...
/sonic/src/libnl3/libnl3-3.5.0 /sonic/src/libnl3
Note: checking out 'tags/libnl3_5_0'.

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 performing another checkout.

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

git checkout -b

HEAD is now at 7b167ef8 libnl-3.5.0 release
Switched to a new branch 'sonic'
dpkg-buildpackage: info: source package libnl3
dpkg-buildpackage: info: source version 3.5.0-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Tamer Ahmed tamer.ahmed@microsoft.com
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
make[2]: Entering directory '/sonic/src/libnl3/libnl3-3.5.0'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
test -x debian/rules
rmdir debian/build
rmdir: failed to remove 'debian/build': No such file or directory
make[2]: [/usr/share/cdbs/1/rules/buildcore.mk:49: cleanbuilddir] Error 1 (ignored)
/usr/bin/make -C debian/build/main -k distclean
make[3]: Entering directory '/sonic/src/libnl3/libnl3-3.5.0'
make[3]: *** debian/build/main: No such file or directory. Stop.
make[3]: Leaving directory '/sonic/src/libnl3/libnl3-3.5.0'
make[2]: [/usr/share/cdbs/1/class/makefile.mk:91: makefile-clean/main] Error 2 (ignored)
rm -f debian/stamp-makefile-build/main debian/stamp-makefile-install/main
rm -f debian/stamp-makefile-check/main
rmdir --ignore-fail-on-non-empty debian/build/main
rmdir: failed to remove 'debian/build/main': No such file or directory
make[2]: [/usr/share/cdbs/1/class/autotools.mk:64: makefile-clean/main] Error 1 (ignored)
rm -f debian/stamp-autotools/main
/usr/bin/make -C debian/build/udeb -k distclean
make[3]: Entering directory '/sonic/src/libnl3/libnl3-3.5.0'
make[3]: *** debian/build/udeb: No such file or directory. Stop.
make[3]: Leaving directory '/sonic/src/libnl3/libnl3-3.5.0'
make[2]: [/usr/share/cdbs/1/class/makefile.mk:91: makefile-clean/udeb] Error 2 (ignored)
rm -f debian/stamp-makefile-build/udeb debian/stamp-makefile-install/udeb
rm -f debian/stamp-makefile-check/udeb
rmdir --ignore-fail-on-non-empty debian/build/udeb
rmdir: failed to remove 'debian/build/udeb': No such file or directory
make[2]: [/usr/share/cdbs/1/class/autotools.mk:64: makefile-clean/udeb] Error 1 (ignored)
rm -f debian/stamp-autotools/udeb
rmdir --ignore-fail-on-non-empty debian/stamp-makefile-build debian/stamp-makefile-install
rmdir: failed to remove 'debian/stamp-makefile-build': No such file or directory
rmdir: failed to remove 'debian/stamp-makefile-install': No such file or directory
make[2]: [/usr/share/cdbs/1/class/makefile.mk:82: makefile-clean] Error 1 (ignored)
rmdir --ignore-fail-on-non-empty debian/stamp-autotools
rmdir: failed to remove 'debian/stamp-autotools': No such file or directory
make[2]: [/usr/share/cdbs/1/class/autotools.mk:58: makefile-clean] Error 1 (ignored)
if test -e debian/autoreconf.before; then
dh_autoreconf_clean ;
fi
dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
rm -f debian/stamp-autotools-files

from some unknown reason CDBS does not remove the builddir

rm -rf debian/build
make[2]: Leaving directory '/sonic/src/libnl3/libnl3-3.5.0'
debian/rules build
make[2]: Entering directory '/sonic/src/libnl3/libnl3-3.5.0'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
test -x debian/rules
mkdir -p "debian/build"
CDBS WARNING: DEB_DH_STRIP_ARGS is deprecated since 0.4.85
mkdir -p debian/stamp-makefile-build debian/stamp-makefile-install
mkdir -p debian/stamp-autotools
dh_autoreconf
md5sum: ./debian: Is a directory
dh_autoreconf: error: find ! -ipath "./debian/" -a ! ( -path '/.git/' -o -path '/.hg/' -o -path '/.bzr/' -o -path '/.svn/' -o -path '/CVS/*' ) -a -type f -exec md5sum {} + -o -type l -printf "symlink %p
" > debian/autoreconf.before returned exit code 1
make[2]: *** [/usr/share/cdbs/1/rules/autoreconf.mk:10: debian/autoreconf.after] Error 25
make[2]: Leaving directory '/sonic/src/libnl3/libnl3-3.5.0'
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
make[1]: *** [Makefile:17: /sonic/target/debs/buster/libnl-3-200_3.5.0-1_amd64.deb] Error 2
make[1]: Leaving directory '/sonic/src/libnl3'
[ FAIL LOG END ] [ target/debs/buster/libnl-3-200_3.5.0-1_amd64.deb ]
make: *** [slave.mk:684: target/debs/buster/libnl-3-200_3.5.0-1_amd64.deb] Error 1
make: *** Waiting for unfinished jobs....
[ FAIL LOG START ] [ target/debs/buster/libhiredis0.14_0.14.1-1_amd64.deb ]
Build start time: Wed Dec 20 18:20:16 UTC 2023
[ REASON ] : target/debs/buster/libhiredis0.14_0.14.1-1_amd64.deb does not exist
[ FLAGS FILE ] : []
[ FLAGS DEPENDS ] : []
[ FLAGS DIFF ] : []
make[1]: warning: -j20 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/sonic/src/hiredis'

Remove any stale files

rm -rf ./hiredis-0.14.1

Get hiredis release, debian files

dget -u http://http.debian.net/debian/pool/main/h/hiredis/hiredis_0.14.1-1.dsc

Build source and Debian packages

pushd ./hiredis-0.14.1
dpkg-buildpackage -rfakeroot -d -b -us -uc -j20 --admindir /sonic/dpkg/tmp.W2EhGGt4LL
popd

Move the newly-built .deb packages to the destination directory

mv libhiredis0.14_0.14.1-1_amd64.deb libhiredis0.14-dbgsym_0.14.1-1_amd64.deb libhiredis-dev_0.14.1-1_amd64.deb /sonic/target/debs/buster/
dget: retrieving http://http.debian.net/debian/pool/main/h/hiredis/hiredis_0.14.1-1.dsc
mkdir: cannot create directory '/vcache/sonic-slave-buster/web': Permission denied
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2029 100 2029 0 0 2694 0 --:--:-- --:--:-- --:--:-- 2694
dget: retrieving http://http.debian.net/debian/pool/main/h/hiredis/hiredis_0.14.1.orig.tar.gz
mkdir: cannot create directory '/vcache/sonic-slave-buster/web': Permission denied
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 64372 100 64372 0 0 67688 0 --:--:-- --:--:-- --:--:-- 67688
dget: retrieving http://http.debian.net/debian/pool/main/h/hiredis/hiredis_0.14.1-1.debian.tar.xz
mkdir: cannot create directory '/vcache/sonic-slave-buster/web': Permission denied
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 8872 100 8872 0 0 12186 0 --:--:-- --:--:-- --:--:-- 12186
dpkg-source: info: extracting hiredis in hiredis-0.14.1
dpkg-source: info: unpacking hiredis_0.14.1.orig.tar.gz
dpkg-source: info: unpacking hiredis_0.14.1-1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 01_use-proper-destdir.patch
dpkg-source: info: applying 02_disable-failing-test.patch
dpkg-source: info: applying 04_disable-network-tests.patch
dpkg-source: info: applying 06_redis-startup.patch
dpkg-source: info: applying 07_cmake.patch
dpkg-source: info: applying 08_cppflags.patch
/sonic/src/hiredis/hiredis-0.14.1 /sonic/src/hiredis
dpkg-buildpackage: info: source package hiredis
dpkg-buildpackage: info: source version 0.14.1-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Chris Lamb lamby@debian.org
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
make[2]: Entering directory '/sonic/src/hiredis/hiredis-0.14.1'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
dh clean
dh_auto_clean
make -j20 clean
make[3]: Entering directory '/sonic/src/hiredis/hiredis-0.14.1'
rm -rf libhiredis.so libhiredis.a hiredis-test hiredis.pc examples/hiredis-example* *.o *.gcda *.gcno .gcov
rm -f HiredisConfig.cmake HiredisConfigVersion.cmake
make[3]: Leaving directory '/sonic/src/hiredis/hiredis-0.14.1'
dh_clean
make[2]: Leaving directory '/sonic/src/hiredis/hiredis-0.14.1'
debian/rules binary
make[2]: Entering directory '/sonic/src/hiredis/hiredis-0.14.1'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
debian/rules override_dh_auto_build
make[3]: Entering directory '/sonic/src/hiredis/hiredis-0.14.1'
dh_auto_build -- DEBUG="-g" ARCH=
make -j20 "INSTALL=install --strip-program=true" DEBUG=-g ARCH=
make[4]: Entering directory '/sonic/src/hiredis/hiredis-0.14.1'
cc -std=c99 -pedantic -c -O3 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/sonic/src/hiredis/hiredis-0.14.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c
cc -std=c99 -pedantic -c -O3 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/sonic/src/hiredis/hiredis-0.14.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb hiredis.c
cc -std=c99 -pedantic -c -O3 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/sonic/src/hiredis/hiredis-0.14.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb sds.c
cc -std=c99 -pedantic -c -O3 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/sonic/src/hiredis/hiredis-0.14.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb async.c
cc -std=c99 -pedantic -c -O3 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/sonic/src/hiredis/hiredis-0.14.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb read.c
cc -std=c99 -pedantic -c -O3 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/sonic/src/hiredis/hiredis-0.14.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb alloc.c
cc -std=c99 -pedantic -c -O3 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/sonic/src/hiredis/hiredis-0.14.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb test.c
Generating hiredis.pc for pkgconfig...
cc -shared -Wl,-soname,libhiredis.so.0.14 -o libhiredis.so -Wl,-z,relro -Wl,-z,now net.o hiredis.o sds.o async.o read.o alloc.o
ar rcs libhiredis.a net.o hiredis.o sds.o async.o read.o alloc.o
cc -O3 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/sonic/src/hiredis/hiredis-0.14.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb -o hiredis-test -Wl,-z,relro -Wl,-z,now test.o libhiredis.a
make[4]: Leaving directory '/sonic/src/hiredis/hiredis-0.14.1'
make[3]: Leaving directory '/sonic/src/hiredis/hiredis-0.14.1'
create-stamp debian/debhelper-build-stamp
dh_prep
debian/rules override_dh_auto_install
make[3]: Entering directory '/sonic/src/hiredis/hiredis-0.14.1'
dh_auto_install -- LIBRARY_PATH="lib/x86_64-linux-gnu"
PREFIX=/usr
make -j20 install DESTDIR=/sonic/src/hiredis/hiredis-0.14.1/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" LIBRARY_PATH=lib/x86_64-linux-gnu PREFIX=/usr
make[4]: Entering directory '/sonic/src/hiredis/hiredis-0.14.1'
cp HiredisConfig.cmake.in HiredisConfig.cmake
sed -e "s,@HIREDIS_VERSION@,0.14.1,g"
HiredisConfigVersion.cmake.in >HiredisConfigVersion.cmake
mkdir -p /sonic/src/hiredis/hiredis-0.14.1/debian/tmp/usr/include/hiredis /sonic/src/hiredis/hiredis-0.14.1/debian/tmp/usr/include/hiredis/adapters /sonic/src/hiredis/hiredis-0.14.1/debian/tmp/usr/lib/x86_64-linux-gnu
install --strip-program=true hiredis.h async.h read.h sds.h alloc.h /sonic/src/hiredis/hiredis-0.14.1/debian/tmp/usr/include/hiredis
install: WARNING: ignoring --strip-program option as -s option was not specified
install --strip-program=true adapters/
.h /sonic/src/hiredis/hiredis-0.14.1/debian/tmp/usr/include/hiredis/adapters
install: WARNING: ignoring --strip-program option as -s option was not specified
install --strip-program=true libhiredis.so /sonic/src/hiredis/hiredis-0.14.1/debian/tmp/usr/lib/x86_64-linux-gnu/libhiredis.so.0.14
install: WARNING: ignoring --strip-program option as -s option was not specified
cd /sonic/src/hiredis/hiredis-0.14.1/debian/tmp/usr/lib/x86_64-linux-gnu && ln -sf libhiredis.so.0.14 libhiredis.so
install --strip-program=true libhiredis.a /sonic/src/hiredis/hiredis-0.14.1/debian/tmp/usr/lib/x86_64-linux-gnu
install: WARNING: ignoring --strip-program option as -s option was not specified
mkdir -p /sonic/src/hiredis/hiredis-0.14.1/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig
install --strip-program=true hiredis.pc /sonic/src/hiredis/hiredis-0.14.1/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig
install: WARNING: ignoring --strip-program option as -s option was not specified
mkdir -p /sonic/src/hiredis/hiredis-0.14.1/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/Hiredis
install --strip-program=true HiredisConfig.cmake /sonic/src/hiredis/hiredis-0.14.1/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/Hiredis
install: WARNING: ignoring --strip-program option as -s option was not specified
install --strip-program=true HiredisConfigVersion.cmake /sonic/src/hiredis/hiredis-0.14.1/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/Hiredis
install: WARNING: ignoring --strip-program option as -s option was not specified
make[4]: Leaving directory '/sonic/src/hiredis/hiredis-0.14.1'
make[3]: Leaving directory '/sonic/src/hiredis/hiredis-0.14.1'
dh_install
dh_installdocs
debian/rules override_dh_installchangelogs
make[3]: Entering directory '/sonic/src/hiredis/hiredis-0.14.1'
dh_installchangelogs CHANGELOG.md
make[3]: Leaving directory '/sonic/src/hiredis/hiredis-0.14.1'
dh_installexamples
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
debian/rules override_dh_fixperms
make[3]: Entering directory '/sonic/src/hiredis/hiredis-0.14.1'
dh_fixperms
chmod: cannot operate on dangling symlink 'debian/libhiredis-dev/usr/lib/x86_64-linux-gnu/libhiredis.so'
dh_fixperms: error: find debian/libhiredis-dev ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s returned exit code 123
dh_fixperms: error: Aborting due to earlier error
make[3]: *** [debian/rules:22: override_dh_fixperms] Error 25
make[3]: Leaving directory '/sonic/src/hiredis/hiredis-0.14.1'
make[2]: *** [debian/rules:12: binary] Error 2
make[2]: Leaving directory '/sonic/src/hiredis/hiredis-0.14.1'
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
make[1]: *** [Makefile:9: /sonic/target/debs/buster/libhiredis0.14_0.14.1-1_amd64.deb] Error 2
make[1]: Leaving directory '/sonic/src/hiredis'
[ FAIL LOG END ] [ target/debs/buster/libhiredis0.14_0.14.1-1_amd64.deb ]
make: *** [slave.mk:684: target/debs/buster/libhiredis0.14_0.14.1-1_amd64.deb] Error 1
[ FAIL LOG START ] [ target/debs/buster/libyang2_2.0.112-6_amd64.deb ]
Build start time: Wed Dec 20 18:20:16 UTC 2023
[ REASON ] : target/debs/buster/libyang2_2.0.112-6_amd64.deb does not exist
[ FLAGS FILE ] : []
[ FLAGS DEPENDS ] : []
[ FLAGS DIFF ] : []
make[1]: warning: -j20 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/sonic/src/libyang2'
rm -fr ./libyang2-2.0.112

download debian libyang

wget -NO "libyang2_2.0.112-6.dsc" https://sonicstorage.blob.core.windows.net/debian/pool/main/liby/libyang/libyang2_2.0.112-6.dsc
wget -NO "libyang2_2.0.112.orig.tar.gz" https://sonicstorage.blob.core.windows.net/debian/pool/main/liby/libyang/libyang2_2.0.112.orig.tar.gz
wget -NO "libyang2_2.0.112-6.debian.tar.xz" https://sonicstorage.blob.core.windows.net/debian/pool/main/liby/libyang/libyang2_2.0.112-6.debian.tar.xz
dpkg-source -x libyang2_2.0.112-6.dsc
pushd libyang2-2.0.112
#sed -i 's/set(LIBYANG_MAJOR_SOVERSION 1)/set(LIBYANG_MAJOR_SOVERSION 2)/' CMakeLists.txt
#sed -i 's/libyang2/libyang2/' debian/libyang2.install

Enable large file support for 32-bit arch

echo 'add_definitions(-D_FILE_OFFSET_BITS=64)' >> CMakeLists.txt
dpkg-buildpackage -rfakeroot -b -us -uc -j20 --admindir /sonic/dpkg/tmp.wLX9Xwbyao
popd

Move the newly-built .deb packages to the destination directory

mv libyang2_2.0.112-6_amd64.deb libyang2-dev_2.0.112-6_amd64.deb libyang2-dbgsym_2.0.112-6_amd64.deb libyang2-tools_2.0.112-6_amd64.deb libyang2-tools-dbgsym_2.0.112-6_amd64.deb /sonic/target/debs/buster/
mkdir: cannot create directory '/vcache/sonic-slave-buster/web': Permission denied
WARNING: timestamping does nothing in combination with -O. See the manual
for details.

--2023-12-20 18:20:18-- https://sonicstorage.blob.core.windows.net/debian/pool/main/liby/libyang/libyang2_2.0.112-6.dsc
Resolving sonicstorage.blob.core.windows.net (sonicstorage.blob.core.windows.net)... 20.60.59.131
Connecting to sonicstorage.blob.core.windows.net (sonicstorage.blob.core.windows.net)|20.60.59.131|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2267 (2.2K) [text/plain]
Saving to: 'libyang2_2.0.112-6.dsc'

 0K ..                                                    100% 44.0M=0s

2023-12-20 18:20:19 (44.0 MB/s) - 'libyang2_2.0.112-6.dsc' saved [2267/2267]

mkdir: cannot create directory '/vcache/sonic-slave-buster/web': Permission denied
WARNING: timestamping does nothing in combination with -O. See the manual
for details.

--2023-12-20 18:20:22-- https://sonicstorage.blob.core.windows.net/debian/pool/main/liby/libyang/libyang2_2.0.112.orig.tar.gz
Resolving sonicstorage.blob.core.windows.net (sonicstorage.blob.core.windows.net)... 20.60.59.131
Connecting to sonicstorage.blob.core.windows.net (sonicstorage.blob.core.windows.net)|20.60.59.131|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1075307 (1.0M) [application/x-gzip]
Saving to: 'libyang2_2.0.112.orig.tar.gz'

 0K .......... .......... .......... .......... ..........  4%  110K 9s
50K .......... .......... .......... .......... ..........  9% 11.7M 4s

100K .......... .......... .......... .......... .......... 14% 222K 4s
150K .......... .......... .......... .......... .......... 19% 11.6M 3s
200K .......... .......... .......... .......... .......... 23% 11.4M 2s
250K .......... .......... .......... .......... .......... 28% 229K 2s
300K .......... .......... .......... .......... .......... 33% 11.6M 2s
350K .......... .......... .......... .......... .......... 38% 8.56M 1s
400K .......... .......... .......... .......... .......... 42% 11.7M 1s
450K .......... .......... .......... .......... .......... 47% 171K 1s
500K .......... .......... .......... .......... .......... 52% 332K 1s
550K .......... .......... .......... .......... .......... 57% 151M 1s
600K .......... .......... .......... .......... .......... 61% 167M 1s
650K .......... .......... .......... .......... .......... 66% 184M 1s
700K .......... .......... .......... .......... .......... 71% 181M 1s
750K .......... .......... .......... .......... .......... 76% 653K 0s
800K .......... .......... .......... .......... .......... 80% 29.0M 0s
850K .......... .......... .......... .......... .......... 85% 21.2M 0s
900K .......... .......... .......... .......... .......... 90% 22.3M 0s
950K .......... .......... .......... .......... .......... 95% 104M 0s
1000K .......... .......... .......... .......... .......... 99% 135K 0s
1050K 100% 199G=1.8s

2023-12-20 18:20:24 (576 KB/s) - 'libyang2_2.0.112.orig.tar.gz' saved [1075307/1075307]

mkdir: cannot create directory '/vcache/sonic-slave-buster/web': Permission denied
WARNING: timestamping does nothing in combination with -O. See the manual
for details.

--2023-12-20 18:20:26-- https://sonicstorage.blob.core.windows.net/debian/pool/main/liby/libyang/libyang2_2.0.112-6.debian.tar.xz
Resolving sonicstorage.blob.core.windows.net (sonicstorage.blob.core.windows.net)... 20.60.59.131
Connecting to sonicstorage.blob.core.windows.net (sonicstorage.blob.core.windows.net)|20.60.59.131|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11468 (11K) [application/octet-stream]
Saving to: 'libyang2_2.0.112-6.debian.tar.xz'

 0K .......... .                                          100%  104M=0s

2023-12-20 18:20:26 (104 MB/s) - 'libyang2_2.0.112-6.debian.tar.xz' saved [11468/11468]

dpkg-source: info: extracting libyang2 in libyang2-2.0.112
dpkg-source: info: unpacking libyang2_2.0.112.orig.tar.gz
dpkg-source: info: unpacking libyang2_2.0.112-6.debian.tar.xz
/sonic/src/libyang2/libyang2-2.0.112 /sonic/src/libyang2
dpkg-buildpackage: info: source package libyang2
dpkg-buildpackage: info: source version 2.0.112-6
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Ondřej Surý ondrej@debian.org
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
make[2]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
dh clean
dh_clean
make[2]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112'
debian/rules build
make[2]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
dh build
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_configure
make[3]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112'
dh_auto_configure --
-DCMAKE_BUILD_TYPE:String="Release"
cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_BUILD_TYPE:String=Release ..
-- The C compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for vdprintf
-- Looking for vdprintf - found
-- Looking for asprintf
-- Looking for asprintf - found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Looking for getline
-- Looking for getline - found
-- Looking for strndup
-- Looking for strndup - found
-- Looking for strnstr
-- Looking for strnstr - not found
-- Looking for strdupa
-- Looking for strdupa - found
-- Looking for strchrnul
-- Looking for strchrnul - found
-- Looking for get_current_dir_name
-- Looking for get_current_dir_name - found
-- Looking for pthread_mutex_timedlock
-- Looking for pthread_mutex_timedlock - found
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
CMake Warning (dev) at /usr/share/cmake-3.13/Modules/CheckIncludeFile.cmake:70 (message):
Policy CMP0075 is not set: Include file check macros honor
CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.

CMAKE_REQUIRED_LIBRARIES is set to:

pthread

For compatibility with CMake 3.11 and below this check is ignoring it.
Call Stack (most recent call first):
/usr/share/cmake-3.13/Modules/CheckTypeSize.cmake:225 (check_include_file)
/usr/share/cmake-3.13/Modules/TestBigEndian.cmake:32 (CHECK_TYPE_SIZE)
CMakeModules/UseCompat.cmake:46 (TEST_BIG_ENDIAN)
CMakeLists.txt:326 (use_compat)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for stdatomic.h
-- Looking for stdatomic.h - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found PCRE2: /usr/lib/x86_64-linux-gnu/libpcre2-8.so (found suitable version "10.32", minimum required is "10.21")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components: doxygen dot
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

CMAKE_EXPORT_NO_PACKAGE_REGISTRY

-- Build files have been written to: /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu
make[3]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112'
dh_auto_build
cd obj-x86_64-linux-gnu && make -j20 VERBOSE=1
make[3]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
/usr/bin/cmake -S/sonic/src/libyang2/libyang2-2.0.112 -B/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/CMakeFiles /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[4]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
make -f CMakeFiles/yangobj.dir/build.make CMakeFiles/yangobj.dir/depend
make[5]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /sonic/src/libyang2/libyang2-2.0.112 /sonic/src/libyang2/libyang2-2.0.112 /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/CMakeFiles/yangobj.dir/DependInfo.cmake --color=
Dependee "/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/CMakeFiles/yangobj.dir/DependInfo.cmake" is newer than depender "/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/CMakeFiles/yangobj.dir/depend.internal".
Dependee "/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/CMakeFiles/yangobj.dir/depend.internal".
Scanning dependencies of target yangobj
make[5]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
make -f CMakeFiles/yangobj.dir/build.make CMakeFiles/yangobj.dir/build
make[5]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
[ 2%] Building C object CMakeFiles/yangobj.dir/src/diff.c.o
[ 2%] Building C object CMakeFiles/yangobj.dir/src/common.c.o
[ 3%] Building C object CMakeFiles/yangobj.dir/src/log.c.o
[ 4%] Building C object CMakeFiles/yangobj.dir/src/hash_table.c.o
[ 5%] Building C object CMakeFiles/yangobj.dir/src/set.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/diff.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/diff.c
[ 6%] Building C object CMakeFiles/yangobj.dir/src/path.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/common.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/common.c
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/log.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/log.c
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/hash_table.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/hash_table.c
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/set.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/set.c
[ 7%] Building C object CMakeFiles/yangobj.dir/src/context.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/path.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/path.c
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/context.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/context.c
[ 9%] Building C object CMakeFiles/yangobj.dir/src/tree_data_free.c.o
[ 10%] Building C object CMakeFiles/yangobj.dir/src/tree_data_helpers.c.o
[ 11%] Building C object CMakeFiles/yangobj.dir/src/tree_data_hash.c.o
[ 12%] Building C object CMakeFiles/yangobj.dir/src/parser_xml.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/tree_data_free.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/tree_data_free.c
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/tree_data_helpers.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/tree_data_helpers.c
[ 14%] Building C object CMakeFiles/yangobj.dir/src/json.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/tree_data_hash.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/tree_data_hash.c
[ 14%] Building C object CMakeFiles/yangobj.dir/src/parser_lyb.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/parser_xml.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/parser_xml.c
[ 15%] Building C object CMakeFiles/yangobj.dir/src/out.c.o
[ 17%] Building C object CMakeFiles/yangobj.dir/src/tree_data.c.o
[ 18%] Building C object CMakeFiles/yangobj.dir/src/printer_data.c.o
[ 19%] Building C object CMakeFiles/yangobj.dir/src/printer_json.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/json.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/json.c
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/parser_lyb.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/parser_lyb.c
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/tree_data.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/tree_data.c
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/out.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/out.c
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/printer_data.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/printer_data.c
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/printer_json.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/printer_json.c
[ 20%] Building C object CMakeFiles/yangobj.dir/src/parser_json.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/parser_json.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/parser_json.c
[ 21%] Building C object CMakeFiles/yangobj.dir/src/printer_xml.c.o
[ 22%] Building C object CMakeFiles/yangobj.dir/src/printer_lyb.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/printer_xml.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/printer_xml.c
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/printer_lyb.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/printer_lyb.c
[ 23%] Building C object CMakeFiles/yangobj.dir/src/schema_compile.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/schema_compile.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/schema_compile.c
[ 25%] Building C object CMakeFiles/yangobj.dir/src/schema_compile_node.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/schema_compile_node.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/schema_compile_node.c
[ 26%] Building C object CMakeFiles/yangobj.dir/src/schema_compile_amend.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/schema_compile_amend.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/schema_compile_amend.c
[ 27%] Building C object CMakeFiles/yangobj.dir/src/schema_features.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/schema_features.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/schema_features.c
[ 28%] Building C object CMakeFiles/yangobj.dir/src/tree_schema.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/tree_schema.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/tree_schema.c
[ 29%] Building C object CMakeFiles/yangobj.dir/src/tree_schema_free.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/tree_schema_free.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/tree_schema_free.c
[ 30%] Building C object CMakeFiles/yangobj.dir/src/tree_schema_helpers.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/tree_schema_helpers.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/tree_schema_helpers.c
[ 31%] Building C object CMakeFiles/yangobj.dir/src/in.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/in.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/in.c
[ 32%] Building C object CMakeFiles/yangobj.dir/src/lyb.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/lyb.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/lyb.c
[ 34%] Building C object CMakeFiles/yangobj.dir/src/parser_yang.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/parser_yang.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/parser_yang.c
[ 35%] Building C object CMakeFiles/yangobj.dir/src/parser_yin.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/parser_yin.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/parser_yin.c
[ 36%] Building C object CMakeFiles/yangobj.dir/src/parser_stmt.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/parser_stmt.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/parser_stmt.c
[ 37%] Building C object CMakeFiles/yangobj.dir/src/printer_schema.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/printer_schema.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/printer_schema.c
[ 38%] Building C object CMakeFiles/yangobj.dir/src/printer_yin.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/printer_yin.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/printer_yin.c
[ 39%] Building C object CMakeFiles/yangobj.dir/src/printer_yang.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/printer_yang.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/printer_yang.c
[ 40%] Building C object CMakeFiles/yangobj.dir/src/printer_tree.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/printer_tree.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/printer_tree.c
[ 42%] Building C object CMakeFiles/yangobj.dir/src/plugins.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins.c
[ 43%] Building C object CMakeFiles/yangobj.dir/src/plugins_types.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types.c
[ 44%] Building C object CMakeFiles/yangobj.dir/src/plugins_exts.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_exts.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_exts.c
[ 45%] Building C object CMakeFiles/yangobj.dir/src/plugins_exts/metadata.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_exts/metadata.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_exts/metadata.c
[ 46%] Building C object CMakeFiles/yangobj.dir/src/plugins_exts/yangdata.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_exts/yangdata.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_exts/yangdata.c
[ 47%] Building C object CMakeFiles/yangobj.dir/src/plugins_exts/nacm.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_exts/nacm.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_exts/nacm.c
[ 48%] Building C object CMakeFiles/yangobj.dir/src/xpath.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/xpath.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/xpath.c
[ 50%] Building C object CMakeFiles/yangobj.dir/src/xml.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/xml.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/xml.c
[ 51%] Building C object CMakeFiles/yangobj.dir/src/validation.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/validation.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/validation.c
[ 52%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/binary.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/binary.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/binary.c
[ 53%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/bits.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/bits.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/bits.c
[ 54%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/boolean.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/boolean.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/boolean.c
[ 55%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/decimal64.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/decimal64.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/decimal64.c
[ 57%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/enumeration.c.o
[ 57%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/empty.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/empty.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/empty.c
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/enumeration.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/enumeration.c
[ 59%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/instanceid.c.o
[ 60%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/identityref.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/instanceid.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/instanceid.c
[ 61%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/integer.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/identityref.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/identityref.c
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/integer.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/integer.c
[ 62%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/leafref.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/leafref.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/leafref.c
[ 63%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/string.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/string.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/string.c
[ 64%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/union.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/union.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/union.c
[ 65%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/ipv4_address.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/ipv4_address.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/ipv4_address.c
[ 67%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/ipv4_address_no_zone.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/ipv4_address_no_zone.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/ipv4_address_no_zone.c
[ 68%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/ipv6_address.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/ipv6_address.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/ipv6_address.c
[ 69%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/ipv6_address_no_zone.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/ipv6_address_no_zone.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/ipv6_address_no_zone.c
[ 70%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/ipv4_prefix.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/ipv4_prefix.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/ipv4_prefix.c
[ 71%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/ipv6_prefix.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/ipv6_prefix.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/ipv6_prefix.c
[ 72%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/date_and_time.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/date_and_time.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/date_and_time.c
[ 73%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/node_instanceid.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/node_instanceid.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/node_instanceid.c
[ 75%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/xpath1.0.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/src/plugins_types/xpath1.0.c.o -c /sonic/src/libyang2/libyang2-2.0.112/src/plugins_types/xpath1.0.c
[ 76%] Building C object CMakeFiles/yangobj.dir/compat/compat.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIC -fvisibility=hidden -o CMakeFiles/yangobj.dir/compat/compat.c.o -c /sonic/src/libyang2/libyang2-2.0.112/compat/compat.c
make[5]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
[ 76%] Built target yangobj
make -f CMakeFiles/yang.dir/build.make CMakeFiles/yang.dir/depend
make[5]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /sonic/src/libyang2/libyang2-2.0.112 /sonic/src/libyang2/libyang2-2.0.112 /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/CMakeFiles/yang.dir/DependInfo.cmake --color=
Dependee "/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/CMakeFiles/yang.dir/DependInfo.cmake" is newer than depender "/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/CMakeFiles/yang.dir/depend.internal".
Dependee "/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/CMakeFiles/yang.dir/depend.internal".
Scanning dependencies of target yang
make[5]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
make -f CMakeFiles/yang.dir/build.make CMakeFiles/yang.dir/build
make[5]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
[ 77%] Linking C shared library libyang.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/yang.dir/link.txt --verbose=1
/usr/bin/cc -fPIC -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libyang.so.2 -o libyang.so.2.13.7 CMakeFiles/yangobj.dir/src/common.c.o CMakeFiles/yangobj.dir/src/log.c.o CMakeFiles/yangobj.dir/src/hash_table.c.o CMakeFiles/yangobj.dir/src/set.c.o CMakeFiles/yangobj.dir/src/path.c.o CMakeFiles/yangobj.dir/src/diff.c.o CMakeFiles/yangobj.dir/src/context.c.o CMakeFiles/yangobj.dir/src/json.c.o CMakeFiles/yangobj.dir/src/tree_data.c.o CMakeFiles/yangobj.dir/src/tree_data_free.c.o CMakeFiles/yangobj.dir/src/tree_data_helpers.c.o CMakeFiles/yangobj.dir/src/tree_data_hash.c.o CMakeFiles/yangobj.dir/src/parser_xml.c.o CMakeFiles/yangobj.dir/src/parser_json.c.o CMakeFiles/yangobj.dir/src/parser_lyb.c.o CMakeFiles/yangobj.dir/src/out.c.o CMakeFiles/yangobj.dir/src/printer_data.c.o CMakeFiles/yangobj.dir/src/printer_xml.c.o CMakeFiles/yangobj.dir/src/printer_json.c.o CMakeFiles/yangobj.dir/src/printer_lyb.c.o CMakeFiles/yangobj.dir/src/schema_compile.c.o CMakeFiles/yangobj.dir/src/schema_compile_node.c.o CMakeFiles/yangobj.dir/src/schema_compile_amend.c.o CMakeFiles/yangobj.dir/src/schema_features.c.o CMakeFiles/yangobj.dir/src/tree_schema.c.o CMakeFiles/yangobj.dir/src/tree_schema_free.c.o CMakeFiles/yangobj.dir/src/tree_schema_helpers.c.o CMakeFiles/yangobj.dir/src/in.c.o CMakeFiles/yangobj.dir/src/lyb.c.o CMakeFiles/yangobj.dir/src/parser_yang.c.o CMakeFiles/yangobj.dir/src/parser_yin.c.o CMakeFiles/yangobj.dir/src/parser_stmt.c.o CMakeFiles/yangobj.dir/src/printer_schema.c.o CMakeFiles/yangobj.dir/src/printer_yang.c.o CMakeFiles/yangobj.dir/src/printer_yin.c.o CMakeFiles/yangobj.dir/src/printer_tree.c.o CMakeFiles/yangobj.dir/src/plugins.c.o CMakeFiles/yangobj.dir/src/plugins_types.c.o CMakeFiles/yangobj.dir/src/plugins_exts.c.o CMakeFiles/yangobj.dir/src/plugins_exts/metadata.c.o CMakeFiles/yangobj.dir/src/plugins_exts/nacm.c.o CMakeFiles/yangobj.dir/src/plugins_exts/yangdata.c.o CMakeFiles/yangobj.dir/src/xml.c.o CMakeFiles/yangobj.dir/src/xpath.c.o CMakeFiles/yangobj.dir/src/validation.c.o CMakeFiles/yangobj.dir/src/plugins_types/binary.c.o CMakeFiles/yangobj.dir/src/plugins_types/bits.c.o CMakeFiles/yangobj.dir/src/plugins_types/boolean.c.o CMakeFiles/yangobj.dir/src/plugins_types/decimal64.c.o CMakeFiles/yangobj.dir/src/plugins_types/empty.c.o CMakeFiles/yangobj.dir/src/plugins_types/enumeration.c.o CMakeFiles/yangobj.dir/src/plugins_types/identityref.c.o CMakeFiles/yangobj.dir/src/plugins_types/instanceid.c.o CMakeFiles/yangobj.dir/src/plugins_types/integer.c.o CMakeFiles/yangobj.dir/src/plugins_types/leafref.c.o CMakeFiles/yangobj.dir/src/plugins_types/string.c.o CMakeFiles/yangobj.dir/src/plugins_types/union.c.o CMakeFiles/yangobj.dir/src/plugins_types/ipv4_address.c.o CMakeFiles/yangobj.dir/src/plugins_types/ipv4_address_no_zone.c.o CMakeFiles/yangobj.dir/src/plugins_types/ipv6_address.c.o CMakeFiles/yangobj.dir/src/plugins_types/ipv6_address_no_zone.c.o CMakeFiles/yangobj.dir/src/plugins_types/ipv4_prefix.c.o CMakeFiles/yangobj.dir/src/plugins_types/ipv6_prefix.c.o CMakeFiles/yangobj.dir/src/plugins_types/date_and_time.c.o CMakeFiles/yangobj.dir/src/plugins_types/xpath1.0.c.o CMakeFiles/yangobj.dir/src/plugins_types/node_instanceid.c.o CMakeFiles/yangobj.dir/compat/compat.c.o -ldl -lm -lpthread -lpcre2-8
/usr/bin/cmake -E cmake_symlink_library libyang.so.2.13.7 libyang.so.2 libyang.so
make[5]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
[ 77%] Built target yang
make -f tools/lint/CMakeFiles/yanglint.dir/build.make tools/lint/CMakeFiles/yanglint.dir/depend
make -f tools/re/CMakeFiles/yangre.dir/build.make tools/re/CMakeFiles/yangre.dir/depend
make[5]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /sonic/src/libyang2/libyang2-2.0.112 /sonic/src/libyang2/libyang2-2.0.112/tools/lint /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint/CMakeFiles/yanglint.dir/DependInfo.cmake --color=
make[5]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /sonic/src/libyang2/libyang2-2.0.112 /sonic/src/libyang2/libyang2-2.0.112/tools/re /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/re /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/re/CMakeFiles/yangre.dir/DependInfo.cmake --color=
Dependee "/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint/CMakeFiles/yanglint.dir/DependInfo.cmake" is newer than depender "/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint/CMakeFiles/yanglint.dir/depend.internal".
Dependee "/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint/CMakeFiles/yanglint.dir/depend.internal".
Dependee "/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/re/CMakeFiles/yangre.dir/DependInfo.cmake" is newer than depender "/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/re/CMakeFiles/yangre.dir/depend.internal".
Dependee "/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/re/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/re/CMakeFiles/yangre.dir/depend.internal".
Scanning dependencies of target yangre
make[5]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
make -f tools/re/CMakeFiles/yangre.dir/build.make tools/re/CMakeFiles/yangre.dir/build
make[5]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
Scanning dependencies of target yanglint
make[5]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
make -f tools/lint/CMakeFiles/yanglint.dir/build.make tools/lint/CMakeFiles/yanglint.dir/build
make[5]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
[ 79%] Building C object tools/re/CMakeFiles/yangre.dir///compat/compat.c.o
[ 79%] Building C object tools/re/CMakeFiles/yangre.dir/main.c.o
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/re && /usr/bin/cc -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIE -o CMakeFiles/yangre.dir///compat/compat.c.o -c /sonic/src/libyang2/libyang2-2.0.112/compat/compat.c
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/re && /usr/bin/cc -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIE -o CMakeFiles/yangre.dir/main.c.o -c /sonic/src/libyang2/libyang2-2.0.112/tools/re/main.c
[ 81%] Building C object tools/lint/CMakeFiles/yanglint.dir/cmd_add.c.o
[ 81%] Building C object tools/lint/CMakeFiles/yanglint.dir/cmd_list.c.o
[ 82%] Building C object tools/lint/CMakeFiles/yanglint.dir/main.c.o
[ 84%] Building C object tools/lint/CMakeFiles/yanglint.dir/main_ni.c.o
[ 85%] Building C object tools/lint/CMakeFiles/yanglint.dir/cmd.c.o
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint && /usr/bin/cc -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIE -o CMakeFiles/yanglint.dir/cmd_add.c.o -c /sonic/src/libyang2/libyang2-2.0.112/tools/lint/cmd_add.c
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint && /usr/bin/cc -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIE -o CMakeFiles/yanglint.dir/main.c.o -c /sonic/src/libyang2/libyang2-2.0.112/tools/lint/main.c
[ 86%] Building C object tools/lint/CMakeFiles/yanglint.dir/cmd_clear.c.o
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint && /usr/bin/cc -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIE -o CMakeFiles/yanglint.dir/main_ni.c.o -c /sonic/src/libyang2/libyang2-2.0.112/tools/lint/main_ni.c
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint && /usr/bin/cc -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIE -o CMakeFiles/yanglint.dir/cmd.c.o -c /sonic/src/libyang2/libyang2-2.0.112/tools/lint/cmd.c
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint && /usr/bin/cc -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIE -o CMakeFiles/yanglint.dir/cmd_list.c.o -c /sonic/src/libyang2/libyang2-2.0.112/tools/lint/cmd_list.c
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint && /usr/bin/cc -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIE -o CMakeFiles/yanglint.dir/cmd_clear.c.o -c /sonic/src/libyang2/libyang2-2.0.112/tools/lint/cmd_clear.c
[ 87%] Building C object tools/lint/CMakeFiles/yanglint.dir/cmd_print.c.o
[ 88%] Building C object tools/lint/CMakeFiles/yanglint.dir/cmd_load.c.o
[ 89%] Building C object tools/lint/CMakeFiles/yanglint.dir/common.c.o
[ 90%] Building C object tools/lint/CMakeFiles/yanglint.dir/cmd_searchpath.c.o
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint && /usr/bin/cc -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIE -o CMakeFiles/yanglint.dir/cmd_print.c.o -c /sonic/src/libyang2/libyang2-2.0.112/tools/lint/cmd_print.c
[ 92%] Building C object tools/lint/CMakeFiles/yanglint.dir/completion.c.o
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint && /usr/bin/cc -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIE -o CMakeFiles/yanglint.dir/cmd_load.c.o -c /sonic/src/libyang2/libyang2-2.0.112/tools/lint/cmd_load.c
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint && /usr/bin/cc -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIE -o CMakeFiles/yanglint.dir/common.c.o -c /sonic/src/libyang2/libyang2-2.0.112/tools/lint/common.c
[ 93%] Building C object tools/lint/CMakeFiles/yanglint.dir/linenoise/linenoise.c.o
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint && /usr/bin/cc -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIE -o CMakeFiles/yanglint.dir/cmd_searchpath.c.o -c /sonic/src/libyang2/libyang2-2.0.112/tools/lint/cmd_searchpath.c
[ 95%] Building C object tools/lint/CMakeFiles/yanglint.dir/configuration.c.o
[ 95%] Building C object tools/lint/CMakeFiles/yanglint.dir/cmd_data.c.o
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint && /usr/bin/cc -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIE -o CMakeFiles/yanglint.dir/completion.c.o -c /sonic/src/libyang2/libyang2-2.0.112/tools/lint/completion.c
[ 96%] Building C object tools/lint/CMakeFiles/yanglint.dir/cmd_feature.c.o
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint && /usr/bin/cc -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIE -o CMakeFiles/yanglint.dir/linenoise/linenoise.c.o -c /sonic/src/libyang2/libyang2-2.0.112/tools/lint/linenoise/linenoise.c
[ 97%] Building C object tools/lint/CMakeFiles/yanglint.dir///compat/compat.c.o
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint && /usr/bin/cc -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIE -o CMakeFiles/yanglint.dir/configuration.c.o -c /sonic/src/libyang2/libyang2-2.0.112/tools/lint/configuration.c
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint && /usr/bin/cc -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIE -o CMakeFiles/yanglint.dir/cmd_data.c.o -c /sonic/src/libyang2/libyang2-2.0.112/tools/lint/cmd_data.c
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint && /usr/bin/cc -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIE -o CMakeFiles/yanglint.dir/cmd_feature.c.o -c /sonic/src/libyang2/libyang2-2.0.112/tools/lint/cmd_feature.c
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint && /usr/bin/cc -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/src -I/sonic/src/libyang2/libyang2-2.0.112/src -I/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/compat -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -fPIE -o CMakeFiles/yanglint.dir///compat/compat.c.o -c /sonic/src/libyang2/libyang2-2.0.112/compat/compat.c
[ 98%] Linking C executable ../../yangre
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/re && /usr/bin/cmake -E cmake_link_script CMakeFiles/yangre.dir/link.txt --verbose=1
/usr/bin/cc -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/yangre.dir/main.c.o CMakeFiles/yangre.dir///compat/compat.c.o -o ../../yangre -Wl,-rpath,/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu: ../../libyang.so.2.13.7 -ldl -lm -lpthread -lpcre2-8
make[5]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
[ 98%] Built target yangre
[100%] Linking C executable ../../yanglint
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint && /usr/bin/cmake -E cmake_link_script CMakeFiles/yanglint.dir/link.txt --verbose=1
/usr/bin/cc -DNDEBUG -O2 -g -O2 -fdebug-prefix-map=/sonic/src/libyang2/libyang2-2.0.112=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -std=c11 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/yanglint.dir/main.c.o CMakeFiles/yanglint.dir/main_ni.c.o CMakeFiles/yanglint.dir/cmd.c.o CMakeFiles/yanglint.dir/cmd_add.c.o CMakeFiles/yanglint.dir/cmd_clear.c.o CMakeFiles/yanglint.dir/cmd_data.c.o CMakeFiles/yanglint.dir/cmd_list.c.o CMakeFiles/yanglint.dir/cmd_feature.c.o CMakeFiles/yanglint.dir/cmd_load.c.o CMakeFiles/yanglint.dir/cmd_print.c.o CMakeFiles/yanglint.dir/cmd_searchpath.c.o CMakeFiles/yanglint.dir/common.c.o CMakeFiles/yanglint.dir/completion.c.o CMakeFiles/yanglint.dir/configuration.c.o CMakeFiles/yanglint.dir/linenoise/linenoise.c.o CMakeFiles/yanglint.dir///compat/compat.c.o -o ../../yanglint -Wl,-rpath,/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu: ../../libyang.so.2.13.7 -ldl -lm -lpthread -lpcre2-8
make[5]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
[100%] Built target yanglint
make[4]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_start /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/CMakeFiles 0
make[3]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
dh_auto_test
create-stamp debian/debhelper-build-stamp
make[2]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112'
fakeroot debian/rules binary
make[2]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
dh binary
dh_testroot
dh_prep
dh_auto_install
cd obj-x86_64-linux-gnu && make -j20 install DESTDIR=/sonic/src/libyang2/libyang2-2.0.112/debian/tmp AM_UPDATE_INFO_DIR=no
make[3]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
/usr/bin/cmake -S/sonic/src/libyang2/libyang2-2.0.112 -B/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/CMakeFiles /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[4]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
make -f CMakeFiles/yangobj.dir/build.make CMakeFiles/yangobj.dir/depend
make[5]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /sonic/src/libyang2/libyang2-2.0.112 /sonic/src/libyang2/libyang2-2.0.112 /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/CMakeFiles/yangobj.dir/DependInfo.cmake --color=
make[5]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
make -f CMakeFiles/yangobj.dir/build.make CMakeFiles/yangobj.dir/build
make[5]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
make[5]: Nothing to be done for 'CMakeFiles/yangobj.dir/build'.
make[5]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
[ 76%] Built target yangobj
make -f CMakeFiles/yang.dir/build.make CMakeFiles/yang.dir/depend
make[5]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /sonic/src/libyang2/libyang2-2.0.112 /sonic/src/libyang2/libyang2-2.0.112 /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/CMakeFiles/yang.dir/DependInfo.cmake --color=
make[5]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
make -f CMakeFiles/yang.dir/build.make CMakeFiles/yang.dir/build
make[5]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
make[5]: Nothing to be done for 'CMakeFiles/yang.dir/build'.
make[5]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
[ 77%] Built target yang
make -f tools/lint/CMakeFiles/yanglint.dir/build.make tools/lint/CMakeFiles/yanglint.dir/depend
make -f tools/re/CMakeFiles/yangre.dir/build.make tools/re/CMakeFiles/yangre.dir/depend
make[5]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
make[5]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /sonic/src/libyang2/libyang2-2.0.112 /sonic/src/libyang2/libyang2-2.0.112/tools/lint /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/lint/CMakeFiles/yanglint.dir/DependInfo.cmake --color=
cd /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /sonic/src/libyang2/libyang2-2.0.112 /sonic/src/libyang2/libyang2-2.0.112/tools/re /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/re /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/tools/re/CMakeFiles/yangre.dir/DependInfo.cmake --color=
make[5]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
make -f tools/re/CMakeFiles/yangre.dir/build.make tools/re/CMakeFiles/yangre.dir/build
make[5]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
make -f tools/lint/CMakeFiles/yanglint.dir/build.make tools/lint/CMakeFiles/yanglint.dir/build
make[5]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
make[5]: Nothing to be done for 'tools/re/CMakeFiles/yangre.dir/build'.
make[5]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
make[5]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
make[5]: Nothing to be done for 'tools/lint/CMakeFiles/yanglint.dir/build'.
make[5]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
[ 80%] Built target yangre
[100%] Built target yanglint
make[4]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_start /sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu/CMakeFiles 0
make -f CMakeFiles/Makefile2 preinstall
make[4]: Entering directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
make[4]: Nothing to be done for 'preinstall'.
make[4]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "Release"
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/lib/x86_64-linux-gnu/libyang.so.2.13.7
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/lib/x86_64-linux-gnu/libyang.so.2
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/lib/x86_64-linux-gnu/libyang.so
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/context.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/dict.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/in.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/libyang.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/log.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/out.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/parser_data.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/parser_schema.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/plugins.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/plugins_exts.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/plugins_exts_compile.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/plugins_exts_print.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/plugins_types.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/printer_data.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/printer_schema.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/set.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/tree.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/tree_data.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/tree_edit.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/tree_schema.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/version.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/include/libyang/config.h
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig/libyang.pc
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/bin/yanglint
-- Set runtime path of "/sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/bin/yanglint" to ""
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/share/man/man1/yanglint.1
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/bin/yangre
-- Set runtime path of "/sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/bin/yangre" to ""
-- Installing: /sonic/src/libyang2/libyang2-2.0.112/debian/tmp/usr/share/man/man1/yangre.1
make[3]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112/obj-x86_64-linux-gnu'
dh_install
dh_installdocs
dh_installchangelogs
dh_installexamples
dh_installman
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_fixperms
chmod: cannot operate on dangling symlink 'debian/libyang2-dev/usr/lib/x86_64-linux-gnu/libyang.so'
dh_fixperms: error: find debian/libyang2-dev ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s returned exit code 123
dh_fixperms: error: Aborting due to earlier error
make[2]: *** [debian/rules:8: binary] Error 25
make[2]: Leaving directory '/sonic/src/libyang2/libyang2-2.0.112'
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
make[1]: *** [Makefile:20: /sonic/target/debs/buster/libyang2_2.0.112-6_amd64.deb] Error 2
make[1]: Leaving directory '/sonic/src/libyang2'
[ FAIL LOG END ] [ target/debs/buster/libyang2_2.0.112-6_amd64.deb ]
make: *** [slave.mk:684: target/debs/buster/libyang2_2.0.112-6_amd64.deb] Error 1
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
make[1]: *** [Makefile.work:602: buster] Error 2
make[1]: Leaving directory '/media/mati/Data-Volume-1/Literature/GNS3 Project/SONIC-B2023/sonic-buildimage'
make: *** [Makefile:40: target/sonic-vs.img.gz] Error 2

real 0m47.453s
user 0m0.674s
sys 0m0.216s

@ridahanif96
Copy link
Contributor Author

ridahanif96 commented Dec 20, 2023

What I did:
Cloned build repo, checkout to 202305 branch and then in rules folder edited config file as follows:
INCLUDE_KUBERNETES_MASTER = y && INCLUDE_KUBERNETES = y
then to build these changes:
make init
make configure PLATFORM=vs
time make SONIC_BUILD_JOBS=4 target/sonic-vs.img.gz
I am facing above Errors,
I have Rechecked normal build for Vs platform on 202305 without these changes (in config file), have experience similar make2 error.

@ridahanif96
Copy link
Contributor Author

@losha228 , Hi, I have tried same set of commands for 202211 , it also failed for 202211 Can you please guide!
following are log details:
time make SONIC_BUILD_JOBS=4 target/sonic-vs.img.gz
+++ --- Making target/sonic-vs.img.gz --- +++
./scripts/run_with_retry make EXTRA_DOCKER_TARGETS=sonic-vs.img.gz BLDENV=buster -f Makefile.work buster
./scripts/run_with_retry: line 4: [: : integer expression expected
make[1]: Entering directory '/home/rida-laptop/Music/BuildSONIC/sonic-buildimage'
"SECURE_UPGRADE_PROD_SIGNING_TOOL": ""
~/Music/BuildSONIC/sonic-buildimage/src/sonic-build-hooks ~/Music/BuildSONIC/sonic-buildimage
make[2]: Entering directory '/home/rida-laptop/Music/BuildSONIC/sonic-buildimage/src/sonic-build-hooks'
dpkg-deb: building package 'sonic-build-hooks' in 'buildinfo/sonic-build-hooks_1.0_all.deb'.
make[2]: Leaving directory '/home/rida-laptop/Music/BuildSONIC/sonic-buildimage/src/sonic-build-hooks'
~/Music/BuildSONIC/sonic-buildimage
Checking sonic-slave-base image: sonic-slave-buster:d407eac2d0e
Checking sonic-slave-user image: sonic-slave-buster-rida-laptop:778d47b01f5
slave.mk:259: USERNAME given on command line: could be visible to other users
SONiC Build System

Build Configuration
"CONFIGURED_PLATFORM" : "vs"
"CONFIGURED_ARCH" : "amd64"
"SONIC_CONFIG_PRINT_DEPENDENCIES" : ""
"SONIC_BUILD_JOBS" : "4"
"SONIC_CONFIG_MAKE_JOBS" : "8"
"USE_NATIVE_DOCKERD_FOR_BUILD" : ""
"SONIC_USE_DOCKER_BUILDKIT" : ""
"USERNAME" : "rida-laptop"
"PASSWORD" : "YourPaSsWoRd"
"SECURE_UPGRADE_MODE" : "no_sign"
"SECURE_UPGRADE_DEV_SIGNING_KEY" : ""
"SECURE_UPGRADE_SIGNING_CERT" : ""
"SECURE_UPGRADE_PROD_SIGNING_TOOL": ""
"SECURE_UPGRADE_PROD_TOOL_ARGS" : ""
"ENABLE_DHCP_GRAPH_SERVICE" : ""
"SHUTDOWN_BGP_ON_START" : ""
"ENABLE_PFCWD_ON_START" : ""
"SONIC_BUFFER_MODEL" : ""
"INSTALL_DEBUG_TOOLS" : ""
"ROUTING_STACK" : "frr"
"FRR_USER_UID" : "300"
"FRR_USER_GID" : "300"
"ENABLE_SYNCD_RPC" : ""
"SAITHRIFT_V2" : ""
"ENABLE_ORGANIZATION_EXTENSIONS" : "y"
"HTTP_PROXY" : ""
"HTTPS_PROXY" : ""
"NO_PROXY" : ""
"ENABLE_ZTP" : ""
"INCLUDE_PDE" : ""
"SONIC_DEBUGGING_ON" : ""
"SONIC_PROFILING_ON" : ""
"KERNEL_PROCURE_METHOD" : "build"
"BUILD_TIMESTAMP" : "20231226.104522"
"BUILD_LOG_TIMESTAMP" : "none"
"SONIC_IMAGE_VERSION" : "202211.0-dirty-20231226.104522"
"BLDENV" : "buster"
"VS_PREPARE_MEM" : "yes"
"INCLUDE_MGMT_FRAMEWORK" : "y"
"INCLUDE_ICCPD" : "n"
"INCLUDE_SYSTEM_TELEMETRY" : "y"
"ENABLE_HOST_SERVICE_ON_START" : "y"
"INCLUDE_RESTAPI" : "n"
"INCLUDE_SFLOW" : "y"
"ENABLE_SFLOW_DROPMON" : "n"
"INCLUDE_NAT" : "y"
"INCLUDE_DHCP_RELAY" : "y"
"INCLUDE_P4RT" : "n"
"INCLUDE_KUBERNETES" : "y"
"INCLUDE_KUBERNETES_MASTER" : "y"
"INCLUDE_MACSEC" : "y"
"INCLUDE_MUX" : "y"
"INCLUDE_TEAMD" : "y"
"INCLUDE_ROUTER_ADVERTISER" : "y"
"INCLUDE_BOOTCHART : "y"
"ENABLE_BOOTCHART : "n"
"ENABLE_FIPS_FEATURE" : "y"
"ENABLE_TRANSLIB_WRITE" : ""
"ENABLE_NATIVE_WRITE" : ""
"ENABLE_AUTO_TECH_SUPPORT" : "y"
"PDDF_SUPPORT" : "y"
"MULTIARCH_QEMU_ENVIRON" : "n"
"SONIC_VERSION_CONTROL_COMPONENTS": "none"
"ENABLE_ASAN" : "n"
"DEFAULT_CONTAINER_REGISTRY" : ""
"BUILD_MULTIASIC_KVM" : "n"
"CROSS_BUILD_ENVIRON" : "n"

"SONIC_DPKG_CACHE_METHOD" : "none"

make: Nothing to be done for 'buster'.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
make[1]: Leaving directory '/home/rida-laptop/Music/BuildSONIC/sonic-buildimage'
./scripts/run_with_retry make BLDENV=bullseye -f Makefile.work target/sonic-vs.img.gz
./scripts/run_with_retry: line 4: [: : integer expression expected
make[1]: Entering directory '/home/rida-laptop/Music/BuildSONIC/sonic-buildimage'
"SECURE_UPGRADE_PROD_SIGNING_TOOL": ""
~/Music/BuildSONIC/sonic-buildimage/src/sonic-build-hooks ~/Music/BuildSONIC/sonic-buildimage
make[2]: Entering directory '/home/rida-laptop/Music/BuildSONIC/sonic-buildimage/src/sonic-build-hooks'
dpkg-deb: building package 'sonic-build-hooks' in 'buildinfo/sonic-build-hooks_1.0_all.deb'.
make[2]: Leaving directory '/home/rida-laptop/Music/BuildSONIC/sonic-buildimage/src/sonic-build-hooks'
~/Music/BuildSONIC/sonic-buildimage
Checking sonic-slave-base image: sonic-slave-bullseye:0764f4d2ef5
Checking sonic-slave-user image: sonic-slave-bullseye-rida-laptop:2b92b716a03
slave.mk:259: USERNAME given on command line: could be visible to other users
SONiC Build System

Build Configuration
"CONFIGURED_PLATFORM" : "vs"
"CONFIGURED_ARCH" : "amd64"
"SONIC_CONFIG_PRINT_DEPENDENCIES" : ""
"SONIC_BUILD_JOBS" : "4"
"SONIC_CONFIG_MAKE_JOBS" : "8"
"USE_NATIVE_DOCKERD_FOR_BUILD" : ""
"SONIC_USE_DOCKER_BUILDKIT" : ""
"USERNAME" : "rida-laptop"
"PASSWORD" : "YourPaSsWoRd"
"SECURE_UPGRADE_MODE" : "no_sign"
"SECURE_UPGRADE_DEV_SIGNING_KEY" : ""
"SECURE_UPGRADE_SIGNING_CERT" : ""
"SECURE_UPGRADE_PROD_SIGNING_TOOL": ""
"SECURE_UPGRADE_PROD_TOOL_ARGS" : ""
"ENABLE_DHCP_GRAPH_SERVICE" : ""
"SHUTDOWN_BGP_ON_START" : ""
"ENABLE_PFCWD_ON_START" : ""
"SONIC_BUFFER_MODEL" : ""
"INSTALL_DEBUG_TOOLS" : ""
"ROUTING_STACK" : "frr"
"FRR_USER_UID" : "300"
"FRR_USER_GID" : "300"
"ENABLE_SYNCD_RPC" : ""
"SAITHRIFT_V2" : ""
"ENABLE_ORGANIZATION_EXTENSIONS" : "y"
"HTTP_PROXY" : ""
"HTTPS_PROXY" : ""
"NO_PROXY" : ""
"ENABLE_ZTP" : ""
"INCLUDE_PDE" : ""
"SONIC_DEBUGGING_ON" : ""
"SONIC_PROFILING_ON" : ""
"KERNEL_PROCURE_METHOD" : "build"
"BUILD_TIMESTAMP" : "20231226.104549"
"BUILD_LOG_TIMESTAMP" : "none"
"SONIC_IMAGE_VERSION" : "202211.0-dirty-20231226.104549"
"BLDENV" : "bullseye"
"VS_PREPARE_MEM" : "yes"
"INCLUDE_MGMT_FRAMEWORK" : "y"
"INCLUDE_ICCPD" : "n"
"INCLUDE_SYSTEM_TELEMETRY" : "y"
"ENABLE_HOST_SERVICE_ON_START" : "y"
"INCLUDE_RESTAPI" : "n"
"INCLUDE_SFLOW" : "y"
"ENABLE_SFLOW_DROPMON" : "n"
"INCLUDE_NAT" : "y"
"INCLUDE_DHCP_RELAY" : "y"
"INCLUDE_P4RT" : "n"
"INCLUDE_KUBERNETES" : "y"
"INCLUDE_KUBERNETES_MASTER" : "y"
"INCLUDE_MACSEC" : "y"
"INCLUDE_MUX" : "y"
"INCLUDE_TEAMD" : "y"
"INCLUDE_ROUTER_ADVERTISER" : "y"
"INCLUDE_BOOTCHART : "y"
"ENABLE_BOOTCHART : "n"
"ENABLE_FIPS_FEATURE" : "y"
"ENABLE_TRANSLIB_WRITE" : ""
"ENABLE_NATIVE_WRITE" : ""
"ENABLE_AUTO_TECH_SUPPORT" : "y"
"PDDF_SUPPORT" : "y"
"MULTIARCH_QEMU_ENVIRON" : "n"
"SONIC_VERSION_CONTROL_COMPONENTS": "none"
"ENABLE_ASAN" : "n"
"DEFAULT_CONTAINER_REGISTRY" : ""
"BUILD_MULTIASIC_KVM" : "n"
"CROSS_BUILD_ENVIRON" : "n"

"SONIC_DPKG_CACHE_METHOD" : "none"

basename: missing operand
Try 'basename --help' for more information.
[ FAIL LOG START ] [ target/sonic-vs.img.gz ]
++ '[' -f .arch ']'
++ cat .arch

  • CONFIGURED_ARCH=amd64
  • DOCKER_VERSION=5:20.10.143-0debian-bullseye
  • CONTAINERD_IO_VERSION=1.5.11-1
  • LINUX_KERNEL_VERSION=5.10.0-23-2
  • FILESYSTEM_ROOT=./fsroot
  • PLATFORM_DIR=platform
  • HOSTNAME=sonic
  • DEFAULT_USERINFO='Default admin user,,,'
  • BUILD_TOOL_PATH=src/sonic-build-hooks/buildinfo
  • TRUSTED_GPG_DIR=src/sonic-build-hooks/buildinfo/trusted.gpg.d
  • . ./onie-image.conf
    ++ : 32768
    ++ : x86_64
    ++ : vs
    ++ ONIEIMAGE_VERSION=r0
    ++ FILESYSTEM_ROOT=./fsroot-vs
    ++ FILESYSTEM_SQUASHFS=fs.squashfs
    ++ ONIE_INSTALLER_PAYLOAD=fs.zip
    ++ FILESYSTEM_DOCKERFS=dockerfs.tar.gz
    ++ DOCKERFS_DIR=docker
    ++ DOCKER_RAMFS_SIZE=1500M
    ++ OUTPUT_ONIE_IMAGE=target/sonic-vs.bin
    ++ OUTPUT_RAW_IMAGE=target/sonic-vs.raw
    ++ RAW_IMAGE_DISK_SIZE=4096
    ++ OUTPUT_KVM_IMAGE=target/sonic-vs.img
    ++ KVM_IMAGE_DISK_SIZE=16
    ++ OUTPUT_ABOOT_IMAGE=target/sonic-aboot-vs.swi
    ++ ABOOT_BOOT_IMAGE=.sonic-boot.swi
    ++ OUTPUT_KVM_4ASIC_IMAGE=target/sonic-4asic-vs.img
    ++ OUTPUT_KVM_6ASIC_IMAGE=target/sonic-6asic-vs.img
  • '[' -n 32768 ']'
  • '[' -n fs.zip ']'
  • '[' -n fs.squashfs ']'
  • [[ -d ./fsroot-vs ]]
  • sudo rm -rf ./fsroot-vs
  • mkdir -p ./fsroot-vs
  • mkdir -p ./fsroot-vs/platform
  • mkdir -p ./fsroot-vs/platform/grub
  • touch ./fsroot-vs/platform/firsttime
  • sudo mount proc /proc -t proc
  • pushd ./fsroot-vs
    /sonic/fsroot-vs /sonic
  • sudo mount --bind . .
  • popd
    /sonic
  • echo '[INFO] Build host debian base system...'
    [INFO] Build host debian base system...
  • TARGET_PATH=target
  • scripts/build_debian_base_system.sh amd64 bullseye ./fsroot-vs
    I: Target architecture can be executed
    I: Retrieving InRelease
    I: Checking Release signature
    I: Valid Release signature (key id A4285295FC7B1A81600062A9605C66F00D6C9793)
    I: Retrieving Packages
    I: Validating Packages
    I: Resolving dependencies of required packages...
    I: Resolving dependencies of base packages...
    I: Checking component main on http://deb.debian.org/debian...
    I: Retrieving libacl1 2.2.53-10
    I: Validating libacl1 2.2.53-10
    I: Retrieving adduser 3.118+deb11u1
    I: Validating adduser 3.118+deb11u1
    I: Retrieving apt 2.2.4
    I: Validating apt 2.2.4
    I: Retrieving libapt-pkg6.0 2.2.4
    I: Validating libapt-pkg6.0 2.2.4
    I: Retrieving libattr1 1:2.4.48-6
    I: Validating libattr1 1:2.4.48-6
    I: Retrieving libaudit-common 1:3.0-2
    I: Validating libaudit-common 1:3.0-2
    I: Retrieving libaudit1 1:3.0-2
    I: Validating libaudit1 1:3.0-2
    I: Retrieving base-files 11.1+deb11u8
    I: Validating base-files 11.1+deb11u8
    I: Retrieving base-passwd 3.5.51
    I: Validating base-passwd 3.5.51
    I: Retrieving bash 5.1-2+deb11u1
    I: Validating bash 5.1-2+deb11u1
    I: Retrieving libbz2-1.0 1.0.8-4
    I: Validating libbz2-1.0 1.0.8-4
    I: Retrieving libdebconfclient0 0.260
    I: Validating libdebconfclient0 0.260
    I: Retrieving coreutils 8.32-4+b1
    I: Validating coreutils 8.32-4+b1
    I: Retrieving dash 0.5.11+git20200708+dd9ef66-5
    I: Validating dash 0.5.11+git20200708+dd9ef66-5
    I: Retrieving libdb5.3 5.3.28+dfsg1-0.8
    I: Validating libdb5.3 5.3.28+dfsg1-0.8
    I: Retrieving debconf 1.5.77
    I: Validating debconf 1.5.77
    I: Retrieving debian-archive-keyring 2021.1.1+deb11u1
    I: Validating debian-archive-keyring 2021.1.1+deb11u1
    I: Retrieving debianutils 4.11.2
    I: Validating debianutils 4.11.2
    I: Retrieving diffutils 1:3.7-5
    I: Validating diffutils 1:3.7-5
    I: Retrieving dpkg 1.20.13
    I: Validating dpkg 1.20.13
    I: Retrieving e2fsprogs 1.46.2-2
    I: Validating e2fsprogs 1.46.2-2
    I: Retrieving libcom-err2 1.46.2-2
    I: Validating libcom-err2 1.46.2-2
    I: Retrieving libext2fs2 1.46.2-2
    I: Validating libext2fs2 1.46.2-2
    I: Retrieving libss2 1.46.2-2
    I: Validating libss2 1.46.2-2
    I: Retrieving logsave 1.46.2-2
    I: Validating logsave 1.46.2-2
    I: Retrieving findutils 4.8.0-1
    I: Validating findutils 4.8.0-1
    I: Retrieving gcc-10-base 10.2.1-6
    I: Validating gcc-10-base 10.2.1-6
    I: Retrieving libgcc-s1 10.2.1-6
    I: Validating libgcc-s1 10.2.1-6
    I: Retrieving libstdc++6 10.2.1-6
    I: Validating libstdc++6 10.2.1-6
    I: Retrieving gcc-9-base 9.3.0-22
    I: Validating gcc-9-base 9.3.0-22
    I: Retrieving libc-bin 2.31-13+deb11u6
    I: Validating libc-bin 2.31-13+deb11u6
    I: Retrieving libc6 2.31-13+deb11u6
    I: Validating libc6 2.31-13+deb11u6
    I: Retrieving libgmp10 2:6.2.1+dfsg-1+deb11u1
    I: Validating libgmp10 2:6.2.1+dfsg-1+deb11u1
    I: Retrieving gpgv 2.2.27-2+deb11u2
    I: Validating gpgv 2.2.27-2+deb11u2
    I: Retrieving libgnutls30 3.7.1-5+deb11u3
    I: Validating libgnutls30 3.7.1-5+deb11u3
    I: Retrieving grep 3.6-1+deb11u1
    I: Validating grep 3.6-1+deb11u1
    I: Retrieving gzip 1.10-4+deb11u1
    I: Validating gzip 1.10-4+deb11u1
    I: Retrieving hostname 3.23
    I: Validating hostname 3.23
    I: Retrieving init-system-helpers 1.60
    I: Validating init-system-helpers 1.60
    I: Retrieving libkeyutils1 1.6.1-2
    I: Validating libkeyutils1 1.6.1-2
    I: Retrieving libgssapi-krb5-2 1.18.3-6+deb11u4
    I: Validating libgssapi-krb5-2 1.18.3-6+deb11u4
    I: Retrieving libk5crypto3 1.18.3-6+deb11u4
    I: Validating libk5crypto3 1.18.3-6+deb11u4
    I: Retrieving libkrb5-3 1.18.3-6+deb11u4
    I: Validating libkrb5-3 1.18.3-6+deb11u4
    I: Retrieving libkrb5support0 1.18.3-6+deb11u4
    I: Validating libkrb5support0 1.18.3-6+deb11u4
    I: Retrieving libcap-ng0 0.7.9-2.2+b1
    I: Validating libcap-ng0 0.7.9-2.2+b1
    I: Retrieving libffi7 3.3-6
    I: Validating libffi7 3.3-6
    I: Retrieving libgcrypt20 1.8.7-6
    I: Validating libgcrypt20 1.8.7-6
    I: Retrieving libgpg-error0 1.38-2
    I: Validating libgpg-error0 1.38-2
    I: Retrieving libidn2-0 2.3.0-5
    I: Validating libidn2-0 2.3.0-5
    I: Retrieving libnsl2 1.3.0-2
    I: Validating libnsl2 1.3.0-2
    I: Retrieving libseccomp2 2.5.1-1+deb11u1
    I: Validating libseccomp2 2.5.1-1+deb11u1
    I: Retrieving libselinux1 3.1-3
    I: Validating libselinux1 3.1-3
    I: Retrieving libsemanage-common 3.1-1
    I: Validating libsemanage-common 3.1-1
    I: Retrieving libsemanage1 3.1-1+b2
    I: Validating libsemanage1 3.1-1+b2
    I: Retrieving libsepol1 3.1-1
    I: Validating libsepol1 3.1-1
    I: Retrieving libtasn1-6 4.16.0-2+deb11u1
    I: Validating libtasn1-6 4.16.0-2+deb11u1
    I: Retrieving libtirpc-common 1.3.1-1+deb11u1
    I: Validating libtirpc-common 1.3.1-1+deb11u1
    I: Retrieving libtirpc3 1.3.1-1+deb11u1
    I: Validating libtirpc3 1.3.1-1+deb11u1
    I: Retrieving libunistring2 0.9.10-4
    I: Validating libunistring2 0.9.10-4
    I: Retrieving libcrypt1 1:4.4.18-4
    I: Validating libcrypt1 1:4.4.18-4
    I: Retrieving libzstd1 1.4.8+dfsg-2.1
    I: Validating libzstd1 1.4.8+dfsg-2.1
    I: Retrieving lsb-base 11.1.0
    I: Validating lsb-base 11.1.0
    I: Retrieving liblz4-1 1.9.3-2
    I: Validating liblz4-1 1.9.3-2
    I: Retrieving mawk 1.3.4.20200120-2
    I: Validating mawk 1.3.4.20200120-2
    I: Retrieving libtinfo6 6.2+20201114-2+deb11u2
    I: Validating libtinfo6 6.2+20201114-2+deb11u2
    I: Retrieving ncurses-base 6.2+20201114-2+deb11u2
    I: Validating ncurses-base 6.2+20201114-2+deb11u2
    I: Retrieving ncurses-bin 6.2+20201114-2+deb11u2
    I: Validating ncurses-bin 6.2+20201114-2+deb11u2
    I: Retrieving libhogweed6 3.7.3-1
    I: Validating libhogweed6 3.7.3-1
    I: Retrieving libnettle8 3.7.3-1
    I: Validating libnettle8 3.7.3-1
    I: Retrieving libssl1.1 1.1.1w-0+deb11u1
    I: Validating libssl1.1 1.1.1w-0+deb11u1
    I: Retrieving libp11-kit0 0.23.22-1
    I: Validating libp11-kit0 0.23.22-1
    I: Retrieving libpam-modules 1.4.0-9+deb11u1
    I: Validating libpam-modules 1.4.0-9+deb11u1
    I: Retrieving libpam-modules-bin 1.4.0-9+deb11u1
    I: Validating libpam-modules-bin 1.4.0-9+deb11u1
    I: Retrieving libpam-runtime 1.4.0-9+deb11u1
    I: Validating libpam-runtime 1.4.0-9+deb11u1
    I: Retrieving libpam0g 1.4.0-9+deb11u1
    I: Validating libpam0g 1.4.0-9+deb11u1
    I: Retrieving libpcre2-8-0 10.36-2+deb11u1
    I: Validating libpcre2-8-0 10.36-2+deb11u1
    I: Retrieving libpcre3 2:8.39-13
    I: Validating libpcre3 2:8.39-13
    I: Retrieving perl-base 5.32.1-4+deb11u2
    I: Validating perl-base 5.32.1-4+deb11u2
    I: Retrieving sed 4.7-1
    I: Validating sed 4.7-1
    I: Retrieving login 1:4.8.1-1
    I: Validating login 1:4.8.1-1
    I: Retrieving passwd 1:4.8.1-1
    I: Validating passwd 1:4.8.1-1
    I: Retrieving libsystemd0 247.3-7+deb11u4
    I: Validating libsystemd0 247.3-7+deb11u4
    I: Retrieving libudev1 247.3-7+deb11u4
    I: Validating libudev1 247.3-7+deb11u4
    I: Retrieving sysvinit-utils 2.96-7+deb11u1
    I: Validating sysvinit-utils 2.96-7+deb11u1
    I: Retrieving tar 1.34+dfsg-1
    I: Validating tar 1.34+dfsg-1
    I: Retrieving tzdata 2021a-1+deb11u10
    I: Validating tzdata 2021a-1+deb11u10
    I: Retrieving bsdutils 1:2.36.1-8+deb11u1
    I: Validating bsdutils 1:2.36.1-8+deb11u1
    I: Retrieving libblkid1 2.36.1-8+deb11u1
    I: Validating libblkid1 2.36.1-8+deb11u1
    I: Retrieving libmount1 2.36.1-8+deb11u1
    I: Validating libmount1 2.36.1-8+deb11u1
    I: Retrieving libsmartcols1 2.36.1-8+deb11u1
    I: Validating libsmartcols1 2.36.1-8+deb11u1
    I: Retrieving libuuid1 2.36.1-8+deb11u1
    I: Validating libuuid1 2.36.1-8+deb11u1
    I: Retrieving mount 2.36.1-8+deb11u1
    I: Validating mount 2.36.1-8+deb11u1
    I: Retrieving util-linux 2.36.1-8+deb11u1
    I: Validating util-linux 2.36.1-8+deb11u1
    I: Retrieving libxxhash0 0.8.0-2
    I: Validating libxxhash0 0.8.0-2
    I: Retrieving liblzma5 5.2.5-2.1deb11u1
    I: Validating liblzma5 5.2.5-2.1
    deb11u1
    I: Retrieving zlib1g 1:1.2.11.dfsg-2+deb11u2
    I: Validating zlib1g 1:1.2.11.dfsg-2+deb11u2
    I: Chosen extractor for .deb packages: dpkg-deb
    I: Extracting libacl1...
    I: Extracting adduser...
    I: Extracting apt...
    I: Extracting libapt-pkg6.0...
    I: Extracting libattr1...
    I: Extracting libaudit-common...
    I: Extracting libaudit1...
    I: Extracting base-files...
    I: Extracting base-passwd...
    I: Extracting bash...
    I: Extracting libbz2-1.0...
    I: Extracting libdebconfclient0...
    I: Extracting coreutils...
    I: Extracting dash...
    I: Extracting libdb5.3...
    I: Extracting debconf...
    I: Extracting debian-archive-keyring...
    I: Extracting debianutils...
    I: Extracting diffutils...
    I: Extracting dpkg...
    I: Extracting e2fsprogs...
    I: Extracting libcom-err2...
    I: Extracting libext2fs2...
    I: Extracting libss2...
    I: Extracting logsave...
    I: Extracting findutils...
    I: Extracting gcc-10-base...
    I: Extracting libgcc-s1...
    I: Extracting libstdc++6...
    I: Extracting gcc-9-base...
    I: Extracting libc-bin...
    I: Extracting libc6...
    I: Extracting libgmp10...
    I: Extracting gpgv...
    I: Extracting libgnutls30...
    I: Extracting grep...
    I: Extracting gzip...
    I: Extracting hostname...
    I: Extracting init-system-helpers...
    I: Extracting libkeyutils1...
    I: Extracting libgssapi-krb5-2...
    I: Extracting libk5crypto3...
    I: Extracting libkrb5-3...
    I: Extracting libkrb5support0...
    I: Extracting libcap-ng0...
    I: Extracting libffi7...
    I: Extracting libgcrypt20...
    I: Extracting libgpg-error0...
    I: Extracting libidn2-0...
    I: Extracting libnsl2...
    I: Extracting libseccomp2...
    I: Extracting libselinux1...
    I: Extracting libsemanage-common...
    I: Extracting libsemanage1...
    I: Extracting libsepol1...
    I: Extracting libtasn1-6...
    I: Extracting libtirpc-common...
    I: Extracting libtirpc3...
    I: Extracting libunistring2...
    I: Extracting libcrypt1...
    I: Extracting libzstd1...
    I: Extracting lsb-base...
    I: Extracting liblz4-1...
    I: Extracting mawk...
    I: Extracting libtinfo6...
    I: Extracting ncurses-base...
    I: Extracting ncurses-bin...
    I: Extracting libhogweed6...
    I: Extracting libnettle8...
    I: Extracting libssl1.1...
    I: Extracting libp11-kit0...
    I: Extracting libpam-modules...
    I: Extracting libpam-modules-bin...
    I: Extracting libpam-runtime...
    I: Extracting libpam0g...
    I: Extracting libpcre2-8-0...
    I: Extracting libpcre3...
    I: Extracting perl-base...
    I: Extracting sed...
    I: Extracting login...
    I: Extracting passwd...
    I: Extracting libsystemd0...
    I: Extracting libudev1...
    I: Extracting sysvinit-utils...
    I: Extracting tar...
    I: Extracting tzdata...
    I: Extracting bsdutils...
    I: Extracting libblkid1...
    I: Extracting libmount1...
    I: Extracting libsmartcols1...
    I: Extracting libuuid1...
    I: Extracting mount...
    I: Extracting util-linux...
    I: Extracting libxxhash0...
    I: Extracting liblzma5...
    I: Extracting zlib1g...
    I: Installing core packages...
    I: Unpacking required packages...
    I: Unpacking libacl1:amd64...
    I: Unpacking adduser...
    I: Unpacking apt...
    I: Unpacking libapt-pkg6.0:amd64...
    I: Unpacking libattr1:amd64...
    I: Unpacking libaudit-common...
    I: Unpacking libaudit1:amd64...
    I: Unpacking base-files...
    I: Unpacking base-passwd...
    I: Unpacking bash...
    I: Unpacking libbz2-1.0:amd64...
    I: Unpacking libdebconfclient0:amd64...
    I: Unpacking coreutils...
    I: Unpacking dash...
    I: Unpacking libdb5.3:amd64...
    I: Unpacking debconf...
    I: Unpacking debian-archive-keyring...
    I: Unpacking debianutils...
    I: Unpacking diffutils...
    I: Unpacking dpkg...
    I: Unpacking e2fsprogs...
    I: Unpacking libcom-err2:amd64...
    I: Unpacking libext2fs2:amd64...
    I: Unpacking libss2:amd64...
    I: Unpacking logsave...
    I: Unpacking findutils...
    I: Unpacking gcc-10-base:amd64...
    I: Unpacking libgcc-s1:amd64...
    I: Unpacking libstdc++6:amd64...
    I: Unpacking gcc-9-base:amd64...
    I: Unpacking libc-bin...
    I: Unpacking libc6:amd64...
    I: Unpacking libgmp10:amd64...
    I: Unpacking gpgv...
    I: Unpacking libgnutls30:amd64...
    I: Unpacking grep...
    I: Unpacking gzip...
    I: Unpacking hostname...
    I: Unpacking init-system-helpers...
    I: Unpacking libkeyutils1:amd64...
    I: Unpacking libgssapi-krb5-2:amd64...
    I: Unpacking libk5crypto3:amd64...
    I: Unpacking libkrb5-3:amd64...
    I: Unpacking libkrb5support0:amd64...
    I: Unpacking libcap-ng0:amd64...
    I: Unpacking libffi7:amd64...
    I: Unpacking libgcrypt20:amd64...
    I: Unpacking libgpg-error0:amd64...
    I: Unpacking libidn2-0:amd64...
    I: Unpacking libnsl2:amd64...
    I: Unpacking libseccomp2:amd64...
    I: Unpacking libselinux1:amd64...
    I: Unpacking libsemanage-common...
    I: Unpacking libsemanage1:amd64...
    I: Unpacking libsepol1:amd64...
    I: Unpacking libtasn1-6:amd64...
    I: Unpacking libtirpc-common...
    I: Unpacking libtirpc3:amd64...
    I: Unpacking libunistring2:amd64...
    I: Unpacking libcrypt1:amd64...
    I: Unpacking libzstd1:amd64...
    I: Unpacking lsb-base...
    I: Unpacking liblz4-1:amd64...
    I: Unpacking mawk...
    I: Unpacking libtinfo6:amd64...
    I: Unpacking ncurses-base...
    I: Unpacking ncurses-bin...
    I: Unpacking libhogweed6:amd64...
    I: Unpacking libnettle8:amd64...
    I: Unpacking libssl1.1:amd64...
    I: Unpacking libp11-kit0:amd64...
    I: Unpacking libpam-modules:amd64...
    I: Unpacking libpam-modules-bin...
    I: Unpacking libpam-runtime...
    I: Unpacking libpam0g:amd64...
    I: Unpacking libpcre2-8-0:amd64...
    I: Unpacking libpcre3:amd64...
    I: Unpacking perl-base...
    I: Unpacking sed...
    I: Unpacking login...
    I: Unpacking passwd...
    I: Unpacking libsystemd0:amd64...
    I: Unpacking libudev1:amd64...
    I: Unpacking sysvinit-utils...
    I: Unpacking tar...
    I: Unpacking tzdata...
    I: Unpacking bsdutils...
    I: Unpacking libblkid1:amd64...
    I: Unpacking libmount1:amd64...
    I: Unpacking libsmartcols1:amd64...
    I: Unpacking libuuid1:amd64...
    I: Unpacking mount...
    I: Unpacking util-linux...
    I: Unpacking libxxhash0:amd64...
    I: Unpacking liblzma5:amd64...
    I: Unpacking zlib1g:amd64...
    I: Configuring required packages...
    I: Configuring lsb-base...
    I: Configuring libtirpc-common...
    I: Configuring debian-archive-keyring...
    I: Configuring libaudit-common...
    I: Configuring libsemanage-common...
    I: Configuring gcc-10-base:amd64...
    I: Configuring ncurses-base...
    I: Configuring gcc-9-base:amd64...
    I: Configuring libcrypt1:amd64...
    I: Configuring libgcc-s1:amd64...
    I: Configuring libc6:amd64...
    I: Configuring libudev1:amd64...
    I: Configuring libsepol1:amd64...
    I: Configuring libxxhash0:amd64...
    I: Configuring libattr1:amd64...
    I: Configuring sysvinit-utils...
    I: Configuring libtasn1-6:amd64...
    I: Configuring debianutils...
    I: Configuring mawk...
    I: Configuring libdebconfclient0:amd64...
    I: Configuring base-files...
    I: Configuring libbz2-1.0:amd64...
    I: Configuring base-passwd...
    I: Configuring libdb5.3:amd64...
    I: Configuring libblkid1:amd64...
    I: Configuring libstdc++6:amd64...
    I: Configuring libtinfo6:amd64...
    I: Configuring bash...
    I: Configuring libzstd1:amd64...
    I: Configuring libkeyutils1:amd64...
    I: Configuring liblzma5:amd64...
    I: Configuring libgpg-error0:amd64...
    I: Configuring liblz4-1:amd64...
    I: Configuring libc-bin...
    I: Configuring ncurses-bin...
    I: Configuring libffi7:amd64...
    I: Configuring libacl1:amd64...
    I: Configuring libunistring2:amd64...
    I: Configuring libsmartcols1:amd64...
    I: Configuring libgcrypt20:amd64...
    I: Configuring zlib1g:amd64...
    I: Configuring libidn2-0:amd64...
    I: Configuring libcom-err2:amd64...
    I: Configuring diffutils...
    I: Configuring libseccomp2:amd64...
    I: Configuring libsystemd0:amd64...
    I: Configuring libkrb5support0:amd64...
    I: Configuring hostname...
    I: Configuring libpcre3:amd64...
    I: Configuring libcap-ng0:amd64...
    I: Configuring libext2fs2:amd64...
    I: Configuring libnettle8:amd64...
    I: Configuring libapt-pkg6.0:amd64...
    I: Configuring libgmp10:amd64...
    I: Configuring libp11-kit0:amd64...
    I: Configuring libaudit1:amd64...
    I: Configuring libuuid1:amd64...
    I: Configuring libss2:amd64...
    I: Configuring libpcre2-8-0:amd64...
    I: Configuring libk5crypto3:amd64...
    I: Configuring logsave...
    I: Configuring gpgv...
    I: Configuring libhogweed6:amd64...
    I: Configuring bsdutils...
    I: Configuring e2fsprogs...
    I: Configuring libselinux1:amd64...
    I: Configuring libgnutls30:amd64...
    I: Configuring sed...
    I: Configuring findutils...
    I: Configuring libmount1:amd64...
    I: Configuring libsemanage1:amd64...
    I: Configuring tar...
    I: Configuring coreutils...
    I: Configuring dpkg...
    I: Configuring grep...
    I: Configuring perl-base...
    I: Configuring init-system-helpers...
    I: Configuring gzip...
    I: Configuring debconf...
    I: Configuring tzdata...
    I: Configuring libpam0g:amd64...
    I: Configuring dash...
    I: Configuring libssl1.1:amd64...
    I: Configuring libpam-modules-bin...
    I: Configuring libkrb5-3:amd64...
    I: Configuring libgssapi-krb5-2:amd64...
    I: Configuring libtirpc3:amd64...
    I: Configuring libnsl2:amd64...
    I: Configuring libpam-modules:amd64...
    I: Configuring passwd...
    I: Configuring libpam-runtime...
    I: Configuring login...
    I: Configuring adduser...
    I: Configuring apt...
    I: Configuring util-linux...
    I: Configuring mount...
    I: Configuring libc-bin...
    I: Unpacking the base system...
    I: Base system installed successfully.
  • sudo scripts/prepare_debian_image_buildinfo.sh amd64 bullseye ./fsroot-vs
    Selecting previously unselected package sonic-build-hooks.
    (Reading database ... 6664 files and directories currently installed.)
    Preparing to unpack .../sonic-build-hooks_1.0_all.deb ...
    Unpacking sonic-build-hooks (1.0) ...
    Setting up sonic-build-hooks (1.0) ...
    /usr/sbin/collect_version_files: line 26: /dev/fd/63: No such file or directory
    Hit:1 http://deb.debian.org/debian bullseye InRelease
    Get:2 http://deb.debian.org/debian bullseye/main Translation-en [6236 kB]
    Fetched 6236 kB in 11s (543 kB/s)
    Reading package lists...
    Reading package lists...
    Building dependency tree...
    The following additional packages will be installed:
    libpopt0
    Suggested packages:
    openssh-client openssh-server python3
    The following NEW packages will be installed:
    libpopt0 rsync
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 446 kB of archives.
    After this operation, 987 kB of additional disk space will be used.
    Get:1 http://deb.debian.org/debian bullseye/main amd64 libpopt0 amd64 1.18-2 [49.6 kB]
    Get:2 http://deb.debian.org/debian bullseye/main amd64 rsync amd64 3.2.3-4+deb11u1 [396 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 446 kB in 1s (301 kB/s)
    E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
    Selecting previously unselected package libpopt0:amd64.
    (Reading database ... 6689 files and directories currently installed.)
    Preparing to unpack .../libpopt0_1.18-2_amd64.deb ...
    Unpacking libpopt0:amd64 (1.18-2) ...
    Selecting previously unselected package rsync.
    Preparing to unpack .../rsync_3.2.3-4+deb11u1_amd64.deb ...
    Unpacking rsync (3.2.3-4+deb11u1) ...
    Setting up libpopt0:amd64 (1.18-2) ...
    Setting up rsync (3.2.3-4+deb11u1) ...
    invoke-rc.d: could not determine current runlevel
    invoke-rc.d: WARNING: No init system and policy-rc.d missing! Defaulting to block.
    Processing triggers for libc-bin (2.31-13+deb11u6) ...
  • sudo chown root:root ./fsroot-vs
  • sudo LANG=C chroot ./fsroot-vs /bin/bash -c 'echo '''sonic''' > /etc/hostname'
  • sudo LANG=C chroot ./fsroot-vs /bin/bash -c 'echo '''127.0.0.1 sonic''' >> /etc/hosts'
  • sudo LANG=C chroot ./fsroot-vs /bin/bash -c 'echo '''127.0.0.1 localhost''' >> /etc/hosts'
  • sudo LANG=C chroot ./fsroot-vs /bin/bash -c 'echo "proc /proc proc defaults 0 0" >> /etc/fstab'
  • sudo LANG=C chroot ./fsroot-vs /bin/bash -c 'echo "sysfs /sys sysfs defaults 0 0" >> /etc/fstab'
  • '[' -n '' ']'
  • trap_push 'sudo LANG=C chroot $FILESYSTEM_ROOT umount /proc || true'
  • local oldcmd=true
  • local 'newcmd=sudo LANG=C chroot $FILESYSTEM_ROOT umount /proc || true; true'
  • trap -- 'sudo LANG=C chroot $FILESYSTEM_ROOT umount /proc || true; true' EXIT INT TERM HUP
  • _trap_push 'sudo LANG=C chroot $FILESYSTEM_ROOT umount /proc || true; true'
  • local 'next=sudo LANG=C chroot $FILESYSTEM_ROOT umount /proc || true; true'
    ++ echo 'sudo LANG=C chroot $FILESYSTEM_ROOT umount /proc || true; true'
    ++ sed -e 's/'''/'''\''''''/g'
  • eval 'trap_push() {
    local oldcmd='''sudo LANG=C chroot $FILESYSTEM_ROOT umount /proc || true; true'''
    local newcmd="$1; $oldcmd"
    trap -- "$newcmd" EXIT INT TERM HUP
    _trap_push "$newcmd"
    }'
  • sudo LANG=C chroot ./fsroot-vs mount proc /proc -t proc
  • echo '[INFO] Mount all'
    [INFO] Mount all
  • sudo LANG=C chroot ./fsroot-vs mount
    /dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro)
    proc on /proc type proc (rw,relatime)
  • '[' -d src/sonic-build-hooks/buildinfo/trusted.gpg.d ']'
  • scripts/build_mirror_config.sh files/apt amd64 bullseye
  • sudo cp files/apt/sources.list.amd64 ./fsroot-vs/etc/apt/sources.list
  • sudo cp files/apt/apt.conf.d/81norecommends files/apt/apt.conf.d/apt-clean files/apt/apt.conf.d/apt-gzip-indexes files/apt/apt.conf.d/apt-no-languages files/apt/apt.conf.d/no-check-valid-until files/apt/apt.conf.d/apt-multiple-retries ./fsroot-vs/etc/apt/apt.conf.d/
  • sudo LANG=C chroot ./fsroot-vs apt-get -y update
    Get:1 http://debian-archive.trafficmanager.net/debian bullseye InRelease [116 kB]
    Get:2 http://debian-archive.trafficmanager.net/debian bullseye-updates InRelease [44.1 kB]
    Get:3 http://debian-archive.trafficmanager.net/debian bullseye-backports InRelease [49.0 kB]
    Get:4 http://debian-archive.trafficmanager.net/debian-security bullseye-security InRelease [48.4 kB]
    Get:5 http://debian-archive.trafficmanager.net/debian bullseye/non-free Sources [98.3 kB]
    Get:6 http://debian-archive.trafficmanager.net/debian bullseye/main Sources [11.4 MB]
    Get:7 http://debian-archive.trafficmanager.net/debian bullseye/contrib Sources [51.4 kB]
    Get:8 http://debian-archive.trafficmanager.net/debian bullseye/non-free amd64 Packages [122 kB]
    Get:9 http://debian-archive.trafficmanager.net/debian bullseye/contrib amd64 Packages [61.0 kB]
    Get:10 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 Packages [11.1 MB]
    Get:11 http://debian-archive.trafficmanager.net/debian bullseye-updates/main Sources [7428 B]
    Get:12 http://debian-archive.trafficmanager.net/debian bullseye-updates/main amd64 Packages [17.7 kB]
    Get:13 http://debian-archive.trafficmanager.net/debian bullseye-backports/contrib amd64 Packages [5968 B]
    Get:14 http://debian-archive.trafficmanager.net/debian bullseye-backports/main amd64 Packages [402 kB]
    Get:15 http://debian-archive.trafficmanager.net/debian bullseye-backports/non-free amd64 Packages [13.9 kB]
    Get:16 http://debian-archive.trafficmanager.net/debian-security bullseye-security/non-free Sources [718 B]
    Get:17 http://debian-archive.trafficmanager.net/debian-security bullseye-security/main Sources [210 kB]
    Get:18 http://debian-archive.trafficmanager.net/debian-security bullseye-security/main amd64 Packages [339 kB]
    Get:19 http://debian-archive.trafficmanager.net/debian-security bullseye-security/non-free amd64 Packages [608 B]
    Fetched 24.1 MB in 18s (1322 kB/s)
    Reading package lists...
  • sudo LANG=C chroot ./fsroot-vs apt-get -y upgrade
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Calculating upgrade...
    The following packages will be upgraded:
    libc-bin libc6 tzdata
    3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 3938 kB of archives.
    After this operation, 2048 B of additional disk space will be used.
    Get:1 http://debian-archive.trafficmanager.net/debian-security bullseye-security/main amd64 libc6 amd64 2.31-13+deb11u7 [2823 kB]
    Get:2 http://debian-archive.trafficmanager.net/debian-security bullseye-security/main amd64 libc-bin amd64 2.31-13+deb11u7 [829 kB]
    Get:3 http://debian-archive.trafficmanager.net/debian bullseye-updates/main amd64 tzdata all 2021a-1+deb11u11 [287 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 3938 kB in 7s (546 kB/s)
    E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
    (Reading database ... 6764 files and directories currently installed.)
    Preparing to unpack .../libc6_2.31-13+deb11u7_amd64.deb ...
    debconf: unable to initialize frontend: Dialog
    debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
    debconf: falling back to frontend: Readline
    debconf: unable to initialize frontend: Readline
    debconf: (Can't locate Term/ReadLine.pm in @inc (you may need to install the Term::ReadLine module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
    debconf: falling back to frontend: Teletype
    debconf: unable to initialize frontend: Dialog
    debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
    debconf: falling back to frontend: Readline
    debconf: unable to initialize frontend: Readline
    debconf: (Can't locate Term/ReadLine.pm in @inc (you may need to install the Term::ReadLine module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
    debconf: falling back to frontend: Teletype
    Unpacking libc6:amd64 (2.31-13+deb11u7) over (2.31-13+deb11u6) ...
    Setting up libc6:amd64 (2.31-13+deb11u7) ...
    debconf: unable to initialize frontend: Dialog
    debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
    debconf: falling back to frontend: Readline
    debconf: unable to initialize frontend: Readline
    debconf: (Can't locate Term/ReadLine.pm in @inc (you may need to install the Term::ReadLine module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
    debconf: falling back to frontend: Teletype
    (Reading database ... 6764 files and directories currently installed.)
    Preparing to unpack .../libc-bin_2.31-13+deb11u7_amd64.deb ...
    Unpacking libc-bin (2.31-13+deb11u7) over (2.31-13+deb11u6) ...
    Setting up libc-bin (2.31-13+deb11u7) ...
    (Reading database ... 6764 files and directories currently installed.)
    Preparing to unpack .../tzdata_2021a-1+deb11u11_all.deb ...
    Unpacking tzdata (2021a-1+deb11u11) over (2021a-1+deb11u10) ...
    Setting up tzdata (2021a-1+deb11u11) ...
    debconf: unable to initialize frontend: Dialog
    debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
    debconf: falling back to frontend: Readline
    debconf: unable to initialize frontend: Readline
    debconf: (Can't locate Term/ReadLine.pm in @inc (you may need to install the Term::ReadLine module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
    debconf: falling back to frontend: Teletype

Current default time zone: 'Etc/UTC'
Local time is now: Tue Dec 26 05:49:59 UTC 2023.
Universal Time is now: Tue Dec 26 05:49:59 UTC 2023.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

  • echo '[INFO] Install and setup eatmydata'
    [INFO] Install and setup eatmydata
  • sudo LANG=C chroot ./fsroot-vs apt-get -y install eatmydata
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following additional packages will be installed:
    libeatmydata1
    The following NEW packages will be installed:
    eatmydata libeatmydata1
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 31.6 kB of archives.
    After this operation, 74.8 kB of additional disk space will be used.
    Get:1 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libeatmydata1 amd64 105-9 [15.5 kB]
    Get:2 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 eatmydata all 105-9 [16.2 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 31.6 kB in 1s (29.1 kB/s)
    E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
    Selecting previously unselected package libeatmydata1:amd64.
    (Reading database ... 6764 files and directories currently installed.)
    Preparing to unpack .../libeatmydata1_105-9_amd64.deb ...
    Unpacking libeatmydata1:amd64 (105-9) ...
    Selecting previously unselected package eatmydata.
    Preparing to unpack .../eatmydata_105-9_all.deb ...
    Unpacking eatmydata (105-9) ...
    Setting up libeatmydata1:amd64 (105-9) ...
    Setting up eatmydata (105-9) ...
    Processing triggers for libc-bin (2.31-13+deb11u7) ...
  • sudo LANG=C chroot ./fsroot-vs ln -s /usr/bin/eatmydata /usr/local/bin/dpkg
  • echo 'Dir::Bin::dpkg "/usr/local/bin/dpkg";'
  • sudo tee ./fsroot-vs/etc/apt/apt.conf.d/00image-install-eatmydata
  • echo '[INFO] Install packages for building image'
    [INFO] Install packages for building image
  • sudo LANG=C chroot ./fsroot-vs apt-get -y install makedev psmisc
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following NEW packages will be installed:
    makedev psmisc
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 238 kB of archives.
    After this operation, 911 kB of additional disk space will be used.
    Get:1 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 makedev all 2.3.1-94.1 [40.2 kB]
    Get:2 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 psmisc amd64 23.4-2 [198 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 238 kB in 1s (185 kB/s)
    E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
    Selecting previously unselected package makedev.
    (Reading database ... 6779 files and directories currently installed.)
    Preparing to unpack .../makedev_2.3.1-94.1_all.deb ...
    Unpacking makedev (2.3.1-94.1) ...
    Selecting previously unselected package psmisc.
    Preparing to unpack .../psmisc_23.4-2_amd64.deb ...
    Unpacking psmisc (23.4-2) ...
    Setting up psmisc (23.4-2) ...
    Setting up makedev (2.3.1-94.1) ...
  • [[ n == y ]]
  • echo '[INFO] MAKEDEV'
    [INFO] MAKEDEV
  • [[ amd64 == armhf ]]
  • [[ amd64 == arm64 ]]
  • sudo LANG=C chroot ./fsroot-vs /bin/bash -c 'cd /dev && MAKEDEV generic'
  • sudo LANG=C chroot ./fsroot-vs apt-get -y install busybox linux-base
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following NEW packages will be installed:
    busybox linux-base
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 467 kB of archives.
    After this operation, 880 kB of additional disk space will be used.
    Get:1 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 busybox amd64 1:1.30.1-6+b3 [435 kB]
    Get:2 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 linux-base all 4.6 [32.4 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 467 kB in 1s (409 kB/s)
    E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
    Selecting previously unselected package busybox.
    (Reading database ... 6869 files and directories currently installed.)
    Preparing to unpack .../busybox_1%3a1.30.1-6+b3_amd64.deb ...
    Unpacking busybox (1:1.30.1-6+b3) ...
    Selecting previously unselected package linux-base.
    Preparing to unpack .../linux-base_4.6_all.deb ...
    Unpacking linux-base (4.6) ...
    Setting up linux-base (4.6) ...
    debconf: unable to initialize frontend: Dialog
    debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
    debconf: falling back to frontend: Readline
    debconf: unable to initialize frontend: Readline
    debconf: (Can't locate Term/ReadLine.pm in @inc (you may need to install the Term::ReadLine module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
    debconf: falling back to frontend: Teletype
    Setting up busybox (1:1.30.1-6+b3) ...
  • echo '[INFO] Install SONiC linux kernel image'
    [INFO] Install SONiC linux kernel image
  • sudo dpkg --root=./fsroot-vs -i target/debs/bullseye/initramfs-tools-core_0.140_all.deb
    Selecting previously unselected package initramfs-tools-core.
    (Reading database ... 6900 files and directories currently installed.)
    Preparing to unpack .../initramfs-tools-core_0.140_all.deb ...
    Unpacking initramfs-tools-core (0.140) ...
    dpkg: dependency problems prevent configuration of initramfs-tools-core:
    initramfs-tools-core depends on klibc-utils (>= 2.0.4-8~); however:
    Package klibc-utils is not installed.
    initramfs-tools-core depends on cpio (>= 2.12); however:
    Package cpio is not installed.
    initramfs-tools-core depends on kmod; however:
    Package kmod is not installed.
    initramfs-tools-core depends on udev; however:
    Package udev is not installed.

dpkg: error processing package initramfs-tools-core (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
initramfs-tools-core

  • sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot ./fsroot-vs apt-get -y install -f
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Correcting dependencies... Done
    The following additional packages will be installed:
    cpio klibc-utils kmod libklibc libkmod2 udev
    Suggested packages:
    libarchive-dev
    The following NEW packages will be installed:
    cpio klibc-utils kmod libklibc libkmod2 udev
    0 upgraded, 6 newly installed, 0 to remove and 1 not upgraded.
    1 not fully installed or removed.
    Need to get 2009 kB of archives.
    After this operation, 11.4 MB of additional disk space will be used.
    Get:1 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libklibc amd64 2.0.8-6.1 [56.6 kB]
    Get:2 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 klibc-utils amd64 2.0.8-6.1 [94.4 kB]
    Get:3 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 cpio amd64 2.13+dfsg-7.1deb11u1 [245 kB]
    Get:4 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libkmod2 amd64 28-1 [55.6 kB]
    Get:5 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 kmod amd64 28-1 [92.8 kB]
    Get:6 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 udev amd64 247.3-7+deb11u4 [1464 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 2009 kB in 2s (1135 kB/s)
    E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
    Selecting previously unselected package libklibc:amd64.
    (Reading database ... 6952 files and directories currently installed.)
    Preparing to unpack .../0-libklibc_2.0.8-6.1_amd64.deb ...
    Unpacking libklibc:amd64 (2.0.8-6.1) ...
    Selecting previously unselected package klibc-utils.
    Preparing to unpack .../1-klibc-utils_2.0.8-6.1_amd64.deb ...
    Unpacking klibc-utils (2.0.8-6.1) ...
    Selecting previously unselected package cpio.
    Preparing to unpack .../2-cpio_2.13+dfsg-7.1
    deb11u1_amd64.deb ...
    Unpacking cpio (2.13+dfsg-7.1deb11u1) ...
    Selecting previously unselected package libkmod2:amd64.
    Preparing to unpack .../3-libkmod2_28-1_amd64.deb ...
    Unpacking libkmod2:amd64 (28-1) ...
    Selecting previously unselected package kmod.
    Preparing to unpack .../4-kmod_28-1_amd64.deb ...
    Unpacking kmod (28-1) ...
    Selecting previously unselected package udev.
    Preparing to unpack .../5-udev_247.3-7+deb11u4_amd64.deb ...
    Unpacking udev (247.3-7+deb11u4) ...
    Setting up cpio (2.13+dfsg-7.1
    deb11u1) ...
    update-alternatives: using /bin/mt-gnu to provide /bin/mt (mt) in auto mode
    Setting up libklibc:amd64 (2.0.8-6.1) ...
    Setting up klibc-utils (2.0.8-6.1) ...
    No diversion 'diversion of /usr/share/initramfs-tools/hooks/klibc to /usr/share/initramfs-tools/hooks/klibc^i-t by klibc-utils', none removed.
    Setting up libkmod2:amd64 (28-1) ...
    Setting up kmod (28-1) ...
    Setting up udev (247.3-7+deb11u4) ...
    A chroot environment has been detected, udev not started.
    Setting up initramfs-tools-core (0.140) ...
    Processing triggers for libc-bin (2.31-13+deb11u7) ...
  • sudo dpkg --root=./fsroot-vs -i target/debs/bullseye/initramfs-tools_0.140_all.deb
    Selecting previously unselected package initramfs-tools.
    (Reading database ... 7187 files and directories currently installed.)
    Preparing to unpack .../initramfs-tools_0.140_all.deb ...
    Unpacking initramfs-tools (0.140) ...
    Setting up initramfs-tools (0.140) ...

Configuration file '/etc/initramfs-tools/update-initramfs.conf', does not exist on system.
Installing new config file as you requested.

Configuration file '/etc/kernel/postinst.d/initramfs-tools', does not exist on system.
Installing new config file as you requested.

Configuration file '/etc/kernel/postrm.d/initramfs-tools', does not exist on system.
Installing new config file as you requested.
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.140) ...

  • sudo dpkg --root=./fsroot-vs -i target/debs/bullseye/linux-image-5.10.0-23-2-amd64-unsigned_5.10.179-3_amd64.deb
    Selecting previously unselected package linux-image-5.10.0-23-2-amd64-unsigned.
    (Reading database ... 7203 files and directories currently installed.)
    Preparing to unpack .../linux-image-5.10.0-23-2-amd64-unsigned_5.10.179-3_amd64.deb ...
    Unpacking linux-image-5.10.0-23-2-amd64-unsigned (5.10.179-3) ...
    Setting up linux-image-5.10.0-23-2-amd64-unsigned (5.10.179-3) ...
    I: /vmlinuz.old is now a symlink to boot/vmlinuz-5.10.0-23-2-amd64
    I: /initrd.img.old is now a symlink to boot/initrd.img-5.10.0-23-2-amd64
    I: /vmlinuz is now a symlink to boot/vmlinuz-5.10.0-23-2-amd64
    I: /initrd.img is now a symlink to boot/initrd.img-5.10.0-23-2-amd64
    /etc/kernel/postinst.d/initramfs-tools:
    update-initramfs: Generating /boot/initrd.img-5.10.0-23-2-amd64
  • sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot ./fsroot-vs apt-get -y install acl
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following NEW packages will be installed:
    acl
    0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
    Need to get 60.6 kB of archives.
    After this operation, 213 kB of additional disk space will be used.
    Get:1 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 acl amd64 2.2.53-10 [60.6 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 60.6 kB in 1s (70.1 kB/s)
    E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
    Selecting previously unselected package acl.
    (Reading database ... 12023 files and directories currently installed.)
    Preparing to unpack .../acl_2.2.53-10_amd64.deb ...
    Unpacking acl (2.2.53-10) ...
    Setting up acl (2.2.53-10) ...
  • [[ amd64 == amd64 ]]
  • sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot ./fsroot-vs apt-get -y install dmidecode hdparm
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Recommended packages:
    powermgmt-base
    The following NEW packages will be installed:
    dmidecode hdparm
    0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
    Need to get 180 kB of archives.
    After this operation, 470 kB of additional disk space will be used.
    Get:1 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 dmidecode amd64 3.3-2 [64.7 kB]
    Get:2 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 hdparm amd64 9.60+ds-1 [115 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 180 kB in 1s (182 kB/s)
    E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
    Selecting previously unselected package dmidecode.
    (Reading database ... 12042 files and directories currently installed.)
    Preparing to unpack .../dmidecode_3.3-2_amd64.deb ...
    Unpacking dmidecode (3.3-2) ...
    Selecting previously unselected package hdparm.
    Preparing to unpack .../hdparm_9.60+ds-1_amd64.deb ...
    Unpacking hdparm (9.60+ds-1) ...
    Setting up hdparm (9.60+ds-1) ...
    Setting up dmidecode (3.3-2) ...
  • '[' n = y ']'
  • sudo tee -a ./fsroot-vs/etc/initramfs-tools/modules
  • cat files/initramfs-tools/modules
  • sudo mkdir -p ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/
  • sudo cp files/initramfs-tools/arista-convertfs ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/arista-convertfs
  • sudo chmod +x ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/arista-convertfs
  • sudo cp files/initramfs-tools/arista-hook ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/arista-hook
  • sudo chmod +x ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/arista-hook
  • sudo cp files/initramfs-tools/mke2fs ./fsroot-vs/etc/initramfs-tools/hooks/mke2fs
  • sudo chmod +x ./fsroot-vs/etc/initramfs-tools/hooks/mke2fs
  • sudo cp files/initramfs-tools/setfacl ./fsroot-vs/etc/initramfs-tools/hooks/setfacl
  • sudo chmod +x ./fsroot-vs/etc/initramfs-tools/hooks/setfacl
  • sudo cp files/initramfs-tools/arista-net ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/arista-net
  • sudo chmod +x ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/arista-net
  • sudo cp files/initramfs-tools/resize-rootfs ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/resize-rootfs
  • sudo chmod +x ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/resize-rootfs
  • sudo cp files/initramfs-tools/ssd-upgrade ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/ssd-upgrade
  • sudo chmod +x ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/ssd-upgrade
  • sudo cp files/initramfs-tools/fsck-rootfs ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/fsck-rootfs
  • sudo chmod +x ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/fsck-rootfs
  • sudo cp files/initramfs-tools/union-mount ./fsroot-vs/etc/initramfs-tools/scripts/init-bottom/union-mount
  • sudo chmod +x ./fsroot-vs/etc/initramfs-tools/scripts/init-bottom/union-mount
  • sudo cp files/initramfs-tools/varlog ./fsroot-vs/etc/initramfs-tools/scripts/init-bottom/varlog
  • sudo chmod +x ./fsroot-vs/etc/initramfs-tools/scripts/init-bottom/varlog
  • sudo cp files/initramfs-tools/union-fsck ./fsroot-vs/etc/initramfs-tools/hooks/union-fsck
  • sudo chmod +x ./fsroot-vs/etc/initramfs-tools/hooks/union-fsck
  • pushd ./fsroot-vs/usr/share/initramfs-tools/scripts/init-bottom
    /sonic/fsroot-vs/usr/share/initramfs-tools/scripts/init-bottom /sonic
  • sudo patch -p1
    patching file udev
  • popd
    /sonic
  • [[ amd64 == armhf ]]
  • [[ amd64 == arm64 ]]
  • '[' -f platform/vs/modules ']'
  • sudo LANG=C chroot ./fsroot-vs apt-get -y install u-boot-tools libubootenv-tool mtd-utils device-tree-compiler
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following additional packages will be installed:
    libfdt1 libiniparser1 liblzo2-2 libubootenv0.1 libyaml-0-2
    The following NEW packages will be installed:
    device-tree-compiler libfdt1 libiniparser1 liblzo2-2 libubootenv-tool
    libubootenv0.1 libyaml-0-2 mtd-utils u-boot-tools
    0 upgraded, 9 newly installed, 0 to remove and 1 not upgraded.
    Need to get 799 kB of archives.
    After this operation, 2999 kB of additional disk space will be used.
    Get:1 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libfdt1 amd64 1.6.0-1 [21.0 kB]
    Get:2 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libyaml-0-2 amd64 0.2.2-1 [49.6 kB]
    Get:3 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 device-tree-compiler amd64 1.6.0-1 [228 kB]
    Get:4 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libiniparser1 amd64 4.1-4 [9980 B]
    Get:5 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 liblzo2-2 amd64 2.10-2 [56.9 kB]
    Get:6 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libubootenv0.1 amd64 0.3.2-0.1 [11.1 kB]
    Get:7 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libubootenv-tool amd64 0.3.2-0.1 [6536 B]
    Get:8 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 mtd-utils amd64 1:2.1.2-2 [234 kB]
    Get:9 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 u-boot-tools amd64 2021.01+dfsg-5 [183 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 799 kB in 2s (498 kB/s)
    E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
    Selecting previously unselected package libfdt1:amd64.
    (Reading database ... 12084 files and directories currently installed.)
    Preparing to unpack .../0-libfdt1_1.6.0-1_amd64.deb ...
    Unpacking libfdt1:amd64 (1.6.0-1) ...
    Selecting previously unselected package libyaml-0-2:amd64.
    Preparing to unpack .../1-libyaml-0-2_0.2.2-1_amd64.deb ...
    Unpacking libyaml-0-2:amd64 (0.2.2-1) ...
    Selecting previously unselected package device-tree-compiler.
    Preparing to unpack .../2-device-tree-compiler_1.6.0-1_amd64.deb ...
    Unpacking device-tree-compiler (1.6.0-1) ...
    Selecting previously unselected package libiniparser1:amd64.
    Preparing to unpack .../3-libiniparser1_4.1-4_amd64.deb ...
    Unpacking libiniparser1:amd64 (4.1-4) ...
    Selecting previously unselected package liblzo2-2:amd64.
    Preparing to unpack .../4-liblzo2-2_2.10-2_amd64.deb ...
    Unpacking liblzo2-2:amd64 (2.10-2) ...
    Selecting previously unselected package libubootenv0.1:amd64.
    Preparing to unpack .../5-libubootenv0.1_0.3.2-0.1_amd64.deb ...
    Unpacking libubootenv0.1:amd64 (0.3.2-0.1) ...
    Selecting previously unselected package libubootenv-tool.
    Preparing to unpack .../6-libubootenv-tool_0.3.2-0.1_amd64.deb ...
    Unpacking libubootenv-tool (0.3.2-0.1) ...
    Selecting previously unselected package mtd-utils.
    Preparing to unpack .../7-mtd-utils_1%3a2.1.2-2_amd64.deb ...
    Unpacking mtd-utils (1:2.1.2-2) ...
    Selecting previously unselected package u-boot-tools.
    Preparing to unpack .../8-u-boot-tools_2021.01+dfsg-5_amd64.deb ...
    Unpacking u-boot-tools (2021.01+dfsg-5) ...
    Setting up libiniparser1:amd64 (4.1-4) ...
    Setting up libyaml-0-2:amd64 (0.2.2-1) ...
    Setting up liblzo2-2:amd64 (2.10-2) ...
    Setting up libfdt1:amd64 (1.6.0-1) ...
    Setting up mtd-utils (1:2.1.2-2) ...
    Setting up libubootenv0.1:amd64 (0.3.2-0.1) ...
    Setting up device-tree-compiler (1.6.0-1) ...
    Setting up u-boot-tools (2021.01+dfsg-5) ...
    Setting up libubootenv-tool (0.3.2-0.1) ...
    Processing triggers for libc-bin (2.31-13+deb11u7) ...
  • echo '[INFO] Install docker'
    [INFO] Install docker
  • sudo LANG=C chroot ./fsroot-vs apt-get -y install apparmor
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Suggested packages:
    apparmor-profiles-extra apparmor-utils
    The following NEW packages will be installed:
    apparmor
    0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
    Need to get 640 kB of archives.
    After this operation, 2615 kB of additional disk space will be used.
    Get:1 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 apparmor amd64 2.13.6-10 [640 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 640 kB in 5s (141 kB/s)
    E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
    Selecting previously unselected package apparmor.
    (Reading database ... 12220 files and directories currently installed.)
    Preparing to unpack .../apparmor_2.13.6-10_amd64.deb ...
    Unpacking apparmor (2.13.6-10) ...
    Setting up apparmor (2.13.6-10) ...
    debconf: unable to initialize frontend: Dialog
    debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
    debconf: falling back to frontend: Readline
    debconf: unable to initialize frontend: Readline
    debconf: (Can't locate Term/ReadLine.pm in @inc (you may need to install the Term::ReadLine module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
    debconf: falling back to frontend: Teletype
  • sudo cp files/image_config/ntp/ntp-apparmor ./fsroot-vs/etc/apparmor.d/local/usr.sbin.ntpd
  • sudo LANG=C chroot ./fsroot-vs apt-get -y install apt-transport-https ca-certificates curl gnupg2 software-properties-common
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following additional packages will be installed:
    dirmngr distro-info-data gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gnupg
    gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf
    gpgsm iso-codes libassuan0 libbrotli1 libcurl3-gnutls libcurl4 libdbus-1-3
    libexpat1 libgirepository-1.0-1 libglib2.0-0 libksba8 libldap-2.4-2
    libmpdec3 libncursesw6 libnghttp2-14 libnpth0 libpackagekit-glib2-18 libpsl5
    libpython3-stdlib libpython3.9-minimal libpython3.9-stdlib libreadline8
    librtmp1 libsasl2-2 libsasl2-modules-db libsqlite3-0 libssh2-1 lsb-release
    media-types openssl pinentry-curses python-apt-common python3 python3-apt
    python3-dbus python3-gi python3-minimal python3-pycurl
    python3-software-properties python3.9 python3.9-minimal readline-common
    Suggested packages:
    dbus-user-session libpam-systemd pinentry-gnome3 tor parcimonie xloadimage
    scdaemon isoquery pinentry-doc python3-doc python3-tk python3-venv
    python3-apt-dbg python-apt-doc python-dbus-doc python3-dbus-dbg
    libcurl4-gnutls-dev python-pycurl-doc python3-pycurl-dbg python3.9-venv
    python3.9-doc binutils binfmt-support readline-doc
    Recommended packages:
    dbus libglib2.0-data shared-mime-info xdg-user-dirs libldap-common libgpm2
    packagekit publicsuffix libsasl2-modules unattended-upgrades
    The following NEW packages will be installed:
    apt-transport-https ca-certificates curl dirmngr distro-info-data
    gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gnupg gnupg-l10n gnupg-utils
    gnupg2 gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm iso-codes
    libassuan0 libbrotli1 libcurl3-gnutls libcurl4 libdbus-1-3 libexpat1
    libgirepository-1.0-1 libglib2.0-0 libksba8 libldap-2.4-2 libmpdec3
    libncursesw6 libnghttp2-14 libnpth0 libpackagekit-glib2-18 libpsl5
    libpython3-stdlib libpython3.9-minimal libpython3.9-stdlib libreadline8
    librtmp1 libsasl2-2 libsasl2-modules-db libsqlite3-0 libssh2-1 lsb-release
    media-types openssl pinentry-curses python-apt-common python3 python3-apt
    python3-dbus python3-gi python3-minimal python3-pycurl
    python3-software-properties python3.9 python3.9-minimal readline-common
    software-properties-common
    0 upgraded, 59 newly installed, 0 to remove and 1 not upgraded.
    Need to get 23.4 MB of archives.
    After this operation, 75.5 MB of additional disk space will be used.
    Get:1 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libpython3.9-minimal amd64 3.9.2-1 [801 kB]
    Get:2 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libexpat1 amd64 2.2.10-2+deb11u5 [98.2 kB]
    Get:3 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 python3.9-minimal amd64 3.9.2-1 [1955 kB]
    Get:4 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 python3-minimal amd64 3.9.2-3 [38.2 kB]
    Get:5 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 media-types all 4.0.0 [30.3 kB]
    Get:6 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libmpdec3 amd64 2.5.1-1 [87.7 kB]
    Get:7 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libncursesw6 amd64 6.2+20201114-2+deb11u2 [132 kB]
    Get:8 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 readline-common all 8.1-1 [73.7 kB]
    Get:9 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libreadline8 amd64 8.1-1 [169 kB]
    Get:10 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libsqlite3-0 amd64 3.34.1-3 [797 kB]
    Get:11 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libpython3.9-stdlib amd64 3.9.2-1 [1684 kB]
    Get:12 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 python3.9 amd64 3.9.2-1 [466 kB]
    Get:13 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libpython3-stdlib amd64 3.9.2-3 [21.4 kB]
    Get:14 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 python3 amd64 3.9.2-3 [37.9 kB]
    Get:15 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 openssl amd64 1.1.1w-0+deb11u1 [859 kB]
    Get:16 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 ca-certificates all 20210119 [158 kB]
    Get:17 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 apt-transport-https all 2.2.4 [160 kB]
    Get:18 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libbrotli1 amd64 1.0.9-2+b2 [279 kB]
    Get:19 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-2.1+deb11u1 [69.1 kB]
    Get:20 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libsasl2-2 amd64 2.1.27+dfsg-2.1+deb11u1 [106 kB]
    Get:21 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libldap-2.4-2 amd64 2.4.57+dfsg-3+deb11u1 [232 kB]
    Get:22 http://debian-archive.trafficmanager.net/debian-security bullseye-security/main amd64 libnghttp2-14 amd64 1.43.0-1+deb11u1 [77.2 kB]
    Get:23 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libpsl5 amd64 0.21.0-1.2 [57.3 kB]
    Get:24 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2+b2 [60.8 kB]
    Get:25 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libssh2-1 amd64 1.9.0-2 [156 kB]
    Get:26 http://debian-archive.trafficmanager.net/debian-security bullseye-security/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u11 [347 kB]
    Get:27 http://debian-archive.trafficmanager.net/debian-security bullseye-security/main amd64 curl amd64 7.74.0-1.3+deb11u11 [271 kB]
    Get:28 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libassuan0 amd64 2.5.3-7.1 [50.5 kB]
    Get:29 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 gpgconf amd64 2.2.27-2+deb11u2 [548 kB]
    Get:30 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libksba8 amd64 1.5.0-3+deb11u2 [123 kB]
    Get:31 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libnpth0 amd64 1.6-3 [19.0 kB]
    Get:32 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 dirmngr amd64 2.2.27-2+deb11u2 [763 kB]
    Get:33 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 distro-info-data all 0.51+deb11u4 [8048 B]
    Get:34 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libglib2.0-0 amd64 2.66.8-1 [1370 kB]
    Get:35 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libgirepository-1.0-1 amd64 1.66.1-1+b1 [96.7 kB]
    Get:36 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 gir1.2-glib-2.0 amd64 1.66.1-1+b1 [151 kB]
    Get:37 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libpackagekit-glib2-18 amd64 1.2.2-2 [124 kB]
    Get:38 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 gir1.2-packagekitglib-1.0 amd64 1.2.2-2 [36.8 kB]
    Get:39 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 gnupg-l10n all 2.2.27-2+deb11u2 [1086 kB]
    Get:40 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 gnupg-utils amd64 2.2.27-2+deb11u2 [905 kB]
    Get:41 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 gpg amd64 2.2.27-2+deb11u2 [928 kB]
    Get:42 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 pinentry-curses amd64 1.1.0-4 [64.9 kB]
    Get:43 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 gpg-agent amd64 2.2.27-2+deb11u2 [669 kB]
    Get:44 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 gpg-wks-client amd64 2.2.27-2+deb11u2 [524 kB]
    Get:45 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 gpg-wks-server amd64 2.2.27-2+deb11u2 [516 kB]
    Get:46 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 gpgsm amd64 2.2.27-2+deb11u2 [645 kB]
    Get:47 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 gnupg all 2.2.27-2+deb11u2 [825 kB]
    Get:48 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 gnupg2 all 2.2.27-2+deb11u2 [434 kB]
    Get:49 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 iso-codes all 4.6.0-1 [2824 kB]
    Get:50 http://debian-archive.trafficmanager.net/debian-security bullseye-security/main amd64 libcurl3-gnutls amd64 7.74.0-1.3+deb11u11 [344 kB]
    Get:51 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libdbus-1-3 amd64 1.12.28-0+deb11u1 [223 kB]
    Get:52 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 lsb-release all 11.1.0 [27.9 kB]
    Get:53 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 python-apt-common all 2.2.1 [96.5 kB]
    Get:54 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 python3-apt amd64 2.2.1 [190 kB]
    Get:55 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 python3-dbus amd64 1.2.16-5 [108 kB]
    Get:56 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 python3-gi amd64 3.38.0-2 [232 kB]
    Get:57 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 python3-pycurl amd64 7.43.0.6-5 [68.8 kB]
    Get:58 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 python3-software-properties all 0.96.20.2-2.1 [49.7 kB]
    Get:59 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 software-properties-common all 0.96.20.2-2.1 [83.4 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 23.4 MB in 22s (1052 kB/s)
    E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
    Selecting previously unselected package libpython3.9-minimal:amd64.
    (Reading database ... 12488 files and directories currently installed.)
    Preparing to unpack .../libpython3.9-minimal_3.9.2-1_amd64.deb ...
    Unpacking libpython3.9-minimal:amd64 (3.9.2-1) ...
    Selecting previously unselected package libexpat1:amd64.
    Preparing to unpack .../libexpat1_2.2.10-2+deb11u5_amd64.deb ...
    Unpacking libexpat1:amd64 (2.2.10-2+deb11u5) ...
    Selecting previously unselected package python3.9-minimal.
    Preparing to unpack .../python3.9-minimal_3.9.2-1_amd64.deb ...
    Unpacking python3.9-minimal (3.9.2-1) ...
    Setting up libpython3.9-minimal:amd64 (3.9.2-1) ...
    Setting up libexpat1:amd64 (2.2.10-2+deb11u5) ...
    Setting up python3.9-minimal (3.9.2-1) ...
    Selecting previously unselected package python3-minimal.
    (Reading database ... 12782 files and directories currently installed.)
    Preparing to unpack .../0-python3-minimal_3.9.2-3_amd64.deb ...
    Unpacking python3-minimal (3.9.2-3) ...
    Selecting previously unselected package media-types.
    Preparing to unpack .../1-media-types_4.0.0_all.deb ...
    Unpacking media-types (4.0.0) ...
    Selecting previously unselected package libmpdec3:amd64.
    Preparing to unpack .../2-libmpdec3_2.5.1-1_amd64.deb ...
    Unpacking libmpdec3:amd64 (2.5.1-1) ...
    Selecting previously unselected package libncursesw6:amd64.
    Preparing to unpack .../3-libncursesw6_6.2+20201114-2+deb11u2_amd64.deb ...
    Unpacking libncursesw6:amd64 (6.2+20201114-2+deb11u2) ...
    Selecting previously unselected package readline-common.
    Preparing to unpack .../4-readline-common_8.1-1_all.deb ...
    Unpacking readline-common (8.1-1) ...
    Selecting previously unselected package libreadline8:amd64.
    Preparing to unpack .../5-libreadline8_8.1-1_amd64.deb ...
    Unpacking libreadline8:amd64 (8.1-1) ...
    Selecting previously unselected package libsqlite3-0:amd64.
    Preparing to unpack .../6-libsqlite3-0_3.34.1-3_amd64.deb ...
    Unpacking libsqlite3-0:amd64 (3.34.1-3) ...
    Selecting previously unselected package libpython3.9-stdlib:amd64.
    Preparing to unpack .../7-libpython3.9-stdlib_3.9.2-1_amd64.deb ...
    Unpacking libpython3.9-stdlib:amd64 (3.9.2-1) ...
    Selecting previously unselected package python3.9.
    Preparing to unpack .../8-python3.9_3.9.2-1_amd64.deb ...
    Unpacking python3.9 (3.9.2-1) ...
    Selecting previously unselected package libpython3-stdlib:amd64.
    Preparing to unpack .../9-libpython3-stdlib_3.9.2-3_amd64.deb ...
    Unpacking libpython3-stdlib:amd64 (3.9.2-3) ...
    Setting up python3-minimal (3.9.2-3) ...
    Selecting previously unselected package python3.
    (Reading database ... 13220 files and directories currently installed.)
    Preparing to unpack .../00-python3_3.9.2-3_amd64.deb ...
    Unpacking python3 (3.9.2-3) ...
    Selecting previously unselected package openssl.
    Preparing to unpack .../01-openssl_1.1.1w-0+deb11u1_amd64.deb ...
    Unpacking openssl (1.1.1w-0+deb11u1) ...
    Selecting previously unselected package ca-certificates.
    Preparing to unpack .../02-ca-certificates_20210119_all.deb ...
    Unpacking ca-certificates (20210119) ...
    Selecting previously unselected package apt-transport-https.
    Preparing to unpack .../03-apt-transport-https_2.2.4_all.deb ...
    Unpacking apt-transport-https (2.2.4) ...
    Selecting previously unselected package libbrotli1:amd64.
    Preparing to unpack .../04-libbrotli1_1.0.9-2+b2_amd64.deb ...
    Unpacking libbrotli1:amd64 (1.0.9-2+b2) ...
    Selecting previously unselected package libsasl2-modules-db:amd64.
    Preparing to unpack .../05-libsasl2-modules-db_2.1.27+dfsg-2.1+deb11u1_amd64.deb ...
    Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
    Selecting previously unselected package libsasl2-2:amd64.
    Preparing to unpack .../06-libsasl2-2_2.1.27+dfsg-2.1+deb11u1_amd64.deb ...
    Unpacking libsasl2-2:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
    Selecting previously unselected package libldap-2.4-2:amd64.
    Preparing to unpack .../07-libldap-2.4-2_2.4.57+dfsg-3+deb11u1_amd64.deb ...
    Unpacking libldap-2.4-2:amd64 (2.4.57+dfsg-3+deb11u1) ...
    Selecting previously unselected package libnghttp2-14:amd64.
    Preparing to unpack .../08-libnghttp2-14_1.43.0-1+deb11u1_amd64.deb ...
    Unpacking libnghttp2-14:amd64 (1.43.0-1+deb11u1) ...
    Selecting previously unselected package libpsl5:amd64.
    Preparing to unpack .../09-libpsl5_0.21.0-1.2_amd64.deb ...
    Unpacking libpsl5:amd64 (0.21.0-1.2) ...
    Selecting previously unselected package librtmp1:amd64.
    Preparing to unpack .../10-librtmp1_2.4+20151223.gitfa8646d.1-2+b2_amd64.deb ...
    Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...
    Selecting previously unselected package libssh2-1:amd64.
    Preparing to unpack .../11-libssh2-1_1.9.0-2_amd64.deb ...
    Unpacking libssh2-1:amd64 (1.9.0-2) ...
    Selecting previously unselected package libcurl4:amd64.
    Preparing to unpack .../12-libcurl4_7.74.0-1.3+deb11u11_amd64.deb ...
    Unpacking libcurl4:amd64 (7.74.0-1.3+deb11u11) ...
    Selecting previously unselected package curl.
    Preparing to unpack .../13-curl_7.74.0-1.3+deb11u11_amd64.deb ...
    Unpacking curl (7.74.0-1.3+deb11u11) ...
    Selecting previously unselected package libassuan0:amd64.
    Preparing to unpack .../14-libassuan0_2.5.3-7.1_amd64.deb ...
    Unpacking libassuan0:amd64 (2.5.3-7.1) ...
    Selecting previously unselected package gpgconf.
    Preparing to unpack .../15-gpgconf_2.2.27-2+deb11u2_amd64.deb ...
    Unpacking gpgconf (2.2.27-2+deb11u2) ...
    Selecting previously unselected package libksba8:amd64.
    Preparing to unpack .../16-libksba8_1.5.0-3+deb11u2_amd64.deb ...
    Unpacking libksba8:amd64 (1.5.0-3+deb11u2) ...
    Selecting previously unselected package libnpth0:amd64.
    Preparing to unpack .../17-libnpth0_1.6-3_amd64.deb ...
    Unpacking libnpth0:amd64 (1.6-3) ...
    Selecting previously unselected package dirmngr.
    Preparing to unpack .../18-dirmngr_2.2.27-2+deb11u2_amd64.deb ...
    Unpacking dirmngr (2.2.27-2+deb11u2) ...
    Selecting previously unselected package distro-info-data.
    Preparing to unpack .../19-distro-info-data_0.51+deb11u4_all.deb ...
    Unpacking distro-info-data (0.51+deb11u4) ...
    Selecting previously unselected package libglib2.0-0:amd64.
    Preparing to unpack .../20-libglib2.0-0_2.66.8-1_amd64.deb ...
    Unpacking libglib2.0-0:amd64 (2.66.8-1) ...
    Selecting previously unselected package libgirepository-1.0-1:amd64.
    Preparing to unpack .../21-libgirepository-1.0-1_1.66.1-1+b1_amd64.deb ...
    Unpacking libgirepository-1.0-1:amd64 (1.66.1-1+b1) ...
    Selecting previously unselected package gir1.2-glib-2.0:amd64.
    Preparing to unpack .../22-gir1.2-glib-2.0_1.66.1-1+b1_amd64.deb ...
    Unpacking gir1.2-glib-2.0:amd64 (1.66.1-1+b1) ...
    Selecting previously unselected package libpackagekit-glib2-18:amd64.
    Preparing to unpack .../23-libpackagekit-glib2-18_1.2.2-2_amd64.deb ...
    Unpacking libpackagekit-glib2-18:amd64 (1.2.2-2) ...
    Selecting previously unselected package gir1.2-packagekitglib-1.0.
    Preparing to unpack .../24-gir1.2-packagekitglib-1.0_1.2.2-2_amd64.deb ...
    Unpacking gir1.2-packagekitglib-1.0 (1.2.2-2) ...
    Selecting previously unselected package gnupg-l10n.
    Preparing to unpack .../25-gnupg-l10n_2.2.27-2+deb11u2_all.deb ...
    Unpacking gnupg-l10n (2.2.27-2+deb11u2) ...
    Selecting previously unselected package gnupg-utils.
    Preparing to unpack .../26-gnupg-utils_2.2.27-2+deb11u2_amd64.deb ...
    Unpacking gnupg-utils (2.2.27-2+deb11u2) ...
    Selecting previously unselected package gpg.
    Preparing to unpack .../27-gpg_2.2.27-2+deb11u2_amd64.deb ...
    Unpacking gpg (2.2.27-2+deb11u2) ...
    Selecting previously unselected package pinentry-curses.
    Preparing to unpack .../28-pinentry-curses_1.1.0-4_amd64.deb ...
    Unpacking pinentry-curses (1.1.0-4) ...
    Selecting previously unselected package gpg-agent.
    Preparing to unpack .../29-gpg-agent_2.2.27-2+deb11u2_amd64.deb ...
    Unpacking gpg-agent (2.2.27-2+deb11u2) ...
    Selecting previously unselected package gpg-wks-client.
    Preparing to unpack .../30-gpg-wks-client_2.2.27-2+deb11u2_amd64.deb ...
    Unpacking gpg-wks-client (2.2.27-2+deb11u2) ...
    Selecting previously unselected package gpg-wks-server.
    Preparing to unpack .../31-gpg-wks-server_2.2.27-2+deb11u2_amd64.deb ...
    Unpacking gpg-wks-server (2.2.27-2+deb11u2) ...
    Selecting previously unselected package gpgsm.
    Preparing to unpack .../32-gpgsm_2.2.27-2+deb11u2_amd64.deb ...
    Unpacking gpgsm (2.2.27-2+deb11u2) ...
    Selecting previously unselected package gnupg.
    Preparing to unpack .../33-gnupg_2.2.27-2+deb11u2_all.deb ...
    Unpacking gnupg (2.2.27-2+deb11u2) ...
    Selecting previously unselected package gnupg2.
    Preparing to unpack .../34-gnupg2_2.2.27-2+deb11u2_all.deb ...
    Unpacking gnupg2 (2.2.27-2+deb11u2) ...
    Selecting previously unselected package iso-codes.
    Preparing to unpack .../35-iso-codes_4.6.0-1_all.deb ...
    Unpacking iso-codes (4.6.0-1) ...
    Selecting previously unselected package libcurl3-gnutls:amd64.
    Preparing to unpack .../36-libcurl3-gnutls_7.74.0-1.3+deb11u11_amd64.deb ...
    Unpacking libcurl3-gnutls:amd64 (7.74.0-1.3+deb11u11) ...
    Selecting previously unselected package libdbus-1-3:amd64.
    Preparing to unpack .../37-libdbus-1-3_1.12.28-0+deb11u1_amd64.deb ...
    Unpacking libdbus-1-3:amd64 (1.12.28-0+deb11u1) ...
    Selecting previously unselected package lsb-release.
    Preparing to unpack .../38-lsb-release_11.1.0_all.deb ...
    Unpacking lsb-release (11.1.0) ...
    Selecting previously unselected package python-apt-common.
    Preparing to unpack .../39-python-apt-common_2.2.1_all.deb ...
    Unpacking python-apt-common (2.2.1) ...
    Selecting previously unselected package python3-apt.
    Preparing to unpack .../40-python3-apt_2.2.1_amd64.deb ...
    Unpacking python3-apt (2.2.1) ...
    Selecting previously unselected package python3-dbus.
    Preparing to unpack .../41-python3-dbus_1.2.16-5_amd64.deb ...
    Unpacking python3-dbus (1.2.16-5) ...
    Selecting previously unselected package python3-gi.
    Preparing to unpack .../42-python3-gi_3.38.0-2_amd64.deb ...
    Unpacking python3-gi (3.38.0-2) ...
    Selecting previously unselected package python3-pycurl.
    Preparing to unpack .../43-python3-pycurl_7.43.0.6-5_amd64.deb ...
    Unpacking python3-pycurl (7.43.0.6-5) ...
    Selecting previously unselected package python3-software-properties.
    Preparing to unpack .../44-python3-software-properties_0.96.20.2-2.1_all.deb ...
    Unpacking python3-software-properties (0.96.20.2-2.1) ...
    Selecting previously unselected package software-properties-common.
    Preparing to unpack .../45-software-properties-common_0.96.20.2-2.1_all.deb ...
    Unpacking software-properties-common (0.96.20.2-2.1) ...
    Setting up libksba8:amd64 (1.5.0-3+deb11u2) ...
    Setting up media-types (4.0.0) ...
    Setting up libpsl5:amd64 (0.21.0-1.2) ...
    Setting up apt-transport-https (2.2.4) ...
    Setting up libglib2.0-0:amd64 (2.66.8-1) ...
    No schema files found: doing nothing.
    Setting up distro-info-data (0.51+deb11u4) ...
    Setting up libbrotli1:amd64 (1.0.9-2+b2) ...
    Setting up libsqlite3-0:amd64 (3.34.1-3) ...
    Setting up libnghttp2-14:amd64 (1.43.0-1+deb11u1) ...
    Setting up libpackagekit-glib2-18:amd64 (1.2.2-2) ...
    Setting up libnpth0:amd64 (1.6-3) ...
    Setting up libassuan0:amd64 (2.5.3-7.1) ...
    Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
    Setting up gnupg-l10n (2.2.27-2+deb11u2) ...
    Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...
    Setting up libdbus-1-3:amd64 (1.12.28-0+deb11u1) ...
    Setting up libncursesw6:amd64 (6.2+20201114-2+deb11u2) ...
    Setting up libsasl2-2:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
    Setting up python-apt-common (2.2.1) ...
    Setting up libmpdec3:amd64 (2.5.1-1) ...
    Setting up libgirepository-1.0-1:amd64 (1.66.1-1+b1) ...
    Setting up libssh2-1:amd64 (1.9.0-2) ...
    Setting up openssl (1.1.1w-0+deb11u1) ...
    Setting up readline-common (8.1-1) ...
    Setting up iso-codes (4.6.0-1) ...
    Setting up pinentry-curses (1.1.0-4) ...
    Setting up libreadline8:amd64 (8.1-1) ...
    Setting up libldap-2.4-2:amd64 (2.4.57+dfsg-3+deb11u1) ...
    Setting up libcurl3-gnutls:amd64 (7.74.0-1.3+deb11u11) ...
    Setting up ca-certificates (20210119) ...
    debconf: unable to initialize frontend: Dialog
    debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
    debconf: falling back to frontend: Readline
    debconf: unable to initialize frontend: Readline
    debconf: (Can't locate Term/ReadLine.pm in @inc (you may need to install the Term::ReadLine module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
    debconf: falling back to frontend: Teletype
    Updating certificates in /etc/ssl/certs...
    129 added, 0 removed; done.
    Setting up gir1.2-glib-2.0:amd64 (1.66.1-1+b1) ...
    Setting up gpgconf (2.2.27-2+deb11u2) ...
    Setting up libcurl4:amd64 (7.74.0-1.3+deb11u11) ...
    Setting up curl (7.74.0-1.3+deb11u11) ...
    Setting up gpg (2.2.27-2+deb11u2) ...
    Setting up libpython3.9-stdlib:amd64 (3.9.2-1) ...
    Setting up libpython3-stdlib:amd64 (3.9.2-3) ...
    Setting up gnupg-utils (2.2.27-2+deb11u2) ...
    Setting up gpg-agent (2.2.27-2+deb11u2) ...
    Setting up gpgsm (2.2.27-2+deb11u2) ...
    Setting up dirmngr (2.2.27-2+deb11u2) ...
    Setting up gir1.2-packagekitglib-1.0 (1.2.2-2) ...
    Setting up gpg-wks-server (2.2.27-2+deb11u2) ...
    Setting up python3.9 (3.9.2-1) ...
    Setting up gpg-wks-client (2.2.27-2+deb11u2) ...
    Setting up python3 (3.9.2-3) ...
    running python rtupdate hooks for python3.9...
    running python post-rtupdate hooks for python3.9...
    Setting up python3-pycurl (7.43.0.6-5) ...
    Setting up python3-gi (3.38.0-2) ...
    Setting up gnupg (2.2.27-2+deb11u2) ...
    Setting up lsb-release (11.1.0) ...
    Setting up python3-dbus (1.2.16-5) ...
    Setting up gnupg2 (2.2.27-2+deb11u2) ...
    Setting up python3-apt (2.2.1) ...
    Setting up python3-software-properties (0.96.20.2-2.1) ...
    Setting up software-properties-common (0.96.20.2-2.1) ...
    Processing triggers for libc-bin (2.31-13+deb11u7) ...
    Processing triggers for ca-certificates (20210119) ...
    Updating certificates in /etc/ssl/certs...
    0 added, 0 removed; done.
    Running hooks in /etc/ca-certificates/update.d...
    done.
  • [[ amd64 == armhf ]]
  • sudo https_proxy= LANG=C chroot ./fsroot-vs curl -o /tmp/docker.asc -fsSL https://download.docker.com/linux/debian/gpg
  • sudo LANG=C chroot ./fsroot-vs mv /tmp/docker.asc /etc/apt/trusted.gpg.d/
  • sudo LANG=C chroot ./fsroot-vs add-apt-repository 'deb [arch=amd64] https://download.docker.com/linux/debian bullseye stable'
  • sudo LANG=C chroot ./fsroot-vs apt-get update
    Get:1 https://download.docker.com/linux/debian bullseye InRelease [43.3 kB]
    Hit:2 http://debian-archive.trafficmanager.net/debian bullseye InRelease
    Hit:3 http://debian-archive.trafficmanager.net/debian bullseye-updates InRelease
    Hit:4 http://debian-archive.trafficmanager.net/debian bullseye-backports InRelease
    Hit:5 http://debian-archive.trafficmanager.net/debian-security bullseye-security InRelease
    Get:6 https://download.docker.com/linux/debian bullseye/stable amd64 Packages [33.1 kB]
    Fetched 76.5 kB in 2s (45.8 kB/s)
    Reading package lists...
  • sudo LANG=C chroot ./fsroot-vs apt-get -y install docker-ce=5:20.10.143-0debian-bullseye docker-ce-cli=5:20.10.143-0debian-bullseye containerd.io=1.5.11-1
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following additional packages will be installed:
    dmsetup iptables libdevmapper1.02.1 libip4tc2 libip6tc2 libmnl0
    libnetfilter-conntrack3 libnfnetlink0 libnftnl11 libxtables12 netbase
    Suggested packages:
    aufs-tools cgroupfs-mount | cgroup-lite firewalld
    Recommended packages:
    docker-ce-rootless-extras git libltdl7 pigz procps xz-utils
    docker-scan-plugin nftables
    The following NEW packages will be installed:
    containerd.io dmsetup docker-ce docker-ce-cli iptables libdevmapper1.02.1
    libip4tc2 libip6tc2 libmnl0 libnetfilter-conntrack3 libnfnetlink0 libnftnl11
    libxtables12 netbase
    0 upgraded, 14 newly installed, 0 to remove and 1 not upgraded.
    Need to get 85.6 MB of archives.
    After this operation, 375 MB of additional disk space will be used.
    Get:1 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 netbase all 6.3 [19.9 kB]
    Get:2 https://download.docker.com/linux/debian bullseye/stable amd64 containerd.io amd64 1.5.11-1 [22.9 MB]
    Get:3 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libdevmapper1.02.1 amd64 2:1.02.175-2.1 [143 kB]
    Get:4 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 dmsetup amd64 2:1.02.175-2.1 [92.1 kB]
    Get:5 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libip4tc2 amd64 1.8.7-1 [34.6 kB]
    Get:6 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libip6tc2 amd64 1.8.7-1 [35.0 kB]
    Get:7 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libxtables12 amd64 1.8.7-1 [45.1 kB]
    Get:8 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libmnl0 amd64 1.0.4-3 [12.5 kB]
    Get:9 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libnfnetlink0 amd64 1.0.1-3+b1 [13.9 kB]
    Get:10 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libnetfilter-conntrack3 amd64 1.0.8-3 [40.6 kB]
    Get:11 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libnftnl11 amd64 1.1.9-1 [63.7 kB]
    Get:12 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 iptables amd64 1.8.7-1 [382 kB]
    Get:13 https://download.docker.com/linux/debian bullseye/stable amd64 docker-ce-cli amd64 5:20.10.143-0debian-bullseye [41.0 MB]
    Get:14 https://download.docker.com/linux/debian bullseye/stable amd64 docker-ce amd64 5:20.10.143-0debian-bullseye [20.9 MB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 85.6 MB in 29s (2951 kB/s)
    E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
    Selecting previously unselected package netbase.
    (Reading database ... 15532 files and directories currently installed.)
    Preparing to unpack .../00-netbase_6.3_all.deb ...
    Unpacking netbase (6.3) ...
    Selecting previously unselected package containerd.io.
    Preparing to unpack .../01-containerd.io_1.5.11-1_amd64.deb ...
    Unpacking containerd.io (1.5.11-1) ...
    Selecting previously unselected package libdevmapper1.02.1:amd64.
    Preparing to unpack .../02-libdevmapper1.02.1_2%3a1.02.175-2.1_amd64.deb ...
    Unpacking libdevmapper1.02.1:amd64 (2:1.02.175-2.1) ...
    Selecting previously unselected package dmsetup.
    Preparing to unpack .../03-dmsetup_2%3a1.02.175-2.1_amd64.deb ...
    Unpacking dmsetup (2:1.02.175-2.1) ...
    Selecting previously unselected package docker-ce-cli.
    Preparing to unpack .../04-docker-ce-cli_5%3a20.10.143-0debian-bullseye_amd64.deb ...
    Unpacking docker-ce-cli (5:20.10.143-0debian-bullseye) ...
    Selecting previously unselected package libip4tc2:amd64.
    Preparing to unpack .../05-libip4tc2_1.8.7-1_amd64.deb ...
    Unpacking libip4tc2:amd64 (1.8.7-1) ...
    Selecting previously unselected package libip6tc2:amd64.
    Preparing to unpack .../06-libip6tc2_1.8.7-1_amd64.deb ...
    Unpacking libip6tc2:amd64 (1.8.7-1) ...
    Selecting previously unselected package libxtables12:amd64.
    Preparing to unpack .../07-libxtables12_1.8.7-1_amd64.deb ...
    Unpacking libxtables12:amd64 (1.8.7-1) ...
    Selecting previously unselected package libmnl0:amd64.
    Preparing to unpack .../08-libmnl0_1.0.4-3_amd64.deb ...
    Unpacking libmnl0:amd64 (1.0.4-3) ...
    Selecting previously unselected package libnfnetlink0:amd64.
    Preparing to unpack .../09-libnfnetlink0_1.0.1-3+b1_amd64.deb ...
    Unpacking libnfnetlink0:amd64 (1.0.1-3+b1) ...
    Selecting previously unselected package libnetfilter-conntrack3:amd64.
    Preparing to unpack .../10-libnetfilter-conntrack3_1.0.8-3_amd64.deb ...
    Unpacking libnetfilter-conntrack3:amd64 (1.0.8-3) ...
    Selecting previously unselected package libnftnl11:amd64.
    Preparing to unpack .../11-libnftnl11_1.1.9-1_amd64.deb ...
    Unpacking libnftnl11:amd64 (1.1.9-1) ...
    Selecting previously unselected package iptables.
    Preparing to unpack .../12-iptables_1.8.7-1_amd64.deb ...
    Unpacking iptables (1.8.7-1) ...
    Selecting previously unselected package docker-ce.
    Preparing to unpack .../13-docker-ce_5%3a20.10.143-0debian-bullseye_amd64.deb ...
    Unpacking docker-ce (5:20.10.143-0debian-bullseye) ...
    Setting up libip4tc2:amd64 (1.8.7-1) ...
    Setting up libip6tc2:amd64 (1.8.7-1) ...
    Setting up libmnl0:amd64 (1.0.4-3) ...
    Setting up containerd.io (1.5.11-1) ...
    Setting up libxtables12:amd64 (1.8.7-1) ...
    Setting up docker-ce-cli (5:20.10.143-0debian-bullseye) ...
    Setting up libnfnetlink0:amd64 (1.0.1-3+b1) ...
    Setting up netbase (6.3) ...
    Setting up libnftnl11:amd64 (1.1.9-1) ...
    Setting up libnetfilter-conntrack3:amd64 (1.0.8-3) ...
    Setting up iptables (1.8.7-1) ...
    update-alternatives: using /usr/sbin/iptables-legacy to provide /usr/sbin/iptables (iptables) in auto mode
    update-alternatives: using /usr/sbin/ip6tables-legacy to provide /usr/sbin/ip6tables (ip6tables) in auto mode
    update-alternatives: using /usr/sbin/iptables-nft to provide /usr/sbin/iptables (iptables) in auto mode
    update-alternatives: using /usr/sbin/ip6tables-nft to provide /usr/sbin/ip6tables (ip6tables) in auto mode
    update-alternatives: using /usr/sbin/arptables-nft to provide /usr/sbin/arptables (arptables) in auto mode
    update-alternatives: using /usr/sbin/ebtables-nft to provide /usr/sbin/ebtables (ebtables) in auto mode
    Setting up libdevmapper1.02.1:amd64 (2:1.02.175-2.1) ...
    Setting up dmsetup (2:1.02.175-2.1) ...
    update-initramfs: deferring update (trigger activated)
    Setting up docker-ce (5:20.10.143-0debian-bullseye) ...
    invoke-rc.d: could not determine current runlevel
    invoke-rc.d: WARNING: No init system and policy-rc.d missing! Defaulting to block.
    Processing triggers for initramfs-tools (0.140) ...
    update-initramfs: Generating /boot/initrd.img-5.10.0-23-2-amd64
    Processing triggers for libc-bin (2.31-13+deb11u7) ...
  • sudo LANG=C chroot ./fsroot-vs apt-get -y remove software-properties-common gnupg2 python3-gi
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following packages were automatically installed and are no longer required:
    dirmngr distro-info-data gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gnupg
    gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf
    gpgsm iso-codes libassuan0 libcurl3-gnutls libdbus-1-3 libexpat1
    libgirepository-1.0-1 libglib2.0-0 libksba8 libmpdec3 libncursesw6 libnpth0
    libpackagekit-glib2-18 libpython3-stdlib libpython3.9-minimal
    libpython3.9-stdlib libreadline8 libsqlite3-0 lsb-release media-types
    pinentry-curses python-apt-common python3 python3-apt python3-dbus
    python3-minimal python3-pycurl python3-software-properties python3.9
    python3.9-minimal readline-common
    Use 'sudo apt autoremove' to remove them.
    The following packages will be REMOVED:
    gnupg2 python3-gi software-properties-common
    0 upgraded, 0 newly installed, 3 to remove and 4 not upgraded.
    After this operation, 1673 kB disk space will be freed.
    E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
    (Reading database ... 16028 files and directories currently installed.)
    Removing gnupg2 (2.2.27-2+deb11u2) ...
    Removing software-properties-common (0.96.20.2-2.1) ...
    Removing python3-gi (3.38.0-2) ...
  • '[' y == y ']'
  • echo '[INFO] Install kubernetes'
    [INFO] Install kubernetes
  • install_kubernetes 1.22.2-00
  • local ver=1.22.2-00
  • sudo https_proxy= LANG=C chroot ./fsroot-vs curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg
  • sudo LANG=C chroot ./fsroot-vs apt-key add -
    Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
    OK
  • sudo cp files/image_config/kubernetes/kubernetes.list ./fsroot-vs/etc/apt/sources.list.d/
  • sudo LANG=C chroot ./fsroot-vs apt-get update
    Hit:1 https://download.docker.com/linux/debian bullseye InRelease
    Hit:3 http://debian-archive.trafficmanager.net/debian bullseye InRelease
    Hit:4 http://debian-archive.trafficmanager.net/debian bullseye-updates InRelease
    Hit:5 http://debian-archive.trafficmanager.net/debian bullseye-backports InRelease
    Hit:6 http://debian-archive.trafficmanager.net/debian-security bullseye-security InRelease
    Get:2 https://packages.cloud.google.com/apt kubernetes-xenial InRelease [8993 B]
    Get:7 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 Packages [69.9 kB]
    Fetched 78.9 kB in 2s (34.4 kB/s)
    Reading package lists...
  • sudo LANG=C chroot ./fsroot-vs apt-get -y install kubernetes-cni=0.8.7-00
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following packages were automatically installed and are no longer required:
    dirmngr distro-info-data gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gnupg
    gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf
    gpgsm iso-codes libassuan0 libcurl3-gnutls libdbus-1-3 libexpat1
    libgirepository-1.0-1 libglib2.0-0 libksba8 libmpdec3 libncursesw6 libnpth0
    libpackagekit-glib2-18 libpython3-stdlib libpython3.9-minimal
    libpython3.9-stdlib libreadline8 libsqlite3-0 lsb-release media-types
    pinentry-curses python-apt-common python3 python3-apt python3-dbus
    python3-minimal python3-pycurl python3-software-properties python3.9
    python3.9-minimal readline-common
    Use 'sudo apt autoremove' to remove them.
    The following NEW packages will be installed:
    kubernetes-cni
    0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
    Need to get 25.0 MB of archives.
    After this operation, 72.2 MB of additional disk space will be used.
    Get:1 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubernetes-cni amd64 0.8.7-00 [25.0 MB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 25.0 MB in 11s (2301 kB/s)
    E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
    Selecting previously unselected package kubernetes-cni.
    (Reading database ... 15887 files and directories currently installed.)
    Preparing to unpack .../kubernetes-cni_0.8.7-00_amd64.deb ...
    Unpacking kubernetes-cni (0.8.7-00) ...
    Setting up kubernetes-cni (0.8.7-00) ...
  • sudo LANG=C chroot ./fsroot-vs apt-get -y install kubelet=1.22.2-00
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following packages were automatically installed and are no longer required:
    dirmngr distro-info-data gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gnupg
    gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf
    gpgsm iso-codes libassuan0 libcurl3-gnutls libdbus-1-3 libexpat1
    libgirepository-1.0-1 libglib2.0-0 libksba8 libmpdec3 libncursesw6 libnpth0
    libpackagekit-glib2-18 libpython3-stdlib libpython3.9-minimal
    libpython3.9-stdlib libreadline8 libsqlite3-0 lsb-release media-types
    pinentry-curses python-apt-common python3 python3-apt python3-dbus
    python3-minimal python3-pycurl python3-software-properties python3.9
    python3.9-minimal readline-common
    Use 'sudo apt autoremove' to remove them.
    The following additional packages will be installed:
    conntrack ebtables ethtool iproute2 libbpf0 libbsd0 libcap2 libcap2-bin
    libelf1 libmd0 libwrap0 socat
    Suggested packages:
    nftables iproute2-doc
    Recommended packages:
    libatm1 libpam-cap
    The following NEW packages will be installed:
    conntrack ebtables ethtool iproute2 kubelet libbpf0 libbsd0 libcap2
    libcap2-bin libelf1 libmd0 libwrap0 socat
    0 upgraded, 13 newly installed, 0 to remove and 5 not upgraded.
    Need to get 24.0 MB of archives.
    After this operation, 161 MB of additional disk space will be used.
    Get:2 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libelf1 amd64 0.183-1 [165 kB]
    Get:3 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libbpf0 amd64 1:0.3-2 [98.3 kB]
    Get:4 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libmd0 amd64 1.0.3-3 [28.0 kB]
    Get:5 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libbsd0 amd64 0.11.3-1+deb11u1 [108 kB]
    Get:6 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libcap2 amd64 1:2.44-1 [23.6 kB]
    Get:7 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libcap2-bin amd64 1:2.44-1 [32.6 kB]
    Get:8 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 iproute2 amd64 5.10.0-4 [930 kB]
    Get:1 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubelet amd64 1.22.2-00 [21.9 MB]
    Get:9 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 conntrack amd64 1:1.4.6-2 [33.9 kB]
    Get:10 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 ebtables amd64 2.0.11-4+b1 [86.6 kB]
    Get:11 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 ethtool amd64 1:5.9-1 [182 kB]
    Get:12 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 libwrap0 amd64 7.6.q-31 [59.0 kB]
    Get:13 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 socat amd64 1.7.4.1-3 [370 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 24.0 MB in 12s (2017 kB/s)
    E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
    Selecting previously unselected package libelf1:amd64.
    (Reading database ... 15906 files and directories currently installed.)
    Preparing to unpack .../00-libelf1_0.183-1_amd64.deb ...
    Unpacking libelf1:amd64 (0.183-1) ...
    Selecting previously unselected package libbpf0:amd64.
    Preparing to unpack .../01-libbpf0_1%3a0.3-2_amd64.deb ...
    Unpacking libbpf0:amd64 (1:0.3-2) ...
    Selecting previously unselected package libmd0:amd64.
    Preparing to unpack .../02-libmd0_1.0.3-3_amd64.deb ...
    Unpacking libmd0:amd64 (1.0.3-3) ...
    Selecting previously unselected package libbsd0:amd64.
    Preparing to unpack .../03-libbsd0_0.11.3-1+deb11u1_amd64.deb ...
    Unpacking libbsd0:amd64 (0.11.3-1+deb11u1) ...
    Selecting previously unselected package libcap2:amd64.
    Preparing to unpack .../04-libcap2_1%3a2.44-1_amd64.deb ...
    Unpacking libcap2:amd64 (1:2.44-1) ...
    Selecting previously unselected package libcap2-bin.
    Preparing to unpack .../05-libcap2-bin_1%3a2.44-1_amd64.deb ...
    Unpacking libcap2-bin (1:2.44-1) ...
    Selecting previously unselected package iproute2.
    Preparing to unpack .../06-iproute2_5.10.0-4_amd64.deb ...
    Unpacking iproute2 (5.10.0-4) ...
    Selecting previously unselected package conntrack.
    Preparing to unpack .../07-conntrack_1%3a1.4.6-2_amd64.deb ...
    Unpacking conntrack (1:1.4.6-2) ...
    Selecting previously unselected package ebtables.
    Preparing to unpack .../08-ebtables_2.0.11-4+b1_amd64.deb ...
    Unpacking ebtables (2.0.11-4+b1) ...
    Selecting previously unselected package ethtool.
    Preparing to unpack .../09-ethtool_1%3a5.9-1_amd64.deb ...
    Unpacking ethtool (1:5.9-1) ...
    Selecting previously unselected package libwrap0:amd64.
    Preparing to unpack .../10-libwrap0_7.6.q-31_amd64.deb ...
    Unpacking libwrap0:amd64 (7.6.q-31) ...
    Selecting previously unselected package socat.
    Preparing to unpack .../11-socat_1.7.4.1-3_amd64.deb ...
    Unpacking socat (1.7.4.1-3) ...
    Selecting previously unselected package kubelet.
    Preparing to unpack .../12-kubelet_1.22.2-00_amd64.deb ...
    Unpacking kubelet (1.22.2-00) ...
    Setting up conntrack (1:1.4.6-2) ...
    Setting up libcap2:amd64 (1:2.44-1) ...
    Setting up libcap2-bin (1:2.44-1) ...
    Setting up libwrap0:amd64 (7.6.q-31) ...
    Setting up ebtables (2.0.11-4+b1) ...
    Setting up socat (1.7.4.1-3) ...
    Setting up libmd0:amd64 (1.0.3-3) ...
    Setting up libbsd0:amd64 (0.11.3-1+deb11u1) ...
    Setting up libelf1:amd64 (0.183-1) ...
    Setting up ethtool (1:5.9-1) ...
    Setting up libbpf0:amd64 (1:0.3-2) ...
    Setting up iproute2 (5.10.0-4) ...
    debconf: unable to initialize frontend: Dialog
    debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
    debconf: falling back to frontend: Readline
    debconf: unable to initialize frontend: Readline
    debconf: (Can't locate Term/ReadLine.pm in @inc (you may need to install the Term::ReadLine module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
    debconf: falling back to frontend: Teletype
    Setting up kubelet (1.22.2-00) ...
    Processing triggers for libc-bin (2.31-13+deb11u7) ...
  • sudo LANG=C chroot ./fsroot-vs apt-get -y install kubectl=1.22.2-00
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following packages were automatically installed and are no longer required:
    dirmngr distro-info-data gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gnupg
    gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf
    gpgsm iso-codes libassuan0 libcurl3-gnutls libdbus-1-3 libexpat1
    libgirepository-1.0-1 libglib2.0-0 libksba8 libmpdec3 libncursesw6 libnpth0
    libpackagekit-glib2-18 libpython3-stdlib libpython3.9-minimal
    libpython3.9-stdlib libreadline8 libsqlite3-0 lsb-release media-types
    pinentry-curses python-apt-common python3 python3-apt python3-dbus
    python3-minimal python3-pycurl python3-software-properties python3.9
    python3.9-minimal readline-common
    Use 'sudo apt autoremove' to remove them.
    The following NEW packages will be installed:
    kubectl
    0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
    Need to get 9038 kB of archives.
    After this operation, 46.9 MB of additional disk space will be used.
    Get:1 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubectl amd64 1.22.2-00 [9038 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 9038 kB in 10s (927 kB/s)
    E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
    Selecting previously unselected package kubectl.
    (Reading database ... 16230 files and directories currently installed.)
    Preparing to unpack .../kubectl_1.22.2-00_amd64.deb ...
    Unpacking kubectl (1.22.2-00) ...
    Setting up kubectl (1.22.2-00) ...
  • sudo LANG=C chroot ./fsroot-vs apt-get -y install kubeadm=1.22.2-00
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following packages were automatically installed and are no longer required:
    dirmngr distro-info-data gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gnupg
    gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf
    gpgsm iso-codes libassuan0 libcurl3-gnutls libdbus-1-3 libexpat1
    libgirepository-1.0-1 libglib2.0-0 libksba8 libmpdec3 libncursesw6 libnpth0
    libpackagekit-glib2-18 libpython3-stdlib libpython3.9-minimal
    libpython3.9-stdlib libreadline8 libsqlite3-0 lsb-release media-types
    pinentry-curses python-apt-common python3 python3-apt python3-dbus
    python3-minimal python3-pycurl python3-software-properties python3.9
    python3.9-minimal readline-common
    Use 'sudo apt autoremove' to remove them.
    The following additional packages will be installed:
    cri-tools
    The following NEW packages will be installed:
    cri-tools kubeadm
    0 upgraded, 2 newly installed, 0 to remove and 7 not upgraded.
    Need to get 27.7 MB of archives.
    After this operation, 98.4 MB of additional disk space will be used.
    Get:1 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 cri-tools amd64 1.26.0-00 [18.9 MB]
    Get:2 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubeadm amd64 1.22.2-00 [8718 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 27.7 MB in 16s (1783 kB/s)
    E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
    Selecting previously unselected package cri-tools.
    (Reading database ... 16231 files and directories currently installed.)
    Preparing to unpack .../cri-tools_1.26.0-00_amd64.deb ...
    Unpacking cri-tools (1.26.0-00) ...
    Selecting previously unselected package kubeadm.
    Preparing to unpack .../kubeadm_1.22.2-00_amd64.deb ...
    Unpacking kubeadm (1.22.2-00) ...
    Setting up cri-tools (1.26.0-00) ...
    Setting up kubeadm (1.22.2-00) ...
  • '[' y == y ']'
  • echo '[INFO] Install kubernetes master'
    [INFO] Install kubernetes master
  • install_kubernetes 1.22.2-00
  • local ver=1.22.2-00
  • sudo https_proxy= LANG=C chroot ./fsroot-vs curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg
  • sudo LANG=C chroot ./fsroot-vs apt-key add -
    Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
    OK
  • sudo cp files/image_config/kubernetes/kubernetes.list ./fsroot-vs/etc/apt/sources.list.d/
  • sudo LANG=C chroot ./fsroot-vs apt-get update
    Hit:1 https://download.docker.com/linux/debian bullseye InRelease
    Hit:3 http://debian-archive.trafficmanager.net/debian bullseye InRelease
    Hit:4 http://debian-archive.trafficmanager.net/debian bullseye-updates InRelease
    Hit:5 http://debian-archive.trafficmanager.net/debian bullseye-backports InRelease
    Hit:6 http://debian-archive.trafficmanager.net/debian-security bullseye-security InRelease
    Hit:2 https://packages.cloud.google.com/apt kubernetes-xenial InRelease
    Reading package lists...
  • sudo LANG=C chroot ./fsroot-vs apt-get -y install kubernetes-cni=0.8.7-00
    Reading package lists...
    Building dependency tree...
    Reading state information...
    kubernetes-cni is already the newest version (0.8.7-00).
    The following packages were automatically installed and are no longer required:
    dirmngr distro-info-data gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gnupg
    gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf
    gpgsm iso-codes libassuan0 libcurl3-gnutls libdbus-1-3 libexpat1
    libgirepository-1.0-1 libglib2.0-0 libksba8 libmpdec3 libncursesw6 libnpth0
    libpackagekit-glib2-18 libpython3-stdlib libpython3.9-minimal
    libpython3.9-stdlib libreadline8 libsqlite3-0 lsb-release media-types
    pinentry-curses python-apt-common python3 python3-apt python3-dbus
    python3-minimal python3-pycurl python3-software-properties python3.9
    python3.9-minimal readline-common
    Use 'sudo apt autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
  • sudo LANG=C chroot ./fsroot-vs apt-get -y install kubelet=1.22.2-00
    Reading package lists...
    Building dependency tree...
    Reading state information...
    kubelet is already the newest version (1.22.2-00).
    The following packages were automatically installed and are no longer required:
    dirmngr distro-info-data gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gnupg
    gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf
    gpgsm iso-codes libassuan0 libcurl3-gnutls libdbus-1-3 libexpat1
    libgirepository-1.0-1 libglib2.0-0 libksba8 libmpdec3 libncursesw6 libnpth0
    libpackagekit-glib2-18 libpython3-stdlib libpython3.9-minimal
    libpython3.9-stdlib libreadline8 libsqlite3-0 lsb-release media-types
    pinentry-curses python-apt-common python3 python3-apt python3-dbus
    python3-minimal python3-pycurl python3-software-properties python3.9
    python3.9-minimal readline-common
    Use 'sudo apt autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
  • sudo LANG=C chroot ./fsroot-vs apt-get -y install kubectl=1.22.2-00
    Reading package lists...
    Building dependency tree...
    Reading state information...
    kubectl is already the newest version (1.22.2-00).
    The following packages were automatically installed and are no longer required:
    dirmngr distro-info-data gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gnupg
    gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf
    gpgsm iso-codes libassuan0 libcurl3-gnutls libdbus-1-3 libexpat1
    libgirepository-1.0-1 libglib2.0-0 libksba8 libmpdec3 libncursesw6 libnpth0
    libpackagekit-glib2-18 libpython3-stdlib libpython3.9-minimal
    libpython3.9-stdlib libreadline8 libsqlite3-0 lsb-release media-types
    pinentry-curses python-apt-common python3 python3-apt python3-dbus
    python3-minimal python3-pycurl python3-software-properties python3.9
    python3.9-minimal readline-common
    Use 'sudo apt autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
  • sudo LANG=C chroot ./fsroot-vs apt-get -y install kubeadm=1.22.2-00
    Reading package lists...
    Building dependency tree...
    Reading state information...
    kubeadm is already the newest version (1.22.2-00).
    The following packages were automatically installed and are no longer required:
    dirmngr distro-info-data gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gnupg
    gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf
    gpgsm iso-codes libassuan0 libcurl3-gnutls libdbus-1-3 libexpat1
    libgirepository-1.0-1 libglib2.0-0 libksba8 libmpdec3 libncursesw6 libnpth0
    libpackagekit-glib2-18 libpython3-stdlib libpython3.9-minimal
    libpython3.9-stdlib libreadline8 libsqlite3-0 lsb-release media-types
    pinentry-curses python-apt-common python3 python3-apt python3-dbus
    python3-minimal python3-pycurl python3-software-properties python3.9
    python3.9-minimal readline-common
    Use 'sudo apt autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
  • sudo https_proxy= LANG=C chroot ./fsroot-vs curl -fsSL https://packages.microsoft.com/keys/microsoft.asc
  • sudo LANG=C chroot ./fsroot-vs apt-key add -
    Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
    OK
  • sudo https_proxy= LANG=C chroot ./fsroot-vs curl -fsSL https://packages.microsoft.com/keys/msopentech.asc
  • sudo LANG=C chroot ./fsroot-vs apt-key add -
    Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
    OK
  • echo 'deb [arch=amd64] https://packages.microsoft.com/repos/azurecore-debian bullseye main'
  • sudo tee ./fsroot-vs/etc/apt/sources.list.d/azure.list
    deb [arch=amd64] https://packages.microsoft.com/repos/azurecore-debian bullseye main
  • sudo LANG=C chroot ./fsroot-vs apt-get update
    Hit:1 https://download.docker.com/linux/debian bullseye InRelease
    Hit:3 http://debian-archive.trafficmanager.net/debian bullseye InRelease
    Hit:4 http://debian-archive.trafficmanager.net/debian bullseye-updates InRelease
    Ign:5 https://packages.microsoft.com/repos/azurecore-debian bullseye InRelease
    Hit:6 http://debian-archive.trafficmanager.net/debian bullseye-backports InRelease
    Hit:7 http://debian-archive.trafficmanager.net/debian-security bullseye-security InRelease
    Err:8 https://packages.microsoft.com/repos/azurecore-debian bullseye Release
    404 Not Found [IP: 13.80.99.124 443]
    Hit:2 https://packages.cloud.google.com/apt kubernetes-xenial InRelease
    Reading package lists...
    E: The repository 'https://packages.microsoft.com/repos/azurecore-debian bullseye Release' does not have a Release file.
  • sudo LANG=C chroot ./fsroot-vs umount /proc
  • true
    [ FAIL LOG END ] [ target/sonic-vs.img.gz ]
    make: *** [slave.mk:1219: target/sonic-vs.img.gz] Error 1
    make[1]: *** [Makefile.work:567: target/sonic-vs.img.gz] Error 2
    make[1]: Leaving directory '/home/rida-laptop/Music/BuildSONIC/sonic-buildimage'
    make: *** [Makefile:41: target/sonic-vs.img.gz] Error 2
    in my target , this time i got maxium target which can be seen below:
    Screenshot from 2023-12-26 14-27-17

@ridahanif96
Copy link
Contributor Author

@losha228 Hey, I have tried same in azure pipelines in PR but still unable to build Kubernetes image. Can you please help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triaged this issue has been triaged
Projects
None yet
Development

No branches or pull requests

4 participants