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

Make all failed in branch 201811. #3255

Closed
ajuse opened this issue Aug 1, 2019 · 4 comments
Closed

Make all failed in branch 201811. #3255

ajuse opened this issue Aug 1, 2019 · 4 comments
Assignees

Comments

@ajuse
Copy link

ajuse commented Aug 1, 2019

Description

Steps to reproduce the issue:
1.update latest code from github in branch 201811 at 2019.07.31.
2.make configure PLATFORM=barefoot and BLDENV=stretch make stretch.
3.make all

Describe the results you received:
g++ -DHAVE_CONFIG_H -I. -I.. -I .. -I ../warmrestart -g -DNDEBUG -std=c++11 -Wall -fPIC -Wno-write-strings -I/usr/include/libnl3 -I/usr/include/swss -I/opt/bfn/install/include/switchsai -Werror -Wno-reorder -Wcast-align -Wcast-qual -Wconversion -Wdisabled-optimization -Wextra -Wfloat-equal -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimport -Winit-self -Winvalid-pch -Wlong-long -Wmissing-field-initializers -Wmissing-format-attribute -Wno-aggregate-return -Wno-padded -Wno-switch-enum -Wno-unused-parameter -Wpacked -Wpointer-arith -Wredundant-decls -Wstack-protector -Wstrict-aliasing=3 -Wswitch -Wswitch-default -Wunreachable-code -Wunused -Wvariadic-macros -Wno-switch-default -Wno-long-long -Wno-redundant-decls -I /usr/include/sai -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o orchagent-portsorch.o test -f 'portsorch.cpp' || echo './'portsorch.cpp
In file included from /usr/include/sai/sai_meta.h:6:0,
from /usr/include/sai/sai_serialize.h:18,
from portsorch.cpp:21:
/usr/include/sai/saimetadata.h:7:27: fatal error: saiextensions.h: No such file or directory
#include <saiextensions.h>
^
compilation terminated.
Makefile:654: recipe for target 'orchagent-portsorch.o' failed

Describe the results you expected:
I find the saiextensions.h file in libsaivs-deb_1.0.0_amd64.deb, but this package was not installed.

Additional information you deem important (e.g. issue happens only occasionally):

**Output of `show version`:**

```
(paste your output here)
```

**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```
@lguohan
Copy link
Collaborator

lguohan commented Aug 1, 2019

please update the submodules

@ajuse
Copy link
Author

ajuse commented Aug 1, 2019

@lguohan I typed "make init" to update all submodules, but the prolem still here. btw, here is output of "make init":
sonic@ubuntu:~/software/sonic-buildimage$ make init
+++ Making init +++
make -f Makefile.work init
make[1]: Entering directory '/home/sonic/software/sonic-buildimage'
Entering 'platform/barefoot/sonic-platform-modules-arista'
Entering 'platform/broadcom/sonic-platform-modules-arista'
Entering 'platform/mellanox/hw-management/hw-mgmt'
Entering 'platform/p4/SAI-P4-BM'
Entering 'platform/p4/SAI-P4-BM/p4-switch/behavioral-model'
Entering 'platform/p4/p4-hlir/p4-hlir'
Entering 'platform/p4/p4-hlir/p4-hlir-v1.1'
Entering 'platform/p4/p4c-bm/p4c-bm'
Entering 'src/ptf'
Entering 'src/redis-dump-load'
Entering 'src/sonic-dbsyncd'
Entering 'src/sonic-frr/frr'
Entering 'src/sonic-linux-kernel'
Entering 'src/sonic-platform-common'
Entering 'src/sonic-platform-daemons'
Entering 'src/sonic-py-swsssdk'
Entering 'src/sonic-quagga'
Entering 'src/sonic-sairedis'
Entering 'src/sonic-sairedis/SAI'
Entering 'src/sonic-sairedis/SAI/bm/behavioral-model'
Entering 'src/sonic-sairedis/SAI/test/ptf'
Entering 'src/sonic-sairedis/SAI/test/saithrift/ctypesgen'
Entering 'src/sonic-snmpagent'
Entering 'src/sonic-swss'
Entering 'src/sonic-swss-common'
Entering 'src/sonic-utilities'
make[1]: Leaving directory '/home/sonic/software/sonic-buildimage'

@yxieca
Copy link
Contributor

yxieca commented Sep 20, 2019

Please rebase to latest 201811 branch. Call 'make init' to update submodules. execute "make configure" again, and build.

@ajuse
Copy link
Author

ajuse commented Sep 23, 2019

@yxieca It worked, thank you very much.

@ajuse ajuse closed this as completed Sep 23, 2019
mssonicbld added a commit that referenced this issue Apr 27, 2024
…atically (#18735)

#### Why I did it
src/sonic-utilities
```
* 9b463ca5 - (HEAD -> master, origin/master, origin/HEAD) [chassis][voq] Add fabric capacity monitoring cmds (#3255) (8 hours ago) [jfeng-arista]
* df94636b - Display target firmware version through CLI (#3274) (34 hours ago) [mihirpat1]
* cd5c0580 - Fix db_migrate.py show error and back trace while loading configuration on Linecard (#3257) (2 days ago) [Hua Liu]
* d48a8308 - Add Multi ASIC support for apply-patch (#3249) (3 days ago) [Xincun Li]
* b143ea6d - [chassis][voq]Add fabric monitoring commands. (#3239) (4 days ago) [jfeng-arista]
* 07d6d277 - [fast/warm-reboot] Retain TRANSCEIVER_INFO tables on fast/warm-reboot (#3240) (7 days ago) [Stepan Blyshchak]
* 8e5ff74f - Revert "Revert "route_check: Skip route checks if bgp feature is not enabled"" (#3270) (7 days ago) [anamehra]
* eb165f36 - Fix double hex to decimal conversion (#3267) (7 days ago) [Yuanzhe]
```
#### 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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants