Skip to content

build error on 201904 branch for nephos platform #2902

@michealylj1

Description

@michealylj1

Hi All,

I meet one error message as:

+++ --- Making list --- +++
BLDENV=stretch EXTRA_STRETCH_TARGETS=list make -f Makefile.work stretch
make[1]: Entering directory '/home/ljyang/work/sonic/svn_code/test/sonic-buildimage_201904'
SONiC Build System

Build Configuration
"CONFIGURED_PLATFORM" : "nephos"
"SONIC_CONFIG_PRINT_DEPENDENCIES" : ""
"SONIC_BUILD_JOBS" : "1"
"SONIC_CONFIG_MAKE_JOBS" : "40"
"USERNAME" : "admin"
"PASSWORD" : "YourPaSsWoRd"
"ENABLE_DHCP_GRAPH_SERVICE" : ""
"SHUTDOWN_BGP_ON_START" : ""
"ENABLE_PFCWD_ON_START" : ""
"INSTALL_DEBUG_TOOLS" : ""
"ROUTING_STACK" : "frr"
"FRR_USER_UID" : "300"
"FRR_USER_GID" : "300"
"ENABLE_SYNCD_RPC" : ""
"ENABLE_ORGANIZATION_EXTENSIONS" : "y"
"HTTP_PROXY" : ""
"HTTPS_PROXY" : ""
"ENABLE_SYSTEM_TELEMETRY" : "y"
"SONIC_DEBUGGING_ON" : ""
"SONIC_PROFILING_ON" : ""
"KERNEL_PROCURE_METHOD" : "build"
"BUILD_TIMESTAMP" : "20190515.095624"
"BLDENV" : "stretch"
"VS_PREPARE_MEM" : "yes"

slave.mk:332: warning: overriding recipe for target 'target/debs/stretch/libsainps-dev_2.0.8_sai_1.4.0_c818c7_amd64.deb'
slave.mk:196: warning: ignoring old recipe for target 'target/debs/stretch/libsainps-dev_2.0.8_sai_1.4.0_c818c7_amd64.deb'
slave.mk:365: target 'target/debs/stretch/libsainps-dev_2.0.8_sai_1.4.0_c818c7_amd64.deb-install' given more than once in the same rule
slave.mk:686: target 'target/debs/stretch/libsainps-dev_2.0.8_sai_1.4.0_c818c7_amd64.deb-clean' given more than once in the same rule
[ FAIL LOG START ] [ target/docker-base-stretch.gz ]
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 17.03.2-ce
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: overlayfs
Dirs: 0
Dirperm1 Supported: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 4ab9917febca54791c5f071a9d1f404867857fcc
runc version: 54296cf40ad8143b62dbcaa1d90e520a2136ddfe
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 4.4.0-146-generic
Operating System: Debian GNU/Linux 9 (stretch) (containerized)
OSType: linux
Architecture: x86_64
CPUs: 40
Total Memory: 125.8 GiB
Name: 0a5191cbf44e
ID: PTSL:MLSV:IEKG:K4BY:DSDT:Z5Q5:U2GF:NU7Y:PQXN:NSW7:DTS5:RNGG
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: true
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false

WARNING: No swap limit support
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Sending build context to Docker daemon 66.07 MB
Step 1/27 : FROM debian:stretch
stretch: Pulling from library/debian
c5e155d5a1d1: Pulling fs layer
c5e155d5a1d1: Verifying Checksum
c5e155d5a1d1: Download complete
c5e155d5a1d1: Pull complete
Digest: sha256:75f7d0590b45561bfa443abad0b3e0f86e2811b1fc176f786cd30eb078d1846f
Status: Downloaded newer image for debian:stretch
---> 8d31923452f8
Step 2/27 : RUN find /usr/share/doc -depth ( -type f -o -type l ) ! -name copyright | xargs rm || true
error creating aufs mount to /var/lib/docker/aufs/mnt/f7aba6f0e483067d42c77606217974c668fd71b9b6ad4522caf6afefdda95952-init: invalid argument
[ FAIL LOG END ] [ target/docker-base-stretch.gz ]
slave.mk:495: recipe for target 'target/docker-base-stretch.gz' failed
make: *** [target/docker-base-stretch.gz] Error 1
Makefile.work:134: recipe for target 'stretch' failed
make[1]: *** [stretch] Error 2
make[1]: Leaving directory '/home/ljyang/work/sonic/svn_code/test/sonic-buildimage_201904'
Makefile:6: recipe for target 'list' failed
make: *** [list] Error 2

Please tell me how to fix the issue,

Thanks,
Michael

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