Closed
Description
Hi All,
When I clone code from the branch 20817 to build one image, I meet the building error as:
ljyang@node2:/mnt/sdb1/ljyang/work/sonic/sonic-buildimage_201807$ make
Image sonic-slave-base:3bd4c40d9e8 not found. Building...
Sending build context to Docker daemon 12.29kB
Step 1/29 : FROM debian:jessie
---> 652b7a59e393
Step 2/29 : MAINTAINER [email protected]
---> Running in e51e5ee7ed2d
---> f3f364dd759b
Removing intermediate container e51e5ee7ed2d
Step 3/29 : RUN echo "deb http://debian-archive.trafficmanager.net/debian/ jessie main contrib non-free" >> /etc/apt/sources.list && echo "deb-src http://debian-archive.trafficmanager.net/debian/ jessie main contrib non-free" >> /etc/apt/sources.list && echo "deb http://debian-archive.trafficmanager.net/debian-security/ jessie/updates main contrib non-free" >> /etc/apt/sources.list && echo "deb-src http://debian-archive.trafficmanager.net/debian-security/ jessie/updates main contrib non-free" >> /etc/apt/sources.list && echo 'deb http://debian-archive.trafficmanager.net/debian jessie-backports main' >> /etc/apt/sources.list
---> Running in 5e3e4bbf5e4a
---> d9d75ad24cd5
Removing intermediate container 5e3e4bbf5e4a
Step 4/29 : ENV DEBIAN_FRONTEND noninteractive
---> Running in e3232dca0e3a
---> e8644e95a834
Removing intermediate container e3232dca0e3a
Step 5/29 : 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-2 libboost-program-options1.55-dev libtinyxml2-dev python python-pip libncurses5-dev texinfo dh-autoreconf python3-pip doxygen devscripts git-buildpackage perl-modules libswitch-perl dh-systemd 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 hardening-wrapper libsnmp-dev libjson0 libjson0-dev libsystemd-dev python-ipaddr 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 php5-dev phpunit libbit-vector-perl openjdk-7-jdk javahelper maven-debian-helper ant libmaven-ant-tasks-java libhttpclient-java libslf4j-java libservlet3.1-java qt5-default libpcre3 libpcre3-dev byacc flex libglib2.0-dev bison expat libexpat1-dev dpatch libdb-dev iptables-dev swig libtool-bin libxml2-dev libusb-1.0-0-dev libcurl3-nss-dev libunwind8-dev telnet cpio squashfs-tools zip linux-compiler-gcc-4.8-x86 linux-kbuild-3.16 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 dkms sharutils libncursesw5-dev libbz2-dev liblzma-dev libgdbm-dev tk-dev blt-dev libmpdec-dev libbluetooth-dev locales libsqlite3-dev libgpm2 time net-tools xvfb python-sphinx python3-sphinx cppcheck clang pylint gcovr python-pytest=2.6.3* python3-pytest=2.6.3* python-pytest-cov python3-pytest-cov python-parse libmysqlclient-dev libmysqld-dev libperl-dev libpci-dev libpci3 libsensors4 libsensors4-dev libwrap0-dev docutils-common libjs-sphinxdoc libjs-underscore python-docutils python-markupsafe python-pygments python-roman sphinx-common python-lxml python-netaddr python-ipaddr python-yaml procmail libgtest-dev cmake autoconf-archive swig3.0 cm-super-minimal libatm1-dev libelf-dev libmnl-dev libselinux1-dev linuxdoc-tools lynx texlive-latex-extra texlive-latex-recommended python-sphinx python-docutils python3-all python3-setuptools python3-sphinx python3-docutils python3-requests python3-pytest python3-colorama texi2html
---> Running in 1b73e9155efa
Err http://security.debian.org jessie/updates InRelease
Err http://debian-archive.trafficmanager.net jessie InRelease
Err http://deb.debian.org jessie InRelease
Err http://security.debian.org jessie/updates Release.gpg
Temporary failure resolving 'security.debian.org'
Err http://debian-archive.trafficmanager.net jessie/updates InRelease
Err http://deb.debian.org jessie Release.gpg
Temporary failure resolving 'deb.debian.org'
Err http://debian-archive.trafficmanager.net jessie-backports InRelease
Err http://debian-archive.trafficmanager.net jessie Release.gpg
Temporary failure resolving 'debian-archive.trafficmanager.net'
Err http://debian-archive.trafficmanager.net jessie/updates Release.gpg
Temporary failure resolving 'debian-archive.trafficmanager.net'
Err http://debian-archive.trafficmanager.net jessie-backports Release.gpg
Temporary failure resolving 'debian-archive.trafficmanager.net'
Reading package lists...
W: Failed to fetch http://deb.debian.org/debian/dists/jessie/InRelease
W: Failed to fetch http://security.debian.org/debian-security/dists/jessie/updates/InRelease
W: Failed to fetch http://debian-archive.trafficmanager.net/debian/dists/jessie/InRelease
W: Failed to fetch http://debian-archive.trafficmanager.net/debian-security/dists/jessie/updates/InRelease
W: Failed to fetch http://debian-archive.trafficmanager.net/debian/dists/jessie-backports/InRelease
W: Failed to fetch http://security.debian.org/debian-security/dists/jessie/updates/Release.gpg Temporary failure resolving 'security.debian.org'
W: Failed to fetch http://debian-archive.trafficmanager.net/debian/dists/jessie/Release.gpg Temporary failure resolving 'debian-archive.trafficmanager.net'
W: Failed to fetch http://deb.debian.org/debian/dists/jessie/Release.gpg Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://debian-archive.trafficmanager.net/debian-security/dists/jessie/updates/Release.gpg Temporary failure resolving 'debian-archive.trafficmanager.net'
W: Failed to fetch http://debian-archive.trafficmanager.net/debian/dists/jessie-backports/Release.gpg Temporary failure resolving 'debian-archive.trafficmanager.net'
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 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
Package libgpm2 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 perl-modules 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:
perl-base
Package apt-utils 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 imagemagick 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 locales 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 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 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 libusb-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:
libusb-0.1-4
E: Package 'apt-utils' has no installation candidate
E: Unable to locate package default-jre-headless
E: Unable to locate package openssh-server
E: Unable to locate package curl
E: Unable to locate package wget
E: Unable to locate package unzip
E: Unable to locate package git
E: Unable to locate package build-essential
E: Unable to locate package libtool
E: Unable to locate package lintian
E: Unable to locate package sudo
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-2
E: Unable to locate package libboost-program-options1.55-dev
E: Couldn't find any package by regex 'libboost-program-options1.55-dev'
E: Unable to locate package libtinyxml2-dev
E: Unable to locate package python
E: Unable to locate package python-pip
E: Unable to locate package libncurses5-dev
E: Unable to locate package texinfo
E: Unable to locate package dh-autoreconf
E: Unable to locate package python3-pip
E: Unable to locate package doxygen
E: Unable to locate package devscripts
E: Unable to locate package git-buildpackage
E: Package 'perl-modules' has no installation candidate
E: Unable to locate package libswitch-perl
E: Unable to locate package dh-systemd
E: Unable to locate package libreadline-dev
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 'imagemagick' has no installation candidate
E: Unable to locate package ghostscript
E: Unable to locate package groff
E: Package 'libpcre3-dev' has no installation candidate
E: Unable to locate package gawk
E: Unable to locate package chrpath
E: Unable to locate package libc-ares-dev
E: Unable to locate package hardening-wrapper
E: Unable to locate package libsnmp-dev
E: Unable to locate package libjson0
E: Unable to locate package libjson0-dev
E: Unable to locate package libsystemd-dev
E: Unable to locate package python-ipaddr
E: Unable to locate package cdbs
E: Unable to locate package libxml-simple-perl
E: Unable to locate package graphviz
E: Unable to locate package aspell
E: Unable to locate package bc
E: Unable to locate package fakeroot
E: Unable to locate package build-essential
E: Unable to locate package devscripts
E: Unable to locate package quilt
E: Unable to locate package stgit
E: Unable to locate package module-assistant
E: Unable to locate package gem2deb
E: Unable to locate package libboost-all-dev
E: Unable to locate package libevent-dev
E: Unable to locate package libglib2.0-dev
E: Couldn't find any package by regex 'libglib2.0-dev'
E: Unable to locate package libqt4-dev
E: Unable to locate package python-all-dev
E: Unable to locate package python-twisted
E: Unable to locate package php5-dev
E: Unable to locate package phpunit
E: Unable to locate package libbit-vector-perl
E: Unable to locate package openjdk-7-jdk
E: Unable to locate package javahelper
E: Unable to locate package maven-debian-helper
E: Unable to locate package ant
E: Unable to locate package libmaven-ant-tasks-java
E: Unable to locate package libhttpclient-java
E: Unable to locate package libslf4j-java
E: Unable to locate package libservlet3.1-java
E: Couldn't find any package by regex 'libservlet3.1-java'
E: Unable to locate package qt5-default
E: Package 'libpcre3-dev' has no installation candidate
E: Unable to locate package byacc
E: Unable to locate package flex
E: Unable to locate package libglib2.0-dev
E: Couldn't find any package by regex 'libglib2.0-dev'
E: Unable to locate package bison
E: Unable to locate package expat
E: Unable to locate package libexpat1-dev
E: Unable to locate package dpatch
E: Unable to locate package libdb-dev
E: Unable to locate package iptables-dev
E: Unable to locate package swig
E: Unable to locate package libtool-bin
E: Unable to locate package libxml2-dev
E: Unable to locate package libusb-1.0-0-dev
E: Couldn't find any package by regex 'libusb-1.0-0-dev'
E: Unable to locate package libcurl3-nss-dev
E: Unable to locate package libunwind8-dev
E: Unable to locate package telnet
E: Package 'cpio' has no installation candidate
E: Unable to locate package squashfs-tools
E: Unable to locate package zip
E: Unable to locate package linux-compiler-gcc-4.8-x86
E: Couldn't find any package by regex 'linux-compiler-gcc-4.8-x86'
E: Unable to locate package linux-kbuild-3.16
E: Couldn't find any package by regex 'linux-kbuild-3.16'
E: Unable to locate package libdaemon-dev
E: Unable to locate package libdbus-1-dev
E: Unable to locate package libjansson-dev
E: Unable to locate package libpcap-dev
E: Unable to locate package dnsutils
E: Package 'libusb-dev' has no installation candidate
E: Unable to locate package augeas-tools
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 dkms
E: Unable to locate package sharutils
E: Unable to locate package libncursesw5-dev
E: Unable to locate package libbz2-dev
E: Unable to locate package liblzma-dev
E: Unable to locate package libgdbm-dev
E: Unable to locate package tk-dev
E: Unable to locate package blt-dev
E: Unable to locate package libmpdec-dev
E: Unable to locate package libbluetooth-dev
E: Package 'locales' has no installation candidate
E: Unable to locate package libsqlite3-dev
E: Package 'libgpm2' has no installation candidate
E: Unable to locate package time
E: Unable to locate package net-tools
E: Unable to locate package xvfb
E: Unable to locate package python-sphinx
E: Unable to locate package python3-sphinx
E: Unable to locate package cppcheck
E: Unable to locate package clang
E: Unable to locate package pylint
E: Unable to locate package gcovr
E: Unable to locate package python-pytest
E: Unable to locate package python3-pytest
E: Unable to locate package python-pytest-cov
E: Unable to locate package python3-pytest-cov
E: Unable to locate package python-parse
E: Unable to locate package libmysqlclient-dev
E: Unable to locate package libmysqld-dev
E: Unable to locate package libperl-dev
E: Unable to locate package libpci-dev
E: Unable to locate package libpci3
E: Unable to locate package libsensors4
E: Unable to locate package libsensors4-dev
E: Unable to locate package libwrap0-dev
E: Unable to locate package docutils-common
E: Unable to locate package libjs-sphinxdoc
E: Unable to locate package libjs-underscore
E: Unable to locate package python-docutils
E: Unable to locate package python-markupsafe
E: Unable to locate package python-pygments
E: Unable to locate package python-roman
E: Unable to locate package sphinx-common
E: Unable to locate package python-lxml
E: Unable to locate package python-netaddr
E: Unable to locate package python-ipaddr
E: Unable to locate package python-yaml
E: Unable to locate package procmail
E: Unable to locate package libgtest-dev
E: Unable to locate package cmake
E: Unable to locate package autoconf-archive
E: Unable to locate package swig3.0
E: Couldn't find any package by regex 'swig3.0'
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: Unable to locate package lynx
E: Unable to locate package texlive-latex-extra
E: Unable to locate package texlive-latex-recommended
E: Unable to locate package python-sphinx
E: Unable to locate package python-docutils
E: Unable to locate package python3-all
E: Unable to locate package python3-setuptools
E: Unable to locate package python3-sphinx
E: Unable to locate package python3-docutils
E: Unable to locate package python3-requests
E: Unable to locate package python3-pytest
E: Unable to locate package python3-colorama
E: Unable to locate package texi2html
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-2 libboost-program-options1.55-dev libtinyxml2-dev python python-pip libncurses5-dev texinfo dh-autoreconf python3-pip doxygen devscripts git-buildpackage perl-modules libswitch-perl dh-systemd 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 hardening-wrapper libsnmp-dev libjson0 libjson0-dev libsystemd-dev python-ipaddr 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 php5-dev phpunit libbit-vector-perl openjdk-7-jdk javahelper maven-debian-helper ant libmaven-ant-tasks-java libhttpclient-java libslf4j-java libservlet3.1-java qt5-default libpcre3 libpcre3-dev byacc flex libglib2.0-dev bison expat libexpat1-dev dpatch libdb-dev iptables-dev swig libtool-bin libxml2-dev libusb-1.0-0-dev libcurl3-nss-dev libunwind8-dev telnet cpio squashfs-tools zip linux-compiler-gcc-4.8-x86 linux-kbuild-3.16 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 dkms sharutils libncursesw5-dev libbz2-dev liblzma-dev libgdbm-dev tk-dev blt-dev libmpdec-dev libbluetooth-dev locales libsqlite3-dev libgpm2 time net-tools xvfb python-sphinx python3-sphinx cppcheck clang pylint gcovr python-pytest=2.6.3* python3-pytest=2.6.3* python-pytest-cov python3-pytest-cov python-parse libmysqlclient-dev libmysqld-dev libperl-dev libpci-dev libpci3 libsensors4 libsensors4-dev libwrap0-dev docutils-common libjs-sphinxdoc libjs-underscore python-docutils python-markupsafe python-pygments python-roman sphinx-common python-lxml python-netaddr python-ipaddr python-yaml procmail libgtest-dev cmake autoconf-archive swig3.0 cm-super-minimal libatm1-dev libelf-dev libmnl-dev libselinux1-dev linuxdoc-tools lynx texlive-latex-extra texlive-latex-recommended python-sphinx python-docutils python3-all python3-setuptools python3-sphinx python3-docutils python3-requests python3-pytest python3-colorama texi2html' returned a non-zero code: 100
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 100
Please tell me how to fix the issue.
Thanks,
Michael
Metadata
Metadata
Assignees
Labels
No labels