[OpenWrt-Devel] Openvswitch package not available in trunk

Florian Siebertz florian.siebertz at inf.h-brs.de
Wed Aug 5 08:53:22 EDT 2015


Thank you for your work, i really appreciate it. 
Now the package is back, but at compilation it fails when 
checking against the kernel version:

(cd /home/administrator/openwrt/build_dir/target-mips_34kc_musl-1.1.10/openvswitch-2.4.0/./; if [ -x ./configure ]; then find /home/administrator/openwrt/build_dir/target-mips_34kc_musl-1.1.10/openvswitch-2.4.0/ -name config.guess | xargs -r chmod u+w; find /home/administrator/openwrt/build_dir/target-mips_34kc_musl-1.1.10/openvswitch-2.4.0/ -name config.guess | xargs -r -n1 cp --remove-destination /home/administrator/openwrt/scripts/config.guess; find /home/administrator/openwrt/build_dir/target-mips_34kc_musl-1.1.10/openvswitch-2.4.0/ -name config.sub | xargs -r chmod u+w; find /home/administrator/openwrt/build_dir/target-mips_34kc_musl-1.1.10/openvswitch-2.4.0/ -name config.sub | xargs -r -n1 cp --remove-destination /home/administrator/openwrt/scripts/config.sub; AR="mips-openwrt-linux-musl-gcc-ar" AS="mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat !
 -Werror=fo
rmat-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -mno-mips16 -mno-interlink-mips16 -flto -std=gnu99" LD=mips-openwrt-linux-musl-ld NM="mips-openwrt-linux-musl-gcc-nm" CC="mips-openwrt-linux-musl-gcc" GCC="mips-openwrt-linux-musl-gcc" CXX="mips-openwrt-linux-musl-g++" RANLIB="mips-openwrt-linux-musl-gcc-ranlib" STRIP=mips-openwrt-linux-musl-strip OBJCOPY=mips-openwrt-linux-musl-objcopy OBJDUMP=mips-openwrt-linux-musl-objdump SIZE=mips-openwrt-linux-musl-size CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -mno-mips16 -mno-interlink-mips16 -flto -std=gnu99 " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1!
  -Wl,-z,no
w -Wl,-z,relro -mno-mips16 -mno-interlink-mips16 -flto -std=gnu99 " CPPFLAGS="-I/home/administrator/openwrt/staging_dir/target-mips_34kc_musl-1.1.10/usr/include -I/home/administrator/openwrt/staging_dir/target-mips_34kc_musl-1.1.10/include -I/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/usr/include -I/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/include/fortify -I/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/include " LDFLAGS="-L/home/administrator/openwrt/staging_dir/target-mips_34kc_musl-1.1.10/usr/lib -L/home/administrator/openwrt/staging_dir/target-mips_34kc_musl-1.1.10/lib -L/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/usr/lib -L/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/lib -znow -zrelro "   ./configure --target=mips-openwrt-linux --host=mips-openwrt-linux --build!
 =x86_64-li
nux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls   _python_sysroot="/home/administrator/openwrt/staging_dir/target-mips_34kc_musl-1.1.10" _python_prefix="/usr" _python_exec_prefix="/usr" --with-linux=/home/administrator/openwrt/build_dir/target-mips_34kc_musl-1.1.10/linux-ar71xx_generic/linux-4.1.3 --with-rundir=/var/run --enable-ndebug --disable-ssl --enable-shared ; fi; )

[...] (a bunch of checks)

checking for kernel version... 4.1.3
configure: error: Linux kernel in /home/administrator/openwrt/build_dir/target-mips_34kc_musl-1.1.10/linux-ar71xx_generic/linux-4.1.3 is version 4.1.3, but version newer than 4.0.x is not supported (please refer to the FAQ for advice)
make[3]: *** [/home/administrator/openwrt/build_dir/target-mips_34kc_musl-1.1.10/openvswitch-2.4.0/.configured_yyyyyyyy] Error 1
make[3]: Leaving directory `/home/administrator/openwrt/feeds/packages/net/openvswitch'
make[2]: *** [package/feeds/packages/openvswitch/compile] Error 2
make[2]: Leaving directory `/home/administrator/openwrt'
make[1]: *** [/home/administrator/openwrt/staging_dir/target-mips_34kc_musl-1.1.10/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/administrator/openwrt'
make: *** [world] Error 2



Am 04.08.2015 um 16:08 schrieb Alexandru Ardelean:
> Took some 20-30 minutes to upgrade OVS and test it (with kernel 4.1).
> Seems to work fine so far.
> 
> Please monitor this PR; after it's merged it should appear.
> 
> On Tue, Aug 4, 2015 at 1:37 PM, Alexandru Ardelean <ardeleanalex at gmail.com>
> wrote:
> 
>> Well, OpenVSwitch is a bit behind on kernel support.
>> It's at 3.18 currently.
>> OpenWRT is at 4.1
>>
>> We'd need to do an upgrade of OVS to get it up to speed.
>>
>>
>>
>>
>> On Tue, Aug 4, 2015 at 12:43 PM, Florian Siebertz <
>> florian.siebertz at inf.h-brs.de> wrote:
>>
>>> Hi,
>>>
>>> i noticed that the openvswitch package is not available in trunk at the
>>> moment. It is not in the precompiled snapshots, neither can it be
>>> choosen in 'make menuconfig'. (Yes, i did ./scripts/feeds
>>> [update|install] -a).
>>>
>>> Does anyone know why and when it will be back?
>>>
>>> Thanks!
>>>
>>> Florian Siebertz
>>> _______________________________________________
>>> openwrt-devel mailing list
>>> openwrt-devel at lists.openwrt.org
>>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>>>
>>
>>
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list