p4 build fails ...

29 views
Skip to first unread message

Armstrong Mathiyalagan

unread,
Sep 21, 2021, 5:17:07 AMSep 21
to sonicproject
Hi,
I am new to SONiC .
Trying to build p4 image with the following command from master branch
 
make target/docker-sonic-p4.gz

--------------------
make: *** No rule to make target 'target/docker-sonic-p4.gz'.  Stop.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Makefile.work:298: recipe for target 'target/docker-sonic-p4.gz' failed
make[1]: *** [target/docker-sonic-p4.gz] Error 2
make[1]: Leaving directory '/home/arms/sonic/sonic-buildimage'
Makefile:30: recipe for target 'target/docker-sonic-p4.gz' failed
make: *** [target/docker-sonic-p4.gz] Error 2
---------------------------------------------------

what is is the issue ?
Am I missing any basic steps ?

BTW: 
make target/docker-database.gz

is successful !

Regards, Armstrong
Reply all
Reply to author
Forward
0 new messages