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

cargo-update: init at 1.5.2 #40575

Merged
merged 1 commit into from
Aug 2, 2018
Merged

cargo-update: init at 1.5.2 #40575

merged 1 commit into from
Aug 2, 2018

Conversation

Gerschtli
Copy link
Contributor

Motivation for this change

Adds cargo-update at version 1.5.2 with carnix because of missing Cargo.lock in repository.

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.

@matthewbauer
Copy link
Member

@GrahamcOfBorg build cargo-update

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: cargo-update

Partial log (click to expand)

  |
  = note: "/nix/store/8b0gj3bmcy5bh1zcnhn0146199b3m5kb-clang-wrapper-5.0.1/bin/cc" "-m64" "-L" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib" "target/bin/cargo_install_update.cargo_install_update0.rcgu.o" "-o" "target/bin/cargo_install_update" "target/bin/cargo_install_update.crate.allocator.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "target/deps" "-L" "/nix/store/29dslwbdcj62xbip0skfl6hi196jwwii-openssl-1.0.2o/lib" "-L" "/nix/store/6vbynss32drq3c22zk08xx08bf87mpif-libgit2-0.26.0/lib" "-L" "/nix/store/mwdkj4cakd5dg62ai11g4dfgswk6q0xx-libssh2-1.8.0/lib" "-L" "/private/tmp/nix-build-cargo-update-1.5.2.drv-0/source/target/build/cargo-update.out" "-L" "/nix/store/29dslwbdcj62xbip0skfl6hi196jwwii-openssl-1.0.2o/lib" "-L" "/nix/store/6vbynss32drq3c22zk08xx08bf87mpif-libgit2-0.26.0/lib" "-L" "/nix/store/mwdkj4cakd5dg62ai11g4dfgswk6q0xx-libssh2-1.8.0/lib" "-L" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib" "-l" "crypto" "-l" "git2" "-l" "ssh2" "-l" "ssl" "-l" "z" "/nix/store/jdvpi753j7x6rrykgfqwaq1lj9kzjy7d-rust_lazysort-0.2.0/lib/liblazysort-a673201c10.rlib" "/nix/store/lw676375jm4dwwq5dk1l8qlqbbihimff-rust_tabwriter-1.0.4/lib/libtabwriter-6e31b879a2.rlib" "/private/tmp/nix-build-cargo-update-1.5.2.drv-0/source/target/lib/libcargo_update-a6c6532369.rlib" "/nix/store/9m8ya9zdr8rid00i8qfp3aicm7ncdsji-rust_json-0.11.13/lib/libjson-db30f20105.rlib" "/nix/store/b7adkmkild5d0zb4pcrsg8p11zq61bd1-rust_toml-0.4.6/lib/libtoml-dc1befc411.rlib" "/nix/store/4ddgbqlxs5ivxpjslja0a8dgj2awm4xg-rust_clap-2.31.2/lib/libclap-05c8d40026.rlib" "/nix/store/z51g5s2mi8fa5nm8mlw936cry9ngl1pa-rust_vec_map-0.8.1/lib/libvec_map-20faf5a476.rlib" "/nix/store/szf4l5r87zf7s9x1y1fyc6vnp6glmflh-rust_textwrap-0.9.0/lib/libtextwrap-ee2581418e.rlib" "/nix/store/dxmfdr5kxdy8c7qnn6qp5c64xmwhgq6y-rust_unicode-width-0.1.4/lib/libunicode_width-9ed119bc62.rlib" "/nix/store/cghfzdd8x36zfay6mbxipckqbh9f8bs7-rust_strsim-0.7.0/lib/libstrsim-393d28cce2.rlib" "/nix/store/prfpdyh81vhq41avf22lgc57hjml2kx9-rust_bitflags-1.0.3/lib/libbitflags-afa45b3d15.rlib" "/nix/store/d3pf9zdgi4vsm92815j7jhv6lwlis462-rust_atty-0.2.10/lib/libatty-1108b8d84e.rlib" "/nix/store/gbdsg9izb21k6lg0djg6sw1sfipvslpc-rust_ansi_term-0.11.0/lib/libansi_term-d76e0a7053.rlib" "/nix/store/4widsmy3x0hblwa6njxfzddhcfwshxvp-rust_git2-0.6.11/lib/libgit2-07245a34c4.rlib" "/nix/store/88r3rzbllxsbcli2yfkbjwhf3fffj8da-rust_bitflags-0.9.1/lib/libbitflags-445faa7b4b.rlib" "/nix/store/n261z1xqij54jm5psgsn9qhnp59g1a4p-rust_libgit2-sys-0.6.19/lib/liblibgit2_sys-b023bcc527.rlib" "/nix/store/l1ar5245z0z1ad913kxb4v3dsfy2brs8-rust_curl-sys-0.4.5/lib/libcurl_sys-707bd507e2.rlib" "/nix/store/fp57zdynjaj4pgvmby9zmwx4avz7kzvg-rust_libssh2-sys-0.2.7/lib/liblibssh2_sys-e29697162d.rlib" "/nix/store/773biml1g5jqcxnjnjl11z7n1ia4qcj2-rust_openssl-sys-0.9.30/lib/libopenssl_sys-416ff2e55d.rlib" "/nix/store/557iffdd1c78rm88g9adni2r45layc1q-rust_libz-sys-1.0.18/lib/liblibz_sys-549bb9a94b.rlib" "/nix/store/v5hm90i7xviq9mp2isc1mrmk0rav94d6-rust_url-1.7.0/lib/liburl-c9217c085c.rlib" "/nix/store/i86mwbl0ww1ch3yvnh50298kgmrlwf7k-rust_percent-encoding-1.0.1/lib/libpercent_encoding-a28ed4e917.rlib" "/nix/store/72vgp0r027hfr687y9irkrw752ikm9zj-rust_idna-0.1.4/lib/libidna-5395da91df.rlib" "/nix/store/11hkfxvgldp22m0rg2a086ffq7s0976z-rust_unicode-normalization-0.1.7/lib/libunicode_normalization-f78322e4a6.rlib" "/nix/store/f7va54byx9bzzbx7rnl4yc8kmb53by9l-rust_unicode-bidi-0.3.4/lib/libunicode_bidi-6046bcca92.rlib" "/nix/store/95yrvpxbsiflg5kh3abi58jmxrckh3g6-rust_matches-0.1.6/lib/libmatches-f9aee7205d.rlib" "/nix/store/zxflzv3i4mihxqfby6ns8cnj353xnn8p-rust_regex-0.2.11/lib/libregex-09a543bbfb.rlib" "/nix/store/badjvcldp22xh5dxy7shz82vah49scim-rust_utf8-ranges-1.0.0/lib/libutf8_ranges-8c3ad0a891.rlib" "/nix/store/nxw9f1y27g1g2wrckfqzxi6846zn02mz-rust_regex-syntax-0.5.6/lib/libregex_syntax-4f74626ec7.rlib" "/nix/store/7x1iyavq19d4mwwy12f6k0s1qdp68vpl-rust_ucd-util-0.1.1/lib/libucd_util-acaa559ac5.rlib" "/nix/store/g8y1f04g65dnsva6jcb86spv2fz7pnrz-rust_thread_local-0.3.5/lib/libthread_local-d01e19a1e2.rlib" "/nix/store/1076piwd4qglxhz1yz9fraaij51922bx-rust_unreachable-1.0.0/lib/libunreachable-57900dbc82.rlib" "/nix/store/c4j4rcrrpm6zlldvb5kahjhihx43ajal-rust_void-1.0.2/lib/libvoid-f243064ce9.rlib" "/nix/store/03r1czyqpb2xasyiwcf5bnfagc35cf55-rust_aho-corasick-0.6.4/lib/libaho_corasick-d05e7997a7.rlib" "/nix/store/jr85lficjjws782d2ra18ljxly2kd4yf-rust_memchr-2.0.1/lib/libmemchr-b7ca66603c.rlib" "/nix/store/phaglmr2bkxmz692784lqs1xld8d6kyr-rust_libc-0.2.40/lib/liblibc-ab4db33eb0.rlib" "/nix/store/rn2hv9w4by2xyacw4jz0nc8722jvx1my-rust_semver-0.9.0/lib/libsemver-a6ebae24ce.rlib" "/nix/store/bb0qxa1p7w98y38116qp6kl2rx56a48j-rust_serde-1.0.55/lib/libserde-824c166304.rlib" "/nix/store/rsl15wb4v6s86adxsprx3iqgwy9yd9xv-rust_semver-parser-0.7.0/lib/libsemver_parser-a833eac115.rlib" "/nix/store/lhbwj5zdh5v4l7igcdsqdsyy3nmr8k0y-rust_array_tool-1.0.3/lib/libarray_tool-8b61f8258d.rlib" "/nix/store/mvxzjahjg7vhhwq3c5annx91bvkl6c54-rust_lazy_static-1.0.0/lib/liblazy_static-22260e16c6.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/libstd-99517fd8418575af.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-735653faa89a3d8f.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc_jemalloc-1660f8dbf2c9cc18.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/libunwind-eb0119466dc7dd45.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc_system-c5d62d76b40af347.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/liblibc-83516d828d0ef89a.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc-1803f97b225509de.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/libstd_unicode-e13d4f6802109bfb.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/libcore-912ae50db7c2aa0f.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-b2d2cff1928b4d96.rlib" "-l" "crypto" "-l" "git2" "-l" "ssh2" "-l" "ssl" "-l" "z" "-l" "crypto" "-l" "git2" "-l" "ssh2" "-l" "ssl" "-l" "z" "-l" "crypto" "-l" "ssh2" "-l" "ssl" "-l" "z" "-l" "z" "-l" "curl" "-l" "crypto" "-l" "ssl" "-l" "z" "-l" "System" "-l" "resolv" "-l" "pthread" "-l" "c" "-l" "m"
  = note: ld: library not found for -lcurl
          clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error

builder for '/nix/store/p7yvazx9hbsgh08n0j6b06183qin869l-cargo-update-1.5.2.drv' failed with exit code 101
error: build of '/nix/store/p7yvazx9hbsgh08n0j6b06183qin869l-cargo-update-1.5.2.drv' failed

@matthewbauer
Copy link
Member

Looks like you need to add curl as a dependency.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: cargo-update

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/w6pn67dy557wv31igvkcv701ndk0cr3b-cargo-update-1.5.2
shrinking /nix/store/w6pn67dy557wv31igvkcv701ndk0cr3b-cargo-update-1.5.2/bin/cargo-install-update-config
shrinking /nix/store/w6pn67dy557wv31igvkcv701ndk0cr3b-cargo-update-1.5.2/bin/cargo-install-update
shrinking /nix/store/w6pn67dy557wv31igvkcv701ndk0cr3b-cargo-update-1.5.2/lib/cargo-update/build_script_build
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/w6pn67dy557wv31igvkcv701ndk0cr3b-cargo-update-1.5.2/lib  /nix/store/w6pn67dy557wv31igvkcv701ndk0cr3b-cargo-update-1.5.2/bin
patching script interpreter paths in /nix/store/w6pn67dy557wv31igvkcv701ndk0cr3b-cargo-update-1.5.2
checking for references to /build in /nix/store/w6pn67dy557wv31igvkcv701ndk0cr3b-cargo-update-1.5.2...
/nix/store/w6pn67dy557wv31igvkcv701ndk0cr3b-cargo-update-1.5.2

@matthewbauer
Copy link
Member

Actually that's probably not needed. I think we need to make curl propagate in cargo:

https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/rust/default-crate-overrides.nix#L22

/cc @Mic92

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: cargo-update

Partial log (click to expand)

cannot build derivation '/nix/store/zgs2qm8zkjp830vsm8qas2qg1lnq7x4y-rust_thread_local-0.3.5.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/xz8sraly1yrx38189f745jp9m3qalj7i-rust_lazysort-0.2.0.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/80s954471x7pxfijri0r6wbahiim98wg-rust_libgit2-sys-0.6.19.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/63kv3shnwk4d2fpih8znqhrgjyydizlq-rust_regex-0.2.11.drv': 11 dependencies couldn't be built
cannot build derivation '/nix/store/j29ljyy5a84lglqh15774wdkyvbbdsds-rust_syn-0.13.10.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/p30dak0anxwi0cq3bb0a97avkcdxfz77-rust_url-1.7.0.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/b7n23946sx2pkw39l2ycn7mdf1ihbw00-rust_git2-0.6.11.drv': 15 dependencies couldn't be built
cannot build derivation '/nix/store/vkwk6r6wqni2aq0b8d4dfwi429f4kgkx-rust_serde_derive-1.0.55.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/fbm0qs85dz8ql7gdv27cv98szlxngd27-cargo-update-1.5.2.drv': 50 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/fbm0qs85dz8ql7gdv27cv98szlxngd27-cargo-update-1.5.2.drv' failed

@Gerschtli
Copy link
Contributor Author

What and where should I do this?

@@ -0,0 +1,27 @@
{ stdenv, defaultCrateOverrides, fetchFromGitHub, cmake, libssh2, libgit2, openssl, zlib }:

((import ./cargo-update.nix).cargo_update {}).override {
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't look right. Why not use rustPlatform.buildRustPackage?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As mentioned in the PR description: I need to use carnix because rustPlatform.buildRustPackage depends on having an up-to-date Cargo.lock at the root of the src, but in the repo is no Cargo.lock checked in.

@matthewbauer
Copy link
Member

@GrahamcOfBorg build cargo-update

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: cargo-update

Partial log (click to expand)

  14: std::rt::lang_start_internal
  15: main
  16: __libc_start_main
  17: _start
             at ../sysdeps/x86_64/start.S:120
builder for '/nix/store/b6bnc2mf0xd2b06kslhmcgjr6anpm4x9-rust_curl-sys-0.4.5.drv' failed with exit code 101
cannot build derivation '/nix/store/b676bm2zbpij293h06575riv754xxjcg-rust_libgit2-sys-0.6.19.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/4ayyxh0w58vq1h8xacls1c8kxl0cbqqk-rust_git2-0.6.11.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/zfki0xdgqxy66awfwyk9qb9qx16cp4bj-cargo-update-1.5.2.drv': 3 dependencies couldn't be built
error: build of '/nix/store/zfki0xdgqxy66awfwyk9qb9qx16cp4bj-cargo-update-1.5.2.drv' failed

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: cargo-update

Partial log (click to expand)

  |
  = note: "/nix/store/8b0gj3bmcy5bh1zcnhn0146199b3m5kb-clang-wrapper-5.0.1/bin/cc" "-m64" "-L" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib" "target/bin/cargo_install_update.cargo_install_update0.rcgu.o" "-o" "target/bin/cargo_install_update" "target/bin/cargo_install_update.crate.allocator.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "target/deps" "-L" "/nix/store/29dslwbdcj62xbip0skfl6hi196jwwii-openssl-1.0.2o/lib" "-L" "/nix/store/6vbynss32drq3c22zk08xx08bf87mpif-libgit2-0.26.0/lib" "-L" "/nix/store/mwdkj4cakd5dg62ai11g4dfgswk6q0xx-libssh2-1.8.0/lib" "-L" "/private/tmp/nix-build-cargo-update-1.5.2.drv-0/source/target/build/cargo-update.out" "-L" "/nix/store/29dslwbdcj62xbip0skfl6hi196jwwii-openssl-1.0.2o/lib" "-L" "/nix/store/6vbynss32drq3c22zk08xx08bf87mpif-libgit2-0.26.0/lib" "-L" "/nix/store/mwdkj4cakd5dg62ai11g4dfgswk6q0xx-libssh2-1.8.0/lib" "-L" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib" "-l" "crypto" "-l" "git2" "-l" "ssh2" "-l" "ssl" "-l" "z" "/nix/store/jdvpi753j7x6rrykgfqwaq1lj9kzjy7d-rust_lazysort-0.2.0/lib/liblazysort-a673201c10.rlib" "/nix/store/lw676375jm4dwwq5dk1l8qlqbbihimff-rust_tabwriter-1.0.4/lib/libtabwriter-6e31b879a2.rlib" "/private/tmp/nix-build-cargo-update-1.5.2.drv-0/source/target/lib/libcargo_update-a6c6532369.rlib" "/nix/store/9m8ya9zdr8rid00i8qfp3aicm7ncdsji-rust_json-0.11.13/lib/libjson-db30f20105.rlib" "/nix/store/b7adkmkild5d0zb4pcrsg8p11zq61bd1-rust_toml-0.4.6/lib/libtoml-dc1befc411.rlib" "/nix/store/4ddgbqlxs5ivxpjslja0a8dgj2awm4xg-rust_clap-2.31.2/lib/libclap-05c8d40026.rlib" "/nix/store/z51g5s2mi8fa5nm8mlw936cry9ngl1pa-rust_vec_map-0.8.1/lib/libvec_map-20faf5a476.rlib" "/nix/store/szf4l5r87zf7s9x1y1fyc6vnp6glmflh-rust_textwrap-0.9.0/lib/libtextwrap-ee2581418e.rlib" "/nix/store/dxmfdr5kxdy8c7qnn6qp5c64xmwhgq6y-rust_unicode-width-0.1.4/lib/libunicode_width-9ed119bc62.rlib" "/nix/store/cghfzdd8x36zfay6mbxipckqbh9f8bs7-rust_strsim-0.7.0/lib/libstrsim-393d28cce2.rlib" "/nix/store/prfpdyh81vhq41avf22lgc57hjml2kx9-rust_bitflags-1.0.3/lib/libbitflags-afa45b3d15.rlib" "/nix/store/d3pf9zdgi4vsm92815j7jhv6lwlis462-rust_atty-0.2.10/lib/libatty-1108b8d84e.rlib" "/nix/store/gbdsg9izb21k6lg0djg6sw1sfipvslpc-rust_ansi_term-0.11.0/lib/libansi_term-d76e0a7053.rlib" "/nix/store/nhsljyh55c3sw02skjpn73vgl4hnrk24-rust_git2-0.6.11/lib/libgit2-07245a34c4.rlib" "/nix/store/88r3rzbllxsbcli2yfkbjwhf3fffj8da-rust_bitflags-0.9.1/lib/libbitflags-445faa7b4b.rlib" "/nix/store/qc3af5p9z0ni0yqzldxkddzc1spk639b-rust_libgit2-sys-0.6.19/lib/liblibgit2_sys-b023bcc527.rlib" "/nix/store/65m4asxd0m5c01cxas7p9k4ib48mfhy1-rust_curl-sys-0.4.5/lib/libcurl_sys-707bd507e2.rlib" "/nix/store/fp57zdynjaj4pgvmby9zmwx4avz7kzvg-rust_libssh2-sys-0.2.7/lib/liblibssh2_sys-e29697162d.rlib" "/nix/store/773biml1g5jqcxnjnjl11z7n1ia4qcj2-rust_openssl-sys-0.9.30/lib/libopenssl_sys-416ff2e55d.rlib" "/nix/store/557iffdd1c78rm88g9adni2r45layc1q-rust_libz-sys-1.0.18/lib/liblibz_sys-549bb9a94b.rlib" "/nix/store/v5hm90i7xviq9mp2isc1mrmk0rav94d6-rust_url-1.7.0/lib/liburl-c9217c085c.rlib" "/nix/store/i86mwbl0ww1ch3yvnh50298kgmrlwf7k-rust_percent-encoding-1.0.1/lib/libpercent_encoding-a28ed4e917.rlib" "/nix/store/72vgp0r027hfr687y9irkrw752ikm9zj-rust_idna-0.1.4/lib/libidna-5395da91df.rlib" "/nix/store/11hkfxvgldp22m0rg2a086ffq7s0976z-rust_unicode-normalization-0.1.7/lib/libunicode_normalization-f78322e4a6.rlib" "/nix/store/f7va54byx9bzzbx7rnl4yc8kmb53by9l-rust_unicode-bidi-0.3.4/lib/libunicode_bidi-6046bcca92.rlib" "/nix/store/95yrvpxbsiflg5kh3abi58jmxrckh3g6-rust_matches-0.1.6/lib/libmatches-f9aee7205d.rlib" "/nix/store/zxflzv3i4mihxqfby6ns8cnj353xnn8p-rust_regex-0.2.11/lib/libregex-09a543bbfb.rlib" "/nix/store/badjvcldp22xh5dxy7shz82vah49scim-rust_utf8-ranges-1.0.0/lib/libutf8_ranges-8c3ad0a891.rlib" "/nix/store/nxw9f1y27g1g2wrckfqzxi6846zn02mz-rust_regex-syntax-0.5.6/lib/libregex_syntax-4f74626ec7.rlib" "/nix/store/7x1iyavq19d4mwwy12f6k0s1qdp68vpl-rust_ucd-util-0.1.1/lib/libucd_util-acaa559ac5.rlib" "/nix/store/g8y1f04g65dnsva6jcb86spv2fz7pnrz-rust_thread_local-0.3.5/lib/libthread_local-d01e19a1e2.rlib" "/nix/store/1076piwd4qglxhz1yz9fraaij51922bx-rust_unreachable-1.0.0/lib/libunreachable-57900dbc82.rlib" "/nix/store/c4j4rcrrpm6zlldvb5kahjhihx43ajal-rust_void-1.0.2/lib/libvoid-f243064ce9.rlib" "/nix/store/03r1czyqpb2xasyiwcf5bnfagc35cf55-rust_aho-corasick-0.6.4/lib/libaho_corasick-d05e7997a7.rlib" "/nix/store/jr85lficjjws782d2ra18ljxly2kd4yf-rust_memchr-2.0.1/lib/libmemchr-b7ca66603c.rlib" "/nix/store/phaglmr2bkxmz692784lqs1xld8d6kyr-rust_libc-0.2.40/lib/liblibc-ab4db33eb0.rlib" "/nix/store/rn2hv9w4by2xyacw4jz0nc8722jvx1my-rust_semver-0.9.0/lib/libsemver-a6ebae24ce.rlib" "/nix/store/bb0qxa1p7w98y38116qp6kl2rx56a48j-rust_serde-1.0.55/lib/libserde-824c166304.rlib" "/nix/store/rsl15wb4v6s86adxsprx3iqgwy9yd9xv-rust_semver-parser-0.7.0/lib/libsemver_parser-a833eac115.rlib" "/nix/store/lhbwj5zdh5v4l7igcdsqdsyy3nmr8k0y-rust_array_tool-1.0.3/lib/libarray_tool-8b61f8258d.rlib" "/nix/store/mvxzjahjg7vhhwq3c5annx91bvkl6c54-rust_lazy_static-1.0.0/lib/liblazy_static-22260e16c6.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/libstd-99517fd8418575af.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-735653faa89a3d8f.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc_jemalloc-1660f8dbf2c9cc18.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/libunwind-eb0119466dc7dd45.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc_system-c5d62d76b40af347.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/liblibc-83516d828d0ef89a.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc-1803f97b225509de.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/libstd_unicode-e13d4f6802109bfb.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/libcore-912ae50db7c2aa0f.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-b2d2cff1928b4d96.rlib" "-l" "crypto" "-l" "git2" "-l" "ssh2" "-l" "ssl" "-l" "z" "-l" "crypto" "-l" "git2" "-l" "ssh2" "-l" "ssl" "-l" "z" "-l" "crypto" "-l" "ssh2" "-l" "ssl" "-l" "z" "-l" "z" "-l" "curl" "-l" "crypto" "-l" "ssl" "-l" "z" "-l" "System" "-l" "resolv" "-l" "pthread" "-l" "c" "-l" "m"
  = note: ld: library not found for -lcurl
          clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error

builder for '/nix/store/4vqz5svdv5p886xkw16p2z0nz2899pwf-cargo-update-1.5.2.drv' failed with exit code 101
error: build of '/nix/store/4vqz5svdv5p886xkw16p2z0nz2899pwf-cargo-update-1.5.2.drv' failed

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: cargo-update

Partial log (click to expand)

cannot build derivation '/nix/store/zgs2qm8zkjp830vsm8qas2qg1lnq7x4y-rust_thread_local-0.3.5.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/xz8sraly1yrx38189f745jp9m3qalj7i-rust_lazysort-0.2.0.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/k6r37s27a56b1kng621kpszdj1fia6z4-rust_libgit2-sys-0.6.19.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/63kv3shnwk4d2fpih8znqhrgjyydizlq-rust_regex-0.2.11.drv': 11 dependencies couldn't be built
cannot build derivation '/nix/store/j29ljyy5a84lglqh15774wdkyvbbdsds-rust_syn-0.13.10.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/p30dak0anxwi0cq3bb0a97avkcdxfz77-rust_url-1.7.0.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/h5b2zbppygab2bk80a7yki63b03wha86-rust_git2-0.6.11.drv': 15 dependencies couldn't be built
cannot build derivation '/nix/store/vkwk6r6wqni2aq0b8d4dfwi429f4kgkx-rust_serde_derive-1.0.55.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/33msvccx3jc5ky1z2bnympns5bd4a3fd-cargo-update-1.5.2.drv': 50 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/33msvccx3jc5ky1z2bnympns5bd4a3fd-cargo-update-1.5.2.drv' failed

@Gerschtli
Copy link
Contributor Author

Gerschtli commented May 19, 2018

@P-E-Meunier do you have any idea? you seem very involved in carnix in nixpkgs

@Mic92
Copy link
Member

Mic92 commented May 19, 2018

As mentioned cargo-update needs an entry in default-crate-overrides.nix to add curl.

@P-E-Meunier
Copy link
Contributor

Actually curl-sys needs an entry in default-crate-overrides.nix. You can find plenty of examples already in that file.

@Gerschtli
Copy link
Contributor Author

@Mic92
Copy link
Member

Mic92 commented May 19, 2018

Yes. It also has curl-sys build and fails to build cargo-update looking at the logs.

@Mic92
Copy link
Member

Mic92 commented May 19, 2018

@GrahamcOfBorg build cargo-update

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: cargo-update

Partial log (click to expand)

  |
  = note: "/nix/store/8b0gj3bmcy5bh1zcnhn0146199b3m5kb-clang-wrapper-5.0.1/bin/cc" "-m64" "-L" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib" "target/bin/cargo_install_update.cargo_install_update0.rcgu.o" "-o" "target/bin/cargo_install_update" "target/bin/cargo_install_update.crate.allocator.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "target/deps" "-L" "/nix/store/29dslwbdcj62xbip0skfl6hi196jwwii-openssl-1.0.2o/lib" "-L" "/nix/store/6vbynss32drq3c22zk08xx08bf87mpif-libgit2-0.26.0/lib" "-L" "/nix/store/mwdkj4cakd5dg62ai11g4dfgswk6q0xx-libssh2-1.8.0/lib" "-L" "/private/tmp/nix-build-cargo-update-1.5.2.drv-0/source/target/build/cargo-update.out" "-L" "/nix/store/29dslwbdcj62xbip0skfl6hi196jwwii-openssl-1.0.2o/lib" "-L" "/nix/store/6vbynss32drq3c22zk08xx08bf87mpif-libgit2-0.26.0/lib" "-L" "/nix/store/mwdkj4cakd5dg62ai11g4dfgswk6q0xx-libssh2-1.8.0/lib" "-L" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib" "-l" "crypto" "-l" "git2" "-l" "ssh2" "-l" "ssl" "-l" "z" "/nix/store/jdvpi753j7x6rrykgfqwaq1lj9kzjy7d-rust_lazysort-0.2.0/lib/liblazysort-a673201c10.rlib" "/nix/store/lw676375jm4dwwq5dk1l8qlqbbihimff-rust_tabwriter-1.0.4/lib/libtabwriter-6e31b879a2.rlib" "/private/tmp/nix-build-cargo-update-1.5.2.drv-0/source/target/lib/libcargo_update-a6c6532369.rlib" "/nix/store/9m8ya9zdr8rid00i8qfp3aicm7ncdsji-rust_json-0.11.13/lib/libjson-db30f20105.rlib" "/nix/store/b7adkmkild5d0zb4pcrsg8p11zq61bd1-rust_toml-0.4.6/lib/libtoml-dc1befc411.rlib" "/nix/store/4ddgbqlxs5ivxpjslja0a8dgj2awm4xg-rust_clap-2.31.2/lib/libclap-05c8d40026.rlib" "/nix/store/z51g5s2mi8fa5nm8mlw936cry9ngl1pa-rust_vec_map-0.8.1/lib/libvec_map-20faf5a476.rlib" "/nix/store/szf4l5r87zf7s9x1y1fyc6vnp6glmflh-rust_textwrap-0.9.0/lib/libtextwrap-ee2581418e.rlib" "/nix/store/dxmfdr5kxdy8c7qnn6qp5c64xmwhgq6y-rust_unicode-width-0.1.4/lib/libunicode_width-9ed119bc62.rlib" "/nix/store/cghfzdd8x36zfay6mbxipckqbh9f8bs7-rust_strsim-0.7.0/lib/libstrsim-393d28cce2.rlib" "/nix/store/prfpdyh81vhq41avf22lgc57hjml2kx9-rust_bitflags-1.0.3/lib/libbitflags-afa45b3d15.rlib" "/nix/store/d3pf9zdgi4vsm92815j7jhv6lwlis462-rust_atty-0.2.10/lib/libatty-1108b8d84e.rlib" "/nix/store/gbdsg9izb21k6lg0djg6sw1sfipvslpc-rust_ansi_term-0.11.0/lib/libansi_term-d76e0a7053.rlib" "/nix/store/b32gk7w19wx3hxspswplf9jk0mnla6s7-rust_git2-0.6.11/lib/libgit2-07245a34c4.rlib" "/nix/store/88r3rzbllxsbcli2yfkbjwhf3fffj8da-rust_bitflags-0.9.1/lib/libbitflags-445faa7b4b.rlib" "/nix/store/l9ax0c35cmbkwcd8r8wcaahkv7d91cw8-rust_libgit2-sys-0.6.19/lib/liblibgit2_sys-b023bcc527.rlib" "/nix/store/w4a07c6kvfaxgymwy246m59kjbnak5s0-rust_curl-sys-0.4.5/lib/libcurl_sys-707bd507e2.rlib" "/nix/store/fp57zdynjaj4pgvmby9zmwx4avz7kzvg-rust_libssh2-sys-0.2.7/lib/liblibssh2_sys-e29697162d.rlib" "/nix/store/773biml1g5jqcxnjnjl11z7n1ia4qcj2-rust_openssl-sys-0.9.30/lib/libopenssl_sys-416ff2e55d.rlib" "/nix/store/557iffdd1c78rm88g9adni2r45layc1q-rust_libz-sys-1.0.18/lib/liblibz_sys-549bb9a94b.rlib" "/nix/store/v5hm90i7xviq9mp2isc1mrmk0rav94d6-rust_url-1.7.0/lib/liburl-c9217c085c.rlib" "/nix/store/i86mwbl0ww1ch3yvnh50298kgmrlwf7k-rust_percent-encoding-1.0.1/lib/libpercent_encoding-a28ed4e917.rlib" "/nix/store/72vgp0r027hfr687y9irkrw752ikm9zj-rust_idna-0.1.4/lib/libidna-5395da91df.rlib" "/nix/store/11hkfxvgldp22m0rg2a086ffq7s0976z-rust_unicode-normalization-0.1.7/lib/libunicode_normalization-f78322e4a6.rlib" "/nix/store/f7va54byx9bzzbx7rnl4yc8kmb53by9l-rust_unicode-bidi-0.3.4/lib/libunicode_bidi-6046bcca92.rlib" "/nix/store/95yrvpxbsiflg5kh3abi58jmxrckh3g6-rust_matches-0.1.6/lib/libmatches-f9aee7205d.rlib" "/nix/store/zxflzv3i4mihxqfby6ns8cnj353xnn8p-rust_regex-0.2.11/lib/libregex-09a543bbfb.rlib" "/nix/store/badjvcldp22xh5dxy7shz82vah49scim-rust_utf8-ranges-1.0.0/lib/libutf8_ranges-8c3ad0a891.rlib" "/nix/store/nxw9f1y27g1g2wrckfqzxi6846zn02mz-rust_regex-syntax-0.5.6/lib/libregex_syntax-4f74626ec7.rlib" "/nix/store/7x1iyavq19d4mwwy12f6k0s1qdp68vpl-rust_ucd-util-0.1.1/lib/libucd_util-acaa559ac5.rlib" "/nix/store/g8y1f04g65dnsva6jcb86spv2fz7pnrz-rust_thread_local-0.3.5/lib/libthread_local-d01e19a1e2.rlib" "/nix/store/1076piwd4qglxhz1yz9fraaij51922bx-rust_unreachable-1.0.0/lib/libunreachable-57900dbc82.rlib" "/nix/store/c4j4rcrrpm6zlldvb5kahjhihx43ajal-rust_void-1.0.2/lib/libvoid-f243064ce9.rlib" "/nix/store/03r1czyqpb2xasyiwcf5bnfagc35cf55-rust_aho-corasick-0.6.4/lib/libaho_corasick-d05e7997a7.rlib" "/nix/store/jr85lficjjws782d2ra18ljxly2kd4yf-rust_memchr-2.0.1/lib/libmemchr-b7ca66603c.rlib" "/nix/store/phaglmr2bkxmz692784lqs1xld8d6kyr-rust_libc-0.2.40/lib/liblibc-ab4db33eb0.rlib" "/nix/store/rn2hv9w4by2xyacw4jz0nc8722jvx1my-rust_semver-0.9.0/lib/libsemver-a6ebae24ce.rlib" "/nix/store/bb0qxa1p7w98y38116qp6kl2rx56a48j-rust_serde-1.0.55/lib/libserde-824c166304.rlib" "/nix/store/rsl15wb4v6s86adxsprx3iqgwy9yd9xv-rust_semver-parser-0.7.0/lib/libsemver_parser-a833eac115.rlib" "/nix/store/lhbwj5zdh5v4l7igcdsqdsyy3nmr8k0y-rust_array_tool-1.0.3/lib/libarray_tool-8b61f8258d.rlib" "/nix/store/mvxzjahjg7vhhwq3c5annx91bvkl6c54-rust_lazy_static-1.0.0/lib/liblazy_static-22260e16c6.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/libstd-99517fd8418575af.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-735653faa89a3d8f.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc_jemalloc-1660f8dbf2c9cc18.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/libunwind-eb0119466dc7dd45.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc_system-c5d62d76b40af347.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/liblibc-83516d828d0ef89a.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc-1803f97b225509de.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/libstd_unicode-e13d4f6802109bfb.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/libcore-912ae50db7c2aa0f.rlib" "/nix/store/lq1fkripn218mw40k6ryx4q9pbi2qn3j-rustc-1.25.0/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-b2d2cff1928b4d96.rlib" "-l" "crypto" "-l" "git2" "-l" "ssh2" "-l" "ssl" "-l" "z" "-l" "crypto" "-l" "git2" "-l" "ssh2" "-l" "ssl" "-l" "z" "-l" "crypto" "-l" "ssh2" "-l" "ssl" "-l" "z" "-l" "z" "-l" "curl" "-l" "crypto" "-l" "ssl" "-l" "z" "-l" "System" "-l" "resolv" "-l" "pthread" "-l" "c" "-l" "m"
  = note: ld: library not found for -lcurl
          clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error

builder for '/nix/store/4phmyp1gcnqy5c1r1nv3xya7akd684pa-cargo-update-1.5.2.drv' failed with exit code 101
error: build of '/nix/store/4phmyp1gcnqy5c1r1nv3xya7akd684pa-cargo-update-1.5.2.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: cargo-update

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/bvc0ss205j0r8ylxjwigqzcvrwnma00m-cargo-update-1.5.2
shrinking /nix/store/bvc0ss205j0r8ylxjwigqzcvrwnma00m-cargo-update-1.5.2/lib/cargo-update/build_script_build
shrinking /nix/store/bvc0ss205j0r8ylxjwigqzcvrwnma00m-cargo-update-1.5.2/bin/cargo-install-update
shrinking /nix/store/bvc0ss205j0r8ylxjwigqzcvrwnma00m-cargo-update-1.5.2/bin/cargo-install-update-config
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/bvc0ss205j0r8ylxjwigqzcvrwnma00m-cargo-update-1.5.2/lib  /nix/store/bvc0ss205j0r8ylxjwigqzcvrwnma00m-cargo-update-1.5.2/bin
patching script interpreter paths in /nix/store/bvc0ss205j0r8ylxjwigqzcvrwnma00m-cargo-update-1.5.2
checking for references to /build in /nix/store/bvc0ss205j0r8ylxjwigqzcvrwnma00m-cargo-update-1.5.2...
/nix/store/bvc0ss205j0r8ylxjwigqzcvrwnma00m-cargo-update-1.5.2

@@ -19,8 +19,7 @@ in
crateBin = [ { name = "cargo-vendor"; path = "src/main.rs"; } ];
};
curl-sys = attrs: {
buildInputs = [ pkgconfig zlib ];
propagatedBuiltInputs = [ curl ];
Copy link
Member

@Mic92 Mic92 May 19, 2018

Choose a reason for hiding this comment

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

Why was this changed? It might fix the darwin build.

Copy link
Member

Choose a reason for hiding this comment

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

cc @matthewbauer who added this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That wasn't on purpose, fixed it

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: cargo-update

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/z2jk8ppzvqkxk2m202amvdbrv4cc9wxk-cargo-update-1.5.2
shrinking /nix/store/z2jk8ppzvqkxk2m202amvdbrv4cc9wxk-cargo-update-1.5.2/bin/cargo-install-update-config
shrinking /nix/store/z2jk8ppzvqkxk2m202amvdbrv4cc9wxk-cargo-update-1.5.2/bin/cargo-install-update
shrinking /nix/store/z2jk8ppzvqkxk2m202amvdbrv4cc9wxk-cargo-update-1.5.2/lib/cargo-update/build_script_build
strip is /nix/store/jk6j4lh9v5mvjdbdc35sj0zffhhf6s56-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/z2jk8ppzvqkxk2m202amvdbrv4cc9wxk-cargo-update-1.5.2/lib  /nix/store/z2jk8ppzvqkxk2m202amvdbrv4cc9wxk-cargo-update-1.5.2/bin
patching script interpreter paths in /nix/store/z2jk8ppzvqkxk2m202amvdbrv4cc9wxk-cargo-update-1.5.2
checking for references to /build in /nix/store/z2jk8ppzvqkxk2m202amvdbrv4cc9wxk-cargo-update-1.5.2...
/nix/store/z2jk8ppzvqkxk2m202amvdbrv4cc9wxk-cargo-update-1.5.2

@P-E-Meunier
Copy link
Contributor

Wait @Gerschtli, this is going to conflict with #40587. Why not wait until that one is accepted?

@Gerschtli
Copy link
Contributor Author

Sure I can revert this change, but we can now test if this change will fix the builds, just to be save

@Gerschtli
Copy link
Contributor Author

#40808 got merged and includes the fix.

@Gerschtli
Copy link
Contributor Author

What is currently preventing, that this PR gets merged?

@Gerschtli
Copy link
Contributor Author

@matthewbauer @Mic92 @P-E-Meunier : What is currently preventing, that this PR gets merged?

@Gerschtli
Copy link
Contributor Author

Whats the status of this PR?

@Gerschtli
Copy link
Contributor Author

ping

@xeji
Copy link
Contributor

xeji commented Aug 1, 2018

@GrahamcOfBorg build cargo-update

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: cargo-update

Partial log (click to expand)

  |
  = note: "/nix/store/rj7qr5ckrs8jvbkxfrmhlw05azxqh39z-clang-wrapper-5.0.2/bin/cc" "-m64" "-L" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib" "target/bin/cargo_install_update.cargo_install_update0.rcgu.o" "-o" "target/bin/cargo_install_update" "target/bin/cargo_install_update.crate.allocator.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "target/deps" "-L" "/nix/store/3zl8qiyhncrb9x8cg1jwdvvgv3v9rkwp-libssh2-1.8.0/lib" "-L" "/nix/store/ijzskwxjqaphm0inj1chzniygyhs4n9p-openssl-1.0.2o/lib" "-L" "/nix/store/kn42ldl44686396w2iyqybncm79akvzk-libgit2-0.26.0/lib" "-L" "/nix/store/2vv68rv8p3kxzvy4kv3r5snl96wzi0r0-zlib-1.2.11/lib" "-L" "/private/tmp/nix-build-cargo-update-1.5.2.drv-0/source/target/build/cargo-update.out" "-L" "/nix/store/3zl8qiyhncrb9x8cg1jwdvvgv3v9rkwp-libssh2-1.8.0/lib" "-L" "/nix/store/ijzskwxjqaphm0inj1chzniygyhs4n9p-openssl-1.0.2o/lib" "-L" "/nix/store/kn42ldl44686396w2iyqybncm79akvzk-libgit2-0.26.0/lib" "-L" "/nix/store/2vv68rv8p3kxzvy4kv3r5snl96wzi0r0-zlib-1.2.11/lib" "-L" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib" "-l" "crypto" "-l" "git2" "-l" "ssh2" "-l" "ssl" "-l" "z" "/nix/store/ia5zlwglddl1qrkc7dd30msivqgfmb4d-rust_lazysort-0.2.0/lib/liblazysort-a673201c10.rlib" "/nix/store/6yayhhsjibb9zsvywlcl0y9zh17j6zg2-rust_tabwriter-1.0.4/lib/libtabwriter-6e31b879a2.rlib" "/private/tmp/nix-build-cargo-update-1.5.2.drv-0/source/target/lib/libcargo_update-a6c6532369.rlib" "/nix/store/89azzb02dgmqxq7a5h44bb3rk6a7vr64-rust_json-0.11.13/lib/libjson-db30f20105.rlib" "/nix/store/6na4dzdn18c9gg8wh2cjn9a040i3gqpk-rust_toml-0.4.6/lib/libtoml-dc1befc411.rlib" "/nix/store/sn39q3b5li9z1h0p2j791dz10zla5m3h-rust_clap-2.31.2/lib/libclap-05c8d40026.rlib" "/nix/store/4mmlx650sw2mvd97nv2xnhpc7p3wg3vk-rust_vec_map-0.8.1/lib/libvec_map-20faf5a476.rlib" "/nix/store/qs9mda7k25shkagicab920d13xk25i05-rust_textwrap-0.9.0/lib/libtextwrap-ee2581418e.rlib" "/nix/store/d4hf7qn6pnhk5cfxy3sz91ihhc0i158i-rust_unicode-width-0.1.4/lib/libunicode_width-9ed119bc62.rlib" "/nix/store/1gqiwi9vyrq5p9nrd6dxplizhkdhp910-rust_strsim-0.7.0/lib/libstrsim-393d28cce2.rlib" "/nix/store/qi5svvylqhd61jfxws3c29r7phgmkzk7-rust_bitflags-1.0.3/lib/libbitflags-afa45b3d15.rlib" "/nix/store/62lv437d386cd3zzid5wc9xmx27sc6n4-rust_atty-0.2.10/lib/libatty-1108b8d84e.rlib" "/nix/store/rg3kw7kr53brva9fkpka41ra3j2d57aa-rust_ansi_term-0.11.0/lib/libansi_term-d76e0a7053.rlib" "/nix/store/4plv1ng9i8bycnp45hlxj36lnl932c1l-rust_git2-0.6.11/lib/libgit2-07245a34c4.rlib" "/nix/store/svxv697s24lh6bmda23zz5n1v352vmjk-rust_bitflags-0.9.1/lib/libbitflags-445faa7b4b.rlib" "/nix/store/024iyrkia2lw6na937frj7q29rbrcd16-rust_libgit2-sys-0.6.19/lib/liblibgit2_sys-b023bcc527.rlib" "/nix/store/6lgpdjzi4x49xx5ws66vmqz4j1kb07is-rust_curl-sys-0.4.5/lib/libcurl_sys-707bd507e2.rlib" "/nix/store/qmg3dv23yv21ip4bhmapn0m7whqi3623-rust_libssh2-sys-0.2.7/lib/liblibssh2_sys-e29697162d.rlib" "/nix/store/wh3vzbbx4nzgbh495l6sfqq2fy2k1m0a-rust_openssl-sys-0.9.30/lib/libopenssl_sys-416ff2e55d.rlib" "/nix/store/jk2d4qfwf5bbr6rix04yp0absqzx853a-rust_libz-sys-1.0.18/lib/liblibz_sys-549bb9a94b.rlib" "/nix/store/n7p8mffjf2d625v71b05i8j1mrywkf37-rust_url-1.7.0/lib/liburl-c9217c085c.rlib" "/nix/store/nz0rsgvvyii5kj5gf5pn378xbl9n76vz-rust_percent-encoding-1.0.1/lib/libpercent_encoding-a28ed4e917.rlib" "/nix/store/yr2xkd976f2vpq29ssrsd7r1jmils333-rust_idna-0.1.4/lib/libidna-5395da91df.rlib" "/nix/store/j79jjfy3k8ag09113lym3jh3byds5ywz-rust_unicode-normalization-0.1.7/lib/libunicode_normalization-f78322e4a6.rlib" "/nix/store/22rl3wa5gac2j2v4ajlzqvqnfni0hljz-rust_unicode-bidi-0.3.4/lib/libunicode_bidi-6046bcca92.rlib" "/nix/store/77873gk6drpdgmg4kdpf08gn6j5w05h6-rust_matches-0.1.6/lib/libmatches-f9aee7205d.rlib" "/nix/store/xddpi94gv0c86nm2586mg8mgkmj1v07j-rust_regex-0.2.11/lib/libregex-09a543bbfb.rlib" "/nix/store/pd7jx75anqq7n3byg3lfmif6dsy8zhs6-rust_utf8-ranges-1.0.0/lib/libutf8_ranges-8c3ad0a891.rlib" "/nix/store/cw330brp289bzpx3ssxcijbqakwj6lw6-rust_regex-syntax-0.5.6/lib/libregex_syntax-4f74626ec7.rlib" "/nix/store/dd505ch0q7qw2hkwpajzpwq3s5bk4ray-rust_ucd-util-0.1.1/lib/libucd_util-acaa559ac5.rlib" "/nix/store/spsk7718r86s0c92rr012xzkrgkpnxx2-rust_thread_local-0.3.5/lib/libthread_local-d01e19a1e2.rlib" "/nix/store/03qy1hdp3g44blcqxjcm829vfilwxja3-rust_unreachable-1.0.0/lib/libunreachable-57900dbc82.rlib" "/nix/store/w19p962njmn8mpqrp52kc5ca567iy619-rust_void-1.0.2/lib/libvoid-f243064ce9.rlib" "/nix/store/n3brqxljhkigqyfh2cfzngzslyz7h73b-rust_aho-corasick-0.6.4/lib/libaho_corasick-d05e7997a7.rlib" "/nix/store/xsgq8h1fdqv3hv2pqn8hg86bvy618c81-rust_memchr-2.0.1/lib/libmemchr-b7ca66603c.rlib" "/nix/store/0ir5wp7n513b08dfddns0mmpvp22c6vx-rust_libc-0.2.40/lib/liblibc-ab4db33eb0.rlib" "/nix/store/msmi1c0x0xi81psymgw0c4ww34m72v4w-rust_semver-0.9.0/lib/libsemver-a6ebae24ce.rlib" "/nix/store/nlrs6nzrxrxfd0jrmj7zyap86mqxkis4-rust_serde-1.0.55/lib/libserde-824c166304.rlib" "/nix/store/2w60mwyd6bslm0wk0lid4f5s296irz87-rust_semver-parser-0.7.0/lib/libsemver_parser-a833eac115.rlib" "/nix/store/3cmzlarja3i7zidqhlfrscb946jqafps-rust_array_tool-1.0.3/lib/libarray_tool-8b61f8258d.rlib" "/nix/store/d9hpy2310q96ykks51di6lifdy8bi1x8-rust_lazy_static-1.0.0/lib/liblazy_static-22260e16c6.rlib" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib/libstd-fecd5adb74a93ebf.rlib" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-965da75eab2650a2.rlib" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc_jemalloc-56497464484b5a48.rlib" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib/libunwind-b423cf2bfed56b09.rlib" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc_system-7b57f95be3b4d6ee.rlib" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib/liblibc-78f0276a5e29a88d.rlib" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc-c4ee2f7961796856.rlib" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib/libcore-d6fce06e1bd3d804.rlib" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-0ad09ca2aab51df0.rlib" "-l" "crypto" "-l" "git2" "-l" "ssh2" "-l" "ssl" "-l" "z" "-l" "crypto" "-l" "git2" "-l" "ssh2" "-l" "ssl" "-l" "z" "-l" "crypto" "-l" "ssh2" "-l" "ssl" "-l" "z" "-l" "z" "-l" "curl" "-l" "crypto" "-l" "ssl" "-l" "z" "-l" "System" "-l" "resolv" "-l" "pthread" "-l" "c" "-l" "m"
  = note: ld: library not found for -lcurl
          clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: aborting due to previous error

builder for '/nix/store/5nbpjj47yf1hsx3ngm8rngk44rpp6kvy-cargo-update-1.5.2.drv' failed with exit code 101
error: build of '/nix/store/5nbpjj47yf1hsx3ngm8rngk44rpp6kvy-cargo-update-1.5.2.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: cargo-update

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/yp74dbps6f34k1kh2ki5r6i74ral37z0-cargo-update-1.5.2
shrinking /nix/store/yp74dbps6f34k1kh2ki5r6i74ral37z0-cargo-update-1.5.2/bin/cargo-install-update-config
shrinking /nix/store/yp74dbps6f34k1kh2ki5r6i74ral37z0-cargo-update-1.5.2/bin/cargo-install-update
shrinking /nix/store/yp74dbps6f34k1kh2ki5r6i74ral37z0-cargo-update-1.5.2/lib/cargo-update/build_script_build
strip is /nix/store/1hi76hr87bd1y1q1qjk0lv8nmcjip1c8-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/yp74dbps6f34k1kh2ki5r6i74ral37z0-cargo-update-1.5.2/lib  /nix/store/yp74dbps6f34k1kh2ki5r6i74ral37z0-cargo-update-1.5.2/bin
patching script interpreter paths in /nix/store/yp74dbps6f34k1kh2ki5r6i74ral37z0-cargo-update-1.5.2
checking for references to /build in /nix/store/yp74dbps6f34k1kh2ki5r6i74ral37z0-cargo-update-1.5.2...
/nix/store/yp74dbps6f34k1kh2ki5r6i74ral37z0-cargo-update-1.5.2

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: cargo-update

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/afks1k9j8jl3x2226b3yrr5d7jmy2l98-cargo-update-1.5.2
shrinking /nix/store/afks1k9j8jl3x2226b3yrr5d7jmy2l98-cargo-update-1.5.2/bin/cargo-install-update-config
shrinking /nix/store/afks1k9j8jl3x2226b3yrr5d7jmy2l98-cargo-update-1.5.2/bin/cargo-install-update
shrinking /nix/store/afks1k9j8jl3x2226b3yrr5d7jmy2l98-cargo-update-1.5.2/lib/cargo-update/build_script_build
strip is /nix/store/zrs21zqcchgyabjf4xfimncdq16njizc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/afks1k9j8jl3x2226b3yrr5d7jmy2l98-cargo-update-1.5.2/lib  /nix/store/afks1k9j8jl3x2226b3yrr5d7jmy2l98-cargo-update-1.5.2/bin
patching script interpreter paths in /nix/store/afks1k9j8jl3x2226b3yrr5d7jmy2l98-cargo-update-1.5.2
checking for references to /build in /nix/store/afks1k9j8jl3x2226b3yrr5d7jmy2l98-cargo-update-1.5.2...
/nix/store/afks1k9j8jl3x2226b3yrr5d7jmy2l98-cargo-update-1.5.2

@Gerschtli
Copy link
Contributor Author

Just rebased it to current master, but I can't see the cause of this build failure on darwin, because curl is via extraLinkFlags available, see https://github.com/Gerschtli/nixpkgs/blob/add/cargo-update/pkgs/build-support/rust/default-crate-overrides.nix#L24

@xeji
Copy link
Contributor

xeji commented Aug 2, 2018

@GrahamcOfBorg build cargo-update

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: cargo-update

Partial log (click to expand)

/nix/store/yp74dbps6f34k1kh2ki5r6i74ral37z0-cargo-update-1.5.2

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: cargo-update

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/afks1k9j8jl3x2226b3yrr5d7jmy2l98-cargo-update-1.5.2
shrinking /nix/store/afks1k9j8jl3x2226b3yrr5d7jmy2l98-cargo-update-1.5.2/bin/cargo-install-update-config
shrinking /nix/store/afks1k9j8jl3x2226b3yrr5d7jmy2l98-cargo-update-1.5.2/bin/cargo-install-update
shrinking /nix/store/afks1k9j8jl3x2226b3yrr5d7jmy2l98-cargo-update-1.5.2/lib/cargo-update/build_script_build
strip is /nix/store/zrs21zqcchgyabjf4xfimncdq16njizc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/afks1k9j8jl3x2226b3yrr5d7jmy2l98-cargo-update-1.5.2/lib  /nix/store/afks1k9j8jl3x2226b3yrr5d7jmy2l98-cargo-update-1.5.2/bin
patching script interpreter paths in /nix/store/afks1k9j8jl3x2226b3yrr5d7jmy2l98-cargo-update-1.5.2
checking for references to /build in /nix/store/afks1k9j8jl3x2226b3yrr5d7jmy2l98-cargo-update-1.5.2...
/nix/store/afks1k9j8jl3x2226b3yrr5d7jmy2l98-cargo-update-1.5.2

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: cargo-update

Partial log (click to expand)

�[0m  �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m  �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mnote�[0m�[0m: "/nix/store/rj7qr5ckrs8jvbkxfrmhlw05azxqh39z-clang-wrapper-5.0.2/bin/cc" "-m64" "-L" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib" "target/bin/cargo_install_update.cargo_install_update0.rcgu.o" "-o" "target/bin/cargo_install_update" "target/bin/cargo_install_update.crate.allocator.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "target/deps" "-L" "/nix/store/3zl8qiyhncrb9x8cg1jwdvvgv3v9rkwp-libssh2-1.8.0/lib" "-L" "/nix/store/ijzskwxjqaphm0inj1chzniygyhs4n9p-openssl-1.0.2o/lib" "-L" "/nix/store/kn42ldl44686396w2iyqybncm79akvzk-libgit2-0.26.0/lib" "-L" "/nix/store/2vv68rv8p3kxzvy4kv3r5snl96wzi0r0-zlib-1.2.11/lib" "-L" "/private/tmp/nix-build-cargo-update-1.5.2.drv-0/source/target/build/cargo-update.out" "-L" "/nix/store/3zl8qiyhncrb9x8cg1jwdvvgv3v9rkwp-libssh2-1.8.0/lib" "-L" "/nix/store/ijzskwxjqaphm0inj1chzniygyhs4n9p-openssl-1.0.2o/lib" "-L" "/nix/store/kn42ldl44686396w2iyqybncm79akvzk-libgit2-0.26.0/lib" "-L" "/nix/store/2vv68rv8p3kxzvy4kv3r5snl96wzi0r0-zlib-1.2.11/lib" "-L" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib" "-l" "crypto" "-l" "git2" "-l" "ssh2" "-l" "ssl" "-l" "z" "/nix/store/ia5zlwglddl1qrkc7dd30msivqgfmb4d-rust_lazysort-0.2.0/lib/liblazysort-a673201c10.rlib" "/nix/store/6yayhhsjibb9zsvywlcl0y9zh17j6zg2-rust_tabwriter-1.0.4/lib/libtabwriter-6e31b879a2.rlib" "/private/tmp/nix-build-cargo-update-1.5.2.drv-0/source/target/lib/libcargo_update-a6c6532369.rlib" "/nix/store/89azzb02dgmqxq7a5h44bb3rk6a7vr64-rust_json-0.11.13/lib/libjson-db30f20105.rlib" "/nix/store/6na4dzdn18c9gg8wh2cjn9a040i3gqpk-rust_toml-0.4.6/lib/libtoml-dc1befc411.rlib" "/nix/store/sn39q3b5li9z1h0p2j791dz10zla5m3h-rust_clap-2.31.2/lib/libclap-05c8d40026.rlib" "/nix/store/4mmlx650sw2mvd97nv2xnhpc7p3wg3vk-rust_vec_map-0.8.1/lib/libvec_map-20faf5a476.rlib" "/nix/store/qs9mda7k25shkagicab920d13xk25i05-rust_textwrap-0.9.0/lib/libtextwrap-ee2581418e.rlib" "/nix/store/d4hf7qn6pnhk5cfxy3sz91ihhc0i158i-rust_unicode-width-0.1.4/lib/libunicode_width-9ed119bc62.rlib" "/nix/store/1gqiwi9vyrq5p9nrd6dxplizhkdhp910-rust_strsim-0.7.0/lib/libstrsim-393d28cce2.rlib" "/nix/store/qi5svvylqhd61jfxws3c29r7phgmkzk7-rust_bitflags-1.0.3/lib/libbitflags-afa45b3d15.rlib" "/nix/store/62lv437d386cd3zzid5wc9xmx27sc6n4-rust_atty-0.2.10/lib/libatty-1108b8d84e.rlib" "/nix/store/rg3kw7kr53brva9fkpka41ra3j2d57aa-rust_ansi_term-0.11.0/lib/libansi_term-d76e0a7053.rlib" "/nix/store/4plv1ng9i8bycnp45hlxj36lnl932c1l-rust_git2-0.6.11/lib/libgit2-07245a34c4.rlib" "/nix/store/svxv697s24lh6bmda23zz5n1v352vmjk-rust_bitflags-0.9.1/lib/libbitflags-445faa7b4b.rlib" "/nix/store/024iyrkia2lw6na937frj7q29rbrcd16-rust_libgit2-sys-0.6.19/lib/liblibgit2_sys-b023bcc527.rlib" "/nix/store/6lgpdjzi4x49xx5ws66vmqz4j1kb07is-rust_curl-sys-0.4.5/lib/libcurl_sys-707bd507e2.rlib" "/nix/store/qmg3dv23yv21ip4bhmapn0m7whqi3623-rust_libssh2-sys-0.2.7/lib/liblibssh2_sys-e29697162d.rlib" "/nix/store/wh3vzbbx4nzgbh495l6sfqq2fy2k1m0a-rust_openssl-sys-0.9.30/lib/libopenssl_sys-416ff2e55d.rlib" "/nix/store/jk2d4qfwf5bbr6rix04yp0absqzx853a-rust_libz-sys-1.0.18/lib/liblibz_sys-549bb9a94b.rlib" "/nix/store/n7p8mffjf2d625v71b05i8j1mrywkf37-rust_url-1.7.0/lib/liburl-c9217c085c.rlib" "/nix/store/nz0rsgvvyii5kj5gf5pn378xbl9n76vz-rust_percent-encoding-1.0.1/lib/libpercent_encoding-a28ed4e917.rlib" "/nix/store/yr2xkd976f2vpq29ssrsd7r1jmils333-rust_idna-0.1.4/lib/libidna-5395da91df.rlib" "/nix/store/j79jjfy3k8ag09113lym3jh3byds5ywz-rust_unicode-normalization-0.1.7/lib/libunicode_normalization-f78322e4a6.rlib" "/nix/store/22rl3wa5gac2j2v4ajlzqvqnfni0hljz-rust_unicode-bidi-0.3.4/lib/libunicode_bidi-6046bcca92.rlib" "/nix/store/77873gk6drpdgmg4kdpf08gn6j5w05h6-rust_matches-0.1.6/lib/libmatches-f9aee7205d.rlib" "/nix/store/xddpi94gv0c86nm2586mg8mgkmj1v07j-rust_regex-0.2.11/lib/libregex-09a543bbfb.rlib" "/nix/store/pd7jx75anqq7n3byg3lfmif6dsy8zhs6-rust_utf8-ranges-1.0.0/lib/libutf8_ranges-8c3ad0a891.rlib" "/nix/store/cw330brp289bzpx3ssxcijbqakwj6lw6-rust_regex-syntax-0.5.6/lib/libregex_syntax-4f74626ec7.rlib" "/nix/store/dd505ch0q7qw2hkwpajzpwq3s5bk4ray-rust_ucd-util-0.1.1/lib/libucd_util-acaa559ac5.rlib" "/nix/store/spsk7718r86s0c92rr012xzkrgkpnxx2-rust_thread_local-0.3.5/lib/libthread_local-d01e19a1e2.rlib" "/nix/store/03qy1hdp3g44blcqxjcm829vfilwxja3-rust_unreachable-1.0.0/lib/libunreachable-57900dbc82.rlib" "/nix/store/w19p962njmn8mpqrp52kc5ca567iy619-rust_void-1.0.2/lib/libvoid-f243064ce9.rlib" "/nix/store/n3brqxljhkigqyfh2cfzngzslyz7h73b-rust_aho-corasick-0.6.4/lib/libaho_corasick-d05e7997a7.rlib" "/nix/store/xsgq8h1fdqv3hv2pqn8hg86bvy618c81-rust_memchr-2.0.1/lib/libmemchr-b7ca66603c.rlib" "/nix/store/0ir5wp7n513b08dfddns0mmpvp22c6vx-rust_libc-0.2.40/lib/liblibc-ab4db33eb0.rlib" "/nix/store/msmi1c0x0xi81psymgw0c4ww34m72v4w-rust_semver-0.9.0/lib/libsemver-a6ebae24ce.rlib" "/nix/store/nlrs6nzrxrxfd0jrmj7zyap86mqxkis4-rust_serde-1.0.55/lib/libserde-824c166304.rlib" "/nix/store/2w60mwyd6bslm0wk0lid4f5s296irz87-rust_semver-parser-0.7.0/lib/libsemver_parser-a833eac115.rlib" "/nix/store/3cmzlarja3i7zidqhlfrscb946jqafps-rust_array_tool-1.0.3/lib/libarray_tool-8b61f8258d.rlib" "/nix/store/d9hpy2310q96ykks51di6lifdy8bi1x8-rust_lazy_static-1.0.0/lib/liblazy_static-22260e16c6.rlib" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib/libstd-fecd5adb74a93ebf.rlib" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-965da75eab2650a2.rlib" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc_jemalloc-56497464484b5a48.rlib" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib/libunwind-b423cf2bfed56b09.rlib" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc_system-7b57f95be3b4d6ee.rlib" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib/liblibc-78f0276a5e29a88d.rlib" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc-c4ee2f7961796856.rlib" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib/libcore-d6fce06e1bd3d804.rlib" "/nix/store/xbn8v9d542xi4aiksqfd5kcy55zmjfw8-rustc-1.27.0/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-0ad09ca2aab51df0.rlib" "-l" "crypto" "-l" "git2" "-l" "ssh2" "-l" "ssl" "-l" "z" "-l" "crypto" "-l" "git2" "-l" "ssh2" "-l" "ssl" "-l" "z" "-l" "crypto" "-l" "ssh2" "-l" "ssl" "-l" "z" "-l" "z" "-l" "curl" "-l" "crypto" "-l" "ssl" "-l" "z" "-l" "System" "-l" "resolv" "-l" "pthread" "-l" "c" "-l" "m"�[0m
�[0m  �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mnote�[0m�[0m: ld: library not found for -lcurl�[0m
�[0m          clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)�[0m
�[0m          �[0m

�[0m�[1m�[38;5;9merror�[0m�[0m�[1m: aborting due to previous error�[0m

builder for '/nix/store/5nbpjj47yf1hsx3ngm8rngk44rpp6kvy-cargo-update-1.5.2.drv' failed with exit code 101
�[31;1merror:�[0m build of '/nix/store/5nbpjj47yf1hsx3ngm8rngk44rpp6kvy-cargo-update-1.5.2.drv' failed

@xeji
Copy link
Contributor

xeji commented Aug 2, 2018

Let's merge this and fix darwin later.

@xeji xeji merged commit 219970b into NixOS:master Aug 2, 2018
@Gerschtli Gerschtli deleted the add/cargo-update branch August 2, 2018 08:39
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

6 participants