Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wings3D fails to start with the latest shared-modules #366

Open
Micheus opened this issue Jan 17, 2025 · 11 comments
Open

Wings3D fails to start with the latest shared-modules #366

Micheus opened this issue Jan 17, 2025 · 11 comments

Comments

@Micheus
Copy link

Micheus commented Jan 17, 2025

Hi there.

I was preparing the com.wings3d.WINGS app and by updating everything Wings3D was failing to start (in my dev env - Ubuntu 24.04.1 LTS).

By trying to isolating the cause I found it's related to the shared-modules folder being updated.

If I use the old one we used before (from 2021 - 2c3a597 it works without any problem. In fact, I just built a fresh version of Wings3D which has passed on Flathub checking and test process.

The error trying to run Wings3D shown bellow is related to Erlang not being able to load wx - which is included in the JSON file to be download and built inside flatpak.

Building and Runnint: mv/v2.4
Building and NOT Running: mv/v2.4-new-shared-modules

Thanks for any help

$ flatpak run com.wings3d.WINGS
=CRASH REPORT==== 17-Jan-2025::14:28:16.003793 ===
  crasher:
    initial call: wxe_master:init/1
    pid: <0.86.0>
    registered_name: []
    exception error: {load_driver,"No driver found"}
      in function  wxe_util:priv_dir/2 (wxe_util.erl, line 191)
      in call from wxe_util:init_nif/1 (wxe_util.erl, line 59)
      in call from wxe_master:init/1 (wxe_master.erl, line 115)
      in call from gen_server:init_it/2 (gen_server.erl, line 2229)
      in call from gen_server:init_it/6 (gen_server.erl, line 2184)
    ancestors: [<0.85.0>,wings_sup,<0.83.0>]
    message_queue_len: 0
    messages: []
    links: []
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 1598
    stack_size: 29
    reductions: 2923
  neighbours:

=CRASH REPORT==== 17-Jan-2025::14:28:16.022368 ===
  crasher:
    initial call: wxe_server:init/1
    pid: <0.85.0>
    registered_name: []
    exception error: {load_driver,"No driver found"}
      in function  wxe_util:priv_dir/2 (wxe_util.erl, line 191)
      in call from wxe_util:init_nif/1 (wxe_util.erl, line 59)
      in call from wxe_master:init/1 (wxe_master.erl, line 115)
      in call from gen_server:init_it/2 (gen_server.erl, line 2229)
      in call from gen_server:init_it/6 (gen_server.erl, line 2184)
    ancestors: [wings_sup,<0.83.0>]
    message_queue_len: 0
    messages: []
    links: []
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 610
    stack_size: 29
    reductions: 1516
  neighbours:

=CRASH REPORT==== 17-Jan-2025::14:28:16.022529 ===
  crasher:
    initial call: supervisor:wings_sup/1
    pid: <0.84.0>
    registered_name: []
    exception error: {load_driver,"No driver found"}
      in function  wxe_server:start/1 (wxe_server.erl, line 66)
      in call from wx:new/1 (wx.erl, line 206)
      in call from wings_sup:init/1 (wings_sup.erl, line 78)
      in call from supervisor:init/1 (supervisor.erl, line 869)
      in call from gen_server:init_it/2 (gen_server.erl, line 2229)
      in call from gen_server:init_it/6 (gen_server.erl, line 2184)
    ancestors: [<0.83.0>]
    message_queue_len: 0
    messages: []
    links: [<0.83.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 987
    stack_size: 29
    reductions: 4321
  neighbours:

=INFO REPORT==== 17-Jan-2025::14:28:16.022702 ===
    application: wings
    exited: {{{load_driver,"No driver found"},
              [{wxe_server,start,1,[{file,"wxe_server.erl"},{line,66}]},
               {wx,new,1,[{file,"wx.erl"},{line,206}]},
               {wings_sup,init,1,[{file,"wings_sup.erl"},{line,78}]},
               {supervisor,init,1,[{file,"supervisor.erl"},{line,869}]},
               {gen_server,init_it,2,[{file,"gen_server.erl"},{line,2229}]},
               {gen_server,init_it,6,[{file,"gen_server.erl"},{line,2184}]},
               {proc_lib,init_p_do_apply,3,
                         [{file,"proc_lib.erl"},{line,329}]}]},
             {wings_sup,start,[normal,[]]}}
    type: temporary

=CRASH REPORT==== 17-Jan-2025::14:28:16.022710 ===
  crasher:
    initial call: application_master:init/3
    pid: <0.82.0>
    registered_name: []
    exception exit: {{{load_driver,"No driver found"},
                      [{wxe_server,start,1,
                                   [{file,"wxe_server.erl"},{line,66}]},
                       {wx,new,1,[{file,"wx.erl"},{line,206}]},
                       {wings_sup,init,1,[{file,"wings_sup.erl"},{line,78}]},
                       {supervisor,init,1,
                                   [{file,"supervisor.erl"},{line,869}]},
                       {gen_server,init_it,2,
                                   [{file,"gen_server.erl"},{line,2229}]},
                       {gen_server,init_it,6,
                                   [{file,"gen_server.erl"},{line,2184}]},
                       {proc_lib,init_p_do_apply,3,
                                 [{file,"proc_lib.erl"},{line,329}]}]},
                     {wings_sup,start,[normal,[]]}}
      in function  application_master:init/3 (application_master.erl, line 143)
    ancestors: [application_controller,<0.10.0>]
    message_queue_len: 1
    messages: [{'EXIT',<0.83.0>,normal}]
    links: [<0.45.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 987
    stack_size: 29
    reductions: 101
  neighbours:

p.s. @dgud I'm referencing you to let you know about this issue.

@Erick555
Copy link
Collaborator

You should start from telling which shared-module your app uses. I see it's shared-modules/glu/glu-9.json.

@ranisalt
Copy link
Collaborator

ranisalt commented Jan 17, 2025

2021 to 2025 is quite a long timeline, you can try to bisect shared-modules to find which commit specifically breaks for you

@Erick555
Copy link
Collaborator

There were 4 commits in glu in this period and one was just url change. The other three are:

d47140b

450c04e

e2881a1

@Micheus
Copy link
Author

Micheus commented Jan 17, 2025

2021 to 2025 is quite a long timeline, you can try to bisect shared-modules to find which commit specifically breaks for you

Can I keep out of the git project the modules we don't use?
As @Erick555 noticed we should be using only the glu one.

@Erick555
Copy link
Collaborator

BTW: for eigen source you use mirror that was depreciated in 2018 and misses any release made after that.

@Erick555
Copy link
Collaborator

Can I keep out of the git project the modules we don't use?

Just try each of those commits hash as submodule commit and you'll see which one is bad.

@hfiguiere
Copy link
Collaborator

are you sure it's glu itself and not the switch from x11 to wayland+fallback-x11 ?

using wayland require EGL and the message seem to say "driver not found"

@dgud
Copy link

dgud commented Jan 17, 2025

EDIT: re-read the actual error description so disregard this comment.

@Micheus It is kind of a bad error description,
what are the minimal diff of com.wings3d.WINGS.json when is works and when it doesn't?

It is not GLU, OpenGL and GLU wrappers are (also) dynamicly loaded when an OpenGL window is created later,
this error happens in the GUI initialization.

When building erlang it includes a wrapper so for wxWidgets i.e. so we can use wxWidgets from erlang language with an erlang API.

The wxe_driver.so is dynamicly loaded via dlopen from inside the erlang installation (see below),
when the GUI parts are activated.

I don't have a private linux with flatpack anymore (using wsl2 nowadays) and it was years since I created the flatpacks so
don't remember the details.

But on my (WSL2) Ubuntu linux erlang installation (the file that fails to load above) looks like this.

22:30:00 :~/release/erlang-27.2> ldd lib/erlang/lib/wx-2.4.3/priv/wxe_driver.so
        linux-vdso.so.1 (0x00007ffe189e3000)
        libwx_gtk3u_stc-3.2.so.0 => /lib/x86_64-linux-gnu/libwx_gtk3u_stc-3.2.so.0 (0x00007efd962ba000)
        libwx_gtk3u_xrc-3.2.so.0 => /lib/x86_64-linux-gnu/libwx_gtk3u_xrc-3.2.so.0 (0x00007efd961c9000)
        libwx_gtk3u_html-3.2.so.0 => /lib/x86_64-linux-gnu/libwx_gtk3u_html-3.2.so.0 (0x00007efd960fc000)
        libwx_gtk3u_core-3.2.so.0 => /lib/x86_64-linux-gnu/libwx_gtk3u_core-3.2.so.0 (0x00007efd958cb000)
        libwx_baseu-3.2.so.0 => /lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0 (0x00007efd95681000)
        libwx_gtk3u_gl-3.2.so.0 => /lib/x86_64-linux-gnu/libwx_gtk3u_gl-3.2.so.0 (0x00007efd95664000)
        libwx_gtk3u_aui-3.2.so.0 => /lib/x86_64-linux-gnu/libwx_gtk3u_aui-3.2.so.0 (0x00007efd955c0000)
        libwx_gtk3u_webview-3.2.so.0 => /lib/x86_64-linux-gnu/libwx_gtk3u_webview-3.2.so.0 (0x00007efd95593000)
        libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007efd95315000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007efd952e7000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007efd950d5000)
        libgdk-3.so.0 => /lib/x86_64-linux-gnu/libgdk-3.so.0 (0x00007efd94fd8000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007efd94eef000)
        libwx_baseu_xml-3.2.so.0 => /lib/x86_64-linux-gnu/libwx_baseu_xml-3.2.so.0 (0x00007efd94edb000)
        libgtk-3.so.0 => /lib/x86_64-linux-gnu/libgtk-3.so.0 (0x00007efd94715000)
        libpangocairo-1.0.so.0 => /lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007efd94704000)
        libpango-1.0.so.0 => /lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007efd94697000)
        libcairo.so.2 => /lib/x86_64-linux-gnu/libcairo.so.2 (0x00007efd94553000)
        libgdk_pixbuf-2.0.so.0 => /lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007efd94525000)
        libgio-2.0.so.0 => /lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007efd94355000)
        libgobject-2.0.so.0 => /lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007efd942f2000)
        libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007efd941a9000)
        libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007efd9406a000)
        libSM.so.6 => /lib/x86_64-linux-gnu/libSM.so.6 (0x00007efd94060000)
        libxkbcommon.so.0 => /lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007efd94017000)
        libnotify.so.4 => /lib/x86_64-linux-gnu/libnotify.so.4 (0x00007efd94009000)
        libXtst.so.6 => /lib/x86_64-linux-gnu/libXtst.so.6 (0x00007efd94001000)
        libpangoft2-1.0.so.0 => /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007efd93fe6000)
        libfontconfig.so.1 => /lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007efd93f93000)
        libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007efd93f5b000)
        libjpeg.so.8 => /lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007efd93ed8000)
        libtiff.so.6 => /lib/x86_64-linux-gnu/libtiff.so.6 (0x00007efd93e4b000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007efd93e2f000)
        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007efd93dfb000)
        libpcre2-32.so.0 => /lib/x86_64-linux-gnu/libpcre2-32.so.0 (0x00007efd93d76000)
        libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007efd93cef000)
        libwebkit2gtk-4.1.so.0 => /lib/x86_64-linux-gnu/libwebkit2gtk-4.1.so.0 (0x00007efd8f01d000)
        libjavascriptcoregtk-4.1.so.0 => /lib/x86_64-linux-gnu/libjavascriptcoregtk-4.1.so.0 (0x00007efd8d3c7000)
        /lib64/ld-linux-x86-64.so.2 (0x00007efd969a4000)
        libfribidi.so.0 => /lib/x86_64-linux-gnu/libfribidi.so.0 (0x00007efd8d3a7000)
        libcairo-gobject.so.2 => /lib/x86_64-linux-gnu/libcairo-gobject.so.2 (0x00007efd8d39b000)
        libepoxy.so.0 => /lib/x86_64-linux-gnu/libepoxy.so.0 (0x00007efd8d278000)
        libwayland-client.so.0 => /lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007efd8d268000)
        libwayland-cursor.so.0 => /lib/x86_64-linux-gnu/libwayland-cursor.so.0 (0x00007efd8d25e000)
        libwayland-egl.so.1 => /lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007efd8d259000)
        libXi.so.6 => /lib/x86_64-linux-gnu/libXi.so.6 (0x00007efd8d244000)
        libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007efd8d230000)
        libXcursor.so.1 => /lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007efd8d224000)
        libXdamage.so.1 => /lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007efd8d21f000)
        libXfixes.so.3 => /lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007efd8d217000)
        libXcomposite.so.1 => /lib/x86_64-linux-gnu/libXcomposite.so.1 (0x00007efd8d212000)
        libXrandr.so.2 => /lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007efd8d203000)
        libXinerama.so.1 => /lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007efd8d1fe000)
        libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007efd8d1d3000)
        libgmodule-2.0.so.0 => /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007efd8d1cc000)
        libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007efd8d0bf000)
        libatk-1.0.so.0 => /lib/x86_64-linux-gnu/libatk-1.0.so.0 (0x00007efd8d093000)
        libatk-bridge-2.0.so.0 => /lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0 (0x00007efd8d057000)
        libthai.so.0 => /lib/x86_64-linux-gnu/libthai.so.0 (0x00007efd8d04c000)
        libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007efd8cf80000)
        libXrender.so.1 => /lib/x86_64-linux-gnu/libXrender.so.1 (0x00007efd8cf74000)
        libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007efd8cf49000)
        libxcb-render.so.0 => /lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007efd8cf3a000)
        libxcb-shm.so.0 => /lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007efd8cf35000)
        libpixman-1.so.0 => /lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007efd8ce86000)
        libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007efd8ce39000)
        libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007efd8ce0a000)
        libffi.so.8 => /lib/x86_64-linux-gnu/libffi.so.8 (0x00007efd8cdfe000)
        libpcre2-8.so.0 => /lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007efd8cd64000)
        libICE.so.6 => /lib/x86_64-linux-gnu/libICE.so.6 (0x00007efd8cd48000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007efd8cd3e000)
        libwebp.so.7 => /lib/x86_64-linux-gnu/libwebp.so.7 (0x00007efd8ccc1000)
        libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007efd8cc07000)
        libLerc.so.4 => /lib/x86_64-linux-gnu/libLerc.so.4 (0x00007efd8cb80000)
        libjbig.so.0 => /lib/x86_64-linux-gnu/libjbig.so.0 (0x00007efd8cb70000)
        libdeflate.so.0 => /lib/x86_64-linux-gnu/libdeflate.so.0 (0x00007efd8cb5d000)
        libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007efd8caa3000)
        libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007efd8ca70000)
        libwebpmux.so.3 => /lib/x86_64-linux-gnu/libwebpmux.so.3 (0x00007efd8ca62000)
        libicui18n.so.74 => /lib/x86_64-linux-gnu/libicui18n.so.74 (0x00007efd8c714000)
        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007efd8c634000)
        libicuuc.so.74 => /lib/x86_64-linux-gnu/libicuuc.so.74 (0x00007efd8c427000)
        libxml2.so.2 => /lib/x86_64-linux-gnu/libxml2.so.2 (0x00007efd8c243000)
        libsqlite3.so.0 => /lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007efd8c0db000)
        libxslt.so.1 => /lib/x86_64-linux-gnu/libxslt.so.1 (0x00007efd8c09a000)
        liblcms2.so.2 => /lib/x86_64-linux-gnu/liblcms2.so.2 (0x00007efd8c038000)
        libwoff2dec.so.1.0.2 => /lib/x86_64-linux-gnu/libwoff2dec.so.1.0.2 (0x00007efd8c02d000)
        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007efd8bee5000)
        libgstallocators-1.0.so.0 => /lib/x86_64-linux-gnu/libgstallocators-1.0.so.0 (0x00007efd8bed9000)
        libgstapp-1.0.so.0 => /lib/x86_64-linux-gnu/libgstapp-1.0.so.0 (0x00007efd8bec3000)
        libgstbase-1.0.so.0 => /lib/x86_64-linux-gnu/libgstbase-1.0.so.0 (0x00007efd8be3e000)
        libgstreamer-1.0.so.0 => /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 (0x00007efd8bceb000)
        libgstpbutils-1.0.so.0 => /lib/x86_64-linux-gnu/libgstpbutils-1.0.so.0 (0x00007efd8bca8000)
        libgstaudio-1.0.so.0 => /lib/x86_64-linux-gnu/libgstaudio-1.0.so.0 (0x00007efd8bc23000)
        libgsttag-1.0.so.0 => /lib/x86_64-linux-gnu/libgsttag-1.0.so.0 (0x00007efd8bbe0000)
        libgstvideo-1.0.so.0 => /lib/x86_64-linux-gnu/libgstvideo-1.0.so.0 (0x00007efd8bb0b000)
        libgstgl-1.0.so.0 => /lib/x86_64-linux-gnu/libgstgl-1.0.so.0 (0x00007efd8ba78000)
        libgstfft-1.0.so.0 => /lib/x86_64-linux-gnu/libgstfft-1.0.so.0 (0x00007efd8ba6d000)
        libwebpdemux.so.2 => /lib/x86_64-linux-gnu/libwebpdemux.so.2 (0x00007efd8ba66000)
        libsoup-3.0.so.0 => /lib/x86_64-linux-gnu/libsoup-3.0.so.0 (0x00007efd8b9ce000)
        libharfbuzz-icu.so.0 => /lib/x86_64-linux-gnu/libharfbuzz-icu.so.0 (0x00007efd8b9c7000)
        libenchant-2.so.2 => /lib/x86_64-linux-gnu/libenchant-2.so.2 (0x00007efd8b9ba000)
        libsecret-1.so.0 => /lib/x86_64-linux-gnu/libsecret-1.so.0 (0x00007efd8b95b000)
        libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007efd8b945000)
        libhyphen.so.0 => /lib/x86_64-linux-gnu/libhyphen.so.0 (0x00007efd8b93d000)
        libwayland-server.so.0 => /lib/x86_64-linux-gnu/libwayland-server.so.0 (0x00007efd8b927000)
        libmanette-0.2.so.0 => /lib/x86_64-linux-gnu/libmanette-0.2.so.0 (0x00007efd8b8f5000)
        libseccomp.so.2 => /lib/x86_64-linux-gnu/libseccomp.so.2 (0x00007efd8b8d5000)
        libgbm.so.1 => /lib/x86_64-linux-gnu/libgbm.so.1 (0x00007efd8b8c4000)
        libdrm.so.2 => /lib/x86_64-linux-gnu/libdrm.so.2 (0x00007efd8b8ad000)
        libatomic.so.1 => /lib/x86_64-linux-gnu/libatomic.so.1 (0x00007efd8b8a2000)
        libgraphite2.so.3 => /lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007efd8b87a000)
        libatspi.so.0 => /lib/x86_64-linux-gnu/libatspi.so.0 (0x00007efd8b840000)
        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007efd8b7f1000)
        libdatrie.so.1 => /lib/x86_64-linux-gnu/libdatrie.so.1 (0x00007efd8b7e8000)
        libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007efd8b7d4000)
        libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007efd8b7c4000)
        libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007efd8b7be000)
        libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007efd8b7b6000)
        libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007efd8b77b000)
        libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007efd8b765000)
        libsharpyuv.so.0 => /lib/x86_64-linux-gnu/libsharpyuv.so.0 (0x00007efd8b75b000)
        libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007efd8b74e000)
        liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007efd8b72c000)
        libicudata.so.74 => /lib/x86_64-linux-gnu/libicudata.so.74 (0x00007efd899cc000)
        libwoff2common.so.1.0.2 => /lib/x86_64-linux-gnu/libwoff2common.so.1.0.2 (0x00007efd899c7000)
        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007efd899a0000)
        libunwind.so.8 => /lib/x86_64-linux-gnu/libunwind.so.8 (0x00007efd89985000)
        libdw.so.1 => /lib/x86_64-linux-gnu/libdw.so.1 (0x00007efd898d1000)
        liborc-0.4.so.0 => /lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x00007efd8981f000)
        libEGL.so.1 => /lib/x86_64-linux-gnu/libEGL.so.1 (0x00007efd8980d000)
        libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007efd89806000)
        libgudev-1.0.so.0 => /lib/x86_64-linux-gnu/libgudev-1.0.so.0 (0x00007efd897f9000)
        libpsl.so.5 => /lib/x86_64-linux-gnu/libpsl.so.5 (0x00007efd897e5000)
        libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007efd89791000)
        libnghttp2.so.14 => /lib/x86_64-linux-gnu/libnghttp2.so.14 (0x00007efd89766000)
        libevdev.so.2 => /lib/x86_64-linux-gnu/libevdev.so.2 (0x00007efd89746000)
        libxcb-randr.so.0 => /lib/x86_64-linux-gnu/libxcb-randr.so.0 (0x00007efd89735000)
        libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007efd89712000)
        libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x00007efd89703000)
        libelf.so.1 => /lib/x86_64-linux-gnu/libelf.so.1 (0x00007efd896e5000)
        libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007efd896b0000)
        libunistring.so.5 => /lib/x86_64-linux-gnu/libunistring.so.5 (0x00007efd89503000)
        libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x00007efd894e1000)
        libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007efd89418000)
        libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007efd893ec000)
        libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007efd893e4000)
        libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007efd893d7000)
        libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007efd893d0000)
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007efd893bd000)

@dgud
Copy link

dgud commented Jan 17, 2025

BTW: for eigen source you use mirror that was depreciated in 2018 and misses any release made after that.

Eigen is a header only package so should still work, we (or rather I) have not developed that part since then :-)
But it have the parts working that are used by wings, and are patched in my local repo to build on windows :-(
So requires some work to update.

@Micheus
Copy link
Author

Micheus commented Jan 20, 2025

Can I keep out of the git project the modules we don't use?

Just try each of those commits hash as submodule commit and you'll see which one is bad.

Ok @Erick555, I'm going to do that and comeback with new infos.
.
.
.

are you sure it's glu itself and not the switch from x11 to wayland+fallback-x11 ?

using wayland require EGL and the message seem to say "driver not found"

@hfiguiere, This x11 settings I added in the latest commit (Micheus/mv/v2.4) I did after we get the appstream data fixed (in v2.4.1)
If you check Script updated to build v2.4 from 3 weeks ago it didn't have this change and I was not able to get the flatpak working locally due the shared-modules issue I reported here.

I also implemented this change following a note I found in the Permissions guidelines:
Applications that do not support native Wayland should use only --socket=x11 and applications that do, should use --socket=fallback-x11 and --socket=wayland. The two configurations here will make the application work on both X11 and Wayland sessions of the desktop environment.

@Micheus
Copy link
Author

Micheus commented Jan 20, 2025

There were 4 commits in glu in this period and one was just url change. The other three are:

@Erick555, bellow is the result of the tests

d47140b

✅ Build and run

450c04e

⛔ Don't build. Get a build error:

========================================================================
Building module glu in /home/micheus/src/com.wings3d.WINGS/.flatpak-builder/build/glu-1
========================================================================
Error: module glu: Can't find autogen, autogen.sh or bootstrap

e2881a1
⛔ Build and fail loading Wings3D (the error I reported at the beginning)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants