Dear BIRD users, we're releasing a new version 2.14. I thank my colleagues for this this. Version 2.14 o MPLS subsystem o L3VPN: BGP/MPLS VPNs (RFC 4364) o BGP: Access to unknown route attributes o RAdv: Custom options o Babel: RTT metric extension o BMP: Refactored route monitoring o BMP: Multiple instances of BMP protocol o BMP: Both pre-policy and post-policy monitoring o Experimental route aggregation o Filter: Method framework o Filter: Functions have return type statements o Filter: New bytestring data type o Kernel: Option to learn kernel routes o Many bugfixes and improvements Notes: User-defined filter functions that return values now should have return type statements. We still accept functions without such statement, if they could be properly typed. For loops allowed to use both existing iterator variables or ones defined in the for statement. We no longer support the first case, all iterator variables must be defined in the for statement (e.g. 'for int i in bgp_path ...'). Due to oversight, VRF interfaces were not included in respective VRFs, this is fixed now. Happy routing! Ondrej
On 07. 10. 23 15:26, İlteriş Yağıztegin Eroğlu via Bird-users wrote:
Hi Ondrej,
Fixed! Ondrej
Looks like the git tag for v2.14 hasn't been pushed to CZ.NIC GitLab. Can that be done?
- ilteris
On 7.10.2023 15:10, Ondrej Filip wrote:
Dear BIRD users, we're releasing a new version 2.14. I thank my colleagues for this this.
On Sat, 07 Oct 2023, Ondrej Filip wrote:
Version 2.14 o MPLS subsystem o L3VPN: BGP/MPLS VPNs (RFC 4364) o BGP: Access to unknown route attributes o RAdv: Custom options o Babel: RTT metric extension o BMP: Refactored route monitoring o BMP: Multiple instances of BMP protocol o BMP: Both pre-policy and post-policy monitoring o Experimental route aggregation o Filter: Method framework o Filter: Functions have return type statements o Filter: New bytestring data type o Kernel: Option to learn kernel routes o Many bugfixes and improvements
Unfortunately, building BIRD 2.14 on CentOS/RHEL 7 fails like this:
sysdep/linux/netlink.c: In function 'rta_get_via': sysdep/linux/netlink.c:499:11: error: dereferencing pointer to incomplete type 'struct rtvia' switch(v->rtvia_family) { ^~
While I assume that the kernel in CentOS/RHEL 7 is simply too old to support the desired functionality in BIRD, is at least possible to have the change #ifdef'ed (or so), that it builds without the new feature? https://kojipkgs.fedoraproject.org/work/tasks/7281/107237281/build.log contains the full build log for EPEL in case it helps somehow. Regards, Robert
Hello Robert, On 2023-10-08 21:40, Robert Scheck wrote:
Unfortunately, building BIRD 2.14 on CentOS/RHEL 7 fails like this:
sysdep/linux/netlink.c: In function 'rta_get_via': sysdep/linux/netlink.c:499:11: error: dereferencing pointer to incomplete type 'struct rtvia' switch(v->rtvia_family) { ^~ While I assume that the kernel in CentOS/RHEL 7 is simply too old to support the desired functionality in BIRD, is at least possible to have the change #ifdef'ed (or so), that it builds without the new feature?
Sorry, support for CentOS / RHEL 7 has been discontinued due to a too old kernel version and backwards-incompatible Netlink changes. I think the easiest way would be to add a dependency on a newer kernel, e.g. kernel-lt which is now afaik 5.4 (supported). Or you can try to revert commit d61505b039bf0aa6697e28b2a4e07907c89ba1fb. I can't guarantee it working out of the box, though. Rober -- Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.
On Sun, Oct 08, 2023 at 10:18:24PM +0200, Maria Matejka via Bird-users wrote:
Hello Robert,
On 2023-10-08 21:40, Robert Scheck wrote:
Unfortunately, building BIRD 2.14 on CentOS/RHEL 7 fails like this:
sysdep/linux/netlink.c: In function 'rta_get_via': sysdep/linux/netlink.c:499:11: error: dereferencing pointer to incomplete type 'struct rtvia' switch(v->rtvia_family) { ^~ While I assume that the kernel in CentOS/RHEL 7 is simply too old to support the desired functionality in BIRD, is at least possible to have the change #ifdef'ed (or so), that it builds without the new feature?
Sorry, support for CentOS / RHEL 7 has been discontinued due to a too old kernel version and backwards-incompatible Netlink changes. I think the easiest way would be to add a dependency on a newer kernel, e.g. kernel-lt which is now afaik 5.4 (supported).
Or you can try to revert commit d61505b039bf0aa6697e28b2a4e07907c89ba1fb. I can't guarantee it working out of the box, though.
Or rather f8bcb037b5b71a19209f1b63d52895c8c34c675b -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
On 2023-10-08 23:06, Ondrej Zajicek wrote:
On Sun, Oct 08, 2023 at 10:18:24PM +0200, Maria Matejka via Bird-users wrote:
Hello Robert,
On 2023-10-08 21:40, Robert Scheck wrote:
Unfortunately, building BIRD 2.14 on CentOS/RHEL 7 fails like this:
sysdep/linux/netlink.c: In function 'rta_get_via': sysdep/linux/netlink.c:499:11: error: dereferencing pointer to incomplete type 'struct rtvia' switch(v->rtvia_family) { ^~ While I assume that the kernel in CentOS/RHEL 7 is simply too old to support the desired functionality in BIRD, is at least possible to have the change #ifdef'ed (or so), that it builds without the new feature? Sorry, support for CentOS / RHEL 7 has been discontinued due to a too old kernel version and backwards-incompatible Netlink changes. I think the easiest way would be to add a dependency on a newer kernel, e.g. kernel-lt which is now afaik 5.4 (supported).
Or you can try to revert commit d61505b039bf0aa6697e28b2a4e07907c89ba1fb. I can't guarantee it working out of the box, though. Or rather f8bcb037b5b71a19209f1b63d52895c8c34c675b
Oh sorry, messed up two commits from the same person, mea culpa. You're right, disregard my hash, please. Thank you for correcting me. Maria -- Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.
Hello Maria, hello Ondrej, On Sun, 08 Oct 2023, Maria Matejka wrote:
On 2023-10-08 23:06, Ondrej Zajicek wrote:
On Sun, Oct 08, 2023 at 10:18:24PM +0200, Maria Matejka via Bird-users wrote:
Sorry, support for CentOS / RHEL 7 has been discontinued due to a too old kernel version and backwards-incompatible Netlink changes. I think the easiest way would be to add a dependency on a newer kernel, e.g. kernel-lt which is now afaik 5.4 (supported).
For EPEL, I only can depend on packages in RHEL itself (or in EPEL).
Or you can try to revert commit d61505b039bf0aa6697e28b2a4e07907c89ba1fb. I can't guarantee it working out of the box, though. Or rather f8bcb037b5b71a19209f1b63d52895c8c34c675b
Oh sorry, messed up two commits from the same person, mea culpa. You're right, disregard my hash, please.
https://gitlab.nic.cz/labs/bird/-/commit/f8bcb037b5b71a19209f1b63d52895c8c34... let's the build succeed. As there is no MPLS support in CentOS/RHEL 7...do you treat reverting this commit only for this build target as very risky or problematic (without an in-depth analysis, just from your feeling)? As of writing, BIRD 2.13.1 works on the stock CentOS/RHEL 7 kernel (at least for a simple BGP setup). Regards, Robert
On Sun, Oct 08, 2023 at 11:47:42PM +0200, Robert Scheck wrote:
Or you can try to revert commit d61505b039bf0aa6697e28b2a4e07907c89ba1fb. I can't guarantee it working out of the box, though. Or rather f8bcb037b5b71a19209f1b63d52895c8c34c675b
Oh sorry, messed up two commits from the same person, mea culpa. You're right, disregard my hash, please.
https://gitlab.nic.cz/labs/bird/-/commit/f8bcb037b5b71a19209f1b63d52895c8c34... let's the build succeed. As there is no MPLS support in CentOS/RHEL 7...do you treat reverting this commit only for this build target as very risky or problematic (without an in-depth analysis, just from your feeling)?
Reverting this patch for CentOS is safe. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Hi, I want to add that I had the same problem with building bird master branch some time ago for our Arista switches. I also found that reverting f8bcb037b5b71a19209f1b63d52895c8c34c675b helps and maked the build successful. But we did not try it in production yet. Unfortunately, upgrading the kernel is not an option there, as the whole system is proprietary. As far as I know it is based on some Fedora and we have 4.9.* kernel there. Regards, Alexander On Mon, Oct 9, 2023 at 12:19 AM Ondrej Zajicek <santiago@crfreenet.org> wrote:
On Sun, Oct 08, 2023 at 11:47:42PM +0200, Robert Scheck wrote:
Or you can try to revert commit d61505b039bf0aa6697e28b2a4e07907c89ba1fb. I can't guarantee it working out of the box, though. Or rather f8bcb037b5b71a19209f1b63d52895c8c34c675b
Oh sorry, messed up two commits from the same person, mea culpa. You're right, disregard my hash, please.
https://gitlab.nic.cz/labs/bird/-/commit/f8bcb037b5b71a19209f1b63d52895c8c34... let's the build succeed. As there is no MPLS support in CentOS/RHEL 7...do you treat reverting this commit only for this build target as very risky or problematic (without an in-depth analysis, just from your feeling)?
Reverting this patch for CentOS is safe.
-- Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (6)
-
Alexander Zubkov -
İlteriş Yağıztegin Eroğlu -
Maria Matejka -
Ondrej Filip -
Ondrej Zajicek -
Robert Scheck