pkgsrc-Users archive

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

rust-1.47.0 not building on sparc64



Hi,

i have installed my system new with NetBSD9.1 on sparc64, using pkgsrc-2020Q4.

I seem to be unable to build rust-1.47.0 from pkgsrc-2020Q4.
Any idea if i should i rather upgrade or downgrade rust to get my system running?

The error:
===> Extracting for rust-1.47.0
set -e;                                                                  if test -e /usr/pkgsrc/lang/rust/work/rust-1.46.0-sparc64-unknown-netbsd/install.sh     -a ! -e /usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/rustc; then  cd /usr/pkgsrc/lang/rust/work/rust-1.46.0-sparc64-unknown-netbsd;            /usr/pkg/bin/bash ./install.sh --prefix=/usr/pkgsrc/lang/rust/work/rust-bootstrap;      cd /usr/pkgsrc/lang/rust/work/rust-std-1.46.0-sparc64-unknown-netbsd;           /usr/pkg/bin/bash ./install.sh --prefix=/usr/pkgsrc/lang/rust/work/rust-bootstrap;      fi
install: installing component 'rustc'
install: installing component 'cargo'
install: installing component 'rls-preview'
install: installing component 'rust-analyzer-preview'
install: installing component 'clippy-preview'
install: installing component 'miri-preview'
install: installing component 'rustfmt-preview'
install: installing component 'llvm-tools-preview'
install: installing component 'rust-analysis-sparc64-unknown-netbsd'
install: installing component 'rust-std-sparc64-unknown-netbsd'
install: installing component 'rust-docs'

    Rust is ready to roll.

install: uninstalling component 'rust-std-sparc64-unknown-netbsd'
install: installing component 'rust-std-sparc64-unknown-netbsd'

    std is standing at the ready.

SDIR=/usr/pkgsrc/lang/rust/work/scripts;  /bin/mkdir -p ${SDIR};  cd ${SDIR};  /bin/rm -f c++-wrap;  /bin/rm -f clang++-wrap;  /bin/rm -f clang-wrap;  /bin/cp /usr/pkgsrc/lang/rust/files/gcc-wrap .;  /bin/chmod +x gcc-wrap;  /bin/ln -s gcc-wrap c++-wrap;  /bin/ln -s gcc-wrap clang++-wrap;  /bin/ln -s gcc-wrap clang-wrap
===> Patching for rust-1.47.0
=> Applying pkgsrc patches for rust-1.47.0
No such line 86 in input file, ignoring
===> Creating toolchain wrappers for rust-1.47.0
===> Configuring for rust-1.47.0
=> Substituting "cksum" in vendor/libc/.cargo-checksum.json vendor/lzma-sys/.cargo-checksum.json vendor/stacker/.cargo-checksum.json
=> Substituting "rpath" in src/librustc_codegen_ssa/back/linker.rs src/bootstrap/builder.rs
configure: processing command line
configure:
configure: install.prefix       := /usr/pkg
configure: install.mandir       := /usr/pkg/man
configure: install.sysconfdir   := /usr/pkg/etc
configure: build.python         := /usr/pkg/bin/python3.8
configure: rust.channel         := stable
configure: build.rustc          := /usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/ ...
configure: build.cargo          := /usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/ ...
configure: build.extended       := True
configure: rust.rpath           := True
configure: rust.codegen-tests   := False
configure: rust.dist-src        := False
configure: llvm.static-libstdcpp := False
configure: llvm.ninja           := False
configure: build.vendor         := True
configure: llvm.link-shared     := True
configure: target.sparc64-unknown-netbsd.llvm-config := /usr/pkg/bin/llvm-config
configure: build.configure-args := ['--prefix=/usr/pkg', '--mandir=/usr/pkg/man', ...
configure:
configure: writing `config.toml` in current directory
configure:
configure: run `python /usr/pkgsrc/lang/rust/work/rustc-1.47.0-src/x.py --help`
configure:
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
===> Building for rust-1.47.0
cd /usr/pkgsrc/lang/rust/work/rustc-1.47.0-src  && ulimit -t `ulimit -H -t`; ulimit -d `ulimit -H -d`; ulimit -v `ulimit -H -v`; /usr/bin/env DESTDIR=/usr/pkgsrc/lang/rust/work/.destdir CARGO_BUILD_JOBS=1 USETOOLS=no LIBRARY_PATH=/usr/pkg/lib PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python3.8 CC=gcc CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.8\ -I/usr/include/krb5 CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.8\ -I/usr/include/krb5 CXX=c++ CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.8\ -I/usr/include/krb5 COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/usr/pkgsrc/lang/rust/work/.cwrapper/bin:/usr/pkgsrc/lang/rust/work/.buildlink/bin:/usr/pkgsrc/lang/rust/work/.gcc/bin:/usr/pkgsrc/lang/rust/work/.tools/bin:/usr/pkg/bin:/home/connor/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/usr/pkgsrc/lang/rust/work/.home CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/lang/rust/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no LIBTOOL="/usr/pkgsrc/lang/rust/work/.cwrapper/bin/libtool " BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/usr/pkgsrc/lang/rust/work/.tools/bin/makeinfo FLEX= BISON= TARGET_ARCH= PKG_CONFIG=/usr/pkgsrc/lang/rust/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/usr/pkgsrc/lang/rust/work/.buildlink/lib/pkgconfig:/usr/pkgsrc/lang/rust/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgsrc/lang/rust/work/.pkg-config.log PKG_CONFIG_PATH= KRB5_CONFIG=/usr/bin/krb5-config CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/lang/rust/work/.cwrapper/config  sh -c "if [ \"build\" = \"dist\" ]; then  unset DESTDIR;  fi;  /usr/pkg/bin/python3.8 ./x.py -v build -j 1"
running: /usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo build --manifest-path /usr/pkgsrc/lang/rust/work/rustc-1.47.0-src/src/bootstrap/Cargo.toml --frozen
Traceback (most recent call last):
  File "./x.py", line 11, in <module>
    bootstrap.main()
  File "/usr/pkgsrc/lang/rust/work/rustc-1.47.0-src/src/bootstrap/bootstrap.py", line 1016, in main
    bootstrap(help_triggered)
  File "/usr/pkgsrc/lang/rust/work/rustc-1.47.0-src/src/bootstrap/bootstrap.py", line 983, in bootstrap
    build.build_bootstrap()
  File "/usr/pkgsrc/lang/rust/work/rustc-1.47.0-src/src/bootstrap/bootstrap.py", line 768, in build_bootstrap
    run(args, env=env, verbose=self.verbose)
  File "/usr/pkgsrc/lang/rust/work/rustc-1.47.0-src/src/bootstrap/bootstrap.py", line 143, in run
    raise RuntimeError(err)
RuntimeError: failed to run: /usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo build --manifest-path /usr/pkgsrc/lang/rust/work/rustc-1.47.0-src/src/bootstrap/Cargo.toml --frozen
*** Error code 1

Stop.

Regards,
Connor


Home | Main Index | Thread Index | Old Index