make[4]: Entering directory '/usr/src/linux-3.14.51-hardened'
CC [M] /var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/actions.o
CC [M] /var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/datapath.o
CC [M] /var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/dp_notify.o
CC [M] /var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/flow.o
CC [M] /var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/flow_netlink.o
CC [M] /var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/flow_table.o
CC [M] /var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/vport.o
CC [M] /var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/vport-gre.o
/var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/datapath.c: In function ?dp_init?:
/var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/datapath.c:2112:10: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
VERSION);
^
/var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/datapath.c:2112:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
VERSION);
^
/var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/flow_table.c: In function ?tbl_mask_array_alloc?:
/var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/flow_table.c:222:27: note: Function tbl_mask_array_alloc is missing from the size_overflow hash table +tbl_mask_array_alloc+1+20339+
static struct mask_array *tbl_mask_array_alloc(int size)
^
/var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/flow_table.c: In function ?tbl_mask_array_realloc?:
/var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/flow_table.c:238:12: note: Function tbl_mask_array_realloc is missing from the size_overflow hash table +tbl_mask_array_realloc+2+21521+
static int tbl_mask_array_realloc(struct flow_table *tbl, int size)
^
CC [M] /var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/vport-internal_dev.o
CC [M] /var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/vport-lisp.o
CC [M] /var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/vport-netdev.o
CC [M] /var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/vport-vxlan.o
CC [M] /var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/dev-openvswitch.o
CC [M] /var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/exthdrs_core.o
cc1: some warnings being treated as errors
scripts/Makefile.build:308: recipe for target '/var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/datapath.o' failed
make[5]: *** [/var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux/datapath.o] Error 1
make[5]: *** Waiting for unfinished jobs....
Makefile:1358: recipe for target '_module_/var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux' failed
make[4]: *** [_module_/var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux] Error 2
make[4]: Leaving directory '/usr/src/linux-3.14.51-hardened'
Makefile.main:70: recipe for target 'default' failed
make[3]: *** [default] Error 2
make[3]: Leaving directory '/var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath/linux'
Makefile:478: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1/datapath'
Makefile:3533: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1'
Makefile:1888: recipe for target 'all' failed
make: *** [all] Error 2
* ERROR: net-misc/openvswitch-2.3.1::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=net-misc/openvswitch-2.3.1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-misc/openvswitch-2.3.1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/net-misc/openvswitch-2.3.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/openvswitch-2.3.1/temp/environment'.
* Working directory: '/var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1'
* S: '/var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1'
>>> Failed to emerge net-misc/openvswitch-2.3.1, Log file:
>>> '/var/tmp/portage/net-misc/openvswitch-2.3.1/temp/build.log'
* Messages for package net-misc/openvswitch-2.3.1:
* ERROR: net-misc/openvswitch-2.3.1::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=net-misc/openvswitch-2.3.1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-misc/openvswitch-2.3.1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/net-misc/openvswitch-2.3.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/openvswitch-2.3.1/temp/environment'.
* Working directory: '/var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1'
* S: '/var/tmp/portage/net-misc/openvswitch-2.3.1/work/openvswitch-2.3.1'
Question
dab.s.bad
its been more than 2days already trying out to compile/install OpenVswtich
I have tried adding something like:
method 1:
[in a dumb way] litterally added this "-Wno-error=date-time" to all [CFLAGS, CXXFLAGS, FFLAGS] in "/etc/portage/make.conf"
method 2:
added "-Wno-date-time" into CFLAGS in "/etc/portage/make.conf"
and..., no success :(
BTW..., I used a 3.14.51 kernel because openVswitch seems to need it something like 2.x <= 3.14
hope someone can help me out...
here are some info:
and the compile block:
Link to comment
Share on other sites
2 answers to this question
Recommended Posts