-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Build error in the Nephos platform by the code of the sonic branch 201811 #3356
Comments
Have you solved this problem? |
Yes, It's ok now. |
How to fix it? I have the same problem on 201904 for barefoot! |
mssonicbld
added a commit
that referenced
this issue
Jul 6, 2024
…atically (#19418) #### Why I did it src/sonic-utilities ``` * 2bc1ef6f - (HEAD -> 202311, origin/202311) [DPB]Fix return code in case of failure (#3389) (4 days ago) [Sudharsan Dhamal Gopalarathnam] * f478420c - [pbh]: Fix show PBH counters when cache is partial (#3356) (8 days ago) [Nazarii Hnydyn] ``` #### How I did it #### How to verify it #### Description for the changelog
mssonicbld
added a commit
that referenced
this issue
Jul 6, 2024
…atically (#19419) #### Why I did it src/sonic-utilities ``` * fb2e5cda - (HEAD -> master, origin/master, origin/HEAD) Remove secret from golden_config_db.json and old_config files (#3390) (2 days ago) [Hua Liu] * 414cf3bb - [DPB]Fix return code in case of failure (#3389) (4 days ago) [Sudharsan Dhamal Gopalarathnam] * 06965df2 - Remove suppress-fib-pending CLI and make route_check.py check suppress-fib in BGP configuration (#3331) (5 days ago) [Stepan Blyshchak] * 3a8f0be0 - [Mellanox] Add support for ACS-4280 (#3368) (8 days ago) [Vivek] * 667a1509 - [pbh]: Fix show PBH counters when cache is partial (#3356) (8 days ago) [Nazarii Hnydyn] ``` #### How I did it #### How to verify it #### Description for the changelog
arun1355492
pushed a commit
to arun1355492/sonic-buildimage
that referenced
this issue
Jul 26, 2024
…atically (sonic-net#19419) #### Why I did it src/sonic-utilities ``` * fb2e5cda - (HEAD -> master, origin/master, origin/HEAD) Remove secret from golden_config_db.json and old_config files (sonic-net#3390) (2 days ago) [Hua Liu] * 414cf3bb - [DPB]Fix return code in case of failure (sonic-net#3389) (4 days ago) [Sudharsan Dhamal Gopalarathnam] * 06965df2 - Remove suppress-fib-pending CLI and make route_check.py check suppress-fib in BGP configuration (sonic-net#3331) (5 days ago) [Stepan Blyshchak] * 3a8f0be0 - [Mellanox] Add support for ACS-4280 (sonic-net#3368) (8 days ago) [Vivek] * 667a1509 - [pbh]: Fix show PBH counters when cache is partial (sonic-net#3356) (8 days ago) [Nazarii Hnydyn] ``` #### How I did it #### How to verify it #### Description for the changelog
liushilongbuaa
pushed a commit
to liushilongbuaa/sonic-buildimage
that referenced
this issue
Aug 1, 2024
…atically (sonic-net#19419) #### Why I did it src/sonic-utilities ``` * fb2e5cda - (HEAD -> master, origin/master, origin/HEAD) Remove secret from golden_config_db.json and old_config files (sonic-net#3390) (2 days ago) [Hua Liu] * 414cf3bb - [DPB]Fix return code in case of failure (sonic-net#3389) (4 days ago) [Sudharsan Dhamal Gopalarathnam] * 06965df2 - Remove suppress-fib-pending CLI and make route_check.py check suppress-fib in BGP configuration (sonic-net#3331) (5 days ago) [Stepan Blyshchak] * 3a8f0be0 - [Mellanox] Add support for ACS-4280 (sonic-net#3368) (8 days ago) [Vivek] * 667a1509 - [pbh]: Fix show PBH counters when cache is partial (sonic-net#3356) (8 days ago) [Nazarii Hnydyn] ``` #### How I did it #### How to verify it #### Description for the changelog
mssonicbld
added a commit
that referenced
this issue
Aug 3, 2024
…atically (#19806) #### Why I did it src/sonic-utilities ``` * cee3e8e0 - (HEAD -> 202405, origin/202405) Enable show ip bgp on sup and -n all for show ip bgp network (#3417) (4 hours ago) [Changrong Wu] * 26f5d757 - Add the definition of `log` in `script decode-syseeprom` (#3383) (4 hours ago) [Yutong Zhang] * af18c89c - Improve load_mingraph to wait eth0 restart before exit (#3365) (4 hours ago) [Hua Liu] * 73e12564 - [chassis][mutli-asic][lldp] "show lldp table/neighbors" displays error message in output on multi-asis linecard. (#3358) (4 hours ago) [Marty Y. Lok] * 69dab7ac - [pbh]: Fix show PBH counters when cache is partial (#3356) (4 hours ago) [Nazarii Hnydyn] * ae20defd - [fast-reboot] Backup database after syncd/swss stopped (#3342) (4 hours ago) [Stepan Blyshchak] * a9876ee6 - Add Checkpoint and Rollback for Multi ASIC. (#3299) (4 hours ago) [Xincun Li] * 7643ac3c - [DPB]Fixing return code of breakout command on failure (#3357) (4 hours ago) [Sudharsan Dhamal Gopalarathnam] ``` #### 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
Hi All,
I just update my local code with 201811 branch, but I meet one compile error when build the package "libsairedis_1.0.0_amd64.deb" as:
'''
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -g -I../../vslib/inc -I../../SAI/inc -I../../SAI/meta -I/usr/include/libnl3 -I../../SAI/experimental -ansi -fPIC -std=c++11 -Wall -Wcast-align -Wcast-qual -Wconversion -Wdisabled-optimization -Werror -Wextra -Wfloat-equal -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimport -Winit-self -Winline -Winvalid-pch -Wlong-long -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-aggregate-return -Wno-padded -Wno-switch-enum -Wno-unused-parameter -Wpacked -Wpointer-arith -Wredundant-decls -Wshadow -Wstack-protector -Wstrict-aliasing=3 -Wswitch -Wswitch-default -Wunreachable-code -Wunused -Wvariadic-macros -Wwrite-strings -Wno-switch-default -Wconversion -Wlong-long -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c sai_vs_switch_MLNX2700.cpp -fPIC -DPIC -o .libs/libsaivs_la-sai_vs_switch_MLNX2700.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -g -I../../vslib/inc -I../../SAI/inc -I../../SAI/meta -I/usr/include/libnl3 -I../../SAI/experimental -ansi -fPIC -std=c++11 -Wall -Wcast-align -Wcast-qual -Wconversion -Wdisabled-optimization -Werror -Wextra -Wfloat-equal -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimport -Winit-self -Winline -Winvalid-pch -Wlong-long -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-aggregate-return -Wno-padded -Wno-switch-enum -Wno-unused-parameter -Wpacked -Wpointer-arith -Wredundant-decls -Wshadow -Wstack-protector -Wstrict-aliasing=3 -Wswitch -Wswitch-default -Wunreachable-code -Wunused -Wvariadic-macros -Wwrite-strings -Wno-switch-default -Wconversion -Wlong-long -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c sai_vs_switch_MLNX2700.cpp -o libsaivs_la-sai_vs_switch_MLNX2700.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o libsaivs.la -rpath /usr/lib/x86_64-linux-gnu libsaivs_la-sai_vs_acl.lo libsaivs_la-sai_vs_bfd.lo libsaivs_la-sai_vs_bmtor.lo libsaivs_la-sai_vs_bridge.lo libsaivs_la-sai_vs_buffer.lo libsaivs_la-sai_vs_dtel.lo libsaivs_la-sai_vs_fdb.lo libsaivs_la-sai_vs_hash.lo libsaivs_la-sai_vs_hostintf.lo libsaivs_la-sai_vs_interfacequery.lo libsaivs_la-sai_vs_ipmc.lo libsaivs_la-sai_vs_ipmc_group.lo libsaivs_la-sai_vs_l2mc.lo libsaivs_la-sai_vs_l2mcgroup.lo libsaivs_la-sai_vs_lag.lo libsaivs_la-sai_vs_mcastfdb.lo libsaivs_la-sai_vs_mirror.lo libsaivs_la-sai_vs_mpls.lo libsaivs_la-sai_vs_neighbor.lo libsaivs_la-sai_vs_nexthop.lo libsaivs_la-sai_vs_nexthopgroup.lo libsaivs_la-sai_vs_policer.lo libsaivs_la-sai_vs_port.lo libsaivs_la-sai_vs_qosmaps.lo libsaivs_la-sai_vs_queue.lo libsaivs_la-sai_vs_route.lo libsaivs_la-sai_vs_router_interface.lo libsaivs_la-sai_vs_rpfgroup.lo libsaivs_la-sai_vs_samplepacket.lo libsaivs_la-sai_vs_scheduler.lo libsaivs_la-sai_vs_schedulergroup.lo libsaivs_la-sai_vs_segmentroute.lo libsaivs_la-sai_vs_stp.lo libsaivs_la-sai_vs_switch.lo libsaivs_la-sai_vs_tam.lo libsaivs_la-sai_vs_tunnel.lo libsaivs_la-sai_vs_udf.lo libsaivs_la-sai_vs_virtual_router.lo libsaivs_la-sai_vs_vlan.lo libsaivs_la-sai_vs_wred.lo libsaivs_la-sai_vs_generic_create.lo libsaivs_la-sai_vs_generic_get.lo libsaivs_la-sai_vs_generic_remove.lo libsaivs_la-sai_vs_generic_set.lo libsaivs_la-sai_vs_generic_stats.lo libsaivs_la-sai_vs.lo libsaivs_la-sai_vs_switch_BCM56850.lo libsaivs_la-sai_vs_switch_MLNX2700.lo -lhiredis -lswsscommon
libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.9/crtbeginS.o .libs/libsaivs_la-sai_vs_acl.o .libs/libsaivs_la-sai_vs_bfd.o .libs/libsaivs_la-sai_vs_bmtor.o .libs/libsaivs_la-sai_vs_bridge.o .libs/libsaivs_la-sai_vs_buffer.o .libs/libsaivs_la-sai_vs_dtel.o .libs/libsaivs_la-sai_vs_fdb.o .libs/libsaivs_la-sai_vs_hash.o .libs/libsaivs_la-sai_vs_hostintf.o .libs/libsaivs_la-sai_vs_interfacequery.o .libs/libsaivs_la-sai_vs_ipmc.o .libs/libsaivs_la-sai_vs_ipmc_group.o .libs/libsaivs_la-sai_vs_l2mc.o .libs/libsaivs_la-sai_vs_l2mcgroup.o .libs/libsaivs_la-sai_vs_lag.o .libs/libsaivs_la-sai_vs_mcastfdb.o .libs/libsaivs_la-sai_vs_mirror.o .libs/libsaivs_la-sai_vs_mpls.o .libs/libsaivs_la-sai_vs_neighbor.o .libs/libsaivs_la-sai_vs_nexthop.o .libs/libsaivs_la-sai_vs_nexthopgroup.o .libs/libsaivs_la-sai_vs_policer.o .libs/libsaivs_la-sai_vs_port.o .libs/libsaivs_la-sai_vs_qosmaps.o .libs/libsaivs_la-sai_vs_queue.o .libs/libsaivs_la-sai_vs_route.o .libs/libsaivs_la-sai_vs_router_interface.o .libs/libsaivs_la-sai_vs_rpfgroup.o .libs/libsaivs_la-sai_vs_samplepacket.o .libs/libsaivs_la-sai_vs_scheduler.o .libs/libsaivs_la-sai_vs_schedulergroup.o .libs/libsaivs_la-sai_vs_segmentroute.o .libs/libsaivs_la-sai_vs_stp.o .libs/libsaivs_la-sai_vs_switch.o .libs/libsaivs_la-sai_vs_tam.o .libs/libsaivs_la-sai_vs_tunnel.o .libs/libsaivs_la-sai_vs_udf.o .libs/libsaivs_la-sai_vs_virtual_router.o .libs/libsaivs_la-sai_vs_vlan.o .libs/libsaivs_la-sai_vs_wred.o .libs/libsaivs_la-sai_vs_generic_create.o .libs/libsaivs_la-sai_vs_generic_get.o .libs/libsaivs_la-sai_vs_generic_remove.o .libs/libsaivs_la-sai_vs_generic_set.o .libs/libsaivs_la-sai_vs_generic_stats.o .libs/libsaivs_la-sai_vs.o .libs/libsaivs_la-sai_vs_switch_BCM56850.o .libs/libsaivs_la-sai_vs_switch_MLNX2700.o -lhiredis -lswsscommon -L/usr/lib/gcc/x86_64-linux-gnu/4.9 -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crtn.o -O2 -Wl,-z -Wl,relro -Wl,-soname -Wl,libsaivs.so.0 -o .libs/libsaivs.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libsaivs.so.0" && ln -s "libsaivs.so.0.0.0" "libsaivs.so.0")
libtool: link: (cd ".libs" && rm -f "libsaivs.so" && ln -s "libsaivs.so.0.0.0" "libsaivs.so")
libtool: link: ar cru .libs/libsaivs.a libsaivs_la-sai_vs_acl.o libsaivs_la-sai_vs_bfd.o libsaivs_la-sai_vs_bmtor.o libsaivs_la-sai_vs_bridge.o libsaivs_la-sai_vs_buffer.o libsaivs_la-sai_vs_dtel.o libsaivs_la-sai_vs_fdb.o libsaivs_la-sai_vs_hash.o libsaivs_la-sai_vs_hostintf.o libsaivs_la-sai_vs_interfacequery.o libsaivs_la-sai_vs_ipmc.o libsaivs_la-sai_vs_ipmc_group.o libsaivs_la-sai_vs_l2mc.o libsaivs_la-sai_vs_l2mcgroup.o libsaivs_la-sai_vs_lag.o libsaivs_la-sai_vs_mcastfdb.o libsaivs_la-sai_vs_mirror.o libsaivs_la-sai_vs_mpls.o libsaivs_la-sai_vs_neighbor.o libsaivs_la-sai_vs_nexthop.o libsaivs_la-sai_vs_nexthopgroup.o libsaivs_la-sai_vs_policer.o libsaivs_la-sai_vs_port.o libsaivs_la-sai_vs_qosmaps.o libsaivs_la-sai_vs_queue.o libsaivs_la-sai_vs_route.o libsaivs_la-sai_vs_router_interface.o libsaivs_la-sai_vs_rpfgroup.o libsaivs_la-sai_vs_samplepacket.o libsaivs_la-sai_vs_scheduler.o libsaivs_la-sai_vs_schedulergroup.o libsaivs_la-sai_vs_segmentroute.o libsaivs_la-sai_vs_stp.o libsaivs_la-sai_vs_switch.o libsaivs_la-sai_vs_tam.o libsaivs_la-sai_vs_tunnel.o libsaivs_la-sai_vs_udf.o libsaivs_la-sai_vs_virtual_router.o libsaivs_la-sai_vs_vlan.o libsaivs_la-sai_vs_wred.o libsaivs_la-sai_vs_generic_create.o libsaivs_la-sai_vs_generic_get.o libsaivs_la-sai_vs_generic_remove.o libsaivs_la-sai_vs_generic_set.o libsaivs_la-sai_vs_generic_stats.o libsaivs_la-sai_vs.o libsaivs_la-sai_vs_switch_BCM56850.o libsaivs_la-sai_vs_switch_MLNX2700.o
libtool: link: ranlib .libs/libsaivs.a
libtool: link: ( cd ".libs" && rm -f "libsaivs.la" && ln -s "../libsaivs.la" "libsaivs.la" )
g++ -DHAVE_CONFIG_H -I. -I../.. -g -I../../vslib/inc -I../../SAI/inc -I../../SAI/meta -I/usr/include/libnl3 -I../../SAI/experimental -ansi -fPIC -std=c++11 -Wall -Wcast-align -Wcast-qual -Wconversion -Wdisabled-optimization -Werror -Wextra -Wfloat-equal -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimport -Winit-self -Winline -Winvalid-pch -Wlong-long -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-aggregate-return -Wno-padded -Wno-switch-enum -Wno-unused-parameter -Wpacked -Wpointer-arith -Wredundant-decls -Wshadow -Wstack-protector -Wstrict-aliasing=3 -Wswitch -Wswitch-default -Wunreachable-code -Wunused -Wvariadic-macros -Wwrite-strings -Wno-switch-default -Wconversion -Wlong-long -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o tests-tests.o
test -f 'tests.cpp' || echo './'
tests.cpp/bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o tests tests-tests.o -lhiredis -lswsscommon -lpthread -L../../vslib/src/.libs -lsaivs -L../../meta/.libs -lsaimetadata -lsaimeta
libtool: link: g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/tests tests-tests.o -lhiredis -lswsscommon -lpthread -L../../vslib/src/.libs /sonic/src/sonic-sairedis/vslib/src/.libs/libsaivs.so -L../../meta/.libs /sonic/src/sonic-sairedis/meta/.libs/libsaimetadata.so /sonic/src/sonic-sairedis/meta/.libs/libsaimeta.so
make[5]: Leaving directory '/sonic/src/sonic-sairedis/vslib/src'
make[5]: Entering directory '/sonic/src/sonic-sairedis/vslib'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/sonic/src/sonic-sairedis/vslib'
make[4]: Leaving directory '/sonic/src/sonic-sairedis/vslib'
Making all in syncd
make[4]: Entering directory '/sonic/src/sonic-sairedis/syncd'
g++ -DHAVE_CONFIG_H -I. -I.. -g -I../vslib/inc -I../lib/inc -I../SAI/inc -I../SAI/meta -I../SAI/experimental -ansi -fPIC -std=c++11 -Wall -Wcast-align -Wcast-qual -Wconversion -Wdisabled-optimization -Werror -Wextra -Wfloat-equal -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimport -Winit-self -Winline -Winvalid-pch -Wlong-long -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-aggregate-return -Wno-padded -Wno-switch-enum -Wno-unused-parameter -Wpacked -Wpointer-arith -Wredundant-decls -Wshadow -Wstack-protector -Wstrict-aliasing=3 -Wswitch -Wswitch-default -Wunreachable-code -Wunused -Wvariadic-macros -Wwrite-strings -Wno-switch-default -Wconversion -Wlong-long -DSAITHRIFT=yes -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o syncd-main.o
test -f 'main.cpp' || echo './'
main.cppg++ -DHAVE_CONFIG_H -I. -I.. -g -I../vslib/inc -I../lib/inc -I../SAI/inc -I../SAI/meta -I../SAI/experimental -ansi -fPIC -std=c++11 -Wall -Wcast-align -Wcast-qual -Wconversion -Wdisabled-optimization -Werror -Wextra -Wfloat-equal -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimport -Winit-self -Winline -Winvalid-pch -Wlong-long -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-aggregate-return -Wno-padded -Wno-switch-enum -Wno-unused-parameter -Wpacked -Wpointer-arith -Wredundant-decls -Wshadow -Wstack-protector -Wstrict-aliasing=3 -Wswitch -Wswitch-default -Wunreachable-code -Wunused -Wvariadic-macros -Wwrite-strings -Wno-switch-default -Wconversion -Wlong-long -DSAITHRIFT=yes -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o syncd-syncd.o
test -f 'syncd.cpp' || echo './'
syncd.cppIn file included from syncd.cpp:1:0:
syncd.h:20:35: fatal error: switch_sai_rpc_server.h: No such file or directory
#include <switch_sai_rpc_server.h>
^
compilation terminated.
Makefile:714: recipe for target 'syncd-syncd.o' failed
make[4]: *** [syncd-syncd.o] Error 1
make[4]: Leaving directory '/sonic/src/sonic-sairedis/syncd'
Makefile:393: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/sonic/src/sonic-sairedis'
Makefile:324: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/sonic/src/sonic-sairedis'
dh_auto_build: make -j1 returned exit code 2
debian/rules:34: recipe for target 'binary-syncd-rpc' failed
make[1]: *** [binary-syncd-rpc] Error 2
make[1]: Leaving directory '/sonic/src/sonic-sairedis'
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
[ FAIL LOG END ] [ target/debs/libsairedis_1.0.0_amd64.deb ]
slave.mk:293: recipe for target 'target/debs/libsairedis_1.0.0_amd64.deb' failed
make: *** [target/debs/libsairedis_1.0.0_amd64.deb] Error 1
Makefile.work:131: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/mnt/sdb/home/ljyang/sonic/github/sonic-buildimage_201811'
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 2
'''
My platform is nephose. Please tell me how to fix the issue.
Thanks,
Michael
The text was updated successfully, but these errors were encountered: