Beep6581 / RawTherapee

A powerful cross-platform raw photo processing program
https://rawtherapee.com
GNU General Public License v3.0
2.68k stars 307 forks source link

Automated AppImage and Windows builds with Travis CI #4404

Closed aferrero2707 closed 4 years ago

aferrero2707 commented 6 years ago

Dear all, I have just finished setting up a GitHub repository to automate the building and packaging of RT for Linux (in AppImage format) and Windows 64-bit (cross-compiled with mingw-w64). The build process is based on Travis CI, and uses custom Docker containers that provide the required dependencies. The packages are automatically uploaded back to GitHub.

At the moment the building is limited to the devRT branch, but other branches (like releases and newlocallab) can be easily added. The build process can be triggered by hand or run regularly (daily or weekly) using cron jobs.

It should also be possible to include OSX packages in the automated building process.

The advantage of this approach is that each build is executed in a well-defined and encapsulated environment, and is perfectly reproducible. Moreover, any user that is added as a collaborator to the github repository should also be able to trigger new builds on Travis, without the need of having a windows system at hand...

First of all, and before doing further developments of the build environment, I'd like to know if the RT developers are interested in this possibility. Of course I'm open to any suggestion and remark!

Beep6581 commented 6 years ago

Fantastic!

@aferrero2707 do the Windows builds include a working installer, as do the ones currently made manually by our Windows package maintainers?

SilvioGrosso commented 6 years ago

Hello everyone,

Just tested myself, on Windows 10 (64 bit), both builds (downloaded as Zip packages):

As soon as I click on the .exe (rawtherapee.exe) I always get a Runtime Library error (both versions fail to start on my computer with Windows 10):

Microsoft Visual C++ Runtime Library

Runtime Error! Program: C:\Users\silvio\Downloads\rawtherapee-w64-20180217_1001-git-dev\rawtherapee.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.

Through the terminal (cmd.exe) I have got this message: Error: the specified user's profiles' path doesn't point to a directory or doesn't exist!

aferrero2707 commented 6 years ago

What is the correct way to set the default profiles' path?

@Beep6581 the package has currently no installer, it is a portable folder that can be extracted anywhere on the hard-drive. I would need to use a Linux-compatible installer creator, like NSIS.

Beep6581 commented 6 years ago

@aferrero2707 do you mean this? https://github.com/Beep6581/RawTherapee/blob/dev/rtgui/options.h#L33 https://github.com/Beep6581/RawTherapee/blob/dev/rtgui/options.cc#L2190

aferrero2707 commented 6 years ago

@SilvioGrosso - I am looking into the crash at program startup... It seems that the zip package is incomplete, for some reason.

aferrero2707 commented 6 years ago

@SilvioGrosso - I have found the reason why the zip package was incomplete: the installation of RT was interrupted with the following message:

-- Installing: /work/w64-build/Release/./rawtherapee-cli.exe
CMake Error at rtdata/cmake_install.cmake:31 (file):
  file INSTALL cannot find "/work/w64-build/rtdata/WindowsInnoSetup.iss".
Call Stack (most recent call first):
  cmake_install.cmake:59 (include)
Makefile:83: recipe for target 'install' failed
make: *** [install] Error 1

Disabling the installation of the InnoSetup configuration allowed to get the past the error and complete the installation. So far I only tested the latest package with wine, and it seems to work fine. Could you check as well?

To summarize, those are the patches I currently need to apply in order to cross-compile and install the RT sources with mingw-w64:

sed -i 's/Shlobj.h/shlobj.h/g' /sources/rtgui/options.cc
sed -i 's/Shlwapi.h/shlwapi.h/g' /sources/rtgui/placesbrowser.cc
sed -i 's|install(FILES "${CMAKE_CURRENT_BINARY_DIR}/WindowsInnoSetup.iss"|#install(FILES "${CMAKE_CURRENT_BINARY_DIR}/WindowsInnoSetup.iss"|' /sources/rtdata/CMakeLists.txt

The first two are just a change of case of the header file names. Is this relevant for a native Windows compilation?

SilvioGrosso commented 6 years ago

Thanks a lot indeed !

Just downloaded today's new build: rawtherapee-w64-20180218_1921-git-dev

I have tested it again on Windows 10 (64 bit). Now everything is fine in that it starts the GUI ;-)

Unfortunately, I can not test it further because I am unable to open my folders with my pictures... In the past versions of Rawtherapee, I only needed to double click on my folder to open its picutres (nef, jpeg etc) in the "Navigator" window. At present, this is no longer the case.... I am pretty sure it is NOT your build's fault. This "problem" occurs on my Windows 10 pc also with the official builds I have tested (5.4 release candidates - 64 bit). I suppose something has changed in the Preferences of Rawtherapee to open the folders but I can not detect the new behaviour to trigger it. Maybe this glitch is related with the changes Agriggio has done lately on the Gui.

Here is the empty window with no image preview available (tested many different folders by double-clicking on them):

rawtherapee_gui
heckflosse commented 6 years ago

@SilvioGrosso Are the extensions enabled?

grafik

SilvioGrosso commented 6 years ago

Hello @heckflosse

I suppose you nailed it :-)

The window with the parsed extension is empty on my Windows 10 (64 bit) computer. Tested with today's GIT build and with the "official" 5.4 rc1 build (Win64 Vista.exe). I have tried to "add" them by clicking on the + (plus) button to no avail. Never encountered this problem with RawTherapee in the past :-)

Here is my window : I have checked my setting with your screenshot and they look quite "similar":

rawtherapee_extensions
aferrero2707 commented 6 years ago

@SilvioGrosso - thanks for testing! Your screenshot shows few missing icons (the top-right window buttons, and the "+" buttons, while the "-" ones are there...). Anyone as an idea why those few ones are not picked correctly?

heckflosse commented 6 years ago

@SilvioGrosso Can you try to add NEF by typing NEF in the input field next to Aggiuing... and then clicking the + button. Then Ok to close Preferences. Then restart RT

SilvioGrosso commented 6 years ago

Hello @heckflosse

I have just added the NEF extensions and restarted RawTherapee: now everything works fine ! My folders with my NEF pictures are visibile in the Navigator window. The JPEG (png) pictures are not recognized yet but I suppose I have to add their extension too in the GUI (by the same method I have just used for my NEFs) :-)

Some icons are missing though. It happened in the past too with some official previous builds (tested on Windows 10 - 64 bit).

heckflosse commented 6 years ago

@SilvioGrosso Yes, you have to add jpg as well. Though the issue is more about why the extensions have been lost in options file...

Beep6581 commented 6 years ago

The first two are just a change of case of the header file names. Is this relevant for a native Windows compilation?

Yes. While those includes are #ifdef'd for WIN32, you're compiling for WIN32 from Linux where capitalization matters. I will fix the capitalization of those includes tomorrow.

Beep6581 commented 6 years ago

Anyone as an idea why those few ones are not picked correctly?

See #3046 #3552

Beep6581 commented 6 years ago

@SilvioGrosso you wrote:

In the past versions of Rawtherapee, I only needed to double click on my folder to open its picutres (nef, jpeg etc) in the "Navigator" window. At present, this is no longer the case.... I am pretty sure it is NOT your build's fault. This "problem" occurs on my Windows 10 pc also with the official builds I have tested (5.4 release candidates - 64 bit).

Which version was the "in the past" version which you mentioned?

SilvioGrosso commented 6 years ago

Hello @Beep6581

@Beep6581 Which version was the "in the past" version which you mentioned?

I have just downloaded from the web-site (Rawtherapee.com) the stable version (5.3 - 64bit.exe) and installed again on my usual pc with Windows 10 - 64 bit. Everything is fine with this stable version (nef, jpeg, png etc are displayed at once). In addition, all icons are visible in the GUI. With the unstable versions (travis) the right-top icons (close, minimize etc) were missing.

To open my folders and visualize their pictures I have to double-click on them. One simple click on my folders do not open them to show the pictures in the "Navigator" window. On YouTube there are some videos which suggest to do so by double-clicking (e.g. minute 5:33 of this French video): https://www.youtube.com/watch?v=8KSs1jJYLiM&t=1463s

Beep6581 commented 6 years ago

@SilvioGrosso I'm trying to figure out at what point the options file became corrupt. If you use RT-5.3 stable and go to Preferences > File Browser > Parsed Extensions, do you see the full list (begins with 3fr, ends with x3f)? And now if you close 5.3 and run the latest development build (please quote the version), and check the same place, do you still see a full list of parsed extensions?

To open my folders and visualize their pictures I have to double-click on them. One simple click on my folders do not open them

That is normal behavior - single-click expands a branch, but you need to double-click to see the photos in it. It could be improved. #3198 is related.

SilvioGrosso commented 6 years ago

Hello @Beep6581 ,

Thanks a lot for your support !

In essence, on my Pc with Windows 10 (64 bit): 1) With the stable version 5.3 (http://rawtherapee.com/downloads) everything is fine! All parsed extension are available. Therefore, all formats are present at once (nef, jpeg, png etc): I only need to double-click on my folder to make them appear Here is the screenshot:

5 3_stable_version

2) With the Travis build, ZIP version, no extension is available(rawtherapee-w64-20180218_1921-git-dev). More precisely, only the Nef extension I have added yesterday is available. I should add the other ones myself to make them available (jpeg, png etc).

Here is the screenshot (the right-top icons are missing too in this build: minimize, close etc):

travis_build_zip

3) With the other unstable version (https://keybase.pub/gaaned92/RTW64NightlyBuilds/RawTherapee_5.4-rc1_WinVista_64.zip) I have got the same problem of the Travis ZIP. Only the nef extension is available (the one I have added yesterday). The rest of the window is empty. Compared to the Travis build in this version (.exe installer) I have got all my icons (top right to minimize, close etc)

4) I have also tested the unstable version of the local lab modifications (RawTherapee_newlocallab_5.3-914-g966085897_WinVista_64). It has the same problems of 2 (travis) and 3 (.exe installer). Only the nef extension is available. All icons in the GUI are available, though.

To recap, on my Windows 10 (64 bit) computer only the 5.3 works fine. The Travis zip version (rawtherapee-w64-20180218_1921-git-dev) even misses some icons on the GUI whereas the .exe versions provided by Gaaned92 (3 - 4 on my list) did have them.

heckflosse commented 6 years ago

@SilvioGrosso I guess the Travis zip version somehow corrupted the options file which then is used also by the exe provided by @Gaaened92, whereas the 5.3 most likely uses an option file in a different folder which is not corrupted

SilvioGrosso commented 6 years ago

Hello Heckflosse,

I guess the Travis zip version somehow corrupted the options file which then is used also by the exe provided by @gaaened92.

Yep. You are most likely 100% right ! :-)

I have just uninstalled everything on my Windows 10 computer. Afterwards, I have deleted all Rawtherapee folders present in: %LocalAppData% Then, I have tried again to install one of Gaaned92 unstable versions (e.g. RawTherapee_newlocallab_5.3-914-g966085897_WinVista_64) and everything is back to normal ! All extensions are available at once (no need to add them manually later on).

To recap, I suppose the Travis build did messed up something on my computer when I have first tested it

Beep6581 commented 6 years ago

I made a mistake: no point comparing 5.3 to the AppImage, since the former uses ~/.config/RawTherapee and the latter uses ~/.config/RawTherapee-5-dev-ai".

@SilvioGrosso please close RT, then run this:

find ~/.config/RawTherapee* -name options -delete

Then run the latest AppImage and check whether you have all file extensions in Preferences.

SilvioGrosso commented 6 years ago

Hello Beep6581,

After having deleted all folders in: %LocalAppData%, even the Travis Zip version is fine. All extensions are available at once (nef, jpeg, png etc). Only some icons are missing on the GUI. The Zip Travis version is "portable" on Windows and I can test it together with the builds (.exe) provided by Gaaened92, which have a classical installer.

Beep6581 commented 6 years ago

Argh, right, Windows not Linux, my bad.

@aferrero2707 RawTherapee-git-dev-20180217_0918.glibc2.17-x86_64.AppImage fails to run in Sabayon with:

/tmp/.mount_jD6VuR/usr/bin/rawtherapee: symbol lookup error: /usr/lib/libEGL.so.1: undefined symbol: wl_proxy_marshal_constructor_versioned

My /usr/lib64/libEGL.so.1 comes from media-libs/mesa-17.3.3

aferrero2707 commented 6 years ago

@Beep6581 - this seems to point to a mismatch between the MESA and Wayland library versions... could you please post the full terminal output that you get when running the AppImage? This will list all the libraries linked to the executable, and might give a hint of where the version mismatch comes from.

Beep6581 commented 6 years ago

@aferrero2707

$ ./RawTherapee-git-dev-20180217_0918.glibc2.17-x86_64.AppImage 
System stdc++ library: "/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6"
System stdc++ library version: "3.4.22"
Bundled stdc++ library version: "3.4.22"
Newest stdc++ library version: "3.4.22"
Using system stdc++ library
        linux-vdso.so.1 (0x00007ffee59d3000)
        libcanberra-gtk3.so.0 => /tmp/.mount_0Yzcyd/usr/lib/libcanberra-gtk3.so.0 (0x00007f2d06446000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f2d060ef000)
        libcanberra.so.0 => /tmp/.mount_0Yzcyd/usr/lib/libcanberra.so.0 (0x00007f2d05edf000)
        libgtk-3.so.0 => /tmp/.mount_0Yzcyd/usr/lib/libgtk-3.so.0 (0x00007f2d055d3000)
        libgdk-3.so.0 => /tmp/.mount_0Yzcyd/usr/lib/libgdk-3.so.0 (0x00007f2d05312000)
        libatk-1.0.so.0 => /tmp/.mount_0Yzcyd/usr/lib/libatk-1.0.so.0 (0x00007f2d050ec000)
        libgio-2.0.so.0 => /tmp/.mount_0Yzcyd/usr/lib/libgio-2.0.so.0 (0x00007f2d04d44000)
        libpangocairo-1.0.so.0 => /tmp/.mount_0Yzcyd/usr/lib/libpangocairo-1.0.so.0 (0x00007f2d04b37000)
        libgdk_pixbuf-2.0.so.0 => /tmp/.mount_0Yzcyd/usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007f2d04914000)
        libcairo-gobject.so.2 => /tmp/.mount_0Yzcyd/usr/lib/libcairo-gobject.so.2 (0x00007f2d0470c000)
        libpango-1.0.so.0 => /tmp/.mount_0Yzcyd/usr/lib/libpango-1.0.so.0 (0x00007f2d044bf000)
        libcairo.so.2 => /tmp/.mount_0Yzcyd/usr/lib/libcairo.so.2 (0x00007f2d0418f000)
        libgobject-2.0.so.0 => /tmp/.mount_0Yzcyd/usr/lib/libgobject-2.0.so.0 (0x00007f2d03f3b000)
        libglib-2.0.so.0 => /tmp/.mount_0Yzcyd/usr/lib/libglib-2.0.so.0 (0x00007f2d03c27000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f2d039f8000)
        libfftw3f.so.3 => /tmp/.mount_0Yzcyd/usr/lib/libfftw3f.so.3 (0x00007f2d035f3000)
        libfftw3f_omp.so.3 => /tmp/.mount_0Yzcyd/usr/lib/libfftw3f_omp.so.3 (0x00007f2d033ed000)
        libgiomm-2.4.so.1 => /tmp/.mount_0Yzcyd/usr/lib/libgiomm-2.4.so.1 (0x00007f2d03040000)
        libglibmm-2.4.so.1 => /tmp/.mount_0Yzcyd/usr/lib/libglibmm-2.4.so.1 (0x00007f2d02dc4000)
        libsigc-2.0.so.0 => /tmp/.mount_0Yzcyd/usr/lib/libsigc-2.0.so.0 (0x00007f2d02bbe000)
        libgthread-2.0.so.0 => /tmp/.mount_0Yzcyd/usr/lib/libgthread-2.0.so.0 (0x00007f2d029bd000)
        libgtkmm-3.0.so.1 => /tmp/.mount_0Yzcyd/usr/lib/libgtkmm-3.0.so.1 (0x00007f2d0224b000)
        libatkmm-1.6.so.1 => /tmp/.mount_0Yzcyd/usr/lib/libatkmm-1.6.so.1 (0x00007f2d01ffe000)
        libgdkmm-3.0.so.1 => /tmp/.mount_0Yzcyd/usr/lib/libgdkmm-3.0.so.1 (0x00007f2d01dac000)
        libpangomm-1.4.so.1 => /tmp/.mount_0Yzcyd/usr/lib/libpangomm-1.4.so.1 (0x00007f2d01b7f000)
        libcairomm-1.0.so.1 => /tmp/.mount_0Yzcyd/usr/lib/libcairomm-1.0.so.1 (0x00007f2d01958000)
        libiptcdata.so.0 => /tmp/.mount_0Yzcyd/usr/lib/libiptcdata.so.0 (0x00007f2d0174c000)
        libjpeg.so.9 => /tmp/.mount_0Yzcyd/usr/lib/libjpeg.so.9 (0x00007f2d01512000)
        liblcms2.so.2 => /tmp/.mount_0Yzcyd/usr/lib/liblcms2.so.2 (0x00007f2d012b9000)
        libpng12.so.0 => /tmp/.mount_0Yzcyd/usr/lib/libpng12.so.0 (0x00007f2d01093000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f2d00e7a000)
        libtiff.so.5 => /tmp/.mount_0Yzcyd/usr/lib/libtiff.so.5 (0x00007f2d00c12000)
        liblensfun.so.1 => /tmp/.mount_0Yzcyd/usr/lib/liblensfun.so.1 (0x00007f2d009f3000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6 (0x00007f2d005c3000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f2d002aa000)
        libgomp.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgomp.so.1 (0x00007f2d00075000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1 (0x00007f2cffe5e000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2cffc3d000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f2cff87b000)
        libvorbisfile.so.3 => ././/lib/libvorbisfile.so.3 (0x00007f2cff673000)
        libvorbis.so.0 => ././/lib/libvorbis.so.0 (0x00007f2cff446000)
        libogg.so.0 => ././/lib/libogg.so.0 (0x00007f2cff23d000)
        libltdl.so.7 => ././/lib/libltdl.so.7 (0x00007f2cff033000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f2cfee2f000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f2cfebfe000)
        libgmodule-2.0.so.0 => ././/lib/libgmodule-2.0.so.0 (0x00007f2cfe9fb000)
        libXi.so.6 => ././/lib/libXi.so.6 (0x00007f2cfe7eb000)
        libXdamage.so.1 => ././/lib/libXdamage.so.1 (0x00007f2cfe5e8000)
        libXfixes.so.3 => ././/lib/libXfixes.so.3 (0x00007f2cfe3e2000)
        libatk-bridge-2.0.so.0 => ././/lib/libatk-bridge-2.0.so.0 (0x00007f2cfe1b4000)
        libepoxy.so.0 => ././/lib/libepoxy.so.0 (0x00007f2cfdebf000)
        libpangoft2-1.0.so.0 => ././/lib/libpangoft2-1.0.so.0 (0x00007f2cfdcaa000)
        libfontconfig.so.1 => ././/lib/libfontconfig.so.1 (0x00007f2cfda67000)
        libfreetype.so.6 => ././/lib/libfreetype.so.6 (0x00007f2cfd7c6000)
        libXext.so.6 => ././/lib/libXext.so.6 (0x00007f2cfd5b4000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f2cfd3ab000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f2cfd194000)
        libpixman-1.so.0 => ././/lib/libpixman-1.so.0 (0x00007f2cfceec000)
        libEGL.so.1 => /usr/lib/libEGL.so.1 (0x00007f2cfccad000)
        libxcb-shm.so.0 => ././/lib/libxcb-shm.so.0 (0x00007f2cfcaaa000)
        libxcb-render.so.0 => ././/lib/libxcb-render.so.0 (0x00007f2cfc8a1000)
        libXrender.so.1 => ././/lib/libXrender.so.1 (0x00007f2cfc697000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f2cfc419000)
        libffi.so.6 => ././/lib/libffi.so.6 (0x00007f2cfc211000)
        libpcre.so.3 => /tmp/.mount_0Yzcyd/usr/lib/libpcre.so.3 (0x00007f2cfbfd3000)
        liblzma.so.5 => /tmp/.mount_0Yzcyd/usr/lib/liblzma.so.5 (0x00007f2cfbdb1000)
        libjbig.so.0 => /tmp/.mount_0Yzcyd/usr/lib/libjbig.so.0 (0x00007f2cfbba3000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f2d0664a000)
        libXau.so.6 => /tmp/.mount_0Yzcyd/usr/lib/libXau.so.6 (0x00007f2cfb99f000)
        libXdmcp.so.6 => /tmp/.mount_0Yzcyd/usr/lib/libXdmcp.so.6 (0x00007f2cfb799000)
        libatspi.so.0 => ././/lib/libatspi.so.0 (0x00007f2cfb569000)
        libdbus-1.so.3 => ././/lib/libdbus-1.so.3 (0x00007f2cfb324000)
        libharfbuzz.so.0 => ././/lib/libharfbuzz.so.0 (0x00007f2cfb083000)
        libxcb-dri2.so.0 => ././/lib/libxcb-dri2.so.0 (0x00007f2cfae7e000)
        libX11-xcb.so.1 => ././/lib/libX11-xcb.so.1 (0x00007f2cfac7c000)
        libxcb-dri3.so.0 => ././/lib/libxcb-dri3.so.0 (0x00007f2cfaa79000)
        libxcb-xfixes.so.0 => ././/lib/libxcb-xfixes.so.0 (0x00007f2cfa872000)
        libxcb-present.so.0 => ././/lib/libxcb-present.so.0 (0x00007f2cfa66f000)
        libxcb-sync.so.1 => ././/lib/libxcb-sync.so.1 (0x00007f2cfa469000)
        libxshmfence.so.1 => ././/lib/libxshmfence.so.1 (0x00007f2cfa267000)
        libwayland-client.so.0 => ././/lib/libwayland-client.so.0 (0x00007f2cfa05a000)
        libgbm.so.1 => ././/lib/libgbm.so.1 (0x00007f2cf9e52000)
        libwayland-server.so.0 => ././/lib/libwayland-server.so.0 (0x00007f2cf9c41000)
        libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00007f2cf9a2d000)
        libglapi.so.0 => ././/lib/libglapi.so.0 (0x00007f2cf9806000)
        libxcb-glx.so.0 => ././/lib/libxcb-glx.so.0 (0x00007f2cf95ef000)
        libXxf86vm.so.1 => ././/lib/libXxf86vm.so.1 (0x00007f2cf93e9000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00007f2cf91e0000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00007f2cf8fc2000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f2cf8dbd000)
        libbsd.so.0 => /usr/lib/libbsd.so.0 (0x00007f2cf8ba6000)
/tmp/.mount_0Yzcyd/usr/bin/rawtherapee: symbol lookup error: /usr/lib/libEGL.so.1: undefined symbol: wl_proxy_marshal_constructor_versioned

I have dev-libs/wayland-1.14.0 installed.

aferrero2707 commented 6 years ago

@Beep6581 could you please check if the latest 5.4-rc2 package fixes the "undefined symbol" error?

Thanks!

Beep6581 commented 6 years ago

@aferrero2707 it still crashes but with a different error:

$ ./RawTherapee-git-5.4-rc2-20180227_1318.glibc2.17-x86_64.AppImage 
System stdc++ library: "/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6"
System stdc++ library version: "3.4.22"
Bundled stdc++ library version: "3.4.22"
Newest stdc++ library version: "3.4.22"
Using system stdc++ library
        linux-vdso.so.1 (0x00007ffeeb3a6000)
        libcanberra-gtk3.so.0 => /tmp/.mount_sz1dV9/usr/lib/libcanberra-gtk3.so.0 (0x00007fb949dc9000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fb949a72000)
        libcanberra.so.0 => /tmp/.mount_sz1dV9/usr/lib/libcanberra.so.0 (0x00007fb949862000)
        libgtk-3.so.0 => /tmp/.mount_sz1dV9/usr/lib/libgtk-3.so.0 (0x00007fb948f56000)
        libgdk-3.so.0 => /tmp/.mount_sz1dV9/usr/lib/libgdk-3.so.0 (0x00007fb948c95000)
        libatk-1.0.so.0 => /tmp/.mount_sz1dV9/usr/lib/libatk-1.0.so.0 (0x00007fb948a6f000)
        libgio-2.0.so.0 => /tmp/.mount_sz1dV9/usr/lib/libgio-2.0.so.0 (0x00007fb9486c7000)                                                                                                                                                                                     
        libpangocairo-1.0.so.0 => /tmp/.mount_sz1dV9/usr/lib/libpangocairo-1.0.so.0 (0x00007fb9484ba000)                                                                                                                                                                       
        libgdk_pixbuf-2.0.so.0 => /tmp/.mount_sz1dV9/usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007fb948297000)                                                                                                                                                                       
        libcairo-gobject.so.2 => /tmp/.mount_sz1dV9/usr/lib/libcairo-gobject.so.2 (0x00007fb94808f000)                                                                                                                                                                         
        libpango-1.0.so.0 => /tmp/.mount_sz1dV9/usr/lib/libpango-1.0.so.0 (0x00007fb947e42000)                                                                                                                                                                                 
        libcairo.so.2 => /tmp/.mount_sz1dV9/usr/lib/libcairo.so.2 (0x00007fb947b12000)                                                                                                                                                                                         
        libgobject-2.0.so.0 => /tmp/.mount_sz1dV9/usr/lib/libgobject-2.0.so.0 (0x00007fb9478be000)                                                                                                                                                                             
        libglib-2.0.so.0 => /tmp/.mount_sz1dV9/usr/lib/libglib-2.0.so.0 (0x00007fb9475aa000)                                                                                                                                                                                   
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fb94737b000)                                                                                                                                                                                                           
        libfftw3f.so.3 => /tmp/.mount_sz1dV9/usr/lib/libfftw3f.so.3 (0x00007fb946f76000)                                                                                                                                                                                       
        libfftw3f_omp.so.3 => /tmp/.mount_sz1dV9/usr/lib/libfftw3f_omp.so.3 (0x00007fb946d70000)                                                                                                                                                                               
        libgiomm-2.4.so.1 => /tmp/.mount_sz1dV9/usr/lib/libgiomm-2.4.so.1 (0x00007fb9469c3000)                                                                                                                                                                                 
        libglibmm-2.4.so.1 => /tmp/.mount_sz1dV9/usr/lib/libglibmm-2.4.so.1 (0x00007fb946747000)                                                                                                                                                                               
        libsigc-2.0.so.0 => /tmp/.mount_sz1dV9/usr/lib/libsigc-2.0.so.0 (0x00007fb946541000)                                                                                                                                                                                   
        libgthread-2.0.so.0 => /tmp/.mount_sz1dV9/usr/lib/libgthread-2.0.so.0 (0x00007fb946340000)                                                                                                                                                                             
        libgtkmm-3.0.so.1 => /tmp/.mount_sz1dV9/usr/lib/libgtkmm-3.0.so.1 (0x00007fb945bce000)                                                                                                                                                                                 
        libatkmm-1.6.so.1 => /tmp/.mount_sz1dV9/usr/lib/libatkmm-1.6.so.1 (0x00007fb945981000)                                                                                                                                                                                 
        libgdkmm-3.0.so.1 => /tmp/.mount_sz1dV9/usr/lib/libgdkmm-3.0.so.1 (0x00007fb94572f000)                                                                                                                                                                                 
        libpangomm-1.4.so.1 => /tmp/.mount_sz1dV9/usr/lib/libpangomm-1.4.so.1 (0x00007fb945502000)                                                                                                                                                                             
        libcairomm-1.0.so.1 => /tmp/.mount_sz1dV9/usr/lib/libcairomm-1.0.so.1 (0x00007fb9452db000)                                                                                                                                                                             
        libiptcdata.so.0 => /tmp/.mount_sz1dV9/usr/lib/libiptcdata.so.0 (0x00007fb9450cf000)                                                                                                                                                                                   
        libjpeg.so.9 => /tmp/.mount_sz1dV9/usr/lib/libjpeg.so.9 (0x00007fb944e95000)                                                                                                                                                                                           
        liblcms2.so.2 => /tmp/.mount_sz1dV9/usr/lib/liblcms2.so.2 (0x00007fb944c3c000)                                                                                                                                                                                         
        libpng12.so.0 => /tmp/.mount_sz1dV9/usr/lib/libpng12.so.0 (0x00007fb944a16000)
        libz.so.1 => /lib64/libz.so.1 (0x00007fb9447fd000)
        libtiff.so.5 => /tmp/.mount_sz1dV9/usr/lib/libtiff.so.5 (0x00007fb944595000)
        liblensfun.so.1 => /tmp/.mount_sz1dV9/usr/lib/liblensfun.so.1 (0x00007fb944376000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6 (0x00007fb943f46000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007fb943c2d000)
        libgomp.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgomp.so.1 (0x00007fb9439f8000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1 (0x00007fb9437e1000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fb9435c0000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fb9431fe000)
        libvorbisfile.so.3 => ././/lib/libvorbisfile.so.3 (0x00007fb942ff6000)
        libvorbis.so.0 => ././/lib/libvorbis.so.0 (0x00007fb942dc9000)
        libogg.so.0 => ././/lib/libogg.so.0 (0x00007fb942bc0000)
        libltdl.so.7 => ././/lib/libltdl.so.7 (0x00007fb9429b6000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fb9427b2000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fb942581000)
        libgmodule-2.0.so.0 => ././/lib/libgmodule-2.0.so.0 (0x00007fb94237e000)
        libXi.so.6 => ././/lib/libXi.so.6 (0x00007fb94216e000)
        libXdamage.so.1 => ././/lib/libXdamage.so.1 (0x00007fb941f6b000)
        libXfixes.so.3 => ././/lib/libXfixes.so.3 (0x00007fb941d65000)
        libatk-bridge-2.0.so.0 => ././/lib/libatk-bridge-2.0.so.0 (0x00007fb941b37000)
        libepoxy.so.0 => ././/lib/libepoxy.so.0 (0x00007fb941842000)
        libpangoft2-1.0.so.0 => ././/lib/libpangoft2-1.0.so.0 (0x00007fb94162d000)
        libfontconfig.so.1 => ././/lib/libfontconfig.so.1 (0x00007fb9413ea000)
        libfreetype.so.6 => ././/lib/libfreetype.so.6 (0x00007fb941149000)
        libXext.so.6 => ././/lib/libXext.so.6 (0x00007fb940f37000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fb940d2e000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fb940b17000)
        libpixman-1.so.0 => ././/lib/libpixman-1.so.0 (0x00007fb94086f000)
        libEGL.so.1 => /usr/lib/libEGL.so.1 (0x00007fb940630000)
        libxcb-shm.so.0 => ././/lib/libxcb-shm.so.0 (0x00007fb94042d000)
        libxcb-render.so.0 => ././/lib/libxcb-render.so.0 (0x00007fb940224000)
        libXrender.so.1 => ././/lib/libXrender.so.1 (0x00007fb94001a000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x00007fb93fd9c000)
        libffi.so.6 => ././/lib/libffi.so.6 (0x00007fb93fb94000)
        libpcre.so.3 => /tmp/.mount_sz1dV9/usr/lib/libpcre.so.3 (0x00007fb93f956000)
        liblzma.so.5 => /tmp/.mount_sz1dV9/usr/lib/liblzma.so.5 (0x00007fb93f734000)
        libjbig.so.0 => /tmp/.mount_sz1dV9/usr/lib/libjbig.so.0 (0x00007fb93f526000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fb949fcd000)
        libXau.so.6 => /tmp/.mount_sz1dV9/usr/lib/libXau.so.6 (0x00007fb93f322000)
        libXdmcp.so.6 => /tmp/.mount_sz1dV9/usr/lib/libXdmcp.so.6 (0x00007fb93f11c000)
        libatspi.so.0 => ././/lib/libatspi.so.0 (0x00007fb93eeec000)
        libdbus-1.so.3 => ././/lib/libdbus-1.so.3 (0x00007fb93eca7000)
        libharfbuzz.so.0 => ././/lib/libharfbuzz.so.0 (0x00007fb93ea06000)
        libxcb-dri2.so.0 => ././/lib/libxcb-dri2.so.0 (0x00007fb93e801000)
        libX11-xcb.so.1 => ././/lib/libX11-xcb.so.1 (0x00007fb93e5ff000)
        libxcb-dri3.so.0 => ././/lib/libxcb-dri3.so.0 (0x00007fb93e3fc000)
        libxcb-xfixes.so.0 => ././/lib/libxcb-xfixes.so.0 (0x00007fb93e1f5000)
        libxcb-present.so.0 => ././/lib/libxcb-present.so.0 (0x00007fb93dff2000)
        libxcb-sync.so.1 => ././/lib/libxcb-sync.so.1 (0x00007fb93ddec000)
        libxshmfence.so.1 => ././/lib/libxshmfence.so.1 (0x00007fb93dbea000)
        libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x00007fb93d9da000)
        libgbm.so.1 => ././/lib/libgbm.so.1 (0x00007fb93d7d2000)
        libwayland-server.so.0 => /usr/lib/libwayland-server.so.0 (0x00007fb93d5bc000)
        libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00007fb93d3a8000)
        libglapi.so.0 => ././/lib/libglapi.so.0 (0x00007fb93d181000)
        libxcb-glx.so.0 => ././/lib/libxcb-glx.so.0 (0x00007fb93cf6a000)
        libXxf86vm.so.1 => ././/lib/libXxf86vm.so.1 (0x00007fb93cd64000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00007fb93cb5b000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00007fb93c93d000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fb93c738000)
        libbsd.so.0 => /usr/lib/libbsd.so.0 (0x00007fb93c521000)
/tmp/.mount_sz1dV9/usr/bin/rawtherapee: symbol lookup error: /usr/lib/libEGL.so.1: undefined symbol: gbm_bo_create_with_modifiers
aferrero2707 commented 6 years ago

@Beep6581 let's try to go down the rabbit hole of library dependencies, and see if we can find a correct configuration.

The problem is that the application gets linked to your system EGL library, which in turn depends on other libraries that are bundled but too old. We should therefore remove from the bundle all those provided-but-too-old .so files, which them are expected to be installed on the host system.

In order to simplify this operation, I have extracted the AppImage package and packed it as a .zip file. In order to use the zip file, extract it anywhere on you disk, go into the RawTherapee-git-5.4-rc2-20180227_1318 folder and execute the program by typing

./AppRun

At this point you should get the same symbol lookup error as above, which comes from the bundled libgbm.so.1. In your log above, you see

libgbm.so.1 => ././/lib/libgbm.so.1 (0x00007fb93d7d2000)

which means that libgbm.so.1 is located under usr/lib/libgbm.so.1 in the bundle. To disable the use of the bundled library, one can simply rename it:

mv usr/lib/libgbm.so.1 usr/lib/_libgbm.so.1

The execute ./AppRun again and see if there are more undefined symbols, then repeat the above for the corresponding libraries... or drop a message here so that we can identify the offending library together.

The full list of libraries that are excluded from the bundle is given here.

Unfortunately I do not have a Sabayon system at hand to do this exercise myself, and the AppImage seems to run fine in Ubuntu 17.10 (which AFAIK has the same Wayland version).

I hope my explanations are clear enough...

Thanks!

Beep6581 commented 6 years ago

@aferrero2707 will do! Is there any meaningful order to the libraries listed in my log?

aferrero2707 commented 6 years ago

Is there any meaningful order to the libraries listed in my log?

I've no idea... this is the order given by ldd "./bin/rawtherapee" (see here).

aferrero2707 commented 6 years ago

@Beep6581 @heckflosse - for RawTherapee, the AppImage packaging scripts report a minimum required GLIBC version of 2.17, which means that the RT AppImage will not be able to run on systems with GLIBC versions lower than that.

However, upon inspection I noticed that this requirement is due to a single function, clock_gettime() used in rtengine/mytime.h.

Would it be possible to make the use of this function conditional, so that a version with less stringent GLIBC requirements could be compiled?

Floessie commented 6 years ago

@aferrero2707 And if you link it also with -lrt? This was required before 2.17...

aferrero2707 commented 6 years ago

I am trying to update and fix my Win64 version, but all my scripts fail because SourceForge is down!!! Since at least 3 days... Anyone knows what is happening?

screen shot 2018-03-03 at 22 18 58
Beep6581 commented 6 years ago

Hooray!

Beep6581 commented 6 years ago

@aferrero2707 SF seems to work now. We could also fork libiptcdata on GitHub, but there are many forks already (none of which I know = none of which I trust), and more importantly we will drop libiptcdata when implementing #3801.

P.S. If anyone is wondering why I was happy - SourceForge turned evil in recent years.

aferrero2707 commented 6 years ago

@Beep6581 - libiptcdata is unfortunately not the only SourceForge-hosted dependency that I need to update whenever I build a new Dockerfile...

Anyway, I created a new Win64 zip package, which hopefully fixes the issue with some missing icons. I only tested it with wine so far, so I would really appreciate it @SilvioGrosso and/or some other Windows user could provide some feedback.

Should we give this still experimental Win64 builds their own config folder prefix, just to avoid any interference with official packages? At the moment I am using the following:

-DCACHE_NAME_SUFFIX="'5-dev'"
Beep6581 commented 6 years ago

@aferrero2707 the AppImage script uses 5-dev-ai, so these could use 5-dev-ci until ready. https://github.com/aferrero2707/rt-build/blob/master/ci/appimage.sh#L195

aferrero2707 commented 6 years ago

@Beep6581 - Ok, an updated package is on its way...

SilvioGrosso commented 6 years ago

Hello everyone,

Just unzipped and tested on Windows 10 (64 bit): rawtherapee-w64-20180306_1434-git-5.4-rc2

Everything looks fine: all icons are available which was not the case previously. I have quickly tested other features and they appear working correctly as well. THANKS A LOT for this build !

aferrero2707 commented 6 years ago

@SilvioGrosso - thanks for checking so quickly!

Do you notice any performance degradation with respect to the official package?

@Beep6581 - are there any recommendations in what concerns a possible installer? Would NSIS be an acceptable option?

SilvioGrosso commented 6 years ago

Hello @aferrero2707

I didn't notice any degradation on my Windows 10 (64 bit) computer with your build: CPU: INTEL (TM) I7-6500 (2,5 GHz) RAM: 8 Gb SSD drive

I have performed my quick testing with my personal Nikon D700 NEF files which are only 8-9 mb each. That is, not as big as the ones saved by much more modern cameras such as Nikon D850 and alike :-)

Beep6581 commented 6 years ago

@aferrero2707 as I'm not a Windows or macOS user but somehow I still end up involved with Windows and macOS issues, I would say going with whatever is easiest to fix would be the right choice ;) I'm familiar with InnoSetup (see tools/win/InnoSetup/WindowsInnoSetup.iss.in) but not with NSIS which from what I read is more complicated.

aferrero2707 commented 6 years ago

I have just uploaded an experimental installer for the automated windows version, based on NSIS (as it seems the only tool allowing to create windows installers under Linux).

Is there anybody here brave enough to give it a try an provide some feedback? The package name ends with -setup.zip

Thanks!

aferrero2707 commented 6 years ago

I have some news regarding the automated AppImage builds. I have modified the build scripts in order to easily package multiple branches. The Travis jobs are schedules to run daily. Each new job checks the hash of the latest commit in the target branch against the one of the most recently produced AppImage for the same branch, and the job is stopped if they coincide. This way, new packages are added only when needed.

For the special case of the releases branch, the packages are tagged with the release number extracted from the AboutThisBuild.txt file. Otherwise, the branch name and build date/time is used for the AppImage version.

The updated AppImage build scripts have been moved to a new dedicated repository, so that the AppImage and Windows build systems can be maintained independently.

RT developers, please let me know if any of you wants to be added as a collaborator to one of those repos...

Comments and suggestions are welcome.

Beep6581 commented 5 years ago

@aferrero2707 I tested the latest AppImages I could find:

Unfortunately, none of them work on my machine running Sabayon.

$ ./RawTherapee-dev-5.4-524-g3bfd903d.AppImage 
System stdc++ library: "/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6"
System stdc++ library version: "3.4.22"
Bundled stdc++ library version: "3.4.22"
Newest stdc++ library version: "3.4.22"
Using system stdc++ library
fcv: "1.10.1"  fcv2: "1.9.2"
echo "1.10.1 1.9.2" | tr " " "\n" | sort -V | tail -n 1
Newest fontconfig library version: "1.10.1"
Using system fontconfig library
        linux-vdso.so.1 (0x00007fff19d73000)
        libcanberra-gtk3.so.0 => /tmp/.mount_JEtv1c/usr/lib/libcanberra-gtk3.so.0 (0x00007f616c7e7000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f616c490000)
        libcanberra.so.0 => /tmp/.mount_JEtv1c/usr/lib/libcanberra.so.0 (0x00007f616c280000)
        libgtk-3.so.0 => /tmp/.mount_JEtv1c/usr/lib/libgtk-3.so.0 (0x00007f616b974000)
        libgdk-3.so.0 => /tmp/.mount_JEtv1c/usr/lib/libgdk-3.so.0 (0x00007f616b6b2000)
        libatk-1.0.so.0 => /tmp/.mount_JEtv1c/usr/lib/libatk-1.0.so.0 (0x00007f616b48c000)
        libgio-2.0.so.0 => /tmp/.mount_JEtv1c/usr/lib/libgio-2.0.so.0 (0x00007f616b0e3000)
        libpangocairo-1.0.so.0 => /tmp/.mount_JEtv1c/usr/lib/libpangocairo-1.0.so.0 (0x00007f616aed6000)
        libgdk_pixbuf-2.0.so.0 => /tmp/.mount_JEtv1c/usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007f616acb3000)
        libcairo-gobject.so.2 => /tmp/.mount_JEtv1c/usr/lib/libcairo-gobject.so.2 (0x00007f616aaab000)
        libpango-1.0.so.0 => /tmp/.mount_JEtv1c/usr/lib/libpango-1.0.so.0 (0x00007f616a85e000)
        libcairo.so.2 => /tmp/.mount_JEtv1c/usr/lib/libcairo.so.2 (0x00007f616a52f000)
        libgobject-2.0.so.0 => /tmp/.mount_JEtv1c/usr/lib/libgobject-2.0.so.0 (0x00007f616a2db000)
        libglib-2.0.so.0 => /tmp/.mount_JEtv1c/usr/lib/libglib-2.0.so.0 (0x00007f6169fc7000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f6169d98000)
        libfftw3f.so.3 => /tmp/.mount_JEtv1c/usr/lib/libfftw3f.so.3 (0x00007f6169993000)
        libfftw3f_omp.so.3 => /tmp/.mount_JEtv1c/usr/lib/libfftw3f_omp.so.3 (0x00007f616978d000)
        libgiomm-2.4.so.1 => /tmp/.mount_JEtv1c/usr/lib/libgiomm-2.4.so.1 (0x00007f61693e0000)
        libglibmm-2.4.so.1 => /tmp/.mount_JEtv1c/usr/lib/libglibmm-2.4.so.1 (0x00007f6169164000)
        libsigc-2.0.so.0 => /tmp/.mount_JEtv1c/usr/lib/libsigc-2.0.so.0 (0x00007f6168f5e000)
        libgthread-2.0.so.0 => /tmp/.mount_JEtv1c/usr/lib/libgthread-2.0.so.0 (0x00007f6168d5d000)
        libgtkmm-3.0.so.1 => /tmp/.mount_JEtv1c/usr/lib/libgtkmm-3.0.so.1 (0x00007f61685eb000)
        libatkmm-1.6.so.1 => /tmp/.mount_JEtv1c/usr/lib/libatkmm-1.6.so.1 (0x00007f616839f000)
        libgdkmm-3.0.so.1 => /tmp/.mount_JEtv1c/usr/lib/libgdkmm-3.0.so.1 (0x00007f616814d000)
        libpangomm-1.4.so.1 => /tmp/.mount_JEtv1c/usr/lib/libpangomm-1.4.so.1 (0x00007f6167f20000)
        libcairomm-1.0.so.1 => /tmp/.mount_JEtv1c/usr/lib/libcairomm-1.0.so.1 (0x00007f6167cf9000)
        libiptcdata.so.0 => /tmp/.mount_JEtv1c/usr/lib/libiptcdata.so.0 (0x00007f6167aed000)
        libjpeg.so.9 => /tmp/.mount_JEtv1c/usr/lib/libjpeg.so.9 (0x00007f61678b3000)
        liblcms2.so.2 => /tmp/.mount_JEtv1c/usr/lib/liblcms2.so.2 (0x00007f616765a000)
        libpng12.so.0 => /tmp/.mount_JEtv1c/usr/lib/libpng12.so.0 (0x00007f6167434000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f616721b000)
        libtiff.so.5 => /tmp/.mount_JEtv1c/usr/lib/libtiff.so.5 (0x00007f6166fb3000)
        liblensfun.so.1 => /tmp/.mount_JEtv1c/usr/lib/liblensfun.so.1 (0x00007f6166d94000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6 (0x00007f6166964000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f6166610000)
        libgomp.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgomp.so.1 (0x00007f61663db000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1 (0x00007f61661c4000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6165fa3000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f6165bce000)
        libvorbisfile.so.3 => ././/lib/libvorbisfile.so.3 (0x00007f61659c6000)
        libvorbis.so.0 => ././/lib/libvorbis.so.0 (0x00007f6165799000)
        libogg.so.0 => ././/lib/libogg.so.0 (0x00007f6165590000)
        libltdl.so.7 => ././/lib/libltdl.so.7 (0x00007f6165386000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f6165182000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f6164f51000)
        libgmodule-2.0.so.0 => ././/lib/libgmodule-2.0.so.0 (0x00007f6164d4e000)
        libXi.so.6 => ././/lib/libXi.so.6 (0x00007f6164b3e000)
        libXdamage.so.1 => ././/lib/libXdamage.so.1 (0x00007f616493b000)
        libXfixes.so.3 => ././/lib/libXfixes.so.3 (0x00007f6164735000)
        libatk-bridge-2.0.so.0 => ././/lib/libatk-bridge-2.0.so.0 (0x00007f6164507000)
        libepoxy.so.0 => ././/lib/libepoxy.so.0 (0x00007f6164212000)
        libpangoft2-1.0.so.0 => ././/lib/libpangoft2-1.0.so.0 (0x00007f6163ffd000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f6163db1000)
        libfreetype.so.6 => ././/lib/libfreetype.so.6 (0x00007f6163b10000)
        libXext.so.6 => ././/lib/libXext.so.6 (0x00007f61638fe000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f61636f5000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f61634dd000)
        libpixman-1.so.0 => ././/lib/libpixman-1.so.0 (0x00007f6163235000)
        libEGL.so.1 => /usr/lib/libEGL.so.1 (0x00007f6162ff6000)
        libxcb-shm.so.0 => ././/lib/libxcb-shm.so.0 (0x00007f6162df3000)
        libxcb-render.so.0 => ././/lib/libxcb-render.so.0 (0x00007f6162bea000)
        libXrender.so.1 => ././/lib/libXrender.so.1 (0x00007f61629e0000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f6162761000)
        libffi.so.6 => ././/lib/libffi.so.6 (0x00007f6162559000)
        libpcre.so.3 => /tmp/.mount_JEtv1c/usr/lib/libpcre.so.3 (0x00007f616231b000)
        liblzma.so.5 => /tmp/.mount_JEtv1c/usr/lib/liblzma.so.5 (0x00007f61620f9000)
        libjbig.so.0 => /tmp/.mount_JEtv1c/usr/lib/libjbig.so.0 (0x00007f6161eeb000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f616c9eb000)
        libXau.so.6 => /tmp/.mount_JEtv1c/usr/lib/libXau.so.6 (0x00007f6161ce7000)
        libXdmcp.so.6 => /tmp/.mount_JEtv1c/usr/lib/libXdmcp.so.6 (0x00007f6161ae1000)
        libatspi.so.0 => ././/lib/libatspi.so.0 (0x00007f61618b1000)
        libdbus-1.so.3 => ././/lib/libdbus-1.so.3 (0x00007f616166c000)
        libharfbuzz.so.0 => ././/lib/libharfbuzz.so.0 (0x00007f61613d1000)
        libxcb-dri2.so.0 => ././/lib/libxcb-dri2.so.0 (0x00007f61611cc000)
        libX11-xcb.so.1 => ././/lib/libX11-xcb.so.1 (0x00007f6160fca000)
        libxcb-dri3.so.0 => ././/lib/libxcb-dri3.so.0 (0x00007f6160dc7000)
        libxcb-xfixes.so.0 => ././/lib/libxcb-xfixes.so.0 (0x00007f6160bc0000)
        libxcb-present.so.0 => ././/lib/libxcb-present.so.0 (0x00007f61609bd000)
        libxcb-sync.so.1 => ././/lib/libxcb-sync.so.1 (0x00007f61607b7000)
        libxshmfence.so.1 => ././/lib/libxshmfence.so.1 (0x00007f61605b5000)
        libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x00007f61603a4000)
        libgbm.so.1 => /usr/lib/libgbm.so.1 (0x00007f6160195000)
        libwayland-server.so.0 => /usr/lib/libwayland-server.so.0 (0x00007f615ff7f000)
        libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00007f615fd6b000)
        libglapi.so.0 => ././/lib/libglapi.so.0 (0x00007f615fb44000)
        libxcb-glx.so.0 => ././/lib/libxcb-glx.so.0 (0x00007f615f92d000)
        libXxf86vm.so.1 => ././/lib/libXxf86vm.so.1 (0x00007f615f727000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00007f615f51e000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00007f615f300000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f615f0f8000)
        libbsd.so.0 => /usr/lib/libbsd.so.0 (0x00007f615eee1000)
/tmp/.mount_JEtv1c/usr/bin/rawtherapee: symbol lookup error: /usr/lib/libGL.so.1: undefined symbol: xcb_dri3_get_supported_modifiers
$ ./RawTherapee-git-5.4-20180320_1351.glibc2.17-x86_64.AppImage 
System stdc++ library: "/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6"
System stdc++ library version: "3.4.22"
Bundled stdc++ library version: "3.4.22"
Newest stdc++ library version: "3.4.22"
Using system stdc++ library
        linux-vdso.so.1 (0x00007ffe081f6000)
        libcanberra-gtk3.so.0 => /tmp/.mount_URGkvO/usr/lib/libcanberra-gtk3.so.0 (0x00007fb8eb6c9000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fb8eb372000)
        libcanberra.so.0 => /tmp/.mount_URGkvO/usr/lib/libcanberra.so.0 (0x00007fb8eb162000)
        libgtk-3.so.0 => /tmp/.mount_URGkvO/usr/lib/libgtk-3.so.0 (0x00007fb8ea856000)
        libgdk-3.so.0 => /tmp/.mount_URGkvO/usr/lib/libgdk-3.so.0 (0x00007fb8ea595000)
        libatk-1.0.so.0 => /tmp/.mount_URGkvO/usr/lib/libatk-1.0.so.0 (0x00007fb8ea36f000)
        libgio-2.0.so.0 => /tmp/.mount_URGkvO/usr/lib/libgio-2.0.so.0 (0x00007fb8e9fc7000)
        libpangocairo-1.0.so.0 => /tmp/.mount_URGkvO/usr/lib/libpangocairo-1.0.so.0 (0x00007fb8e9dba000)
        libgdk_pixbuf-2.0.so.0 => /tmp/.mount_URGkvO/usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007fb8e9b97000)
        libcairo-gobject.so.2 => /tmp/.mount_URGkvO/usr/lib/libcairo-gobject.so.2 (0x00007fb8e998f000)
        libpango-1.0.so.0 => /tmp/.mount_URGkvO/usr/lib/libpango-1.0.so.0 (0x00007fb8e9742000)
        libcairo.so.2 => /tmp/.mount_URGkvO/usr/lib/libcairo.so.2 (0x00007fb8e9412000)
        libgobject-2.0.so.0 => /tmp/.mount_URGkvO/usr/lib/libgobject-2.0.so.0 (0x00007fb8e91be000)
        libglib-2.0.so.0 => /tmp/.mount_URGkvO/usr/lib/libglib-2.0.so.0 (0x00007fb8e8eaa000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fb8e8c7b000)
        libfftw3f.so.3 => /tmp/.mount_URGkvO/usr/lib/libfftw3f.so.3 (0x00007fb8e8876000)
        libfftw3f_omp.so.3 => /tmp/.mount_URGkvO/usr/lib/libfftw3f_omp.so.3 (0x00007fb8e8670000)
        libgiomm-2.4.so.1 => /tmp/.mount_URGkvO/usr/lib/libgiomm-2.4.so.1 (0x00007fb8e82c3000)
        libglibmm-2.4.so.1 => /tmp/.mount_URGkvO/usr/lib/libglibmm-2.4.so.1 (0x00007fb8e8047000)
        libsigc-2.0.so.0 => /tmp/.mount_URGkvO/usr/lib/libsigc-2.0.so.0 (0x00007fb8e7e41000)
        libgthread-2.0.so.0 => /tmp/.mount_URGkvO/usr/lib/libgthread-2.0.so.0 (0x00007fb8e7c40000)
        libgtkmm-3.0.so.1 => /tmp/.mount_URGkvO/usr/lib/libgtkmm-3.0.so.1 (0x00007fb8e74ce000)
        libatkmm-1.6.so.1 => /tmp/.mount_URGkvO/usr/lib/libatkmm-1.6.so.1 (0x00007fb8e7281000)
        libgdkmm-3.0.so.1 => /tmp/.mount_URGkvO/usr/lib/libgdkmm-3.0.so.1 (0x00007fb8e702f000)
        libpangomm-1.4.so.1 => /tmp/.mount_URGkvO/usr/lib/libpangomm-1.4.so.1 (0x00007fb8e6e02000)
        libcairomm-1.0.so.1 => /tmp/.mount_URGkvO/usr/lib/libcairomm-1.0.so.1 (0x00007fb8e6bdb000)
        libiptcdata.so.0 => /tmp/.mount_URGkvO/usr/lib/libiptcdata.so.0 (0x00007fb8e69cf000)
        libjpeg.so.9 => /tmp/.mount_URGkvO/usr/lib/libjpeg.so.9 (0x00007fb8e6795000)
        liblcms2.so.2 => /tmp/.mount_URGkvO/usr/lib/liblcms2.so.2 (0x00007fb8e653c000)
        libpng12.so.0 => /tmp/.mount_URGkvO/usr/lib/libpng12.so.0 (0x00007fb8e6316000)
        libz.so.1 => /lib64/libz.so.1 (0x00007fb8e60fd000)
        libtiff.so.5 => /tmp/.mount_URGkvO/usr/lib/libtiff.so.5 (0x00007fb8e5e95000)
        liblensfun.so.1 => /tmp/.mount_URGkvO/usr/lib/liblensfun.so.1 (0x00007fb8e5c76000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6 (0x00007fb8e5846000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fb8e54f2000)
        libgomp.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgomp.so.1 (0x00007fb8e52bd000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1 (0x00007fb8e50a6000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fb8e4e85000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fb8e4ab0000)
        libvorbisfile.so.3 => ././/lib/libvorbisfile.so.3 (0x00007fb8e48a8000)
        libvorbis.so.0 => ././/lib/libvorbis.so.0 (0x00007fb8e467b000)
        libogg.so.0 => ././/lib/libogg.so.0 (0x00007fb8e4472000)
        libltdl.so.7 => ././/lib/libltdl.so.7 (0x00007fb8e4268000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fb8e4064000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fb8e3e33000)
        libgmodule-2.0.so.0 => ././/lib/libgmodule-2.0.so.0 (0x00007fb8e3c30000)
        libXi.so.6 => ././/lib/libXi.so.6 (0x00007fb8e3a20000)
        libXdamage.so.1 => ././/lib/libXdamage.so.1 (0x00007fb8e381d000)
        libXfixes.so.3 => ././/lib/libXfixes.so.3 (0x00007fb8e3617000)
        libatk-bridge-2.0.so.0 => ././/lib/libatk-bridge-2.0.so.0 (0x00007fb8e33e9000)
        libepoxy.so.0 => ././/lib/libepoxy.so.0 (0x00007fb8e30f4000)
        libpangoft2-1.0.so.0 => ././/lib/libpangoft2-1.0.so.0 (0x00007fb8e2edf000)
        libfontconfig.so.1 => ././/lib/libfontconfig.so.1 (0x00007fb8e2c9c000)
        libfreetype.so.6 => ././/lib/libfreetype.so.6 (0x00007fb8e29fb000)
        libXext.so.6 => ././/lib/libXext.so.6 (0x00007fb8e27e9000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fb8e25e0000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fb8e23c8000)
        libpixman-1.so.0 => ././/lib/libpixman-1.so.0 (0x00007fb8e2120000)
        libEGL.so.1 => /usr/lib/libEGL.so.1 (0x00007fb8e1ee1000)
        libxcb-shm.so.0 => ././/lib/libxcb-shm.so.0 (0x00007fb8e1cde000)
        libxcb-render.so.0 => ././/lib/libxcb-render.so.0 (0x00007fb8e1ad5000)
        libXrender.so.1 => ././/lib/libXrender.so.1 (0x00007fb8e18cb000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x00007fb8e164c000)
        libffi.so.6 => ././/lib/libffi.so.6 (0x00007fb8e1444000)
        libpcre.so.3 => /tmp/.mount_URGkvO/usr/lib/libpcre.so.3 (0x00007fb8e1206000)
        liblzma.so.5 => /tmp/.mount_URGkvO/usr/lib/liblzma.so.5 (0x00007fb8e0fe4000)
        libjbig.so.0 => /tmp/.mount_URGkvO/usr/lib/libjbig.so.0 (0x00007fb8e0dd6000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fb8eb8cd000)
        libXau.so.6 => /tmp/.mount_URGkvO/usr/lib/libXau.so.6 (0x00007fb8e0bd2000)
        libXdmcp.so.6 => /tmp/.mount_URGkvO/usr/lib/libXdmcp.so.6 (0x00007fb8e09cc000)
        libatspi.so.0 => ././/lib/libatspi.so.0 (0x00007fb8e079c000)
        libdbus-1.so.3 => ././/lib/libdbus-1.so.3 (0x00007fb8e0557000)
        libharfbuzz.so.0 => ././/lib/libharfbuzz.so.0 (0x00007fb8e02b6000)
        libxcb-dri2.so.0 => ././/lib/libxcb-dri2.so.0 (0x00007fb8e00b1000)
        libX11-xcb.so.1 => ././/lib/libX11-xcb.so.1 (0x00007fb8dfeaf000)
        libxcb-dri3.so.0 => ././/lib/libxcb-dri3.so.0 (0x00007fb8dfcac000)
        libxcb-xfixes.so.0 => ././/lib/libxcb-xfixes.so.0 (0x00007fb8dfaa5000)
        libxcb-present.so.0 => ././/lib/libxcb-present.so.0 (0x00007fb8df8a2000)
        libxcb-sync.so.1 => ././/lib/libxcb-sync.so.1 (0x00007fb8df69c000)
        libxshmfence.so.1 => ././/lib/libxshmfence.so.1 (0x00007fb8df49a000)
        libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x00007fb8df289000)
        libgbm.so.1 => ././/lib/libgbm.so.1 (0x00007fb8df081000)
        libwayland-server.so.0 => /usr/lib/libwayland-server.so.0 (0x00007fb8dee6b000)
        libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00007fb8dec57000)
        libglapi.so.0 => ././/lib/libglapi.so.0 (0x00007fb8dea30000)
        libxcb-glx.so.0 => ././/lib/libxcb-glx.so.0 (0x00007fb8de819000)
        libXxf86vm.so.1 => ././/lib/libXxf86vm.so.1 (0x00007fb8de613000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00007fb8de40a000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00007fb8de1ec000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fb8ddfe4000)
        libbsd.so.0 => /usr/lib/libbsd.so.0 (0x00007fb8dddcd000)
/tmp/.mount_URGkvO/usr/bin/rawtherapee: symbol lookup error: /usr/lib/libGL.so.1: undefined symbol: xcb_dri3_get_supported_modifiers
$ ./RawTherapee-releases-5.4.AppImage 
System stdc++ library: "/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6"
System stdc++ library version: "3.4.22"
Bundled stdc++ library version: "3.4.22"
Newest stdc++ library version: "3.4.22"
Using system stdc++ library
fcv: "1.10.1"  fcv2: "1.9.2"
echo "1.10.1 1.9.2" | tr " " "\n" | sort -V | tail -n 1
Newest fontconfig library version: "1.10.1"
Using system fontconfig library
        linux-vdso.so.1 (0x00007ffeeff59000)
        libcanberra-gtk3.so.0 => /tmp/.mount_0AXpTb/usr/lib/libcanberra-gtk3.so.0 (0x00007fbce7044000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fbce6ced000)
        libcanberra.so.0 => /tmp/.mount_0AXpTb/usr/lib/libcanberra.so.0 (0x00007fbce6add000)
        libgtk-3.so.0 => /tmp/.mount_0AXpTb/usr/lib/libgtk-3.so.0 (0x00007fbce61d1000)
        libgdk-3.so.0 => /tmp/.mount_0AXpTb/usr/lib/libgdk-3.so.0 (0x00007fbce5f10000)
        libatk-1.0.so.0 => /tmp/.mount_0AXpTb/usr/lib/libatk-1.0.so.0 (0x00007fbce5cea000)
        libgio-2.0.so.0 => /tmp/.mount_0AXpTb/usr/lib/libgio-2.0.so.0 (0x00007fbce5942000)
        libpangocairo-1.0.so.0 => /tmp/.mount_0AXpTb/usr/lib/libpangocairo-1.0.so.0 (0x00007fbce5735000)
        libgdk_pixbuf-2.0.so.0 => /tmp/.mount_0AXpTb/usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007fbce5512000)
        libcairo-gobject.so.2 => /tmp/.mount_0AXpTb/usr/lib/libcairo-gobject.so.2 (0x00007fbce530a000)
        libpango-1.0.so.0 => /tmp/.mount_0AXpTb/usr/lib/libpango-1.0.so.0 (0x00007fbce50bd000)
        libcairo.so.2 => /tmp/.mount_0AXpTb/usr/lib/libcairo.so.2 (0x00007fbce4d8d000)
        libgobject-2.0.so.0 => /tmp/.mount_0AXpTb/usr/lib/libgobject-2.0.so.0 (0x00007fbce4b39000)
        libglib-2.0.so.0 => /tmp/.mount_0AXpTb/usr/lib/libglib-2.0.so.0 (0x00007fbce4825000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fbce45f6000)
        libfftw3f.so.3 => /tmp/.mount_0AXpTb/usr/lib/libfftw3f.so.3 (0x00007fbce41f1000)
        libfftw3f_omp.so.3 => /tmp/.mount_0AXpTb/usr/lib/libfftw3f_omp.so.3 (0x00007fbce3feb000)
        libgiomm-2.4.so.1 => /tmp/.mount_0AXpTb/usr/lib/libgiomm-2.4.so.1 (0x00007fbce3c3e000)
        libglibmm-2.4.so.1 => /tmp/.mount_0AXpTb/usr/lib/libglibmm-2.4.so.1 (0x00007fbce39c2000)
        libsigc-2.0.so.0 => /tmp/.mount_0AXpTb/usr/lib/libsigc-2.0.so.0 (0x00007fbce37bc000)
        libgthread-2.0.so.0 => /tmp/.mount_0AXpTb/usr/lib/libgthread-2.0.so.0 (0x00007fbce35bb000)
        libgtkmm-3.0.so.1 => /tmp/.mount_0AXpTb/usr/lib/libgtkmm-3.0.so.1 (0x00007fbce2e49000)
        libatkmm-1.6.so.1 => /tmp/.mount_0AXpTb/usr/lib/libatkmm-1.6.so.1 (0x00007fbce2bfc000)
        libgdkmm-3.0.so.1 => /tmp/.mount_0AXpTb/usr/lib/libgdkmm-3.0.so.1 (0x00007fbce29aa000)
        libpangomm-1.4.so.1 => /tmp/.mount_0AXpTb/usr/lib/libpangomm-1.4.so.1 (0x00007fbce277d000)
        libcairomm-1.0.so.1 => /tmp/.mount_0AXpTb/usr/lib/libcairomm-1.0.so.1 (0x00007fbce2556000)
        libiptcdata.so.0 => /tmp/.mount_0AXpTb/usr/lib/libiptcdata.so.0 (0x00007fbce234a000)
        libjpeg.so.9 => /tmp/.mount_0AXpTb/usr/lib/libjpeg.so.9 (0x00007fbce2110000)
        liblcms2.so.2 => /tmp/.mount_0AXpTb/usr/lib/liblcms2.so.2 (0x00007fbce1eb7000)
        libpng12.so.0 => /tmp/.mount_0AXpTb/usr/lib/libpng12.so.0 (0x00007fbce1c91000)
        libz.so.1 => /lib64/libz.so.1 (0x00007fbce1a78000)
        libtiff.so.5 => /tmp/.mount_0AXpTb/usr/lib/libtiff.so.5 (0x00007fbce1810000)
        liblensfun.so.1 => /tmp/.mount_0AXpTb/usr/lib/liblensfun.so.1 (0x00007fbce15f1000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6 (0x00007fbce11c1000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fbce0e6d000)
        libgomp.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgomp.so.1 (0x00007fbce0c38000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1 (0x00007fbce0a21000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fbce0800000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fbce042b000)
        libvorbisfile.so.3 => ././/lib/libvorbisfile.so.3 (0x00007fbce0223000)
        libvorbis.so.0 => ././/lib/libvorbis.so.0 (0x00007fbcdfff6000)
        libogg.so.0 => ././/lib/libogg.so.0 (0x00007fbcdfded000)
        libltdl.so.7 => ././/lib/libltdl.so.7 (0x00007fbcdfbe3000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fbcdf9df000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fbcdf7ae000)
        libgmodule-2.0.so.0 => ././/lib/libgmodule-2.0.so.0 (0x00007fbcdf5ab000)
        libXi.so.6 => ././/lib/libXi.so.6 (0x00007fbcdf39b000)
        libXdamage.so.1 => ././/lib/libXdamage.so.1 (0x00007fbcdf198000)
        libXfixes.so.3 => ././/lib/libXfixes.so.3 (0x00007fbcdef92000)
        libatk-bridge-2.0.so.0 => ././/lib/libatk-bridge-2.0.so.0 (0x00007fbcded64000)
        libepoxy.so.0 => ././/lib/libepoxy.so.0 (0x00007fbcdea6f000)
        libpangoft2-1.0.so.0 => ././/lib/libpangoft2-1.0.so.0 (0x00007fbcde85a000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007fbcde60e000)
        libfreetype.so.6 => ././/lib/libfreetype.so.6 (0x00007fbcde36d000)
        libXext.so.6 => ././/lib/libXext.so.6 (0x00007fbcde15b000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fbcddf52000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fbcddd3a000)
        libpixman-1.so.0 => ././/lib/libpixman-1.so.0 (0x00007fbcdda92000)
        libEGL.so.1 => /usr/lib/libEGL.so.1 (0x00007fbcdd853000)
        libxcb-shm.so.0 => ././/lib/libxcb-shm.so.0 (0x00007fbcdd650000)
        libxcb-render.so.0 => ././/lib/libxcb-render.so.0 (0x00007fbcdd447000)
        libXrender.so.1 => ././/lib/libXrender.so.1 (0x00007fbcdd23d000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x00007fbcdcfbe000)
        libffi.so.6 => ././/lib/libffi.so.6 (0x00007fbcdcdb6000)
        libpcre.so.3 => /tmp/.mount_0AXpTb/usr/lib/libpcre.so.3 (0x00007fbcdcb78000)
        liblzma.so.5 => /tmp/.mount_0AXpTb/usr/lib/liblzma.so.5 (0x00007fbcdc956000)
        libjbig.so.0 => /tmp/.mount_0AXpTb/usr/lib/libjbig.so.0 (0x00007fbcdc748000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fbce7248000)
        libXau.so.6 => /tmp/.mount_0AXpTb/usr/lib/libXau.so.6 (0x00007fbcdc544000)
        libXdmcp.so.6 => /tmp/.mount_0AXpTb/usr/lib/libXdmcp.so.6 (0x00007fbcdc33e000)
        libatspi.so.0 => ././/lib/libatspi.so.0 (0x00007fbcdc10e000)
        libdbus-1.so.3 => ././/lib/libdbus-1.so.3 (0x00007fbcdbec9000)
        libharfbuzz.so.0 => ././/lib/libharfbuzz.so.0 (0x00007fbcdbc28000)
        libxcb-dri2.so.0 => ././/lib/libxcb-dri2.so.0 (0x00007fbcdba23000)
        libX11-xcb.so.1 => ././/lib/libX11-xcb.so.1 (0x00007fbcdb821000)
        libxcb-dri3.so.0 => ././/lib/libxcb-dri3.so.0 (0x00007fbcdb61e000)
        libxcb-xfixes.so.0 => ././/lib/libxcb-xfixes.so.0 (0x00007fbcdb417000)
        libxcb-present.so.0 => ././/lib/libxcb-present.so.0 (0x00007fbcdb214000)
        libxcb-sync.so.1 => ././/lib/libxcb-sync.so.1 (0x00007fbcdb00e000)
        libxshmfence.so.1 => ././/lib/libxshmfence.so.1 (0x00007fbcdae0c000)
        libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x00007fbcdabfb000)
        libgbm.so.1 => ././/lib/libgbm.so.1 (0x00007fbcda9f3000)
        libwayland-server.so.0 => /usr/lib/libwayland-server.so.0 (0x00007fbcda7dd000)
        libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00007fbcda5c9000)
        libglapi.so.0 => ././/lib/libglapi.so.0 (0x00007fbcda3a2000)
        libxcb-glx.so.0 => ././/lib/libxcb-glx.so.0 (0x00007fbcda18b000)
        libXxf86vm.so.1 => ././/lib/libXxf86vm.so.1 (0x00007fbcd9f85000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00007fbcd9d7c000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00007fbcd9b5e000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fbcd9956000)
        libbsd.so.0 => /usr/lib/libbsd.so.0 (0x00007fbcd973f000)
/tmp/.mount_0AXpTb/usr/bin/rawtherapee: symbol lookup error: /usr/lib/libGL.so.1: undefined symbol: xcb_dri3_get_supported_modifiers
aferrero2707 commented 5 years ago

@Beep6581 could you please test this new package? I was able to successfully run it on a Sabayon Docker container...

Beep6581 commented 5 years ago

@aferrero2707 when I run it, it hangs after this, no window appears:

$ ./RawTherapee-dev-5.4-686-g909b76e.AppImage
AILIBDIR=/tmp/ailibdir.zyZn
/tmp/.mount_MCsnMQ/fixes.sh: line 13: ldconfig: command not found
Beep6581 commented 5 years ago

Note: I do have ldconfig, but it can only be run by root. sys-libs/glibc-2.26-r7

aferrero2707 commented 5 years ago

@Beep6581 is your ldconfig located under /sbin? Can you run it as a normal user if you give the path explicitly (/sbin/ldconfig)?

If yes, then I suggest to temporarily add /sbin to your PATH and run the AppImage again. I will then introduce a workaround for this special case...

Unless you know of a better approach to locate system libraries without doing an explicit find!