MailSpring cannot be installed on Centos8+ or RHEL 8+ due to broken dependency.
Screenshots
Not required. Log:
Error:
Problem: conflicting requests
- nothing provides libappindicator needed by mailspring-1.7.8-0.1.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Setup
OS and Version: Centos and RHEL 8+
Installation Method: .rpm
Mailspring Version: 1.7.4
Additional Context
Possible bug fix
In file ./app/build/resources/linux/redhat/mailspring.spec.in
Note: I just copied this bug report from #1870 and included @dillonforrest 's suggestion from that bug after it was closed since it seems like it might have escaped your notice. Specifically, it looks like the >= operator didnât work, but the == apparently does work.
Unfortunately, I have no RHEL installation running to test this. If there is anybody who would be willing to try a out a build, I am happy to take a look at this.
I built a custom package for you which you can download here: Nextcloud
This is built from the current master branch with the proposed suggestion. Please let me know if this package is installable for you on RHEL and/or if you get another error message than before.
Unfortunately, I cannot see how the variables from the mailspring.spec file are evaluated and why. You can also try to run yum with the -v flag for verbose output. Maybe this helps me figuring out the exact problem.
So I still guess, libappindicator-gtk3-12.10.0-19.el8.x86_64 ist not used for Mailspring. Is there a way to provide a AppImage instead of a rpm package?
Version that simply uses the libappindicator-gtk3 dependency. This should work in any case (if not, I donât understand how this build works): Nextcloud
Version where I exchanged the if/else statement logic that checks for the RHEL Version. This should be more âfuture-proofâ if it works, but might break for older versions. So if there is anybody with a RHEL version < 8, it would be great to see if this works here as well: Nextcloud
Version that simply uses the libappindicator-gtk3 dependency. This should work in any case (if not, I donât understand how this build works)
That installation was successful.
But still some window issues? Do you understand what is going on?
Many thanks for packaging mailspring and testing around!
@Morpheus What about the second package? Is this installable as well?
The white screen seems to be a different problem that the packaging itself. Either there is a(nother) dependency missing, or it is something unrelated. Are there any errors in the developer console? Do you see any errors when starting Mailspring via commandline?
What about the second package? Is this installable as well?
I couldnât install the second package. result:
Problem: conflicting requests
nothing provides libappindicator needed by mailspring-1.9.1-0.1.x86_64
(try to add ââskip-brokenâ to skip uninstallable packages or âânobestâ to use not only best candidate packages)
Either there is a(nother) dependency missing, or it is something unrelated.
You are right.
glibc-devel Version on RHEL 8.3 is 2.28
Better-SQlite 3 seems to be dependend on glibc 2.29 which is not available for RHEL 8.3. I donât know if @bengotow has any idea what to do here.
That the second package could not be installed is really strange. Either I just donât understand how the dependency check works, or there is something seriously wrong. I am officially out of ideas here. My suggestion would be that we try to fix the white screen issue and then you should at least be able to install the latest Mailspring with the ignore dependencies flag if you have libappindicator-gtk3 installed manually.
That the second package could not be installed is really strange.
I really donât know what is going on here as well.
I donât know if @bengotow has any idea what to do here.
Letâs wait.
My suggestion would be that we try to fix the white screen issue and then you should at least be able to install the latest Mailspring with the ignore dependencies flag if you have libappindicator-gtk3 installed manually.
Letâs do it ⌠Thatâs fine!
Maybe @bengotow knows what to do.
Hey folks! Ahh man thatâs really strange - we had to upgrade SQLite in order to use Electron 8, but it sounds like itâs building with too new a version of glibc? Do you know what version is available on RHEL 8.3? I can try to have our build flow use a prebuilt binary or compile it against an older version, will give it a try tonight.