You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Libyang2 is only available in debian testing.
The version 2.0.112 of libyang2 was removed from Debian official mirror.
Corresponding sources are no more available there.
But they are still available for the moment in SONiC mirror at https://sonicstorage.blob.core.windows.net/debian/pool/main/liby/libyang/libyang2_2.0.112-6.dsc
PR #13394 shifted from wget to dget but also from SONiC mirror to Debian ones.
I propose a new PR to only shift to dget and keep the SONiC mirror. #13517
Description
We are noticing the following build failure in the master branch. I believe this PR introduces dget #13394 .
[2023-01-25T03:16:57.941Z] # download debian libyang
[2023-01-25T03:16:57.941Z] dget https://deb.debian.org/debian/pool/main/liby/libyang2/libyang2_2.0.112-6.dsc
[2023-01-25T03:16:57.941Z] pushd libyang2-2.0.112
[2023-01-25T03:16:57.941Z] #sed -i 's/set(LIBYANG_MAJOR_SOVERSION 1)/set(LIBYANG_MAJOR_SOVERSION 2)/' CMakeLists.txt
[2023-01-25T03:16:57.941Z] #sed -i 's/libyang2/libyang2/' debian/libyang2.install
[2023-01-25T03:16:57.941Z] # Enable large file support for 32-bit arch
[2023-01-25T03:16:57.941Z] echo 'add_definitions(-D_FILE_OFFSET_BITS=64)' >> CMakeLists.txt
[2023-01-25T03:16:57.941Z] dpkg-buildpackage -rfakeroot -b -us -uc -j30 --admindir /sonic/dpkg/tmp.cmQpw3g5UU
[2023-01-25T03:16:57.941Z] popd
[2023-01-25T03:16:57.941Z] # Move the newly-built .deb packages to the destination directory
[2023-01-25T03:16:57.941Z] mv libyang2_2.0.112-6_amd64.deb libyang2-dev_2.0.112-6_amd64.deb libyang2-dbgsym_2.0.112-6_amd64.deb libyang2-tools_2.0.112-6_amd64.deb libyang2-tools-dbgsym_2.0.112-6_amd64.deb /sonic/target/debs/buster/
[2023-01-25T03:16:57.942Z] dget: retrieving https://deb.debian.org/debian/pool/main/liby/libyang2/libyang2_2.0.112-6.dsc
[2023-01-25T03:16:57.942Z] chown: changing ownership of '/vcache': Operation not permitted
[2023-01-25T03:16:57.942Z] get_url_version https://deb.debian.org/debian/pool/main/liby/libyang2/libyang2_2.0.112-6.dsc failed
[2023-01-25T03:16:57.942Z] dget: curl libyang2_2.0.112-6.dsc https://deb.debian.org/debian/pool/main/liby/libyang2/libyang2_2.0.112-6.dsc failed
[2023-01-25T03:16:57.942Z] make[1]: *** [Makefile:10: /sonic/target/debs/buster/libyang2_2.0.112-6_amd64.deb] Error 1
[2023-01-25T03:16:57.942Z] make[1]: Leaving directory '/sonic/src/libyang2'
[2023-01-25T03:16:57.942Z] [ FAIL LOG END ] [ target/debs/buster/libyang2_2.0.112-6_amd64.deb ]
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: