pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Multiple Rust build failures on 8.x and 9.x



NetBSD 8 i386:

BISON= PKG_CONFIG=/comp/obj/pkgsrc/lang/rust/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/comp/obj/pkgsrc/lang/rust/work/.buildlink/lib/pkgconfig:/comp/obj/pkgsrc/lang/rust/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/comp/obj/pkgsrc/lang/rust/work/.pkg-config.log PKG_CONFIG_PATH= KRB5_CONFIG=/usr/pkg/bin/krb5-config CWRAPPERS_CONFIG_DIR=/comp/obj/pkgsrc/lang/rust/work/.cwrapper/config /usr/pkg/bin/python2.7 ./x.py -v build -j 8 running: /comp/obj/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo build --manifest-path /comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/src/bootstrap/Cargo.toml --frozen
Shared object "libssl.so.14" not found

NetBSD 8 has libssl.so.12 in /usr/lib and libssl.so.1.1 in /usr/pkg/lib.

NetBSD 8 amd64:
error: linking with `cc` failed: exit code: 1
  |
= note: "cc" "-Wl,--as-needed" "-m64" "-L" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1/lib/rustlib/x86_64-unknown-netbsd/lib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/rustdoc_tool_binary-920b5e4d3c025c1d.rustdoc_tool_binary.bkkj62vq-cgu.0.rcgu.o" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/rustdoc_tool_binary-920b5e4d3c025c1d.rustdoc_tool_binary.bkkj62vq-cgu.1.rcgu.o" "-o" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/rustdoc_tool_binary-920b5e4d3c025c1d" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-L" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps" "-L" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/release/deps" "-L" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1/lib/rustlib/x86_64-unknown-netbsd/lib" "-Wl,-Bstatic" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/librustdoc-ab4a061b7e70b076.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libserde_json-601368cb274924b8.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libryu-9649b9bfdd4a7d37.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libitoa-0d8c11d5d0352ffc.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/librustc_rayon-6a86196086d40710.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/librustc_rayon_core-1b817e40ed43977e.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libnum_cpus-136339c39fb86c13.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libcrossbeam_queue-282206f3258e1362.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libeither-00d5bf5df0f60121.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libcrossbeam_deque-7f085a6106a02aa9.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libcrossbeam_epoch-9d22e8af49829fcb.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libscopeguard-49d698e5673a5ad7.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libmemoffset-e03600f2bedcd44c.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libcrossbeam_utils-8bd48ceeca3a4d46.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libarrayvec-857f1092d18dee43.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libnodrop-a57d3ad09e3c00fa.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libtempfile-79cb1b7f0bcb621a.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/librand-86a347e064a5547e.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/librand_chacha-12d3e023ab6f8955.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libc2_chacha-edc56e3082594452.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libppv_lite86-89dd24d96296fabd.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/liblazy_static-1a6a4d0640cb757a.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/librand_core-dbf91eb11affe6cc.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libgetrandom-e3633e6b6f929c9e.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/liblibc-6832ff2aa0814dd9.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libremove_dir_all-aad63eaa77ee814e.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libcfg_if-e6e42e2af33aa8f1.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libminifier-97632280ae445495.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libmacro_utils-a6bbb830b56a62b0.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libpulldown_cmark-805ba250dff2daed.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libmemchr-71f83f476c3beb8f.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libunicase-21cfbdac06457683.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libbitflags-4511ade1757d1f10.rlib" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1-tools/x86_64-unknown-netbsd/release/deps/libserde-ca58e82f5c8e07a7.rlib" "-L" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1/lib/rustlib/x86_64-unknown-netbsd/lib" "-Wl,-Bdynamic" "-lrustc_driver-b513c1c7cfd0c2b7" "-L" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1/lib/rustlib/x86_64-unknown-netbsd/lib" "-ltest-18fe7b858e93e2a9" "-Wl,--start-group" "-L" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1/lib/rustlib/x86_64-unknown-netbsd/lib" "-lstd-ebadc37c12c64a77" "-Wl,--end-group" "-Wl,-Bstatic" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/x86_64-unknown-netbsd/stage1/lib/rustlib/x86_64-unknown-netbsd/lib/libcompiler_builtins-89dd11c962d559e5.rlib" "-Wl,-Bdynamic" "-lutil" "-lrt" "-lutil" "-lLLVM-9" "-lstdc++" "-lutil" "-lrt" "-lutil" "-lexecinfo" "-lpthread" "-lrt" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lrt" "-lutil" "-Wl,-rpath,/usr/pkg/lib"
  = note: ld: cannot find -lLLVM-9

There is an LLVM-9.so but if I'm reading that command line right its specified static linking with -Bstatic and there is no libLLVM-9.a provided by the llvm package.
NetBSD 9 amd64 also fails with the same build failure as 8 on amd64

NetBSD 9 i386 fails with:

Building stage1 compiler artifacts (i686-unknown-netbsd -> i686-unknown-netbsd) running: "/comp/obj/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo" "build" "-Zconfig-profile" "--target" "i686-unknown-netbsd" "-Zbinary-dep-depinfo" "-j" "8" "--release" "--frozen" "--features" " llvm" "--manifest-path" "/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/src/rustc/Cargo.toml" "--message-format" "json-render-diagnostics" Compiling syntax_pos v0.0.0 (/comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/src/libsyntax_pos) /comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/i686-unknown-netbsd/stage1-rustc/release/deps/librustc_macros-c73e0427f4d03811.so: text relocations error: /comp/obj/pkgsrc/lang/rust/work/rustc-1.41.0-src/build/i686-unknown-netbsd/stage1-rustc/release/deps/librustc_macros-c73e0427f4d03811.so: Cannot write-enable text segment: Permission denied
  --> src/libsyntax_pos/lib.rs:18:5
   |
18 | use rustc_macros::HashStable_Generic;
   |     ^^^^^^^^^^^^

error: aborting due to previous error


Home | Main Index | Thread Index | Old Index