sonic-net / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
739 stars 1.43k forks source link

build failure when "make configure platform=p4" is executed #6804

Open gck-04 opened 3 years ago

gck-04 commented 3 years ago

Getting error while creating sonic-slave-stretch base container image. Please find the below log

~/sonic-repo/sonic-buildimage$ make configure PLATFORM=p4 +++ Making configure +++ BLDENV=stretch make -f Makefile.work configure make[1]: Entering directory '/home/sonic/sonic-repo/sonic-buildimage' ~/sonic-repo/sonic-buildimage/src/sonic-build-hooks ~/sonic-repo/sonic-buildimage make[2]: Entering directory '/home/sonic/sonic-repo/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/sonic/sonic-repo/sonic-buildimage/src/sonic-build-hooks' ~/sonic-repo/sonic-buildimage Image sonic-slave-stretch:7b2d0d78304 not found. Building... Sending build context to Docker daemon 46.59kB Step 1/61 : FROM debian:stretch ---> f00be68857e6 Step 2/61 : MAINTAINER gulv@microsoft.com ---> Running in da022e677bd6 Removing intermediate container da022e677bd6 ---> 6193f3c09155 Step 3/61 : COPY ["no-check-valid-until", "/etc/apt/apt.conf.d/"] ---> 48eb9b201755 Step 4/61 : COPY ["buildinfo", "/usr/local/share/buildinfo"] ---> 9bb783edf4fa Step 5/61 : RUN dpkg -i /usr/local/share/buildinfo/sonic-build-hooks_1.0_all.deb ---> Running in 7411472152ed Selecting previously unselected package sonic-build-hooks. (Reading database ... 6503 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) ... Removing intermediate container 7411472152ed ---> 480cc37424e3 Step 6/61 : RUN pre_run_buildinfo ---> Running in e0efa62f4e7a Removing intermediate container e0efa62f4e7a ---> 2c27e36f2960 Step 7/61 : RUN echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free" >> /etc/apt/sources.list && echo "deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free" >> /etc/apt/sources.list && echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free" >> /etc/apt/sources.list && echo "deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free" >> /etc/apt/sources.list && echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian stretch-backports main" >> /etc/apt/sources.list && echo "deb [arch=amd64] http://packages.trafficmanager.net/debian/debian stretch main contrib non-free" >> /etc/apt/sources.list && echo "deb [arch=amd64] http://packages.trafficmanager.net/debian/debian stretch-updates main contrib non-free" >> /etc/apt/sources.list && echo "deb [arch=amd64] http://packages.microsoft.com/debian/9/prod stretch main" >> /etc/apt/sources.list ---> Running in ef481044f1ca Removing intermediate container ef481044f1ca ---> f520bd9af792 Step 8/61 : ENV DEBIAN_FRONTEND=noninteractive ---> Running in 0c699b7d3d36 Removing intermediate container 0c699b7d3d36 ---> be38ee3c1cb3 Step 9/61 : RUN apt-get update && apt-get install -y apt-utils default-jre-headless openssh-server curl wget unzip git build-essential libtool lintian sudo dh-make dh-exec kmod libtinyxml2-4 libboost-program-options1.62-dev libtinyxml2-dev python python-pip python3-pip libncurses5-dev texinfo dh-autoreconf doxygen devscripts git-buildpackage perl-modules libswitch-perl dh-systemd libzmq5 libzmq3-dev libreadline-dev texlive-latex-base texlive-generic-recommended texlive-fonts-recommended libpam0g-dev libpam-dev libcap-dev imagemagick ghostscript groff libpcre3-dev gawk chrpath libc-ares-dev libsnmp-dev libjson-c3 libjson-c-dev libsystemd-dev python-ipaddr libcmocka-dev python3-all-dev python3-all-dbg install-info logrotate cdbs libxml-simple-perl graphviz aspell bc fakeroot build-essential devscripts quilt stgit module-assistant gem2deb libboost-all-dev libevent-dev libglib2.0-dev libqt4-dev python-all-dev python-twisted phpunit libbit-vector-perl openjdk-8-jdk javahelper maven-debian-helper ant libmaven-ant-tasks-java libhttpclient-java libslf4j-java libservlet3.1-java qt5-default pkg-php-tools libpcre3 libpcre3-dev byacc flex libglib2.0-dev bison expat libexpat1-dev dpatch libdb-dev iptables-dev ctags libtool-bin libxml2-dev libusb-1.0-0-dev libcurl3-nss-dev libunwind8-dev telnet libc-ares2 libgoogle-perftools4 cpio squashfs-tools zip linux-compiler-gcc-6-x86 linux-kbuild-4.9 libdaemon-dev libdbus-1-dev libjansson-dev libpcap-dev dnsutils libusb-dev augeas-tools libyaml-dev libevent-dev libjudy-dev libedit-dev libnanomsg-dev python-stdeb libjemalloc-dev liblua5.1-0-dev lua-bitop-dev lua-cjson-dev dkms cppcheck clang pylint python-pytest gcovr python-pytest-cov python-parse default-libmysqlclient-dev libssl1.0-dev libperl-dev libpci-dev libpci3 libsensors4 libsensors4-dev libwrap0-dev debhelper autotools-dev libbsd-dev pkg-config check docutils-common libjs-sphinxdoc libjs-underscore python-docutils python-jinja2 python-markupsafe python-pygments python-roman python-sphinx sphinx-common python3-sphinx python-dev procmail autoconf-archive cm-super-minimal libatm1-dev libelf-dev libmnl-dev libselinux1-dev linuxdoc-tools lynx texlive-latex-extra texlive-latex-recommended iproute2 texi2html bash-completion dosfstools qemu-kvm libvirt-clients librrd8 librrd-dev rrdtool automake1.11 libselinux1-dev liblzo2-dev libnetfilter-conntrack-dev libnftnl-dev protobuf-compiler libprotobuf-dev xxd libexplain-dev libevent-dev swig autoconf m4 libxml2-utils xsltproc python-lxml libexpat1-dev ---> Running in 7c157f5c0500 Get:1 http://packages.microsoft.com/debian/9/prod stretch InRelease [4009 B] Get:2 http://security.debian.org/debian-security stretch/updates InRelease [53.0 kB] Get:3 http://packages.microsoft.com/debian/9/prod stretch/main amd64 Packages [127 kB] Get:4 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [653 kB] Err:5 http://deb.debian.org/debian stretch InRelease Could not connect to deb.debian.org:80 (151.101.10.132). - connect (111: Connection refused) Err:6 http://deb.debian.org/debian stretch-updates InRelease Unable to connect to deb.debian.org:http: Err:7 http://debian-archive.trafficmanager.net/debian stretch InRelease Could not connect to debian-archive.trafficmanager.net:80 (52.139.235.206). - connect (111: Connection refused) Err:8 http://debian-archive.trafficmanager.net/debian-security stretch/updates InRelease Unable to connect to debian-archive.trafficmanager.net:http: Err:9 http://debian-archive.trafficmanager.net/debian stretch-backports InRelease Unable to connect to debian-archive.trafficmanager.net:http: Err:10 http://packages.trafficmanager.net/debian/debian stretch InRelease Could not connect to packages.trafficmanager.net:80 (13.107.246.13). - connect (111: Connection refused) Err:11 http://packages.trafficmanager.net/debian/debian stretch-updates InRelease Unable to connect to packages.trafficmanager.net:http: Fetched 837 kB in 21s (39.3 kB/s) Reading package lists... W: Failed to fetch http://deb.debian.org/debian/dists/stretch/InRelease Could not connect to deb.debian.org:80 (151.101.10.132). - connect (111: Connection refused) W: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/InRelease Unable to connect to deb.debian.org:http: W: Failed to fetch http://debian-archive.trafficmanager.net/debian/dists/stretch/InRelease Could not connect to debian-archive.trafficmanager.net:80 (52.139.235.206). - connect (111: Connection refused) W: Failed to fetch http://debian-archive.trafficmanager.net/debian-security/dists/stretch/updates/InRelease Unable to connect to debian-archive.trafficmanager.net:http: W: Failed to fetch http://debian-archive.trafficmanager.net/debian/dists/stretch-backports/InRelease Unable to connect to debian-archive.trafficmanager.net:http: W: Failed to fetch http://packages.trafficmanager.net/debian/debian/dists/stretch/InRelease Could not connect to packages.trafficmanager.net:80 (13.107.246.13). - connect (111: Connection refused) W: Failed to fetch http://packages.trafficmanager.net/debian/debian/dists/stretch-updates/InRelease Unable to connect to packages.trafficmanager.net:http: W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Building dependency tree... Reading state information... Package default-jre-headless is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libslf4j-java is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package python-jinja2 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libjs-sphinxdoc is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package debhelper is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package logrotate is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package gawk is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package python is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package kmod is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package pkg-config is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package rrdtool is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libglib2.0-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package lynx is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package clang is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libgoogle-perftools4 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libpci3 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package xsltproc is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package telnet is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package bc is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package install-info is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libjs-underscore is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package dkms is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libpcap-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package unzip is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package zip is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libreadline-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package quilt is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package bash-completion is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: bash util-linux mount bsdutils udev

Package git-buildpackage is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package stgit is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package aspell is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libswitch-perl is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libxml-simple-perl is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package graphviz is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package python-docutils is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package python-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libjansson-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package build-essential is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package devscripts is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package fakeroot is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package python-all-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package python-sphinx is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package python3-sphinx is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package python-markupsafe is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package python-pygments is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package python-twisted is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package bison is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package flex is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libtool-bin is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libc-ares2 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package ctags is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libwrap0-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libsensors4-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libpci-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libsensors4 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package groff is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package librrd8 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package cpio is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: tar

Package module-assistant is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package texinfo is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package autoconf is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libpcre3-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libtool is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package pkg-php-tools is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package default-libmysqlclient-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package squashfs-tools is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package dosfstools is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package cppcheck is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package pylint is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package autotools-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package cdbs is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libpam0g-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: libpam-runtime

E: Package 'default-jre-headless' has no installation candidate E: Package 'unzip' has no installation candidate E: Package 'build-essential' has no installation candidate E: Package 'libtool' has no installation candidate E: Unable to locate package lintian E: Unable to locate package dh-make E: Unable to locate package dh-exec E: Package 'kmod' has no installation candidate E: Unable to locate package libtinyxml2-4 E: Unable to locate package libboost-program-options1.62-dev E: Couldn't find any package by glob 'libboost-program-options1.62-dev' E: Couldn't find any package by regex 'libboost-program-options1.62-dev' E: Unable to locate package libtinyxml2-dev E: Package 'python' has no installation candidate E: Unable to locate package libncurses5-dev E: Package 'texinfo' has no installation candidate E: Unable to locate package dh-autoreconf E: Unable to locate package doxygen E: Package 'devscripts' has no installation candidate E: Package 'git-buildpackage' has no installation candidate E: Package 'libswitch-perl' has no installation candidate E: Unable to locate package dh-systemd E: Package 'libreadline-dev' has no installation candidate E: Unable to locate package texlive-latex-base E: Unable to locate package texlive-generic-recommended E: Unable to locate package texlive-fonts-recommended E: Package 'libpam0g-dev' has no installation candidate E: Unable to locate package libpam-dev E: Unable to locate package libcap-dev E: Package 'groff' has no installation candidate E: Package 'libpcre3-dev' has no installation candidate E: Package 'gawk' has no installation candidate E: Unable to locate package chrpath E: Unable to locate package libc-ares-dev E: Unable to locate package python-ipaddr E: Unable to locate package libcmocka-dev E: Unable to locate package python3-all-dev E: Unable to locate package python3-all-dbg E: Package 'install-info' has no installation candidate E: Package 'logrotate' has no installation candidate E: Package 'cdbs' has no installation candidate E: Package 'libxml-simple-perl' has no installation candidate E: Package 'graphviz' has no installation candidate E: Package 'aspell' has no installation candidate E: Package 'bc' has no installation candidate E: Package 'fakeroot' has no installation candidate E: Package 'build-essential' has no installation candidate E: Package 'devscripts' has no installation candidate E: Package 'quilt' has no installation candidate E: Package 'stgit' has no installation candidate E: Package 'module-assistant' has no installation candidate E: Unable to locate package gem2deb E: Unable to locate package libboost-all-dev E: Unable to locate package libevent-dev E: Package 'libglib2.0-dev' has no installation candidate E: Package 'python-all-dev' has no installation candidate E: Package 'python-twisted' has no installation candidate E: Unable to locate package phpunit E: Unable to locate package libbit-vector-perl E: Unable to locate package javahelper E: Unable to locate package maven-debian-helper E: Unable to locate package libmaven-ant-tasks-java E: Package 'libslf4j-java' has no installation candidate E: Package 'pkg-php-tools' has no installation candidate E: Package 'libpcre3-dev' has no installation candidate E: Unable to locate package byacc E: Package 'flex' has no installation candidate E: Package 'libglib2.0-dev' has no installation candidate E: Package 'bison' has no installation candidate E: Unable to locate package dpatch E: Unable to locate package libdb-dev E: Unable to locate package iptables-dev E: Package 'ctags' has no installation candidate E: Package 'libtool-bin' has no installation candidate E: Unable to locate package libusb-1.0-0-dev E: Couldn't find any package by glob 'libusb-1.0-0-dev' E: Couldn't find any package by regex 'libusb-1.0-0-dev' E: Unable to locate package libunwind8-dev E: Package 'telnet' has no installation candidate E: Package 'libc-ares2' has no installation candidate E: Package 'libgoogle-perftools4' has no installation candidate E: Package 'cpio' has no installation candidate E: Package 'squashfs-tools' has no installation candidate E: Package 'zip' has no installation candidate E: Unable to locate package libdaemon-dev E: Package 'libjansson-dev' has no installation candidate E: Package 'libpcap-dev' has no installation candidate E: Unable to locate package libusb-dev E: Unable to locate package libyaml-dev E: Unable to locate package libevent-dev E: Unable to locate package libjudy-dev E: Unable to locate package libedit-dev E: Unable to locate package libnanomsg-dev E: Unable to locate package python-stdeb E: Unable to locate package libjemalloc-dev E: Unable to locate package liblua5.1-0-dev E: Couldn't find any package by glob 'liblua5.1-0-dev' E: Couldn't find any package by regex 'liblua5.1-0-dev' E: Unable to locate package lua-bitop-dev E: Unable to locate package lua-cjson-dev E: Package 'dkms' has no installation candidate E: Package 'cppcheck' has no installation candidate E: Package 'clang' has no installation candidate E: Package 'pylint' has no installation candidate E: Unable to locate package python-pytest E: Unable to locate package gcovr E: Unable to locate package python-pytest-cov E: Unable to locate package python-parse E: Package 'default-libmysqlclient-dev' has no installation candidate E: Package 'libpci-dev' has no installation candidate E: Package 'libpci3' has no installation candidate E: Package 'libsensors4' has no installation candidate E: Package 'libsensors4-dev' has no installation candidate E: Package 'libwrap0-dev' has no installation candidate E: Package 'debhelper' has no installation candidate E: Package 'autotools-dev' has no installation candidate E: Unable to locate package libbsd-dev E: Package 'pkg-config' has no installation candidate E: Unable to locate package check E: Unable to locate package docutils-common E: Package 'libjs-sphinxdoc' has no installation candidate E: Package 'libjs-underscore' has no installation candidate E: Package 'python-docutils' has no installation candidate E: Package 'python-jinja2' has no installation candidate E: Package 'python-markupsafe' has no installation candidate E: Package 'python-pygments' has no installation candidate E: Unable to locate package python-roman E: Package 'python-sphinx' has no installation candidate E: Unable to locate package sphinx-common E: Package 'python3-sphinx' has no installation candidate E: Package 'python-dev' has no installation candidate E: Unable to locate package autoconf-archive E: Unable to locate package cm-super-minimal E: Unable to locate package libatm1-dev E: Unable to locate package libelf-dev E: Unable to locate package libmnl-dev E: Unable to locate package libselinux1-dev E: Unable to locate package linuxdoc-tools E: Package 'lynx' has no installation candidate E: Unable to locate package texlive-latex-extra E: Unable to locate package texlive-latex-recommended E: Unable to locate package texi2html E: Package 'bash-completion' has no installation candidate E: Package 'dosfstools' has no installation candidate E: Package 'librrd8' has no installation candidate E: Unable to locate package librrd-dev E: Package 'rrdtool' has no installation candidate E: Unable to locate package automake1.11 E: Couldn't find any package by glob 'automake1.11' E: Couldn't find any package by regex 'automake1.11' E: Unable to locate package libselinux1-dev E: Unable to locate package liblzo2-dev E: Unable to locate package libnetfilter-conntrack-dev E: Unable to locate package libnftnl-dev E: Unable to locate package protobuf-compiler E: Unable to locate package libprotobuf-dev E: Unable to locate package libexplain-dev E: Unable to locate package libevent-dev E: Unable to locate package swig E: Package 'autoconf' has no installation candidate E: Unable to locate package m4 E: Package 'xsltproc' has no installation candidate The command '/bin/sh -c apt-get update && apt-get install -y apt-utils default-jre-headless openssh-server curl wget unzip git build-essential libtool lintian sudo dh-make dh-exec kmod libtinyxml2-4 libboost-program-options1.62-dev libtinyxml2-dev python python-pip python3-pip libncurses5-dev texinfo dh-autoreconf doxygen devscripts git-buildpackage perl-modules libswitch-perl dh-systemd libzmq5 libzmq3-dev libreadline-dev texlive-latex-base texlive-generic-recommended texlive-fonts-recommended libpam0g-dev libpam-dev libcap-dev imagemagick ghostscript groff libpcre3-dev gawk chrpath libc-ares-dev libsnmp-dev libjson-c3 libjson-c-dev libsystemd-dev python-ipaddr libcmocka-dev python3-all-dev python3-all-dbg install-info logrotate cdbs libxml-simple-perl graphviz aspell bc fakeroot build-essential devscripts quilt stgit module-assistant gem2deb libboost-all-dev libevent-dev libglib2.0-dev libqt4-dev python-all-dev python-twisted phpunit libbit-vector-perl openjdk-8-jdk javahelper maven-debian-helper ant libmaven-ant-tasks-java libhttpclient-java libslf4j-java libservlet3.1-java qt5-default pkg-php-tools libpcre3 libpcre3-dev byacc flex libglib2.0-dev bison expat libexpat1-dev dpatch libdb-dev iptables-dev ctags libtool-bin libxml2-dev libusb-1.0-0-dev libcurl3-nss-dev libunwind8-dev telnet libc-ares2 libgoogle-perftools4 cpio squashfs-tools zip linux-compiler-gcc-6-x86 linux-kbuild-4.9 libdaemon-dev libdbus-1-dev libjansson-dev libpcap-dev dnsutils libusb-dev augeas-tools libyaml-dev libevent-dev libjudy-dev libedit-dev libnanomsg-dev python-stdeb libjemalloc-dev liblua5.1-0-dev lua-bitop-dev lua-cjson-dev dkms cppcheck clang pylint python-pytest gcovr python-pytest-cov python-parse default-libmysqlclient-dev libssl1.0-dev libperl-dev libpci-dev libpci3 libsensors4 libsensors4-dev libwrap0-dev debhelper autotools-dev libbsd-dev pkg-config check docutils-common libjs-sphinxdoc libjs-underscore python-docutils python-jinja2 python-markupsafe python-pygments python-roman python-sphinx sphinx-common python3-sphinx python-dev procmail autoconf-archive cm-super-minimal libatm1-dev libelf-dev libmnl-dev libselinux1-dev linuxdoc-tools lynx texlive-latex-extra texlive-latex-recommended iproute2 texi2html bash-completion dosfstools qemu-kvm libvirt-clients librrd8 librrd-dev rrdtool automake1.11 libselinux1-dev liblzo2-dev libnetfilter-conntrack-dev libnftnl-dev protobuf-compiler libprotobuf-dev xxd libexplain-dev libevent-dev swig autoconf m4 libxml2-utils xsltproc python-lxml libexpat1-dev' returned a non-zero code: 100 Unable to find image 'sonic-slave-stretch:7b2d0d78304' locally Error response from daemon: pull access denied for sonic-slave-stretch, repository does not exist or may require 'docker login': denied: requested access to the resource is denied Error: No such container:path: sonic-slave-stretch:/etc/os-release Error: No such container:path: sonic-slave-stretch:/usr/local/share/buildinfo/pre-versions Error: No such container:path: sonic-slave-stretch:/usr/local/share/buildinfo/post-versions Error: No such container: sonic-slave-stretch Image sonic-slave-stretch-sonic:109fdea9740 not found. Building... Sending build context to Docker daemon 46.59kB Step 1/18 : ARG slave_base_tag_ref=latest Step 2/18 : FROM sonic-slave-stretch:${slave_base_tag_ref} pull access denied for sonic-slave-stretch, repository does not exist or may require 'docker login': denied: requested access to the resource is denied Unable to find image 'sonic-slave-stretch-sonic:109fdea9740' locally docker: Error response from daemon: pull access denied for sonic-slave-stretch-sonic, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. See 'docker run --help'. make[1]: [Makefile.work:265: configure] Error 125 make[1]: Leaving directory '/home/sonic/sonic-repo/sonic-buildimage' make: [Makefile:34: configure] Error 2

gck-04 commented 3 years ago

Hi @kcudnik any thoughts on this?

kcudnik commented 3 years ago

seems like you have connections issues, since apg get cant connect to redrive packages and get connection refused, check your internet connections

gck-04 commented 3 years ago

HI @kcudnik I tried ping to that IP. I can do it but still i am getting that error

gck-04 commented 3 years ago

Hi @kcudnik, Do you know why i am getting this error

docker: Error response from daemon: pull access denied for sonic-slave-stretch-sonic, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. See 'docker run --help'. make[1]: [Makefile.work:265: configure] Error 125 make[1]: Leaving directory '/home/sonic/sonic-repo/sonic-buildimage' make: [Makefile:34: configure] Error 2

gck-04 commented 3 years ago

seems like you have connections issues, since apg get cant connect to redrive packages and get connection refused, check your internet connections

Do you mean resolving connection issue help the build to succeed?

anshuv-mfst commented 3 years ago

P4 is not supported, will have to treat this as an enhancement request., thanks.

gck-04 commented 3 years ago

seems like you have connections issues, since apg get cant connect to redrive packages and get connection refused, check your internet connections

I am able to do wget on those links