Skip to content

libyang: update to 3.13.6 - #62029

Open
elbachir-one wants to merge 2 commits into
void-linux:masterfrom
elbachir-one:libyang
Open

libyang: update to 3.13.6#62029
elbachir-one wants to merge 2 commits into
void-linux:masterfrom
elbachir-one:libyang

Conversation

@elbachir-one

@elbachir-one elbachir-one commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Testing the changes

  • I tested the changes in this PR: YES

Local build testing

  • I built this PR locally for my native architecture, (ARCH-LIBC)

@elbachir-one
elbachir-one force-pushed the libyang branch 3 times, most recently from 49722ea to ac502cb Compare August 15, 2026 01:10
Comment thread srcpkgs/frr/template
Comment on lines +51 to +55
rm -f \
"${DESTDIR}/usr/share/yang/ietf-interfaces.yang" \
"${DESTDIR}/usr/share/yang/ietf-netconf-acm.yang" \
"${DESTDIR}/usr/share/yang/ietf-netconf-with-defaults.yang" \
"${DESTDIR}/usr/share/yang/ietf-netconf.yang"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because I was getting this:

shell: sh -e {0}
Cloning into bare repository '/__w/void-packages/void-packages/.cache/xlocate.git'...
frr and libsmi conflict for
/usr/share/yang/ietf-interfaces.yang
/usr/share/yang/ietf-netconf-acm.yang
/usr/share/yang/ietf-netconf-with-defaults.yang
/usr/share/yang/ietf-netconf.yang

on the x86_64 build CI.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like alpine builds libsmi with a different yang dir. Might make sense to adopt this instead, but not sure what those files even do.

https://gitlab.alpinelinux.org/alpine/aports/-/blob/9c4664c24b3c96fedb6d045e3fbe9412ac887c16/community/libsmi/APKBUILD#L32

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They're standard IETF YANG models used for network configuration/management. And yeah, it would be better to move libsmi's copies to /usr/share/libsmi/yang like Alpine does to avoid the conflict, but I can't really update the libsmi template.

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

Successfully merging this pull request may close these issues.

2 participants