Skip to content

docker dhcp build failed. #1669

@jeromesun14

Description

@jeromesun14

Description

docker-dhcp-relay build failed.

Steps to reproduce the issue:

  1. make target/sonic-broadcom.bin

Describe the results you received:
docker image build failed.

Describe the results you expected:

docker image build successfully.

Additional information you deem important (e.g. issue happens only occasionally):

**Output of `show version`:**
branch 201803, commit id 8572f84ea0f6054f1c0440511db6501d6f465cfd
**Attach debug file `sudo generate_dump`:**
Fetched 19.5 MB in 4s (4643 kB/s)
Reading package lists...
 ---> caaea7089f2d
Removing intermediate container 733d5b53e400
Step 4/12 : COPY debs/isc-dhcp-common_4.3.3-6_amd64.deb debs/
 ---> c04c819133ba
Removing intermediate container 53842895daae
Step 5/12 : COPY debs/isc-dhcp-relay_4.3.3-6_amd64.deb debs/
 ---> 013b381c2ffa
Removing intermediate container 8c684f9c9e07
Step 6/12 : RUN dpkg_apt() { [ -f $1 ] && { dpkg -i $1 || apt-get -y install -f; } || return 1; }; dpkg_apt debs/isc-dhcp-common_4.3.3-6_amd64.deb
 ---> Running in d3e4f7a09ac2
(Reading database ... 14581 files and directories currently installed.)
Preparing to unpack .../isc-dhcp-common_4.3.3-6_amd64.deb ...
Unpacking isc-dhcp-common (4.3.3-6) over (4.3.1-6+deb8u3) ...
Setting up isc-dhcp-common (4.3.3-6) ...
 ---> 86452f7b49f4
Removing intermediate container d3e4f7a09ac2
Step 7/12 : RUN dpkg_apt() { [ -f $1 ] && { dpkg -i $1 || apt-get -y install -f; } || return 1; }; dpkg_apt debs/isc-dhcp-relay_4.3.3-6_amd64.deb
 ---> Running in a90fc03b05ca
Selecting previously unselected package isc-dhcp-relay.
(Reading database ... 14581 files and directories currently installed.)
Preparing to unpack .../isc-dhcp-relay_4.3.3-6_amd64.deb ...
Unpacking isc-dhcp-relay (4.3.3-6) ...
Setting up isc-dhcp-relay (4.3.3-6) ...
Generating /etc/default/isc-dhcp-relay...
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for systemd (215-17+deb8u7) ...
 ---> d874498b6bf3
Removing intermediate container a90fc03b05ca
Step 8/12 : RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
 ---> Running in beede5550618
Reading package lists...
Building dependency tree...
Reading state information...
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 isc-dhcp-client : Depends: isc-dhcp-common (= 4.3.1-6+deb8u3) but 4.3.3-6 is installed
E: Unmet dependencies. Try using -f.
The command '/bin/sh -c apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y' returned a non-zero code: 100
[  FAIL LOG END  ] [ target/docker-dhcp-relay.gz ]
slave.mk:377: recipe for target 'target/docker-dhcp-relay.gz' failed
make: *** [target/docker-dhcp-relay.gz] Error 1
make: *** Waiting for unfinished jobs....
Makefile:82: recipe for target 'target/sonic-broadcom.bin' failed
make: *** [target/sonic-broadcom.bin] Error 2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions