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

[help]some build errors on master #2022

Closed
yangbashuang opened this issue Sep 6, 2018 · 2 comments
Closed

[help]some build errors on master #2022

yangbashuang opened this issue Sep 6, 2018 · 2 comments

Comments

@yangbashuang
Copy link
Contributor

Description

Steps to reproduce the issue:
1.http_proxy=http://192.168.25.29:3128 https_proxy=http://192.168.25.29:3128 make configure PLATFORM=centec
2.http_proxy=http://192.168.25.29:3128 https_proxy=http://192.168.25.29:3128 make all

Describe the results you received:

Describe the results you expected:

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

yangbs@centec-OSP:~/sonic/centec/master/sonic-buildimage$ make all
+++ --- Making all --- +++
BLDENV=stretch make -f Makefile.work stretch
make[1]: Entering directory '/home/yangbs/sonic/centec/master/sonic-buildimage'
SONiC Build System

Build Configuration
"CONFIGURED_PLATFORM" : "centec"
"SONIC_CONFIG_PRINT_DEPENDENCIES" : ""
"SONIC_BUILD_JOBS" : "1"
"SONIC_CONFIG_MAKE_JOBS" : "12"
"USERNAME" : "admin"
"PASSWORD" : "x"
"ENABLE_DHCP_GRAPH_SERVICE" : ""
"SHUTDOWN_BGP_ON_START" : ""
"ENABLE_PFCWD_ON_START" : ""
"SONIC_INSTALL_DEBUG_TOOLS" : ""
"ROUTING_STACK" : "quagga"
"ENABLE_SYNCD_RPC" : ""
"ENABLE_ORGANIZATION_EXTENSIONS" : "y"
"HTTP_PROXY" : ""
"HTTPS_PROXY" : ""
"ENABLE_SYSTEM_TELEMETRY" : ""
"SONIC_DEBUGGING_ON" : "y"
"SONIC_PROFILING_ON" : ""
"KERNEL_PROCURE_METHOD" : "build"

make: Nothing to be done for 'stretch'.
make[1]: Leaving directory '/home/yangbs/sonic/centec/master/sonic-buildimage'
make -f Makefile.work all
make[1]: Entering directory '/home/yangbs/sonic/centec/master/sonic-buildimage'
SONiC Build System

Build Configuration
"CONFIGURED_PLATFORM" : "centec"
"SONIC_CONFIG_PRINT_DEPENDENCIES" : ""
"SONIC_BUILD_JOBS" : "1"
"SONIC_CONFIG_MAKE_JOBS" : "12"
"USERNAME" : "admin"
"PASSWORD" : "x"
"ENABLE_DHCP_GRAPH_SERVICE" : ""
"SHUTDOWN_BGP_ON_START" : ""
"ENABLE_PFCWD_ON_START" : ""
"SONIC_INSTALL_DEBUG_TOOLS" : ""
"ROUTING_STACK" : "quagga"
"ENABLE_SYNCD_RPC" : ""
"ENABLE_ORGANIZATION_EXTENSIONS" : "y"
"HTTP_PROXY" : ""
"HTTPS_PROXY" : ""
"ENABLE_SYSTEM_TELEMETRY" : ""
"SONIC_DEBUGGING_ON" : "y"
"SONIC_PROFILING_ON" : ""
"KERNEL_PROCURE_METHOD" : "build"

[ FAIL LOG START ] [ target/debs/linux-headers-4.9.0-7-amd64_4.9.110-3+deb9u2_amd64.deb-install ]
Selecting previously unselected package linux-headers-4.9.0-7-amd64.
(Reading database ... 140478 files and directories currently installed.)
Preparing to unpack .../linux-headers-4.9.0-7-amd64_4.9.110-3+deb9u2_amd64.deb ...
Unpacking linux-headers-4.9.0-7-amd64 (4.9.110-3+deb9u2) ...
dpkg: dependency problems prevent configuration of linux-headers-4.9.0-7-amd64:
linux-headers-4.9.0-7-amd64 depends on linux-kbuild-4.9; however:
Package linux-kbuild-4.9 is not installed.
linux-headers-4.9.0-7-amd64 depends on linux-compiler-gcc-6-x86 (>= 4.9.82-1+deb9u1~); however:
Package linux-compiler-gcc-6-x86 is not installed.

dpkg: error processing package linux-headers-4.9.0-7-amd64 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-headers-4.9.0-7-amd64
[ FAIL LOG END ] [ target/debs/linux-headers-4.9.0-7-amd64_4.9.110-3+deb9u2_amd64.deb-install ]
slave.mk:322: recipe for target 'target/debs/linux-headers-4.9.0-7-amd64_4.9.110-3+deb9u2_amd64.deb-install' failed
make: *** [target/debs/linux-headers-4.9.0-7-amd64_4.9.110-3+deb9u2_amd64.deb-install] Error 1
Makefile.work:97: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/yangbs/sonic/centec/master/sonic-buildimage'
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 2
yangbs@centec-OSP:~/sonic/centec/master/sonic-buildimage$

@lguohan
Copy link
Collaborator

lguohan commented Sep 6, 2018

the kernel needs to be build in sonic-slave-stretch docker.

please add following line in platform-modules-centec-e582.mk

SONIC_STRETCH_DEBS += $(CENTEC_E582_48X6Q_PLATFORM_MODULE)

@yangbashuang
Copy link
Contributor Author

@lguohan thanks, closing it

liat-grozovik pushed a commit that referenced this issue Feb 7, 2022
Update submodule sonic-utilities that contains the following commits:

[build] allowPartiallySucceededBuilds: true (#2043)
[system-health] Remove booting stage in system health service (#2022)
[GCU] Mark children of bgp_neighbor as create-only (#2008)
[generic_config_updater] Minor update - No logical code change (#2028)
[generic-config-updater] Handle failed service restarts (#2020)
[debug dump] Missing Dict Key handled in the MatchOptimizer (#2014)
[Auto Techsupport] Added Event Driven TS to Command Reference (#1985)
taras-keryk pushed a commit to taras-keryk/sonic-buildimage that referenced this issue Apr 28, 2022
…net#2022)

- What I did
For SYSTEM READY feature. Currently, there is a booting stage in system health service to indicate that the system is loading SONiC component. This booting stage is no longer needed because SYSTEM READY feature will treat that stage as system "NOT READY".

- How I did it
1. Remove booting stage
2. Adjust unit test cases

- How to verify it
Manual test, Unit test, sonic-mgmt Regression
tshalvi pushed a commit to tshalvi/sonic-buildimage that referenced this issue Dec 20, 2022
…ter (sonic-net#2194)

- What I did
This PR replace PR sonic-net#2022

Added increasing/decreasing to the port ref counter each time a port buffer configuration is added or removed
Implemented according to the - sonic-net/SONiC#900

- Why I did it
In order to avoid cases where a port is removed before the buffer configuration on this port were removed also

- How I verified it
VS Test was added in order to test it.
we remove a port with buffer configuration and the port is not removed. only after all buffer configurations on this port were
removed - this port will be removed.
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

2 participants