On Thu, 21 Mar 2024 10:02:51 +0100 Maximilian Lika via enlightenment-users
<enlightenment-users@lists.sourceforge.net> said:

> Hello everybody,
> 
> I am trying to create a simple Ubuntu Touch Test App written with my
> Perl Efl bindings for Ubuntu Touch (at the moment it is only an
> experiment).
> 
> I could compile everything with clickable for the arm64. The current
> state is here:
> 
> https://github.com/MaxPerl/hello-pEFL-ubPorts
> 
> Unfortunately (but expectable) starting the app doesn't work. This is
> the error message I get:
> 
> Mar 21 07:31:03 ubuntu-phablet systemd[2398]: Started lomiri-app-
> launch--application-click--hellopefl.maxperl_hellopefl_1.0.0--.service.
> Mar 21 07:31:03 ubuntu-phablet aa-exec[13101]: LDPATH ./lib
> ./lib/aarch64-linux-gnu
> Mar 21 07:31:04 ubuntu-phablet aa-exec[13101]: ERR<13101>:eeze_udev
> ../src/lib/eeze/eeze_udev_watch.c:360 _watch_init() Could not create
> watch!
> Mar 21 07:31:04 ubuntu-phablet aa-exec[13101]: ERR<13101>:efreet_cache
> ../src/lib/efreet/efreet_cache.c:326 efreet_cache_init() Failed to
> create directory '/home/phablet/.cache/efreet'
> Mar 21 07:31:06 ubuntu-phablet aa-exec[13101]: ERR<13101>:efreet_cache
> ../src/lib/efreet/efreet_cache.c:147 _ipc_launch() Timeout in trying to
> start and then connect to efrteed
> Mar 21 07:31:06 ubuntu-phablet aa-exec[13101]: ERR<13101>:eio
> ../src/lib/eio/eio_monitor.c:341 eio_monitor_stringshared_add()
> monitored path '/home/phablet/.elementary/config/default' not found.
> Mar 21 07:31:06 ubuntu-phablet aa-exec[13101]: ERR<13101>:elementary
> ../src/lib/elementary/elm_config.c:1732 _config_system_load() System
> loading config failed! Check your setup! Falling back to compile time
> defaults
> Mar 21 07:31:06 ubuntu-phablet aa-exec[13101]: ERR<13101>:eina_safety
> ../src/lib/elementary/elm_config.c:1735 _config_system_load() safety
> check failed: eet_data_undump(ef, "config", embedded_config,
> strlen(embedded_config)-1, EINA_FALSE) is false
> Mar 21 07:31:06 ubuntu-phablet aa-exec[13101]: ERR<13101>:elementary
> ../src/lib/elementary/elm_config.c:1806 _config_load() Everything
> failed, no config found or created. This will not work
> Mar 21 07:31:06 ubuntu-phablet systemd[2398]: lomiri-app-launch--
> application-click--hellopefl.maxperl_hellopefl_1.0.0--.service: Main
> process exited, code=killed, status=11/SEGV
> Mar 21 07:31:06 ubuntu-phablet systemd[2398]: lomiri-app-launch--
> application-click--hellopefl.maxperl_hellopefl_1.0.0--.service: Failed
> with result 'signal'.
> 
> I suppose the problem is, that 
> 
> 1) I have to create/copy the necessary config files etc. manually

no... i'd say the problem is... somehow the app is being run in some limited
container with no permission to write to $HOME.

> 2) an Ubuntu Touch app can only write in certain directories (see
> https://docs.ubports.com/en/latest/appdev/guides/writeable-dirs.html)

yes. that's it. you're going to have to un-limit ubuntu touch. elementary
expects its config in ~/.elementary/ ... eeze is expecting to also watch files
it cannot. efreet is expecting to talk to efreetd via a socket that is also
created (depends on env vars) ... but regardlwess of thigns in $HOPME it should
be able to load system config files from PREFIX/share/elementary for example...
has something gotten messed up here on efl install?

> Perhaps someone can help me :-) 
> 
> What files are needed for a working Efl setup? 
> 
> And is there an easy option to programmaticaly tell EFL, where to look
> for (and write to) config files etc.

it's complex... and not programmatically. it highly depends what efl is looking
for - it loads system files and user files (user first - if not then system).
system locations will depend on where efl thinks its installed (it figures this
out at runtime via dlinfo etc.).

> For any help I would be very grateful.
> 
> Best wishes,
> 
> Max 
> 
> 
> _______________________________________________
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - ras...@rasterman.com



_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to