pkgsrc-Users archive

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

rust build failure on 8.99.36



Hi!

On an 8.99.36/amd64 (with the old c++ library still installed) I see a
new rust build failure:

===> Building for rust-1.33.0
cd /scratch/lang/rust/work/rustc-1.33.0-src  && /usr/bin/env CARGO_BUILD_JOBS=4 USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python3.7 CC=gcc CFLAGS=-O2\ -g\ -D_FORTIFY_SOURCE=2\ -fstack-check\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.7 CPPFLAGS=-g\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.7 CXX=c++ CXXFLAGS=-O2\ -g\ -D_FORTIFY_SOURCE=2\ -fstack-check\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.7 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=-Wl,-z,relro\ -Wl,-z,now\ -L/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/scratch/lang/rust/work/.cwrapper/bin:/scratch/lang/rust/work/.buildlink/bin:/scratch/lang/rust/work/.gcc/bin:/scratch/lang/rust/work/.tools/bin:/usr/pkg/bin:/home/wiz/bin:/usr/X11R7/bin:/bin:/usr/bin:/usr/pkg/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/pkg/sbin:/usr/local/sbin:/usr/games:/usr/pkg/lib/surfraw:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/scratch/lang/rust/work/.home CWRAPPERS_CONFIG_DIR=/scratch/lang/rust/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no LIBTOOL="/scratch/lang/rust/work/.cwrapper/bin/libtool " BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ builder\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ builder\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ builder\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ builder\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ builder\ -m\ 775 INSTALL_INFO= MAKEINFO=/scratch/lang/rust/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG=/scratch/lang/rust/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/scratch/lang/rust/work/.buildlink/lib/pkgconfig:/scratch/lang/rust/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/scratch/lang/rust/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/scratch/lang/rust/work/.cwrapper/config  /usr/pkg/bin/python3.7 ./x.py -v build -j 4
running: /scratch/lang/rust/work/rust-bootstrap/bin/cargo build --manifest-path /scratch/lang/rust/work/rustc-1.33.0-src/src/bootstrap/Cargo.toml --frozen
   Compiling bootstrap v0.0.0 (/scratch/lang/rust/work/rustc-1.33.0-src/src/bootstrap)
error: Failed to delete invalidated or incompatible incremental compilation session directory contents `/scratch/lang/rust/work/rustc-1.33.0-src/build/bootstrap/debug/incremental/bootstrap-3m5ifsorwlanb/s-fasiwknsup-esfbx9-working/dep-graph.bin`: No such file or directory (os error 2).

error: aborting due to previous error

error: Could not compile `bootstrap`.

To learn more, run the command again with --verbose.
Traceback (most recent call last):
  File "./x.py", line 11, in <module>
    bootstrap.main()
  File "/scratch/lang/rust/work/rustc-1.33.0-src/src/bootstrap/bootstrap.py", line 850, in main
    bootstrap(help_triggered)
  File "/scratch/lang/rust/work/rustc-1.33.0-src/src/bootstrap/bootstrap.py", line 821, in bootstrap
    build.build_bootstrap()
  File "/scratch/lang/rust/work/rustc-1.33.0-src/src/bootstrap/bootstrap.py", line 649, in build_bootstrap
    run(args, env=env, verbose=self.verbose)
  File "/scratch/lang/rust/work/rustc-1.33.0-src/src/bootstrap/bootstrap.py", line 141, in run
    raise RuntimeError(err)
RuntimeError: failed to run: /scratch/lang/rust/work/rust-bootstrap/bin/cargo build --manifest-path /scratch/lang/rust/work/rustc-1.33.0-src/src/bootstrap/Cargo.toml --frozen

When I restart the build, I get the same error. Also after a 'make
clean'.

Any ideas?
 Thomas


Home | Main Index | Thread Index | Old Index