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

notmuch: build with gmime2 for now #39146

Closed
wants to merge 1 commit into from
Closed

Conversation

flokli
Copy link
Contributor

@flokli flokli commented Apr 19, 2018

see #39124

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@flokli
Copy link
Contributor Author

flokli commented Apr 19, 2018

please backport to 18.03 as well.

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: notmuch

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/wia50gr1x8jgwdjy7wqp2xxv6lzdbgk5-notmuch-0.26.1
shrinking /nix/store/wia50gr1x8jgwdjy7wqp2xxv6lzdbgk5-notmuch-0.26.1/bin/notmuch
shrinking /nix/store/wia50gr1x8jgwdjy7wqp2xxv6lzdbgk5-notmuch-0.26.1/lib/libnotmuch.so.5.1.0
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/wia50gr1x8jgwdjy7wqp2xxv6lzdbgk5-notmuch-0.26.1/lib  /nix/store/wia50gr1x8jgwdjy7wqp2xxv6lzdbgk5-notmuch-0.26.1/bin
patching script interpreter paths in /nix/store/wia50gr1x8jgwdjy7wqp2xxv6lzdbgk5-notmuch-0.26.1
/nix/store/wia50gr1x8jgwdjy7wqp2xxv6lzdbgk5-notmuch-0.26.1/bin/notmuch-emacs-mua: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/wia50gr1x8jgwdjy7wqp2xxv6lzdbgk5-notmuch-0.26.1...
/nix/store/wia50gr1x8jgwdjy7wqp2xxv6lzdbgk5-notmuch-0.26.1

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: notmuch

Partial log (click to expand)

/nix/store/23rzj0r9ppin4miz7bm437inz7gab7qq-notmuch-0.26.1/lib/libnotmuch.5.1.0.dylib: fixing dylib
/nix/store/23rzj0r9ppin4miz7bm437inz7gab7qq-notmuch-0.26.1/lib/libnotmuch.5.1.0.dylib: fixing dylib
/nix/store/23rzj0r9ppin4miz7bm437inz7gab7qq-notmuch-0.26.1/lib/libnotmuch.5.1.0.dylib: fixing dylib
/nix/store/23rzj0r9ppin4miz7bm437inz7gab7qq-notmuch-0.26.1/lib/libnotmuch.5.1.0.dylib: fixing dylib
/nix/store/23rzj0r9ppin4miz7bm437inz7gab7qq-notmuch-0.26.1/lib/libnotmuch.5.1.0.dylib: fixing dylib
/nix/store/23rzj0r9ppin4miz7bm437inz7gab7qq-notmuch-0.26.1/lib/libnotmuch.5.1.0.dylib: fixing dylib
/nix/store/23rzj0r9ppin4miz7bm437inz7gab7qq-notmuch-0.26.1/lib/libnotmuch.5.1.0.dylib: fixing dylib
/nix/store/23rzj0r9ppin4miz7bm437inz7gab7qq-notmuch-0.26.1/lib/libnotmuch.5.1.0.dylib: fixing dylib
/nix/store/23rzj0r9ppin4miz7bm437inz7gab7qq-notmuch-0.26.1/lib/libnotmuch.5.1.0.dylib: fixing dylib
/nix/store/23rzj0r9ppin4miz7bm437inz7gab7qq-notmuch-0.26.1

@oxij
Copy link
Member

oxij commented Apr 19, 2018 via email

@flokli
Copy link
Contributor Author

flokli commented Apr 19, 2018

@oxij can you check if disabling tests as in flokli/notmuch@f7dc4cf keeps notmuch show --decrypt working?

@oxij
Copy link
Member

oxij commented Apr 19, 2018 via email

@flokli
Copy link
Contributor Author

flokli commented Apr 19, 2018

Yes, you could use that as well to test whether notmuch show --decrypt works as well.

If I understand id:87fu9nc59a.fsf@tethera.net correctly, the SIGSEGV shouldn't happen with the current notmuch release and gmime 2:

This is fixed by either using gmime 3.0, notmuch 0.25.2, or notmuch master.

I followed the mailthread 874lsn6c1h.fsf@oxij.org, seems like you already had similar problems some time ago :-)
Back then, adding gpgme fixed it.

It looks like recent gmime-3 doesn't call the gpg binary directly anymore (only in its testsuite), and uses gpgme exclusively, so not sure what's breaking here.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: notmuch

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/ywsblyfj23svbd0q75dmcjrjk1q73c10-notmuch-0.26.1
shrinking /nix/store/ywsblyfj23svbd0q75dmcjrjk1q73c10-notmuch-0.26.1/lib/libnotmuch.so.5.1.0
shrinking /nix/store/ywsblyfj23svbd0q75dmcjrjk1q73c10-notmuch-0.26.1/bin/notmuch
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/ywsblyfj23svbd0q75dmcjrjk1q73c10-notmuch-0.26.1/lib  /nix/store/ywsblyfj23svbd0q75dmcjrjk1q73c10-notmuch-0.26.1/bin
patching script interpreter paths in /nix/store/ywsblyfj23svbd0q75dmcjrjk1q73c10-notmuch-0.26.1
/nix/store/ywsblyfj23svbd0q75dmcjrjk1q73c10-notmuch-0.26.1/bin/notmuch-emacs-mua: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/ywsblyfj23svbd0q75dmcjrjk1q73c10-notmuch-0.26.1...
/nix/store/ywsblyfj23svbd0q75dmcjrjk1q73c10-notmuch-0.26.1

@oxij
Copy link
Member

oxij commented Apr 19, 2018 via email

@flokli
Copy link
Contributor Author

flokli commented Apr 19, 2018

Nah, I didn't use --decrypt at all so far.
Is gmime2 with notmuch broken upstream as well?

@oxij
Copy link
Member

oxij commented Apr 19, 2018 via email

@flokli
Copy link
Contributor Author

flokli commented Apr 19, 2018

I simply wasn't sure if it's just the tests that broke or your "advanced features" as well. I will have a more detailed look on it in some hours.

@oxij
Copy link
Member

oxij commented Apr 19, 2018 via email

@flokli
Copy link
Contributor Author

flokli commented Apr 23, 2018

@oxij looks like something between 6fa31b..355d39 fixed notmuch tests - most likely the gpgme version bump in f76c842.

So no reason to try to build with gmime2 anymore.

@flokli flokli closed this Apr 23, 2018
@flokli flokli deleted the notmuch-gmime-2 branch April 23, 2018 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants