<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <meta name="generator" content="pandoc" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
  <style>
html {
  line-height: 1.2;
  font-family: serif;
  font-size: 0.9em;
  color: black; 
  background-color: white;
}
body {
  margin: 0;
  margin-right: auto;
  max-width: 36em;
  padding: 1em;
  hyphens: auto;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
@media print {
  body {
    background-color: transparent;
    color: black;
    font-size: 11pt;
  }
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
  h2, h3, h4 {
    page-break-after: avoid;
  }
}
p {
  margin: 1em 0;
}
a {
  color: black;
}
a:visited {
  color: black;
}
img {
  max-width: 100%;
}
h1, h2, h3, h4, h5, h6 {
  margin-top: 1.4em;
}
h5, h6 {
  font-size: 1em;
  font-style: italic;
}
h6 {
  font-weight: normal;
}
ol, ul {
  padding-left: 1.7em;
  margin-top: 1em;
}
li > ol, li > ul {
  margin-top: 0;
}
blockquote {
  margin: 0.5em;
  padding-left: 0.5em;
  border-left: 2px solid #e6e6e6;
  color: #444;
}
code {
  font-family: 'Lucida Console', monospace;
  font-size: 95%;
  margin: 0;
}
pre {
  margin: 1em 0;
  overflow: auto;
  max-width: unset;
  width: fit-content;
}
pre code {
  padding: 0;
  overflow: visible;
  overflow-wrap: normal;
  max-width: unset;
  white-space: pre-wrap;
}
pre code span {
  white-space: pre;
}
.sourceCode {
 background-color: transparent;
 overflow: visible;
}

code.diff span.kw,
code.diff span.dt {
  font-weight: bold;
}

code.diff span.va {
  background-color: rgba(192, 255, 192, 64);
  color: rgb(0, 64, 0);
}

code.diff span.st {
  background-color: rgba(255, 192, 192, 64);
  color: rgb(64, 0, 0);
}

pre.diff {
  background-color: rgb(240, 240, 240);
  padding: 0.4em;
  border: 1pt solid grey;
}

hr {
  background-color: black;
  border: none;
  height: 1px;
  margin: 1em 0;
}
table {
  margin: 1em 0;
  border-collapse: collapse;
  width: 100%;
  overflow-x: auto;
  display: block;
  font-variant-numeric: lining-nums tabular-nums;
}
table caption {
  margin-bottom: 0.75em;
}
tbody {
  margin-top: 0.5em;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}
th {
  border-top: 1px solid black;
  padding: 0.25em 0.5em 0.25em 0.5em;
}
td {
  padding: 0.125em 0.5em 0.25em 0.5em;
}
header {
  margin-bottom: 4em;
  text-align: center;
}
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
q { quotes: "„" "”" "»" "«"; }
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
  </style>
</head>
<body>
<p>Hello Olivier,</p>
<p>this is weird and also embarassing. Gonna check asap. Sorry for
that.</p>
<p>Maria</p>
<p>On Fri, Apr 04, 2025 at 10:06:39AM +0200, Olivier Cochard-Labbé
wrote:</p>
<blockquote>
<p>Hi Maria,</p>
<p>Sorry to bother you again.</p>
<p>The release 3.1.0 still doesn’t build on FreeBSD with the same
Netlink error.</p>
<p>sysdep/bsd-netlink/netlink.c:1873:30: error: no member named ‘nh’ in
‘struct ea_list’ 1873 | if (krt_assume_onlink(ra->nh.iface,
ipa_is_ip6(ra->nh.gw ))) | ~~ ^ sysdep/bsd-netlink/netlink.c:1873:55:
error: no member named ‘nh’ in ‘struct ea_list’ 1873 | if
(krt_assume_onlink(ra->nh.iface, ipa_is_ip6(ra->nh.gw ))) | ~~ ^
./lib/ip.h:103:42: note: expanded from macro ‘ipa_is_ip6’ 103 | #define
ipa_is_ip6(a) (! ip6_is_v4mapped(a)) | ^
sysdep/bsd-netlink/netlink.c:1874:10: error: no member named ‘nh’ in
‘struct ea_list’ 1874 | ra->nh.flags |= RNF_ONLINK; | ~~ ^</p>
<p>Regards,</p>
<p>Olivier</p>
<p>On Sat, Jan 11, 2025 at 12:42 PM Maria Matejka <a
href="mailto:maria.matejka@nic.cz"
class="email">maria.matejka@nic.cz</a> wrote:</p>
<blockquote>
<p>The real problem is a combination of a different nexthop structure
and a missing build autotest for FreeBSD-Netlink.</p>
<p>Gonna fix both probably on Monday.</p>
<p>Sorry for this, we forgot to add a build test when merging bsd
netlink and now it backfires.</p>
<p>Thank you for the report! Maria</p>
<p>On 11 January 2025 12:17:19 CET, Marek Zarychta via Bird-users <
bird-users@network.cz> wrote:</p>
<blockquote>
<p>W dniu 11.01.2025 o 12:01, Olivier Cochard-Labbé pisze:</p>
<p>Hi,</p>
<p>bird 3.0.1 include this patch: “Netlink: Handle onlink flag on
BSD-Netlink”</p>
<p>https://gitlab.nic.cz/labs/bird/-/commit/f9c7861e116ad8dc5e5a2314d0f976bf8c938de0</p>
<p>But this broke FreeBSD build with this error:
sysdep/bsd-netlink/netlink.c:1868:10: error: no member named ‘nh’ in
’struct ea_list</p>
<p>Regards, Olivier</p>
<p>It looks like the real culprit is</p>
<p>https://gitlab.nic.cz/labs/bird/-/commit/5c3eff5645446cddb082130feda8298322f576c2</p>
<table style="width:4%;">
<colgroup>
<col style="width: 4%" />
</colgroup>
<tbody>
<tr class="odd">
<td>Marek Zarychta</td>
</tr>
</tbody>
</table>
<p>Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.</p>
</blockquote>
</blockquote>
</blockquote>
<p>–<br />
Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.</p>
</body>
</html>