tech-pkg archive

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

rust broken?



I can't read this, so I thought I'd share it :)

John

running: "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-O2" "-I/usr/local/include" "-I/usr/include" "-I/usr/include/krb5" "-I/usr/local/include/python3.12" "-I" "curl/lib" "-I" "curl/include" "-I" "/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/build/x86_64-unknown-netbsd/stage2-tools/x86_64-unknown-netbsd/release/build/libnghttp2-sys-c789983bede4d077/out/i/include" "-fvisibility=hidden" "-DBUILDING_LIBCURL" "-DCURL_DISABLE_DICT" "-DCURL_DISABLE_GOPHER" "-DCURL_DISABLE_IMAP" "-DCURL_DISABLE_LDAP" "-DCURL_DISABLE_LDAPS" "-DCURL_DISABLE_POP3" "-DCURL_DISABLE_RTSP" "-DCURL_DISABLE_SMB" "-DCURL_DISABLE_SMTP" "-DCURL_DISABLE_TELNET" "-DCURL_DISABLE_TFTP" "-DCURL_STATICLIB" "-DENABLE_IPV6" "-DHAVE_ASSERT_H" "-DOS=\"unknown\"" "-DHAVE_ZLIB_H" "-DHAVE_LONGLONG" "-DHAVE_LIBZ" "-DHAVE_BOOL_T" "-DHAVE_STDBOOL_H" "-DHAVE_GETADDRINFO" "-DHAVE_GETPEERNAME" "-DHAVE_GETSOCKNAME" "-DCURL_DISABLE_NTLM" "-DCURL_DISABLE_FTP" "-DUSE_NGHTTP2" "-DNGHTTP2_STATICLIB" "-DUSE_OPENSSL" "-DRECV_TYPE_ARG1=int" "-DHAVE_PTHREAD_H" "-DHAVE_ARPA_INET_H" "-DHAVE_ERRNO_H" "-DHAVE_FCNTL_H" "-DHAVE_NETDB_H" "-DHAVE_NETINET_IN_H" "-DHAVE_NETINET_TCP_H" "-DHAVE_POLL_H" "-DHAVE_FCNTL_O_NONBLOCK" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_STAT_H" "-DHAVE_SYS_TIME_H" "-DHAVE_UNISTD_H" "-DHAVE_RECV" "-DHAVE_SELECT" "-DHAVE_SEND" "-DHAVE_SOCKET" "-DHAVE_STERRROR_R" "-DHAVE_SOCKETPAIR" "-DHAVE_STRUCT_TIMEVAL" "-DHAVE_SYS_UN_H" "-DUSE_THREADS_POSIX" "-DUSE_UNIX_SOCKETS" "-DRECV_TYPE_ARG2=void*" "-DRECV_TYPE_ARG3=size_t" "-DRECV_TYPE_ARG4=int" "-DRECV_TYPE_RETV=ssize_t" "-DSEND_QUAL_ARG2=const" "-DSEND_TYPE_ARG1=int" "-DSEND_TYPE_ARG2=void*" "-DSEND_TYPE_ARG3=size_t" "-DSEND_TYPE_ARG4=int" "-DSEND_TYPE_RETV=ssize_t" "-DSIZEOF_CURL_OFF_T=8" "-DSIZEOF_INT=4" "-DSIZEOF_SHORT=2" "-DHAVE_CLOCK_GETTIME_MONOTONIC" "-DHAVE_GETTIMEOFDAY" "-DHAVE_POLL_FINE" "-DSIZEOF_SSIZE_T=8" "-DSIZEOF_SIZE_T=8" "-DSIZEOF_LONG=8" "-o" "/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/build/x86_64-unknown-netbsd/stage2-tools/x86_64-unknown-netbsd/release/build/curl-sys-d2cd74f60db3f516/out/build/curl/lib/vtls/openssl.o" "-c" "curl/lib/vtls/openssl.c"
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0

  --- stderr
  fatal: not a git repository (or any of the parent directories): .git


error occurred: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-O2" "-I/usr/local/include" "-I/usr/include" "-I/usr/include/krb5" "-I/usr/local/include/python3.12" "-I" "curl/lib" "-I" "curl/include" "-I" "/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/build/x86_64-unknown-netbsd/stage2-tools/x86_64-unknown-netbsd/release/build/libnghttp2-sys-c789983bede4d077/out/i/include" "-fvisibility=hidden" "-DBUILDING_LIBCURL" "-DCURL_DISABLE_DICT" "-DCURL_DISABLE_GOPHER" "-DCURL_DISABLE_IMAP" "-DCURL_DISABLE_LDAP" "-DCURL_DISABLE_LDAPS" "-DCURL_DISABLE_POP3" "-DCURL_DISABLE_RTSP" "-DCURL_DISABLE_SMB" "-DCURL_DISABLE_SMTP" "-DCURL_DISABLE_TELNET" "-DCURL_DISABLE_TFTP" "-DCURL_STATICLIB" "-DENABLE_IPV6" "-DHAVE_ASSERT_H" "-DOS=\"unknown\"" "-DHAVE_ZLIB_H" "-DHAVE_LONGLONG" "-DHAVE_LIBZ" "-DHAVE_BOOL_T" "-DHAVE_STDBOOL_H" "-DHAVE_GETADDRINFO" "-DHAVE_GETPEERNAME" "-DHAVE_GETSOCKNAME" "-DCURL_DISABLE_NTLM" "-DCURL_DISABLE_FTP" "-DUSE_NGHTTP2" "-DNGHTTP2_STATICLIB" "-DUSE_OPENSSL" "-DRECV_TYPE_ARG1=int" "-DHAVE_PTHREAD_H" "-DHAVE_ARPA_INET_H" "-DHAVE_ERRNO_H" "-DHAVE_FCNTL_H" "-DHAVE_NETDB_H" "-DHAVE_NETINET_IN_H" "-DHAVE_NETINET_TCP_H" "-DHAVE_POLL_H" "-DHAVE_FCNTL_O_NONBLOCK" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_STAT_H" "-DHAVE_SYS_TIME_H" "-DHAVE_UNISTD_H" "-DHAVE_RECV" "-DHAVE_SELECT" "-DHAVE_SEND" "-DHAVE_SOCKET" "-DHAVE_STERRROR_R" "-DHAVE_SOCKETPAIR" "-DHAVE_STRUCT_TIMEVAL" "-DHAVE_SYS_UN_H" "-DUSE_THREADS_POSIX" "-DUSE_UNIX_SOCKETS" "-DRECV_TYPE_ARG2=void*" "-DRECV_TYPE_ARG3=size_t" "-DRECV_TYPE_ARG4=int" "-DRECV_TYPE_RETV=ssize_t" "-DSEND_QUAL_ARG2=const" "-DSEND_TYPE_ARG1=int" "-DSEND_TYPE_ARG2=void*" "-DSEND_TYPE_ARG3=size_t" "-DSEND_TYPE_ARG4=int" "-DSEND_TYPE_RETV=ssize_t" "-DSIZEOF_CURL_OFF_T=8" "-DSIZEOF_INT=4" "-DSIZEOF_SHORT=2" "-DHAVE_CLOCK_GETTIME_MONOTONIC" "-DHAVE_GETTIMEOFDAY" "-DHAVE_POLL_FINE" "-DSIZEOF_SSIZE_T=8" "-DSIZEOF_SIZE_T=8" "-DSIZEOF_LONG=8" "-o" "/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/build/x86_64-unknown-netbsd/stage2-tools/x86_64-unknown-netbsd/release/build/curl-sys-d2cd74f60db3f516/out/build/curl/lib/setopt.o" "-c" "curl/lib/setopt.c" with args "gcc" did not execute successfully (status code exit status: 1).


warning: build failed, waiting for other jobs to finish...


command did not execute successfully: cd "/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src" && env -u MAKEFLAGS -u MFLAGS AR_x86_64_unknown_netbsd="ar" CARGO_INCREMENTAL="0" CARGO_PROFILE_RELEASE_DEBUG="0" CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="false" CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="false" CARGO_PROFILE_RELEASE_STRIP="false" CARGO_TARGET_DIR="/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/build/x86_64-unknown-netbsd/stage2-tools" CC_x86_64_unknown_netbsd="gcc" CFG_COMPILER_BUILD_TRIPLE="x86_64-unknown-netbsd" CFG_COMPILER_HOST_TRIPLE="x86_64-unknown-netbsd" CFG_RELEASE="1.76.0" CFG_RELEASE_CHANNEL="stable" CFG_RELEASE_NUM="1.76.0" CFG_VERSION="1.76.0 (07dca489a 2024-02-04) (built from a source tarball)" CFG_VER_DATE="2024-02-04" CFG_VER_HASH="07dca489ac2d933c78d3c5158e3f43beefeb02ce" CFLAGS_x86_64_unknown_netbsd="-O2 -ffunction-sections -fdata-sections -fPIC -m64 -O2 -I/usr/local/include -I/usr/include -I/usr/include/krb5 -I/usr/local/include/python3.12" CXXFLAGS_x86_64_unknown_netbsd="-O2 -ffunction-sections -fdata-sections -fPIC -m64 -O2 -I/usr/local/include -I/usr/include -I/usr/include/krb5 -I/usr/local/include/python3.12" CXX_x86_64_unknown_netbsd="c++" DOC_RUST_LANG_ORG_CHANNEL="https://doc.rust-lang.org/1.76.0"; LIBC_CHECK_CFG="1" LIBRARY_PATH="/usr/local/lib" LZMA_API_STATIC="1" RANLIB_x86_64_unknown_netbsd="ar s" REAL_LIBRARY_PATH="/usr/pkgsrc/lang/rust/work/rust-bootstrap/lib" REAL_LIBRARY_PATH_VAR="LD_LIBRARY_PATH" RUSTBUILD_NATIVE_DIR="/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/build/x86_64-unknown-netbsd/native" RUSTC="/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/build/bootstrap/debug/rustc" RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1" RUSTC_ERROR_METADATA_DST="/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/build/tmp/extended-error-metadata" RUSTC_HOST_FLAGS="-Zunstable-options --check-cfg=cfg(bootstrap)" RUSTC_INSTALL_BINDIR="bin" RUSTC_LIBDIR="/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/build/x86_64-unknown-netbsd/stage2/lib" RUSTC_REAL="/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/build/x86_64-unknown-netbsd/stage2/bin/rustc" RUSTC_SNAPSHOT="/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/build/x86_64-unknown-netbsd/stage2/bin/rustc" RUSTC_SNAPSHOT_LIBDIR="/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/build/x86_64-unknown-netbsd/stage2/lib" RUSTC_STAGE="2" RUSTC_SYSROOT="/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/build/x86_64-unknown-netbsd/stage2" RUSTC_TLS_MODEL_INITIAL_EXEC="1" RUSTC_VERBOSE="1" RUSTC_WRAPPER="/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/build/bootstrap/debug/rustc" RUSTDOC="/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/build/bootstrap/debug/rustdoc" RUSTDOCFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap,values()) --check-cfg=cfg(parallel_compiler,values()) --check-cfg=cfg(rust_analyzer,values()) --check-cfg=cfg(no_btreemap_remove_entry,values()) --check-cfg=cfg(crossbeam_loom,values()) --check-cfg=cfg(span_locations,values()) --check-cfg=cfg(rustix_use_libc,values()) --check-cfg=cfg(emulate_second_only_system,values()) --check-cfg=cfg(windows_raw_dylib,values()) --crate-version 1.76.0\t(07dca489a\t2024-02-04)\t(built\tfrom\ta\tsource\ttarball)" RUSTDOC_REAL="/path/to/nowhere/rustdoc/not/required" RUSTFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap,values()) --check-cfg=cfg(parallel_compiler,values()) --check-cfg=cfg(rust_analyzer,values()) --check-cfg=cfg(no_btreemap_remove_entry,values()) --check-cfg=cfg(crossbeam_loom,values()) --check-cfg=cfg(span_locations,values()) --check-cfg=cfg(rustix_use_libc,values()) --check-cfg=cfg(emulate_second_only_system,values()) --check-cfg=cfg(windows_raw_dylib,values()) -Zmacro-backtrace -Clink-args=-Wl,-z,origin -Clink-args=-Wl,-rpath,/usr/local/lib -Zunstable-options -Csplit-debuginfo=off -Zunstable-options" RUST_TEST_THREADS="24" SYSROOT="/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/build/x86_64-unknown-netbsd/stage2" __CARGO_DEFAULT_LIB_METADATA="stabletool-rustc" "/usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo" "build" "--target" "x86_64-unknown-netbsd" "--release" "-Zcheck-cfg" "-Zbinary-dep-depinfo" "-j" "24" "-v" "--frozen" "--manifest-path" "/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/src/tools/cargo/Cargo.toml"
expected success, got: exit status: 101

stdout ----

stderr ----



Traceback (most recent call last):
File "/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/./x.py", line 50, in <module>
    bootstrap.main()
File "/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/src/bootstrap/bootstrap.py", line 1136, in main
    bootstrap(args)
File "/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/src/bootstrap/bootstrap.py", line 1112, in bootstrap
    run(args, env=env, verbose=build.verbose, is_bootstrap=True)
File "/usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/src/bootstrap/bootstrap.py", line 187, in run
    raise RuntimeError(err)
RuntimeError: failed to run: /usr/pkgsrc/lang/rust/work/rustc-1.76.0-src/build/bootstrap/debug/bootstrap -v build --stage 2 -j 24
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/lang/rust
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/rust


Home | Main Index | Thread Index | Old Index