On 11/12/2020 8:26 PM, Gilbert Standen wrote:
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?

Probably not - I haven't tried this or looked closely at the error but
it looks like a header has been moved or changed in some way.  The
'u8' type is fundamental to Linux so the header(s) that define it
must have changed.

You'll probably have to try a newer version of OVS. Is there some
particular reason you need 2.11.1 specifically?

- Greg



Thanks,

Gilbert Standen
Contributor Orabuntu-LXC




_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to