<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Greg, thanks!  You are exactly right. We standardized Orabuntu-LXC on 2.12.1 which fixed the problem because it's one of the release that has Aaron's patch built in. If end users want to use other versions, it's easy for them to reconfigure Orabuntu-LXC to
 do so.<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Gregory Rose <gvrose8192@gmail.com><br>
<b>Sent:</b> Monday, November 16, 2020 10:48 AM<br>
<b>To:</b> Gilbert Standen <gilstanden@hotmail.com>; ovs-discuss@openvswitch.org <ovs-discuss@openvswitch.org><br>
<b>Subject:</b> Re: [ovs-discuss] OVS 2.11.1 RPM build from source fails on Oracle Linux 7.8 and 7.9</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText"><br>
<br>
On 11/12/2020 8:26 PM, Gilbert Standen wrote:<br>
> Hi,<br>
> <br>
> OVS 2.11.1 RPM builds and install fine on Oracle Linux 7.6, but on Oracle Linux 7.8 and 7.9 the RPM build fails with the following errors:<br>
> <br>
> In file included from lib/netlink-conntrack.c:27:0:<br>
> /usr/include/linux/netfilter/nf_conntrack_sctp.h:25:2: error: unknown type name 'u8'<br>
>    u8 last_dir;<br>
>    ^<br>
> /usr/include/linux/netfilter/nf_conntrack_sctp.h:26:2: error: unknown type name 'u8'<br>
>    u8 flags;<br>
>    ^<br>
> make[2]: *** [lib/netlink-conntrack.lo] Error 1<br>
> make[2]: Leaving directory `/opt/olxc/home/ubuntu/Downloads/orabuntu-lxc-master/uekulele/openvswitch/rpmbuild/BUILD/openvswitch-2.11.1'<br>
> make[1]: *** [all-recursive] Error 1<br>
> make[1]: Leaving directory `/opt/olxc/home/ubuntu/Downloads/orabuntu-lxc-master/uekulele/openvswitch/rpmbuild/BUILD/openvswitch-2.11.1'<br>
> make: *** [all] Error 2<br>
> error: Bad exit status from /var/tmp/rpm-tmp.s2PkRp (%build)<br>
> <br>
> RPM build errors:<br>
>      Bad exit status from /var/tmp/rpm-tmp.s2PkRp (%build)<br>
> <br>
> I've looked at these URLs below, but do not know how to make use of them to get the RPM build working on Oracle Linux 7.8 and 7.9 (I have not tested Oracle Linux 7.7 yet).<br>
> <br>
> <a href="https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.redhat.com%2Fshow_bug.cgi%3Fid%3D1890095&amp;data=04%7C01%7C%7Ca92119d3193748d1be3908d88a4f85b9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637411421428266492%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=QwqKZqSg%2FIA5urH5lDSBTCxZDzjKXBqrl3%2FNs9xzii8%3D&amp;reserved=0">
https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.redhat.com%2Fshow_bug.cgi%3Fid%3D1890095&amp;data=04%7C01%7C%7Ca92119d3193748d1be3908d88a4f85b9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637411421428266492%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=QwqKZqSg%2FIA5urH5lDSBTCxZDzjKXBqrl3%2FNs9xzii8%3D&amp;reserved=0</a><br>
> and<br>
> <a href="https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenvswitch%2Fovs%2Fcommit%2F8c7130da98c55bdf13eae62b5250434f8dfd366b&amp;data=04%7C01%7C%7Ca92119d3193748d1be3908d88a4f85b9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637411421428266492%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=ewM%2FG5XJs3QLBl5dM24kUus4rWHdxrvHgYtOU29J3uE%3D&amp;reserved=0">
https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenvswitch%2Fovs%2Fcommit%2F8c7130da98c55bdf13eae62b5250434f8dfd366b&amp;data=04%7C01%7C%7Ca92119d3193748d1be3908d88a4f85b9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637411421428266492%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=ewM%2FG5XJs3QLBl5dM24kUus4rWHdxrvHgYtOU29J3uE%3D&amp;reserved=0</a><br>
> <br>
> Is there a way I can get OVS 2.11.1 RPM to build successfully on Oracle LInux 7.8 and 7.9 and what is causing the problem?<br>
<br>
Probably not - I haven't tried this or looked closely at the error but<br>
it looks like a header has been moved or changed in some way.  The<br>
'u8' type is fundamental to Linux so the header(s) that define it<br>
must have changed.<br>
<br>
You'll probably have to try a newer version of OVS. Is there some<br>
particular reason you need 2.11.1 specifically?<br>
<br>
- Greg<br>
<br>
<br>
> <br>
> Thanks,<br>
> <br>
> Gilbert Standen<br>
> Contributor Orabuntu-LXC<br>
> <br>
> <br>
> <br>
> <br>
> _______________________________________________<br>
> discuss mailing list<br>
> discuss@openvswitch.org<br>
> <a href="https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.openvswitch.org%2Fmailman%2Flistinfo%2Fovs-discuss&amp;data=04%7C01%7C%7Ca92119d3193748d1be3908d88a4f85b9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637411421428266492%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Km%2FO0M0RYnBy2Agy%2F9LyxshZi7ss4I3ygiwkNf0VB68%3D&amp;reserved=0">
https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.openvswitch.org%2Fmailman%2Flistinfo%2Fovs-discuss&amp;data=04%7C01%7C%7Ca92119d3193748d1be3908d88a4f85b9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637411421428266492%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Km%2FO0M0RYnBy2Agy%2F9LyxshZi7ss4I3ygiwkNf0VB68%3D&amp;reserved=0</a><br>
> <br>
</div>
</span></font></div>
</body>
</html>