[ovs-discuss] OVS 2.11.1 RPM build from source fails on Oracle Linux 7.8 and 7.9

Orabuntu-LXC gilbert at orabuntu-lxc.com
Fri Nov 13 04:19:37 UTC 2020


Hi,

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:

In file included from lib/netlink-conntrack.c:27:0:
/usr/include/linux/netfilter/nf_conntrack_sctp.h:25:2: error: unknown type
name 'u8'
  u8 last_dir;
  ^
/usr/include/linux/netfilter/nf_conntrack_sctp.h:26:2: error: unknown type
name 'u8'
  u8 flags;
  ^
make[2]: *** [lib/netlink-conntrack.lo] Error 1
make[2]: Leaving directory
`/opt/olxc/home/ubuntu/Downloads/orabuntu-lxc-master/uekulele/openvswitch/rpmbuild/BUILD/openvswitch-2.11.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/opt/olxc/home/ubuntu/Downloads/orabuntu-lxc-master/uekulele/openvswitch/rpmbuild/BUILD/openvswitch-2.11.1'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.s2PkRp (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.s2PkRp (%build)

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).

https://bugzilla.redhat.com/show_bug.cgi?id=1890095
and
https://github.com/openvswitch/ovs/commit/8c7130da98c55bdf13eae62b5250434f8dfd366b

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?

Thanks,

Gilbert Standen
Contributor Orabuntu-LXC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20201112/5a400a66/attachment.html>


More information about the discuss mailing list