observing build failure on 201911 for broadcom.

218 views
Skip to first unread message

balaji

unread,
Mar 22, 2021, 10:41:49 AM3/22/21
to sonicproject
Hi,

On trying to build 201911 build for broadcom, observed multiple issue during multiple runs.
Is this an temporary issue or am i missing any steps.
--> git clone
---> make init
--> make configure PLATFORM=broadcom
---> make all

Trial #1
======== 
Resolving http.debian.net (http.debian.net)... 130.89.148.77, 149.20.4.15, 128.31.0.62, ...
Connecting to http.debian.net (http.debian.net)|130.89.148.77|:80... connected.
HTTP request sent, awaiting response... 302 Found
Resolving cdn-fastly.deb.debian.org (cdn-fastly.deb.debian.org)... 199.232.14.132, 2a04:4e42:2::644
Connecting to cdn-fastly.deb.debian.org (cdn-fastly.deb.debian.org)|199.232.14.132|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5256 (5.1K) [application/x-xz]
Saving to: 'mpdecimal_2.4.2-2.debian.tar.xz'

     0K .....                                                 100% 5.91M=0.001s

2021-03-19 14:07:32 (5.91 MB/s) - 'mpdecimal_2.4.2-2.debian.tar.xz' saved [5256/5256]

WARNING: timestamping does nothing in combination with -O. See the manual
for details.

Resolving http.debian.net (http.debian.net)... 130.89.148.77, 149.20.4.15, 128.31.0.62, ...
Connecting to http.debian.net (http.debian.net)|130.89.148.77|:80... connected.
HTTP request sent, awaiting response... 302 Found
Resolving cdn-fastly.deb.debian.org (cdn-fastly.deb.debian.org)... 199.232.14.132, 2a04:4e42:2::644
Connecting to cdn-fastly.deb.debian.org (cdn-fastly.deb.debian.org)|199.232.14.132|:80... connected.
HTTP request sent, awaiting response... 500 Service Not Found
2021-03-19 14:07:32 ERROR 500: Service Not Found.

Makefile:9: recipe for target '/sonic/target/debs/stretch/libmpdec2_2.4.2-2_amd64.deb' failed
make[1]: *** [/sonic/target/debs/stretch/libmpdec2_2.4.2-2_amd64.deb] Error 8
make[1]: Leaving directory '/sonic/src/mpdecimal'
[  FAIL LOG END  ] [ target/debs/stretch/libmpdec2_2.4.2-2_amd64.deb ]
slave.mk:335: recipe for target 'target/debs/stretch/libmpdec2_2.4.2-2_amd64.deb' failed
make: *** [target/debs/stretch/libmpdec2_2.4.2-2_amd64.deb] Error 1
Makefile.work:202: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/balaji/sonic-201911/sonic-buildimage'
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 2

Trail #2
======= 

checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking for main in -lsai... no
configure: error: libsai is required for syncd
Makefile:368: recipe for target 'config.status' failed
make[2]: *** [config.status] Error 1
make[2]: Leaving directory '/sonic/src/sonic-sairedis'
dh_auto_clean: make -j6 distclean returned exit code 2
debian/rules:28: recipe for target 'binary-sairedis' failed
make[1]: *** [binary-sairedis] Error 2
make[1]: Leaving directory '/sonic/src/sonic-sairedis'
dpkg-buildpackage: error: fakeroot debian/rules binary-sairedis gave error exit status 2
[  FAIL LOG END  ] [ target/debs/stretch/libsairedis_1.0.0_amd64.deb ]
slave.mk:360: recipe for target 'target/debs/stretch/libsairedis_1.0.0_amd64.deb' failed
make: *** [target/debs/stretch/libsairedis_1.0.0_amd64.deb] Error 1
Makefile.work:202: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/balaji/sonic-201911/sonic-buildimage'
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 2
balaji@sfstypc01:~/sonic-201911/sonic-buildimage$

Regards,
Balaji

balaji

unread,
Mar 24, 2021, 1:35:52 AM3/24/21
to sonicproject
Hi,

On every trail, observing issues at different locations.
slave.mk:669: recipe for target 'target/sonic-broadcom.bin' failed

set /files/etc/sysctl.conf/net.ipv4.udp_l3mdev_accept 1
set /files/etc/sysctl.conf/net.core.rmem_max 3145728
set /files/etc/sysctl.conf/net.core.wmem_max 3145728
set /files/etc/sysctl.conf/net.core.somaxconn 512
' -r ./fsroot
Saved 1 file(s)
+ [[ amd64 == amd64 ]]
+ sudo sed -i 's/^#syslog = yes/syslog = yes/' ./fsroot/etc/mcelog/mcelog.conf
+ sudo https_proxy= LANG=C chroot ./fsroot easy_install pip==20.3.3
Searching for pip==20.3.3
+ sudo umount ./fsroot/proc
+ true
[  FAIL LOG END  ] [ target/sonic-broadcom.bin ]
slave.mk:669: recipe for target 'target/sonic-broadcom.bin' failed
make: *** [target/sonic-broadcom.bin] Error 1
Makefile.work:202: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/balaji/2-sonic-201911/sonic-buildimage'
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 2
balaji@sfstypc01:~/2-sonic-201911/sonic-buildimage$

Regards,
Balaji

balaji

unread,
Mar 25, 2021, 5:50:04 AM3/25/21
to sonicproject
Hi All,

Now i am observing consistently build failure at same place.
Please let me know in case i need to provide any other logs.

checking for ANSI C header files... (cached) yes
checking for main in -lsai... no
configure: error: libsai is required for syncd
Makefile:368: recipe for target 'config.status' failed
make[2]: *** [config.status] Error 1
make[2]: Leaving directory '/sonic/src/sonic-sairedis'
dh_auto_clean: make -j6 distclean returned exit code 2
debian/rules:28: recipe for target 'binary-sairedis' failed
make[1]: *** [binary-sairedis] Error 2
make[1]: Leaving directory '/sonic/src/sonic-sairedis'
dpkg-buildpackage: error: fakeroot debian/rules binary-sairedis gave error exit status 2
[  FAIL LOG END  ] [ target/debs/stretch/libsairedis_1.0.0_amd64.deb ]
slave.mk:360: recipe for target 'target/debs/stretch/libsairedis_1.0.0_amd64.deb' failed
make: *** [target/debs/stretch/libsairedis_1.0.0_amd64.deb] Error 1
Makefile.work:202: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/balaji/2-sonic-201911/sonic-buildimage'
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 2
balaji@sfstypc01:~/2-sonic-201911/sonic-buildimage$

balaji

unread,
Mar 25, 2021, 6:00:59 AM3/25/21
to sonicproject
Hi,

From log file (sonic-broadcom.bin.log) the following error message is observed.

Searching for pip==20.3.3
Downloading https://files.pythonhosted.org/packages/ca/1e/d91d7aae44d00cd5001957a1473e4e4b7d1d0f072d1af7c34b5899c9ccdf/pip-20.3.3.tar.gz#sha256=79c1ac8a9dccbec8752761cb5a2df833224263ca661477a2a9ed03ddf4e0e3ba
error: https://files.pythonhosted.org/packages/ca/1e/d91d7aae44d00cd5001957a1473e4e4b7d1d0f072d1af7c34b5899c9ccdf/pip-20.3.3.tar.gz#sha256=79c1ac8a9dccbec8752761cb5a2df833224263ca661477a2a9ed03ddf4e0e3ba hostname 'files.pythonhosted.org' doesn't match either of 'r.ssl.fastly.net', '*.catchpoint.com', '*.cnn.io', '*.dollarshaveclub.com', '*.eater.com', '*.fastly.picmonkey.com', '*.files.saymedia-content.com', '*.ft.com', '*.meetupstatic.com', '*.nfl.com', '*.pagar.me', '*.picmonkey.com', '*.realself.com', '*.sbnation.com', '*.shakr.com', '*.streamable.com', '*.surfly.com', '*.theverge.com', '*.thrillist.com', '*.vox-cdn.com', '*.vox.com', '*.voxmedia.com', 'eater.com', 'ft.com', 'i.gse.io', 'picmonkey.com', 'realself.com', 'static.wixstatic.com', 'streamable.com', 'surfly.com', 'theverge.com', 'vox-cdn.com', 'vox.com', 'www.joyent.com'
+ sudo umount ./fsroot/proc
+ true

Regards,
Balaji

Reply all
Reply to author
Forward
0 new messages