Skip to content
New issue

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

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

Already on GitHub? # to your account

Frr 8.2 upgrade #10947

Merged
merged 4 commits into from
May 27, 2022
Merged

Frr 8.2 upgrade #10947

merged 4 commits into from
May 27, 2022

Conversation

hasan-brcm
Copy link
Contributor

@hasan-brcm hasan-brcm commented May 27, 2022

Why I did it

Official build fails complaining missing below targets:
2022-05-25T10:50:38.0560306Z tar: target/debs/buster/libyang2-cpp1_2.0.112-6_amd64.deb: Cannot stat: No such file or directory
2022-05-25T10:50:38.0571392Z tar: target/debs/buster/libyang2-cpp-dev_2.0.112-6_amd64.deb: Cannot stat: No such file or directory
2022-05-25T10:50:38.0588893Z tar: target/debs/buster/libyang2-cpp1-dbgsym_2.0.112-6_amd64.deb: Cannot stat: No such file or directory
2022-05-25T10:50:38.0590887Z tar: target/debs/buster/yang-tools_2.0.112-6_all.deb: Cannot stat: No such file or directory

How I did it

Removed the non-existent targets from the libyang2 makefile.

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

hasan-brcm added 3 commits May 3, 2022 22:48
- FRR 8.2.2 upgrade
- Build libyang2
- FRR 8.2.2 upgrade
- Build libyang2
@lguohan lguohan merged commit 1ac60d3 into sonic-net:master May 27, 2022
liushilongbuaa pushed a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Jun 20, 2022
…anch

Related work items: #52, #71, #73, #75, #77, sonic-net#1306, sonic-net#1588, sonic-net#1991, sonic-net#2031, sonic-net#2040, sonic-net#2053, sonic-net#2066, sonic-net#2069, sonic-net#2087, sonic-net#2107, sonic-net#2110, sonic-net#2112, sonic-net#2113, sonic-net#2117, sonic-net#2124, sonic-net#2125, sonic-net#2126, sonic-net#2128, sonic-net#2130, sonic-net#2131, sonic-net#2132, sonic-net#2133, sonic-net#2134, sonic-net#2135, sonic-net#2136, sonic-net#2137, sonic-net#2138, sonic-net#2139, sonic-net#2140, sonic-net#2143, sonic-net#2158, sonic-net#2161, sonic-net#2233, sonic-net#2243, sonic-net#2250, sonic-net#2254, sonic-net#2260, sonic-net#2261, sonic-net#2267, sonic-net#2278, sonic-net#2282, sonic-net#2285, sonic-net#2288, sonic-net#2289, sonic-net#2292, sonic-net#2294, sonic-net#8887, sonic-net#9279, sonic-net#9390, sonic-net#9511, sonic-net#9700, sonic-net#10025, sonic-net#10322, sonic-net#10479, sonic-net#10484, sonic-net#10493, sonic-net#10500, sonic-net#10580, sonic-net#10595, sonic-net#10628, sonic-net#10634, sonic-net#10635, sonic-net#10644, sonic-net#10670, sonic-net#10691, sonic-net#10716, sonic-net#10731, sonic-net#10750, sonic-net#10751, sonic-net#10752, sonic-net#10761, sonic-net#10769, sonic-net#10775, sonic-net#10776, sonic-net#10779, sonic-net#10786, sonic-net#10792, sonic-net#10793, sonic-net#10800, sonic-net#10806, sonic-net#10826, sonic-net#10839, sonic-net#10840, sonic-net#10842, sonic-net#10844, sonic-net#10847, sonic-net#10849, sonic-net#10852, sonic-net#10865, sonic-net#10872, sonic-net#10877, sonic-net#10886, sonic-net#10889, sonic-net#10903, sonic-net#10904, sonic-net#10905, sonic-net#10913, sonic-net#10914, sonic-net#10916, sonic-net#10919, sonic-net#10925, sonic-net#10926, sonic-net#10929, sonic-net#10933, sonic-net#10934, sonic-net#10937, sonic-net#10941, sonic-net#10947, sonic-net#10952, sonic-net#10953, sonic-net#10957, sonic-net#10959, sonic-net#10971, sonic-net#10972, sonic-net#10980
@SUNSAT23
Copy link

SUNSAT23 commented Aug 30, 2023

Hello, I have reported an error like this:
[ REASON ] : target/debs/buster/frr_8.2.2-sonic-0_amd64.deb does not exist NON-EXISTENT PREREQUISITES: target/debs/buster/libsnmp-dev_5.7.3+dfsg-5_amd64.deb-install target/debs/buster/libyang2_2.0.112-6_amd64.deb-install target/debs/buster/libyang2-dev_2.0.112-6_amd64.deb-install
make[1]: warning: -j8 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/sonic/src/sonic-frr'

#rm -rf frr
#tar xf frr.tar.xz
pushd ./frr
#git checkout -b frr/8.2 origin/frr/8.2 || git checkout frr/8.2
#stg branch --create stg_temp.20230830.013656 frr-8.2.2
#stg import -s ../patch/series
gbp dch --ignore-branch --new-version=8.2.2-sonic-0 --dch-opt="--force-bad-version" --commit --git-author
dpkg-buildpackage -rfakeroot -b -us -uc -Ppkg.frr.nortrlib -j8 --admindir /sonic/dpkg/tmp.700CcHJHQG
#stg undo || true
#git clean -xfdf
#git checkout frr/8.2
#stg branch --delete stg_temp.20230830.013656
#git rev-parse --short HEAD | xargs git checkout
#git checkout master
#git branch -D frr/8.2
popd
mv frr-pythontools_8.2.2-sonic-0_all.deb frr-dbgsym_8.2.2-sonic-0_amd64.deb frr-snmp_8.2.2-sonic-0_amd64.deb frr-snmp-dbgsym_8.2.2-sonic-0_amd64.deb frr_8.2.2-sonic-0_amd64.deb /sonic/target/debs/buster/
/sonic/src/sonic-frr/frr /sonic/src/sonic-frr
gbp:error: Did not find debian/changelog or debian/source. Is this a Debian package?
make[1]: *** [Makefile:11: /sonic/target/debs/buster/frr_8.2.2-sonic-0_amd64.deb] Error 1

May I ask how to solve it?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants