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-addrlookup: 7 -> 9 #34833

Merged
merged 1 commit into from Feb 13, 2018
Merged

notmuch-addrlookup: 7 -> 9 #34833

merged 1 commit into from Feb 13, 2018

Conversation

flokli
Copy link
Contributor

@flokli flokli commented Feb 11, 2018

Motivation for this change

This version bump contains the following fixes:

v8:

  • Avoid a segmentation fault when notmuch_message_get_header() returns NULL. (Patch by Víctor M. Jáquez vjaquez@igalia.com).

v9:

  • Do not use the deprecated notmuch_query_count_messages_st function when using Notmuch 0.25. (Patch by Adam Ruzicka a.ruzicka@outlook.com.)
    We already had this patch in our tree.
  • Fix crash in when running queries and the program is build with Notmuch 0.25. (Patch by Joshua Krusell joshua.krusell@v-dem.net).
  • Fix conditional compilation when using Notmuch 0.25. (Patch by David Bremner bremner@debian.org).
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.

@andir
Copy link
Member

andir commented Feb 11, 2018

@GrahamcOfBorg build notmuch-addrlookup

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

Package ‘notmuch-addrlookup-9’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/applications/networking/mailreaders/notmuch-addrlookup/default.nix:22 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

installing
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/4fm5bay4jzlng4d2lwj8b7mcbbrf7ll0-notmuch-addrlookup-9
shrinking /nix/store/4fm5bay4jzlng4d2lwj8b7mcbbrf7ll0-notmuch-addrlookup-9/bin/notmuch-addrlookup
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/4fm5bay4jzlng4d2lwj8b7mcbbrf7ll0-notmuch-addrlookup-9/bin
patching script interpreter paths in /nix/store/4fm5bay4jzlng4d2lwj8b7mcbbrf7ll0-notmuch-addrlookup-9
checking for references to /build in /nix/store/4fm5bay4jzlng4d2lwj8b7mcbbrf7ll0-notmuch-addrlookup-9...
/nix/store/4fm5bay4jzlng4d2lwj8b7mcbbrf7ll0-notmuch-addrlookup-9

@@ -10,7 +10,7 @@ stdenv.mkDerivation {
owner = "svn-all-fast-export";
repo = "svn2git";
rev = version;
sha256 = "0lhnw8f15j4wkpswhrjd7bp9xkhbk32zmszaxayzfhbdl0g7pzwj";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this in here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, that was a mistake. fixed!

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

   Compiling compiler_builtins v0.0.0 (file:///build/rustc-1.22.1-src/src/rustc/compiler_builtins_shim)
   Compiling std v0.0.0 (file:///build/rustc-1.22.1-src/src/libstd)
building of '/nix/store/1q00yw9nphvwvxyk6imxny1rk76rwqy1-rustc-1.22.1.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/i63b6jfgcjz1qkbwsljw4y9vrdsq0qr3-cargo-0.23.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/54gwpxhrss33zvavc8qpv9kvca66ja7j-librsvg-2.42.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/4sgr9nibc20a50wqj0m0slhxnb5wsy2d-hook.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/y8q9bimsr1wd2g5xf5wgbjvmww16xz3x-emacs-25.3.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/cy4rqk7y27ryya7yrhaynyis6i6bqv6l-notmuch-0.26.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/2mfyfkz94zrajxh55jyafr0pvkv0ff5c-notmuch-addrlookup-9.drv': 1 dependencies couldn't be built
error: build of '/nix/store/2mfyfkz94zrajxh55jyafr0pvkv0ff5c-notmuch-addrlookup-9.drv' failed

@andir
Copy link
Member

andir commented Feb 11, 2018

@GrahamcOfBorg build notmuch-addrlookup

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

installing
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/4fm5bay4jzlng4d2lwj8b7mcbbrf7ll0-notmuch-addrlookup-9
shrinking /nix/store/4fm5bay4jzlng4d2lwj8b7mcbbrf7ll0-notmuch-addrlookup-9/bin/notmuch-addrlookup
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/4fm5bay4jzlng4d2lwj8b7mcbbrf7ll0-notmuch-addrlookup-9/bin 
patching script interpreter paths in /nix/store/4fm5bay4jzlng4d2lwj8b7mcbbrf7ll0-notmuch-addrlookup-9
checking for references to /tmp/nix-build-notmuch-addrlookup-9.drv-0 in /nix/store/4fm5bay4jzlng4d2lwj8b7mcbbrf7ll0-notmuch-addrlookup-9...
/nix/store/4fm5bay4jzlng4d2lwj8b7mcbbrf7ll0-notmuch-addrlookup-9

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

Package ‘notmuch-addrlookup-9’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/applications/networking/mailreaders/notmuch-addrlookup/default.nix:22 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

   Compiling std v0.0.0 (file:///build/rustc-1.22.1-src/src/libstd)
   Compiling alloc_jemalloc v0.0.0 (file:///build/rustc-1.22.1-src/src/liballoc_jemalloc)
building of '/nix/store/1q00yw9nphvwvxyk6imxny1rk76rwqy1-rustc-1.22.1.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/i63b6jfgcjz1qkbwsljw4y9vrdsq0qr3-cargo-0.23.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/54gwpxhrss33zvavc8qpv9kvca66ja7j-librsvg-2.42.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/4sgr9nibc20a50wqj0m0slhxnb5wsy2d-hook.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/y8q9bimsr1wd2g5xf5wgbjvmww16xz3x-emacs-25.3.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/cy4rqk7y27ryya7yrhaynyis6i6bqv6l-notmuch-0.26.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/2mfyfkz94zrajxh55jyafr0pvkv0ff5c-notmuch-addrlookup-9.drv': 1 dependencies couldn't be built
error: build of '/nix/store/2mfyfkz94zrajxh55jyafr0pvkv0ff5c-notmuch-addrlookup-9.drv' failed

This version bump contains the following fixes:

v8:
 - Avoid a segmentation fault when notmuch_message_get_header() returns NULL. (Patch by Víctor M. Jáquez <vjaquez@igalia.com>).

v9:
 - Do not use the deprecated notmuch_query_count_messages_st function when using Notmuch 0.25. (Patch by Adam Ruzicka <a.ruzicka@outlook.com>.)
   We already had this patch in our tree.
 - Fix crash in when running queries and the program is build with Notmuch 0.25. (Patch by Joshua Krusell <joshua.krusell@v-dem.net>).
 - Fix conditional compilation when using Notmuch 0.25. (Patch by David Bremner <bremner@debian.org>).
@flokli
Copy link
Contributor Author

flokli commented Feb 11, 2018

@andir The jemalloc issue on aarch64 looks pretty unrelated.

I don't see a reason why it shouldn't work on darwin. Could you give @GrahamcOfBorg another shot?

@andir
Copy link
Member

andir commented Feb 11, 2018

@GrahamcOfBorg build notmuch-addrlookup

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

/nix/store/4fm5bay4jzlng4d2lwj8b7mcbbrf7ll0-notmuch-addrlookup-9

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Partial log (click to expand)

clang -Wall -O2 -I/nix/store/bx10ijr9nz94vrxdkavkicqmrgf9h59n-glib-2.54.3-dev/include/glib-2.0 -I/nix/store/lxyhv5v0rgfpnn6a9jc54m7pp9mfyqns-glib-2.54.3/lib/glib-2.0/include -std=c99   -c -o notmuch-addrlookup.o notmuch-addrlookup.c
clang   notmuch-addrlookup.o  -lnotmuch -L/nix/store/lxyhv5v0rgfpnn6a9jc54m7pp9mfyqns-glib-2.54.3/lib -lglib-2.0 -o notmuch-addrlookup
glibPreInstallPhase
installing
glibPreFixupPhase
post-installation fixup
strip is /nix/store/5a88zk3jgimdmzg8rfhvm93kxib3njf9-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/s90dkxgac64mjrdysr6ja7374f5yjhs7-notmuch-addrlookup-9/bin
patching script interpreter paths in /nix/store/s90dkxgac64mjrdysr6ja7374f5yjhs7-notmuch-addrlookup-9
/nix/store/s90dkxgac64mjrdysr6ja7374f5yjhs7-notmuch-addrlookup-9

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

   Compiling alloc_jemalloc v0.0.0 (file:///build/rustc-1.22.1-src/src/liballoc_jemalloc)
   Compiling std v0.0.0 (file:///build/rustc-1.22.1-src/src/libstd)
building of '/nix/store/1q00yw9nphvwvxyk6imxny1rk76rwqy1-rustc-1.22.1.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/i63b6jfgcjz1qkbwsljw4y9vrdsq0qr3-cargo-0.23.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/54gwpxhrss33zvavc8qpv9kvca66ja7j-librsvg-2.42.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/4sgr9nibc20a50wqj0m0slhxnb5wsy2d-hook.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/y8q9bimsr1wd2g5xf5wgbjvmww16xz3x-emacs-25.3.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/cy4rqk7y27ryya7yrhaynyis6i6bqv6l-notmuch-0.26.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/2mfyfkz94zrajxh55jyafr0pvkv0ff5c-notmuch-addrlookup-9.drv': 1 dependencies couldn't be built
error: build of '/nix/store/2mfyfkz94zrajxh55jyafr0pvkv0ff5c-notmuch-addrlookup-9.drv' failed

@Mic92 Mic92 merged commit 8b5d7a5 into NixOS:master Feb 13, 2018
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

4 participants