package/efl: switch to luajit support
PATCH 1/4 package/efl: switch to luajit support
In efl 1.15.x, Lua "old" support is broken with Lua 5.2+ [1].
With the patch added in efl 1.16 to fixes this issue, libevas fail to link with the following error:
CCLD bin/ecore_evas/ecore_evas_convert host-efl-1.16.1/src/lib/evas/.libs/libevas.so: undefined reference to `luaL_openlib'
collect2: error: ld returned 1 exit status
Makefile:19021: recipe for target 'bin/ecore_evas/ecore_evas_convert' failed
Since 9ba8d1cce4ab00307827083bae234d87b37fb967, the luajit support can be enabled in efl package.
In order to update the efl stack to 1.17, switch to luajit support and remove Lua "old" support since it's not fixed upstream yet. But the drawback is the efl stack depends implicitely on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS.
[1] https://phab.enlightenment.org/T2728
--- package/efl/Config.in | 6 +++--- package/efl/efl.mk | 17 +++++++++-------- 2 files changed, 12 insertions(+), 11 deletions(-)
package/efl/Config.in +3 -3
@@ -3,7 +3,7 @@ config BR2_PACKAGE_EFL depends on BR2_INSTALL_LIBSTDCPP depends on BR2_PACKAGE_HAS_UDEV # libudev # https://phab.enlightenment.org/T2728 - depends on BR2_PACKAGE_LUA_5_1 # needs lua 5.1, broken with 5.2+ + depends on BR2_PACKAGE_LUAJIT # Lua support broken with 5.2+ depends on BR2_TOOLCHAIN_HAS_THREADS # untested without threads depends on BR2_USE_MMU depends on BR2_USE_WCHAR # use wchar_t
@@ -186,6 +186,6 @@ comment "efl needs udev /dev management and a toolchain w/ C++, dynamic library, || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR depends on BR2_USE_MMU -comment "efl needs lua 5.1" - depends on !BR2_PACKAGE_LUA_5_1 +comment "efl needs luajit" + depends on !BR2_PACKAGE_LUAJIT depends on BR2_USE_MMU
package/efl/efl.mk +9 -8
@@ -19,8 +19,8 @@ EFL_LICENSE_FILES = \ EFL_INSTALL_STAGING = YES -EFL_DEPENDENCIES = host-pkgconf host-efl dbus freetype jpeg lua udev \ - util-linux zlib +EFL_DEPENDENCIES = host-pkgconf host-efl host-luajit dbus freetype \ + jpeg luajit udev util-linux zlib # Regenerate the autotools: # - to fix an issue in eldbus-codegen: https://phab.enlightenment.org/T2718
@@ -29,19 +29,20 @@ EFL_GETTEXTIZE = YES # Configure options: # --disable-cxx-bindings: disable C++11 bindings. +# --disable-lua-old: build elua for the target. # --disable-sdl: disable sdl2 support. # --disable-systemd: disable systemd support. # --disable-xinput22: disable X11 XInput v2.2+ support. -# --enable-lua-old: disable Elua and remove luajit dependency. # --with-opengl=none: disable opengl support. EFL_CONF_OPTS = \ --with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \ + --with-elua=$(HOST_DIR)/usr/bin/elua \ --with-eolian-gen=$(HOST_DIR)/usr/bin/eolian_gen \ --disable-cxx-bindings \ + --disable-lua-old \ --disable-sdl \ --disable-systemd \ --disable-xinput22 \ - --enable-lua-old \ --with-opengl=none # Disable untested configuration warning.
@@ -227,7 +228,7 @@ $(eval $(autotools-package)) # * host-freetype: for libevas # * host-libglib2: for libecore # * host-libjpeg, host-libpng: for libevas image loader -# * host-lua: disable luajit dependency +# * host-luajit for Elua tool for the host HOST_EFL_DEPENDENCIES = \ host-pkgconf \ host-dbus \
@@ -235,7 +236,7 @@ HOST_EFL_DEPENDENCIES = \ host-libglib2 \ host-libjpeg \ host-libpng \ - host-lua \ + host-luajit \ host-zlib # Configure options:
@@ -246,10 +247,10 @@ HOST_EFL_DEPENDENCIES = \ # --disable-gstreamer1: remove dependency on gtreamer 1.0. # --disable-libeeze: remove libudev dependency. # --disable-libmount: remove dependency on host-util-linux libmount. +# --disable-lua-old: build elua for the host. # --disable-physics: remove Bullet dependency. # --enable-image-loader-gif=no: disable Gif dependency. # --enable-image-loader-tiff=no: disable Tiff dependency. -# --enable-lua-old: disable Elua and remove luajit dependency. # --with-crypto=none: remove dependencies on openssl or gnutls. # --with-x11=none: remove dependency on X.org. # Yes I really know what I am doing.
@@ -261,13 +262,13 @@ HOST_EFL_CONF_OPTS += \ --disable-gstreamer1 \ --disable-libeeze \ --disable-libmount \ + --disable-lua-old \ --disable-multisense \ --disable-physics \ --enable-image-loader-gif=no \ --enable-image-loader-jpeg=yes \ --enable-image-loader-png=yes \ --enable-image-loader-tiff=no \ - --enable-lua-old \ --with-crypto=none \ --with-glib=yes \ --with-opengl=none \
Signature · 1 line
2.5.5
PATCH 2/4 package/efl: bump to 1.17.0
Autoreconf has been fixed upstream.
Update the untested configuration warning option.
--- package/efl/efl.hash | 4 ++-- package/efl/efl.mk | 11 +++-------- 2 files changed, 5 insertions(+), 10 deletions(-)
package/efl/efl.hash +2 -2
@@ -1,2 +1,2 @@ -# From https://download.enlightenment.org/rel/libs/efl/efl-1.15.3.tar.xz.sha256 -sha256 3bac40e6294288034bd7f8902088bf1169cf376f6fd25b7a49854ab561630642 efl-1.15.3.tar.xz +# From https://download.enlightenment.org/rel/libs/efl/efl-1.17.0.tar.xz.sha256 +sha256 c13540bad764d014fea2c079fad8fcca62e5c229994d43aa4eb692d2c9b73afe efl-1.17.0.tar.xz
package/efl/efl.mk +3 -8
@@ -4,7 +4,7 @@ # ################################################################################ -EFL_VERSION = 1.15.3 +EFL_VERSION = 1.17.0 EFL_SOURCE = efl-$(EFL_VERSION).tar.xz EFL_SITE = http://download.enlightenment.org/rel/libs/efl EFL_LICENSE = BSD-2c, LGPLv2.1+, GPLv2+
@@ -22,11 +22,6 @@ EFL_INSTALL_STAGING = YES EFL_DEPENDENCIES = host-pkgconf host-efl host-luajit dbus freetype \ jpeg luajit udev util-linux zlib -# Regenerate the autotools: -# - to fix an issue in eldbus-codegen: https://phab.enlightenment.org/T2718 -EFL_AUTORECONF = YES -EFL_GETTEXTIZE = YES - # Configure options: # --disable-cxx-bindings: disable C++11 bindings. # --disable-lua-old: build elua for the target.
@@ -47,7 +42,7 @@ EFL_CONF_OPTS = \ # Disable untested configuration warning. ifeq ($(BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG),) -EFL_CONF_OPTS += --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-aba +EFL_CONF_OPTS += --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-abb endif ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBMOUNT),y)
@@ -273,6 +268,6 @@ HOST_EFL_CONF_OPTS += \ --with-glib=yes \ --with-opengl=none \ --with-x11=none \ - --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-aba + --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-abb $(eval $(host-autotools-package))
Signature · 1 line
2.5.5
PATCH 2/4 package/efl: bump to 1.17.0
Quoted 4 lines · Romain Naour
Autoreconf has been fixed upstream.
Update the untested configuration warning option.Signed-off-by Romain Naour <[email protected]>
Hi Romain.
host-efl is failing to build in my tests:
ELUA lib/ecore_con/ecore_con_base.eo.lua
ERR<2199>:elua lib/elua/elua.c:647 _elua_errmsg() ../src/bin/elua/elua:
...t/build/host-efl-1.17.0/src/bindings/luajit/eina/log.lua:53:
libeina.so: cannot open shared object file: No such file or directory stack traceback:
[C]: in function 'error'
...put/build/host-efl-1.17.0/src/scripts/elua/core/util.lua:162: in function 'lib_load'
...t/build/host-efl-1.17.0/src/bindings/luajit/eina/log.lua:53:
in function <...t/build/host-efl-1.17.0/src/bindings/luajit/eina/log.lua:52>
[C]: in function 'init_module' ...t/build/host-efl-1.17.0/src/bindings/luajit/eina/log.lua:63:
in function 'loader'
...t/build/host-efl-1.17.0/src/scripts/elua/core/module.lua:94:
in function 'require'
...ild/host-efl-1.17.0/src/scripts/elua/modules/lualian.lua:5:
in function 'loader'
...t/build/host-efl-1.17.0/src/scripts/elua/core/module.lua:94:
in function 'require'
.../build/host-efl-1.17.0/src/scripts/elua/apps/lualian.lua:4:
in main chunk
[C]: at 0x00401460Makefile:40673: recipe for target 'lib/ecore_con/ecore_con_base.eo.lua' failed
libeina.so in fact doesn't exist in the host dir, however it does inside the host-efl build dir in src/lib/eina/.libs/libeina.so
Got any ideas to look into/try?
Regards.
PATCH 2/4 package/efl: bump to 1.17.0
Hello Gustavo,
Le 29/04/2016 ? 14:39, Gustavo Zacarias a ?crit :
Quoted 33 lines · Romain Naour
Quoted 5 lines
Autoreconf has been fixed upstream.
Update the untested configuration warning option.Signed-off-by Romain Naour <[email protected]>Hi Romain.
host-efl is failing to build in my tests:ELUA
lib/ecore_con/ecore_con_base.eo.lua
ERR<2199>:elualib/elua/elua.c:647_elua_errmsg()../src/bin/elua/elua:
...t/build/host-efl-1.17.0/src/bindings/luajit/eina/log.lua:53: libeina.so:
cannot open shared object file: No such file or directory
stack traceback:
[C]: in function 'error'...put/build/host-efl-1.17.0/src/scripts/elua/core/util.lua:162: in function '
lib_load'...t/build/host-efl-1.17.0/src/bindings/luajit/eina/log.lua:53: infunction <...t/build/host-efl-1.17.0/src/bindings/luajit/eina/log.lua:52>
[C]: in function 'init_module' ...t/build/host-efl-1.17.0/src/bindings/luajit/eina/log.lua:63: in
function 'loader'...t/build/host-efl-1.17.0/src/scripts/elua/core/module.lua:94: in function 'require' ...ild/host-efl-1.17.0/src/scripts/elua/modules/lualian.lua:5: in function 'loader' ...t/build/host-efl-1.17.0/src/scripts/elua/core/module.lua:94: in function 'require' .../build/host-efl-1.17.0/src/scripts/elua/apps/lualian.lua:4: in main chunk [C]: at 0x00401460
Quoted 5 lines
Makefile:40673: recipe for target '
lib/ecore_con/ecore_con_base.eo.lua' failedlibeina.so in fact doesn't exist in the host dir, however it does inside the host-efl build dir in src/lib/eina/.libs/libeina.so
Got any ideas to look into/try?
Weird, I'm able to build host-efl here... let me retry again. Can you share your Buildroot config and the host-efl config.log ?
Can you try to autoreconf the efl package ?EFL_AUTORECONF = YESEFL_GETTEXTIZE = YES
Thanks for testing :)
Best regards,
Romain
Quoted 2 lines
Regards.
PATCH 2/4 package/efl: bump to 1.17.0
Quoted 6 lines · Romain Naour
Weird, I'm able to build host-efl here... let me retry again. Can you share your Buildroot config and the host-efl config.log ?
Can you try to autoreconf the efl package ?
EFL_AUTORECONF= YESEFL_GETTEXTIZE= YES
Hi Romain.
It fails the same, so https://www.zacarias.com.ar/host-efl-config.log
and https://www.zacarias.com.ar/efl-defconfig.txt
Thanks!
Regards.
PATCH 2/4 package/efl: bump to 1.17.0
Hi Gustavo,
Le 30/04/2016 14:22, Gustavo Zacarias a ?crit :
Quoted 5 lines · Romain Naour
Quoted 4 lines
Weird, I'm able to build host-efl here... let me retry again. Can you share your Buildroot config and the host-efl config.log ?
Quoted 7 lines
Quoted 3 lines
Can you try to autoreconf the efl package ?
EFL_AUTORECONF= YESEFL_GETTEXTIZE= YESHi Romain.
It fails the same, so https://www.zacarias.com.ar/host-efl-config.log
and https://www.zacarias.com.ar/efl-defconfig.txt
I'm unable to reproduce your issue :-(
But probably the issue is here:
USE_EVAS_LIBS=' [...] -lfreetype -L/usr/lib -lluajit-5.1 '
It seems that it doesn't use the luajit library from host-luajit package... Otherwise I don't know.
Best regards,
Romain
Quoted 6 lines
Thanks!
Regards.
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
PATCH 2/4 package/efl: bump to 1.17.0
Hi Gustavo,
Le 30/04/2016 ? 16:56, Romain Naour a ?crit :
Quoted 16 lines
Hi Gustavo,
Le 30/04/2016 14:22, Gustavo Zacarias a ?crit :
Quoted 5 lines · Romain Naour
Quoted 4 lines
Weird, I'm able to build host-efl here... let me retry again. Can you share your Buildroot config and the host-efl config.log ?
Quoted 7 lines
Quoted 3 lines
Can you try to autoreconf the efl package ?
EFL_AUTORECONF= YESEFL_GETTEXTIZE= YESHi Romain.
It fails the same, so https://www.zacarias.com.ar/host-efl-config.log
and https://www.zacarias.com.ar/efl-defconfig.txt
Quoted 7 lines
I'm unable to reproduce your issue :-(
But probably the issue is here:
USE_EVAS_LIBS=' [...] -lfreetype -L/usr/lib -lluajit-5.1 'It seems that it doesn't use the luajit library from host-luajit package... Otherwise I don't know.
The .pc file is manually generated in the luajit Makefile, so it give a wrong path for host-luajit.
$ host/usr/bin/pkgconf --cflags luajit /usr/include/luajit-2.0
It should be:
$ host/usr/bin/pkgconf --cflags luajit [...]output/host/usr/include/luajit-2.0
Can you try with this patch ?
package/luajit/luajit.mk +2 -0
@@ -75,5 +75,11 @@ define HOST_LUAJIT_INSTALL_CMDS $(MAKE) PREFIX="/usr" DESTDIR="$(HOST_DIR)" LDCONFIG=true -C $(@D) install endef +define HOST_LUAJIT_FIX_PC_FILE + sed -i -e "s|^prefix=.*|prefix=$(HOST_DIR)/usr|"
$(HOST_DIR)/usr/lib/pkgconfig/luajit.pc
+endef
+
+HOST_LUAJIT_POST_INSTALL_HOOKS = HOST_LUAJIT_FIX_PC_FILE +
$(eval $(generic-package))
$(eval $(host-generic-package))
Best regards,
Romain
Quoted 11 lines
Best regards,
RomainQuoted 6 lines
Thanks!
Regards.
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
PATCH 2/4 package/efl: bump to 1.17.0
Quoted 30 lines · Romain Naour
The .pc file is manually generated in the luajit
Makefile, so it give a wrong path for host-luajit.$ host/usr/bin/pkgconf --cflags luajit /usr/include/luajit-2.0It should be:
$ host/usr/bin/pkgconf --cflags luajit [...]output/host/usr/include/luajit-2.0Can you try with this patch ?
package/luajit/luajit.mk +2
-0@@ -75,5 +75,11 @@ define HOST_LUAJIT_INSTALL_CMDS $(MAKE) PREFIX="/usr" DESTDIR="$(HOST_DIR)" LDCONFIG=true -C $(@D) install endef +define HOST_LUAJIT_FIX_PC_FILE + sed -i -e "s|^prefix=.*|prefix=$(HOST_DIR)/usr|"$(HOST_DIR)/usr/lib/pkgconfig/luajit.pc
package/luajit/luajit.mk +4
-0+endef + +HOST_LUAJIT_POST_INSTALL_HOOKS = HOST_LUAJIT_FIX_PC_FILE + $(eval $(generic-package)) $(eval $(host-generic-package))
Quoted 2 lines
Best regards,
Romain
Hi Romain.
It doesn't help, the problem seems to be that efl is picking up the distro luajit (which i have installed) over any other alternative. I'll try to cook a patch on my side.
Regards.
PATCH 2/4 package/efl: bump to 1.17.0
Hi Gustavo, Thomas, All
Le 01/05/2016 ? 15:18, Gustavo Zacarias a ?crit :
Quoted 34 lines · Romain Naour
Quoted 33 lines
The .pc file is manually generated in the luajit
Makefile, so it give a wrong path for host-luajit.$ host/usr/bin/pkgconf --cflags luajit /usr/include/luajit-2.0It should be:
$ host/usr/bin/pkgconf --cflags luajit [...]output/host/usr/include/luajit-2.0Can you try with this patch ?
package/luajit/luajit.mk +0
-0@@ -75,5 +75,11 @@ define HOST_LUAJIT_INSTALL_CMDS $(MAKE) PREFIX="/usr" DESTDIR="$(HOST_DIR)" LDCONFIG=true -C $(@D)install
endefpackage/luajit/luajit.mk +2
-0+define HOST_LUAJIT_FIX_PC_FILE + sed -i -e "s|^prefix=.*|prefix=$(HOST_DIR)/usr|"$(HOST_DIR)/usr/lib/pkgconfig/luajit.pc
package/luajit/luajit.mk +4
-0+endef + +HOST_LUAJIT_POST_INSTALL_HOOKS = HOST_LUAJIT_FIX_PC_FILE + $(eval $(generic-package)) $(eval $(host-generic-package))
Quoted 8 lines
Quoted 2 lines
Best regards,
RomainHi Romain.
It doesn't help, the problem seems to be that efl is picking up the distro luajit (which i have installed) over any other alternative. I'll try to cook a patch on my side.
Regards.
Gustavo, any progress on your side ?
I tried with and without luajit (from the distro) installed on a Fedora 23 and Debian 8 system, I can't reproduce your build issue.
Also I fixed the host-luajit issue [1] since then.
Thomas, do you think it's too late for this series ?
Best regards,
Romain
[1]
https://git.busybox.net/buildroot/commit/?id=e05a5b8e342f94aae7d79fe648003dd1a65ebc41
Quoted 5 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
PATCH 3/4 package/elementary: bump to 1.17.0
In reply to Romain Naour--- package/elementary/elementary.hash | 4 ++-- package/elementary/elementary.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
package/elementary/elementary.hash +2 -2
@@ -1,2 +1,2 @@ -# From https://download.enlightenment.org/rel/libs/elementary/elementary-1.15.3.tar.xz.sha256 -sha256 474a9175061021ce8cbcfdbde6162316fc0d927b21118d1ab549377ebc802a93 elementary-1.15.3.tar.xz +# From https://download.enlightenment.org/rel/libs/elementary/elementary-1.17.0.tar.xz.sha256 +sha256 6a6a5883939eab8d87179c7980c0dbd6b53d82bf460a161045a891694d036b2b elementary-1.17.0.tar.xz
package/elementary/elementary.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -ELEMENTARY_VERSION = 1.15.3 +ELEMENTARY_VERSION = 1.17.0 ELEMENTARY_SOURCE = elementary-$(ELEMENTARY_VERSION).tar.xz ELEMENTARY_SITE = http://download.enlightenment.org/rel/libs/elementary ELEMENTARY_LICENSE = LGPLv2.1
Signature · 1 line
2.5.5
PATCH 4/4 package/enlightenment: bump to 0.20.7
In reply to Romain Naour--- package/enlightenment/enlightenment.hash | 4 ++-- package/enlightenment/enlightenment.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
package/enlightenment/enlightenment.hash +2 -2
@@ -1,2 +1,2 @@ -# From https://phab.enlightenment.org/phame/live/3/post/e19_14_release/ -sha256 8906e762f0d953752bfe002663280a855da9bb74acf613424c517b78a8dde407 enlightenment-0.19.14.tar.xz +# From https://www.enlightenment.org/news/e20_7_release +sha256 7cdee85928488bdeb07ab22f31c1aaf58e27ca365d327968cfed6a5f83ade181 enlightenment-0.20.7.tar.xz
package/enlightenment/enlightenment.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -ENLIGHTENMENT_VERSION = 0.19.14 +ENLIGHTENMENT_VERSION = 0.20.7 ENLIGHTENMENT_SOURCE = enlightenment-$(ENLIGHTENMENT_VERSION).tar.xz ENLIGHTENMENT_SITE = http://download.enlightenment.org/rel/apps/enlightenment ENLIGHTENMENT_LICENSE = BSD-2c
Signature · 1 line
2.5.5
PATCH 1/4 package/efl: switch to luajit support
In reply to Romain NaourRomain,
Quoted 16 lines · Romain Naour
In efl 1.15.x, Lua "old" support is broken with Lua 5.2+ [1].
With the patch added in efl 1.16 to fixes this issue, libevas fail to link with the following error:
CCLD bin/ecore_evas/ecore_evas_convert host-efl-1.16.1/src/lib/evas/.libs/libevas.so: undefined reference to `luaL_openlib'
collect2: error: ld returned 1 exit status
Makefile:19021: recipe for target 'bin/ecore_evas/ecore_evas_convert' failedSince
9ba8d1cce4ab00307827083bae234d87b37fb967, the luajit support can be enabled in efl package.
In order to update the efl stack to 1.17, switch to luajit support and remove Lua "old" support since it's not fixed upstream yet. But the drawback is the efl stack depends implicitely onBR2_PACKAGE_LUAJIT_ARCH_SUPPORTS.
Quoted 7 lines
[1] https://phab.enlightenment.org/T2728
Signed-off-by Romain Naour <[email protected]>--- package/efl/Config.in | 6 +++--- package/efl/efl.mk | 17 +++++++++-------- 2 files changed, 12 insertions(+), 11 deletions(-)
I've applied this series of four patches, and did just one change:
modified this patch (1/4) to select luajit instead of using a "depends on". But with the following defconfig:
BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2016.05-2-g5dabb45.tar.bz2" BR2_TOOLCHAIN_EXTERNAL_GCC_4_8=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
# BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
BR2_TOOLCHAIN_EXTERNAL_INET_RPC=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_INIT_NONE=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_EFL=y
# BR2_TARGET_ROOTFS_TAR is not set
The build fails with:
CC lib/ector/gl/lib_ector_libector_la-ector_gl_shader.lo
In file included from ../src/lib/ector/ector_private.h:6,
from lib/ector/gl/ector_renderer_gl_gradient_radial.c:9:../src/lib/ector/ector_gl_internal.h:778: error: redefinition of typedef 'GLshort' ../src/lib/ector/gl/Ector_GL.h:16: note: previous declaration of 'GLshort' was here ../src/lib/ector/ector_gl_internal.h:783: error: redefinition of typedef 'GLuint' ../src/lib/ector/gl/Ector_GL.h:15: note: previous declaration of 'GLuint' was here make[5]: *** [lib/ector/gl/lib_ector_libector_la-ector_renderer_gl_gradient_radial.lo] Error 1 make[5]: *** Waiting for unfinished jobs....
In file included from ../src/lib/ector/ector_private.h:6,
from lib/ector/gl/ector_renderer_gl_gradient_linear.c:9:../src/lib/ector/ector_gl_internal.h:778: error: redefinition of typedef 'GLshort' ../src/lib/ector/gl/Ector_GL.h:16: note: previous declaration of 'GLshort' was here ../src/lib/ector/ector_gl_internal.h:783: error: redefinition of typedef 'GLuint' ../src/lib/ector/gl/Ector_GL.h:15: note: previous declaration of 'GLuint' was here make[5]: *** [lib/ector/gl/lib_ector_libector_la-ector_renderer_gl_gradient_linear.lo] Error 1 [...]
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/test/buildroot/output/build/host-efl-1.17.0'
make: *** [/home/test/buildroot/output/build/host-efl-1.17.0/.stamp_built] Error 2
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/4 package/efl: switch to luajit support
Hello,
Quoted 15 lines · Thomas Petazzoni
CC
lib/ector/gl/lib_ector_libector_la-ector_gl_shader.lo
In file included from../src/lib/ector/ector_private.h:6,
fromlib/ector/gl/ector_renderer_gl_gradient_radial.c:9:../src/lib/ector/ector_gl_internal.h:778: error: redefinition of typedef 'GLshort'../src/lib/ector/gl/Ector_GL.h:16: note: previous declaration of 'GLshort' was here../src/lib/ector/ector_gl_internal.h:783: error: redefinition of typedef 'GLuint'../src/lib/ector/gl/Ector_GL.h:15: note: previous declaration of 'GLuint' was here make[5]: *** [lib/ector/gl/lib_ector_libector_la-ector_renderer_gl_gradient_radial.lo] Error 1 make[5]: *** Waiting for unfinished jobs....
In file included from../src/lib/ector/ector_private.h:6,
fromlib/ector/gl/ector_renderer_gl_gradient_linear.c:9:../src/lib/ector/ector_gl_internal.h:778: error: redefinition of typedef 'GLshort'../src/lib/ector/gl/Ector_GL.h:16: note: previous declaration of 'GLshort' was here../src/lib/ector/ector_gl_internal.h:783: error: redefinition of typedef 'GLuint'../src/lib/ector/gl/Ector_GL.h:15: note: previous declaration of 'GLuint' was here
Quoted 8 lines
make[5]: *** [
lib/ector/gl/lib_ector_libector_la-ector_renderer_gl_gradient_linear.lo] Error 1 [...]
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/test/buildroot/output/build/host-efl-1.17.0'
make: *** [/home/test/buildroot/output/build/host-efl-1.17.0/.stamp_built] Error 2
As you requested on IRC, here is the host-efl config.log file:
http://code.bulix.org/3yukrd-101034
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com