<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<div class="moz-cite-prefix">On 7/21/19 4:16 PM, Jeff Kletsky wrote:<br>
</div>
<blockquote type="cite"
cite="mid:a84dbac4-32fd-5519-6d9e-c6196b5c7a51@allycomm.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>git bisect suggests </p>
<p>commit 0b2c42ced2 (HEAD, refs/bisect/bad)<br>
<br>
mac80211: Update to version 5.2-rc7</p>
<p>as the problem behind the failure to compile batman-adv on July
21, 2019 and perhaps prior<br>
</p>
<p>See, for example
<a class="moz-txt-link-freetext"
href="http://downloads.openwrt.org/snapshots/faillogs/mips_24kc/routing/batman-adv/compile.txt"
moz-do-not-send="true">http://downloads.openwrt.org/snapshots/faillogs/mips_24kc/routing/batman-adv/compile.txt</a></p>
<pre style="color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; overflow-wrap: break-word; white-space: pre-wrap;">/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/linux-ath79_generic/batman-adv-2019.2/net/batman-adv/netlink.c:1347:4: error: 'const struct backport_genl_ops' has no member named 'policy'
.policy = batadv_netlink_policy,
^~~~~~
</pre>
<p><br>
</p>
<p>Same problem observed locally on ath79 and on ipq40xx</p>
<p>Nothing obvious in the patch itself, but building at d616b2c906
resolves the issue for both ipq40xx and ath79 builds</p>
<p><br>
</p>
</blockquote>
<p><br>
</p>
<p>Looks like the likely (upstream) event that triggered this was<br>
</p>
(Linux) commit 3b0f31f2b8c9<br>
Author: Johannes Berg <a class="moz-txt-link-rfc2396E" href="mailto:johannes.berg@intel.com"><johannes.berg@intel.com></a><br>
Date: Thu Mar 21 22:51:02 2019 +0100<br>
<br>
<p> genetlink: make policy common to family</p>
<p><br>
</p>
<p>which moves .policy off where "current" batman-adv is expecting
it.</p>
<p>The backport tar ball does contain
backport-include/net/genetlink.h which seems to be picked up
inappropriately for batman-adv, or there is a patch missing for
batman-adv (commit 3b0f31f2b8c9 does modify it), or ...</p>
<p>I haven't quite figured out how the backports work, so don't yet
know the root cause and "best" solution.</p>
<p><br>
</p>
<p>Jeff</p>
<p><br>
</p>
<p>See also
<a class="moz-txt-link-freetext" href="https://forum.openwrt.org/t/batman-adv-build-failure-master-2019-07-21/41205">https://forum.openwrt.org/t/batman-adv-build-failure-master-2019-07-21/41205</a><br>
</p>
</body>
</html>