Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able build P4 sonic image.. #1252

Closed
rockamble opened this issue Dec 19, 2017 · 2 comments
Closed

Not able build P4 sonic image.. #1252

rockamble opened this issue Dec 19, 2017 · 2 comments

Comments

@rockamble
Copy link

Hi Team,

I am trying to build sonic P4 image but after giving make, it is getting stuck.
This is first build, so it will take long time but I waited for entire night, but still stuck at same place ..
Can anyone please help with this error ?

l**abuser@labuser:/home/rohit/sonic-buildimage$ sudo make
SONiC Build System

Build Configuration
"CONFIGURED_PLATFORM" : "p4"
"SONIC_CONFIG_PRINT_DEPENDENCIES" : ""
"SONIC_CONFIG_BUILD_JOBS" : "1"
"SONIC_CONFIG_MAKE_JOBS" : "4"
"DEFAULT_USERNAME" : "admin"
"DEFAULT_PASSWORD" : "YourPaSsWoRd"
"ENABLE_DHCP_GRAPH_SERVICE" : ""
"SHUTDOWN_BGP_ON_START" : ""
"SONIC_CONFIG_DEBUG" : ""
"ROUTING_STACK" : "quagga"
"ENABLE_SYNCD_RPC" : ""
"ENABLE_ORGANIZATION_EXTENSIONS" : "y"
"PLATFORM" : ""
"PLATFORM_PATH" : "platform/p4"

lockfile: Try praying, giving up on ".screen"
[ 01 ] [ target/debs/redis-tools_3.2.4-1~bpo8+1_amd64.deb ]**

@CurryPeng
Copy link

I made target for p4 docker image by using #sudo make target/docker-sonic-p4.gz for the first time, and some errors occured as well , but not stuck at your issue point. It took perhaps 15 mins from the first [01] log show to errors appeared.
...
[01] [target/debs/libthrift-0.9.3_0.9.3-2_amd64.deb]
[01] [target/debs/sai-p4-bm_1.0.0_amd64.deb]
[01] [target/debs/p4-sai-adapter_0.1-0_amd64.deb]
[01] [target/debs/libsairedis_1.0.0_amd64.deb]
[01] [target/debs/libteam5_1.26-1_amd64.deb]

slave.mk:339 recipe for target 'docker-start' failed
make: *** [docker-start] Error 1
makefile:71 recipe for target 'target/docker-sonic-p4.gz' failed
make: *** [target/docker-sonic-p4.gz] Error 2

Can anyone please help this issue also, thanks!

@CurryPeng
Copy link

The issue was resolved, one debian package update failed when compiling src, network issue caused remote site cannot to connect.

@lguohan lguohan closed this as completed Jan 4, 2018
mssonicbld added a commit that referenced this issue Jun 22, 2023
…tically (#15565)

#### Why I did it
src/sonic-sairedis
```
* 14a863a - (HEAD -> master, origin/master, origin/HEAD) [warmboot] Add workaround for `INIT_VIEW` failure  (#1252) (5 hours ago) [Jing Zhang]
* abb02a5 - [actions] Support Semgrep by Github Actions (#1254) (2 days ago) [Mai Bui]
```
#### How I did it
#### How to verify it
#### Description for the changelog
yxieca pushed a commit that referenced this issue Jun 30, 2023
…tically (#15678)

src/sonic-sairedis

* 82a132f - (HEAD -> 202205, origin/202205) [warmboot] Add workaround for `INIT_VIEW` failure  (#1252) (6 hours ago) [Jing Zhang]
* c901fa8 - [202205] Use SAI_STATUS_ITEM_NOT_FOUND when key not found (#1237) (20 hours ago) [Lawrence Lee]
sonic-otn pushed a commit to sonic-otn/sonic-buildimage that referenced this issue Sep 20, 2023
…tically (sonic-net#15565)

#### Why I did it
src/sonic-sairedis
```
* 14a863a - (HEAD -> master, origin/master, origin/HEAD) [warmboot] Add workaround for `INIT_VIEW` failure  (sonic-net#1252) (5 hours ago) [Jing Zhang]
* abb02a5 - [actions] Support Semgrep by Github Actions (sonic-net#1254) (2 days ago) [Mai Bui]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mssonicbld added a commit that referenced this issue Nov 3, 2023
…tically (#17085)

#### Why I did it
src/sonic-sairedis
```
* 5a052ed - (HEAD -> 202305, origin/202305) [warmboot] Add workaround for `INIT_VIEW` failure  (#1252) (11 hours ago) [Jing Zhang]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants