Skip to content

sonic-slave-stretch build failed #4315

@tieguoevan

Description

@tieguoevan

Description

sonic-slave-stretch cannot be built because debhelper from stretch-backports is conflicted with cmake from stretch

Step 10/42 : RUN apt-get -t stretch-backports install -y debhelper
 ---> Running in b4298563bd0d
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  cmake-data libarchive13 libuv1
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  dh-autoreconf dpatch dwz quilt
The following packages will be REMOVED:
  cmake
The following NEW packages will be installed:
  dwz
The following packages will be upgraded:
  debhelper dh-autoreconf dpatch quilt
4 upgraded, 1 newly installed, 1 to remove and 147 not upgraded.
Need to get 1515 kB of archives.
After this operation, 15.9 MB disk space will be freed.

Without cmake, subsequent compilation will fail

Step 31/42 : RUN cd /usr/src/gtest && cmake . && make -C /usr/src/gtest
 ---> Running in fc9ae8ff35ea
�[91m/bin/sh: 1: cmake: not found
�[0mThe command '/bin/sh -c cd /usr/src/gtest && cmake . && make -C /usr/src/gtest' returned a non-zero code: 127
Sending build context to Docker daemon  28.67kB

sonic-jenkins can also see related logs
https://sonic-jenkins.westus2.cloudapp.azure.com/job/bldenv/job/sonic-slave-stretch/110/consoleFull

Steps to reproduce the issue:

  1. remove existed sonic-slave-stretch
  2. make configure

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions