package/efl: add in-tree eina library path
PATCH 1/1 package/efl: add in-tree eina library path
Make sure that in-tree libeina.so is used when running elua.
Reported upstream:
https://phab.enlightenment.org/T6670
Fixes:
http://autobuild.buildroot.net/?reason=host-efl-1.20.6
---
There is an issue while rebuilding host-efl, elua is stuck at 100% cpu for some reason...
--- ...eina-in-environment-variable-library-path.patch | 46 ++++++++++++++++++++++ package/efl/efl.mk | 4 ++ 2 files changed, 50 insertions(+) create mode 100644 package/efl/0001-elua-add-eina-in-environment-variable-library-path.patch
package/efl/0001-elua-add-eina-in-environment-variable-library-path.patch new file +46 -0
@@ -0,0 +1,46 @@ +From 62941e4d921a00a855a37516e6b8eabcb67f67e8 Mon Sep 17 00:00:00 2001 +From: Romain Naour <[email protected]> +Date: Mon, 5 Feb 2018 15:07:15 +0100 +Subject: [PATCH] elua: add eina in environment variable library path + +In-tree libeina.so library path is missing while running elua. + +ELUA lib/ecore_con/efl_net_socket.eo.lua +ERR<8533>:elua lib/elua/elua.c:714 _elua_errmsg() ../src/bin/elua/elua: ...t/build/host-efl-1.20.6/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.20.6/src/scripts/elua/core/util.lua:162: in function 'lib_load' + ...t/build/host-efl-1.20.6/src/bindings/luajit/eina/log.lua:53: in function <...t/build/host-efl-1.20.6/src/bindings/luajit/eina/log.lua:52> + [C]: in function 'init_module' + ...t/build/host-efl-1.20.6/src/bindings/luajit/eina/log.lua:63: in function 'loader' + ...t/build/host-efl-1.20.6/src/scripts/elua/core/module.lua:94: in function 'require' + ...ild/host-efl-1.20.6/src/scripts/elua/modules/lualian.lua:5: in function 'loader' + ...t/build/host-efl-1.20.6/src/scripts/elua/core/module.lua:94: in function 'require' + .../build/host-efl-1.20.6/src/scripts/elua/apps/lualian.lua:4: in main chunk + [C]: at 0x56278e3a6840 + +http://autobuild.buildroot.net/results/2bb/2bbe89694c206d764d51a5dd9c75bc4aa844e98d/build-end.log + + at ref T6670 + +Signed-off-by: Romain Naour <[email protected]> +Cc: Daniel Kolesa <[email protected]> +--- + src/Makefile_Elua_Helper.am | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/Makefile_Elua_Helper.am b/src/Makefile_Elua_Helper.am +index a204e259fa..fa8782af4b 100644 +--- a/src/Makefile_Elua_Helper.am ++++ b/src/Makefile_Elua_Helper.am +@@ -3,6 +3,7 @@ ELUA_GEN = @elua_bin@ lualian + _ELUA_GEN_DEP = @elua_bin@ + else + ELUA_GEN = ELUA_EOLIAN_LIBRARY_PATH=$(top_builddir)/src/lib/eolian/.libs \ ++ ELUA_EINA_LIBRARY_PATH=$(top_builddir)/src/lib/eina/.libs \ + $(top_builddir)/src/bin/elua/elua${EXEEXT} \ + -I$(ELUA_BINDINGS_DIR) -C$(ELUA_CORE_DIR) -M$(ELUA_MODULES_DIR) \ + -A$(ELUA_APPS_DIR) lualian +-- +2.14.3 +
package/efl/efl.mk +4 -0
@@ -19,6 +19,10 @@ EFL_LICENSE_FILES = \ EFL_INSTALL_STAGING = YES +# 0001-elua-add-eina-in-environment-variable-library-path.patch +EFL_AUTORECONF = YES +EFL_GETTEXTIZE = YES + EFL_DEPENDENCIES = host-pkgconf host-efl host-luajit dbus freetype \ jpeg luajit lz4 zlib
Signature · 1 line
2.14.3
PATCH 1/1 package/efl: add in-tree eina library path
Quoted 5 lines · Romain Naour
Make sure that in-tree libeina.so is used when running elua.
Reported upstream:
https://phab.enlightenment.org/T6670
Quoted 7 lines
Fixes:
http://autobuild.buildroot.net/?reason=host-efl-1.20.6Signed-off-by Romain Naour <[email protected]>---
There is an issue while rebuilding host-efl, elua is stuck at 100% cpu for some reason...
I meant to ask you life, but forgot:
Do you mean this problem occurs before or after this patch or both? Or do you
mean: when I reproduce the autobuild failure and then do "make host-efl-rebuild" after changing something, elua is stuck at 100% cpu?
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 1/1 package/efl: add in-tree eina library path
Hello,
Quoted 8 lines · Arnout Vandecappelle
Quoted 2 lines
There is an issue while rebuilding host-efl, elua is stuck at 100% cpu for some reason...
I meant to ask you life, but forgot:
Do you mean this problem occurs before or after this patch or both? Or do you
mean: when I reproduce the autobuild failure and then do "make host-efl-rebuild" after changing something, elua is stuck at 100% cpu?
If I remember correctly the discussion I had with Romain, his patch fixes the build issue of the autobuilder, but there is a 100% CPU consumption problem when doing a rebuild (which wouldn't be caught by the autobuilders, because we don't do rebuilds).
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com