-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
[Backport release-21.05] element-desktop: build native modules #132633
Conversation
(cherry picked from commit 5568297)
A friend had us test this PR by running
|
Result of 1 package built successfully:
3 suggestions:
|
For me |
For me the issue is resolved by #132601, so if I
I have a working search index. Weird. |
Weird indeed, did you do anything else inbetween? (I already tried logging out and in with deleting .config/Element/*) |
@Fidgetcetera this seems like an issue I already fixed in #132462. Can you please re-check if you used the correct |
@ashkitten but I am not sure whether there is another underlying problem because if I use the element-desktop from nixos-unstable I get the same problem... |
Which |
The only thing I explicitly checked was wether matrix-seshat is symlinked to the nix store, i.e.
I don't know what else to check, do you have anything in particular in mind? |
And for your other question, I use a flake system, where the main part comes from nixos-21.05 but I override some packages (for example element-desktop) from unstable, my currently used commits are |
The only difference I think could reasonable be the difference in glibc, as at least for seshat all other dependencies should have the same state. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Builds and works just fine for me. LGTM!
I’m also getting
|
It didn’t work either (got the same error). I tried doing that, but my homeserver requires SAML auth, so it’s possible that after completing the authentication, when the browser opens the link in the app, it uses the browser environment, which doesn’t have the overridden HOME variable? I also tried moving the ~/.config/Element and ~/.config/Riot directories, but it didn’t work either (same error). I’ve also tried resetting the message search index (by clicking the Reset button), but it only resulted in a spinner spinning indefinitely. |
@sephii Could you please use a different matrix account (e.g. a matrix.org one) and see if the issue persists? Also, the output from running |
Just tried also with another account (this time on matrix.org) and it does not work, too. the last few lines (directly after clicking reset under the failed message search initioalization) are
|
@FlorianFranzen I’m also getting
|
@benneti @sephii It seems you are both hitting a potentially packaging related bug that can also be found on arch as reported in element-hq/element-desktop#904. Even the broken So I guess what we are seeing here are just symptoms of a broken search index, most likely caused by what is reported in matrix-org/seshat#102. |
FWIW, matrix-org/seshat#102 wasn't due to a broken index. See matrix-org/seshat#102 (comment). |
you are my hero of the day, it is caching the messages now! fixupPhase = ''
sed -i "s#exec#LD_PRELOAD=${pkgs.sqlcipher}/lib/libsqlcipher.so exec#g" "$out/bin/element-desktop"
''; |
Bot-based backport to
release-21.05
, triggered by a label in #132601.