It seems that the build tool xtask or rather a number of crates that depend on openssl (e.g. cargo) does not build on certain machines (output truncated).
error: linking with `cc` failed: exit status: 1
|
= note: "cc" "-m64" "/tmp/rustcF1YJa3/symbols.o" "/tmp/code/twizzler/.target-xtask/release/deps/xtask-9744db8bb1c39581.xtask.03c0416c-cgu.0.rcgu.o" "/tmp/code/twizzler/.target-xtask/release/deps/xtask-9744db8bb1c39581.xtask.03c0416c-cgu.1.rcgu.o" "/tmp/code/twizzler/.target-xtask/release/deps/xtask-9744db8bb1c39581.xtask.03c0416c-cgu.10.rcgu.o" "/tmp/code/twizzler/.target-xtask/release/deps/xtask-9744db8bb1c39581.xtask.03c0416c-cgu.11.rcgu.o" "/tmp/code/twizzler/.target-xtask/release/deps/xtask-9744db8bb1c39581.xtask.03c0416c-cgu.12.rcgu.o" "/tmp/code/twizzler/.target-xtask/release/deps/xtask-9744db8bb1c39581.xtask.03c0416c-cgu.13.rcgu.o" "/tmp/code/twizzler/.target-xtask/release/deps/xtask-9744db8bb1c39581.xtask.03c0416c-cgu.14.rcgu.o" "/tmp/code/twizzler/.target-xtask/release/deps/xtask-9744db8bb1c39581.xtask.03c0416c-cgu.15.rcgu.o" "/tmp/code/twizzler/.target-xtask/release/deps/xtask-9744db8bb1c39581.xtask.03c0416c-cgu.2.rcgu.o" "/tmp/code/twizzler/.target-xtask/release/deps/xtask-9744db8bb1c39581.xtask.03c0416c-cgu.3.rcgu.o" "/tmp/code/twizzler/.target-xtask/release/deps/xtask-9744db8bb1c39581.xtask.03c0416c-cgu.4.rcgu.o" "/tmp/code/twizzler/.target-xtask/release/deps/xtask-9744db8bb1c39581.xtask.03c0416c-cgu.5.rcgu.o" "/tmp/code/twizzler/.target-xtask/release/deps/xtask-9744db8bb1c39581.xtask.03c0416c-cgu.6.rcgu.o" "/tmp/code/twizzler/.target-xtask/release/deps/xtask-9744db8bb1c39581.xtask.03c0416c-cgu.7.rcgu.o" "/tmp/code/twizzler/.target-xtask/release/deps/xtask-9744db8bb1c39581.xtask.03c0416c-cgu.8.rcgu.o" "/tmp/code/twizzler/.target-xtask/release/deps/xtask-9744db8bb1c39581.xtask.03c0416c-cgu.9.rcgu.o" "/tmp/code/twizzler/.target-xtask/release/deps/xtask-9744db8bb1c39581.3nkapnzv1p5kp5iv.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/code/twizzler/.target-xtask/release/deps" "-L" "/tmp/code/twizzler/.target-xtask/release/build/curl-sys-91b8a818f34096de/out/build" "-L" "/tmp/code/twizzler/.target-xtask/release/build/libnghttp2-sys-7fa3304ccd1f7348/out/i/lib" "-L" "/usr/local/lib" "-L" "/tmp/code/twizzler/.target-xtask/release/build/libgit2-sys-79534443c8e61350/out/build" "-L" "/tmp/code/twizzler/.target-xtask/release/build/libssh2-sys-1256841b7a22c4ea/out/build" "-L" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/code/twizzler/.target-xtask/release/deps/libstrum-1dd4721ef9dc1e95.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libclap-c405e5ca4ce00915.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libtextwrap-174f4c33da6b5151.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libclap_lex-2ac764785b6d6fdd.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libreqwest-35d0a6f8045f362f.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libhyper_tls-4b90d69dfe520535.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libserde_urlencoded-65e06558b6fa2619.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libipnet-a8d716d8e69d217a.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libtokio_native_tls-5337ca80ac6c6307.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libmime-f84be901354451e4.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libencoding_rs-38aab84c2f773aee.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libbase64-4ad12f7ff3162f1f.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libnative_tls-9f8c2d6d57ee4cb2.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libhyper-9b126041865f17e7.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libwant-33d1b58b94d9d177.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libtry_lock-28204e7ce872409a.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libhttparse-2931424ce1811d3a.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libh2-36e003ca33ff30b9.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libtower_service-885800f9f7216ff2.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libtracing-383b06b0d71d3c93.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libtracing_core-117aec217c36683f.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libfutures_util-5ff9c4bbdff8ed51.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libfutures_io-dfe3a5b96ac3d6b3.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libslab-0b421076d34d956a.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libfutures_channel-5e7afc84aafbf90c.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libfutures_task-1dd1ed503ef196a3.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libpin_utils-cfda9a0acf1acb9f.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libtokio_util-941028f4e49ee811.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libfutures_sink-301e56434e7e6522.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libtokio-894bf0b0e1bf1d3e.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libmio-988e0cc500e69bc1.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libhttp_body-8db742ed1cf46896.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libpin_project_lite-05a62ef9abb0cfbe.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libfutures_core-c3a253718e027d6d.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libhttp-9a2b88bc36256585.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libindicatif-fe2ce327a0a5a867.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libnumber_prefix-f020521d34aac2dd.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libconsole-7ec491d1737c6714.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libterminal_size-412d5bf47562bc4b.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libfs_extra-cca856ae94429c7f.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libouroboros-c78cdfcb078abe66.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libaliasable-75a60f56810ecd1b.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libcargo-d5c248305f2f6e81.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libserde_value-3b5cbc80b9928999.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libordered_float-37476e0fd10896a9.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libnum_traits-f7704a5bfd7aaa12.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libhome-c3ecef14f34d58e8.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libopener-6a962a8f092bb808.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libunicode_xid-c965879cdaa930c8.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libatty-93f4a7a49f987995.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libim_rc-827e36ea3b757f81.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/librand_xoshiro-716a6e1d45fc95d7.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/librand_core-7cc8ffe142eff781.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libsized_chunks-d8dab3b506998603.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libbitmaps-1984ea6b6d31c1df.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libtypenum-1be7348e407c7c31.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libhumantime-425650498abdfa97.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libstrip_ansi_escapes-f5cab0493a49d500.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libvte-e5ebac0f03fff3b0.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libutf8parse-35ea31f181887420.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libarrayvec-a669a5efb877079b.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libserde_ignored-ccb05d46adc4e3de.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libunicode_width-2569bed50c2c8896.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libclap-4bd28917de684561.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libstrsim-cc09c4a8d064b6d1.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libis_terminal-0be7b63ae3794fc6.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/librustix-b99ed796dbf6533f.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/liblinux_raw_sys-579ae980ae2688c4.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libio_lifetimes-8fbbd16b92820616.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libclap_lex-7b3ca600471752ce.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libos_str_bytes-63f62b2aa378198d.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libignore-06e4f5e563bcaa1b.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libcrossbeam_utils-55da00a52a6d9297.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libthread_local-0edb1882dce82a7a.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libglobset-ae68279606fb521b.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libfnv-cc6e7fcf902686a4.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libregex-ed0dfe3fe9047b5a.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libregex_syntax-3bf402fdd38dfbfd.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libbstr-b2b33b74011b453f.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/liblazy_static-1fabe01c0e89ef30.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libregex_automata-376488b6ea224425.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libaho_corasick-7c85364aed1e421b.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libgit2-a2fef1963046d632.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/liblibgit2_sys-ba7972ce8698d2d8.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/liblibssh2_sys-ebc0d30952f167ba.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libcrates_io-ba1acb2bc3d2bc5a.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/librustfix-3eeb524c3ed3c298.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libtar-2c6cb925f8b0da1b.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libflate2-5b8889a99ba31e59.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libcrc32fast-6c228c2786277d0a.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libserde_json-cd796fded30f81df.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libryu-dd9efb16ecf3af8c.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libitoa-1ea10f5145fc91b4.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libpathdiff-5453e624b49ee28a.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libglob-bc51acd51bfae531.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libtermcolor-da3065eb54e85dfe.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libcurl-16135f59446475e8.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libopenssl_probe-07df8ff0a72cc54a.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libsocket2-91d1b16e3c243774.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libcurl_sys-52b5fcb27232c967.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/liblibz_sys-dd00adb61caf2fca.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/liblibnghttp2_sys-4c080197e5ca9622.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libbytesize-6367a4a1b9fe12c9.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libtoml_edit-81f26152719680f6.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libitertools-721a548acc35cd23.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libeither-be600abee998114a.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libindexmap-93a18f710742c7b9.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libhashbrown-27abe28e26d24032.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libcombine-7c56d33f3ab2c7de.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libmemchr-30e6a73e5b7d2232.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libbytes-7ce3ca7a118ee8d6.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libtoml_datetime-4f5cb28b937c7616.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/liburl-8ee4b4235218a2f3.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libidna-797f9d19f088ed6f.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libunicode_normalization-ee6e7a28e9427131.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libtinyvec-efc2324e1ca3f071.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libtinyvec_macros-10c4d746717010ec.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libunicode_bidi-89edd9730f3a217c.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libform_urlencoded-327ad4ee4dd223cb.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libpercent_encoding-9bbdd50ce292ec7b.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libmatches-d4cd14a67c23a981.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libsemver-ba855787b9011da8.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/liblazycell-3b76082f55daa57f.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libcargo_platform-95d0d24b1f40fa87.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libserde-2f5c345942b70f82.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libcargo_util-ba6778a6d56f2b7a.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libhex-4cbf7d590341cfea.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libwalkdir-85bef973f8639ead.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libsame_file-0e66e2d458327b71.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libcrypto_hash-8eb925fe7d4c4c6d.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libopenssl-742d7688f93ed86f.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libonce_cell-a36805a0eb879072.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libbitflags-506a858d08db7355.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libforeign_types-45dd3482486213ab.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libforeign_types_shared-b8e072299f45f4d3.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libopenssl_sys-418c61926a9d7caf.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libhex-e1cdc938fd9a7b80.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libshell_escape-4047aa2bdda668d5.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libjobserver-8528c46744d84b21.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libtempfile-880bae98c867075a.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libfastrand-bddfc4a4810a40b7.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libremove_dir_all-33ea7f0085d9a486.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libfiletime-0dd008198edc6fbf.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/liblibc-4dfefb2788826d10.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/liblog-c5f095e3b9c13cbb.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libcfg_if-00c152809c83ebfd.rlib" "/tmp/code/twizzler/.target-xtask/release/deps/libanyhow-c087fc646977d1e7.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3dd5f78c3b43746e.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e13cbb326bcd01a4.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-13ac6af5403a52c8.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-a7b8febdd2acb289.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-343513f0726f71ed.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-8f833d900bfb98aa.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e97a7960ca6216c8.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-fb8c561e8c8eb24d.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a45121889bb564ec.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-f943c2d34bd4b56d.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-72ce2aaa649404e0.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ac5d08ad5339e92e.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-dacfda262d5656fb.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e2056a834ba0712c.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a60649c148c6e2db.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-3e961d059b9bcde7.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-20f26f875d0170e2.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-522518611024dce5.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-05898138a596088a.rlib" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5b83a1df856cf582.rlib" "-Wl,-Bdynamic" "-lz" "-lssl" "-lcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/user/.rustup/toolchains/nightly-2022-10-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/code/twizzler/.target-xtask/release/deps/xtask-9744db8bb1c39581" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs"
= note: /usr/bin/ld: /tmp/code/twizzler/.target-xtask/release/deps/libopenssl_sys-418c61926a9d7caf.rlib(openssl_sys-418c61926a9d7caf.openssl_sys.138bb8da-cgu.1.rcgu.o): in function `openssl_sys::ssl::SSL_CTX_set_mode':
/home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.72/src/ssl.rs:437: undefined reference to `SSL_CTX_ctrl'
/usr/bin/ld: /tmp/code/twizzler/.target-xtask/release/deps/libopenssl_sys-418c61926a9d7caf.rlib(openssl_sys-418c61926a9d7caf.openssl_sys.138bb8da-cgu.1.rcgu.o): in function `openssl_sys::ssl::SSL_CTX_add_extra_chain_cert':
/home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.72/src/ssl.rs:803: undefined reference to `SSL_CTX_ctrl'
/usr/bin/ld: /tmp/code/twizzler/.target-xtask/release/deps/libopenssl_sys-418c61926a9d7caf.rlib(openssl_sys-418c61926a9d7caf.openssl_sys.138bb8da-cgu.1.rcgu.o): in function `openssl_sys::ssl::SSL_CTX_set_min_proto_version':
/home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.72/src/ssl.rs:861: undefined reference to `SSL_CTX_ctrl'
/usr/bin/ld: /tmp/code/twizzler/.target-xtask/release/deps/libopenssl_sys-418c61926a9d7caf.rlib(openssl_sys-418c61926a9d7caf.openssl_sys.138bb8da-cgu.1.rcgu.o): in function `openssl_sys::ssl::SSL_CTX_set_max_proto_version':
/home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.72/src/ssl.rs:870: undefined reference to `SSL_CTX_ctrl'
/usr/bin/ld: /tmp/code/twizzler/.target-xtask/release/deps/libopenssl_sys-418c61926a9d7caf.rlib(openssl_sys-418c61926a9d7caf.openssl_sys.138bb8da-cgu.8.rcgu.o): in function `openssl_sys::tls1::SSL_set_tlsext_host_name':
/home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.72/src/tls1.rs:46: undefined reference to `SSL_ctrl'
collect2: error: ld returned 1 exit status
= help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the `-l` flag to specify native libraries to link
= note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
error: could not compile `xtask` due to previous error
We suspect it might have to do with the way openssl is configured, but this requires further investigation. The workaround for now is to change the way cargo is compiled by specifying the following feature flag in tools/xtask/Cargo.toml:
diff --git a/tools/xtask/Cargo.toml b/tools/xtask/Cargo.toml
index 4dcb4c1..4be8ccf 100644
--- a/tools/xtask/Cargo.toml
+++ b/tools/xtask/Cargo.toml
@@ -11,7 +11,7 @@ walkdir = "2.3.2"
strum = "0.24.0"
anyhow = "1.0.56"
strum_macros = "0.24.0"
-cargo = { version = "0.67.0"}
+cargo = { version = "0.67.0", features = ["vendored-openssl"]}
ouroboros = "0.15.5"
reqwest = { version = "0.11.10", features = ["stream"] }
futures-util = "0.3.21"
It seems that the build tool
xtask
or rather a number of crates that depend on openssl (e.g.cargo
) does not build on certain machines (output truncated).We suspect it might have to do with the way openssl is configured, but this requires further investigation. The workaround for now is to change the way
cargo
is compiled by specifying the following feature flag intools/xtask/Cargo.toml
: