pkgsrc-Users archive

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

rust fails on NetBSD 8 i386



(This is from running the build again after it failed; a lot worked
before this.)

The machine is reaonably up-to-date netbsd-8 (mid February build), i386,
MacBook 4,1 with 3G of usable RAM, and is otherwise untroubled.

I have been able to build rust on netbsd-8/amd64.



=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Building for rust-1.42.0nb1
/usr/sbin/paxctl +am /usr/ANONCVS/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo
cd /usr/ANONCVS/pkgsrc/lang/rust/work/rustc-1.42.0-src  && ulimit -t `ulimit -H -t`; ulimit -d `ulimit -H -d`; ulimit -v `ulimit -H -v`; /usr/bin/env 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.7 CC=gcc CFLAGS=-O2\ -march=i586\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.7\ -I/usr/pkg/include/krb5 CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.7\ -I/usr/pkg/include/krb5 CXX=c++ CXXFLAGS=-O2\ -march=i586\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.7\ -I/usr/pkg/include/krb5 COMPILER_RPATH_FLAG=-Wl,-R F77=g77 FC=g77 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/ANONCVS/pkgsrc/lang/rust/work/.cwrapper/bin:/usr/ANONCVS/pkgsrc/lang/rust/work/.buildlink/bin:/usr/ANONCVS/pkgsrc/lang/rust/work/.ccache/bin:/usr/ANONCVS/pkgsrc/lang/rust/work/.gcc/bin:/usr/ANONCVS/pkgsrc/lang/rust/work/.tools/bin:/usr/pkg/bin:/home/gdt/bin:/home/gdt/bin/i386-NetBSD:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/usr/ANONCVS/pkgsrc/lang/rust/work/.home CWRAPPERS_CONFIG_DIR=/usr/ANONCVS/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/ANONCVS/pkgsrc/lang/rust/work/.cwrapper/bin/libtool " BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ gdt\ -g\ lexort\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ gdt\ -g\ lexort\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ gdt\ -g\ lexort\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ gdt\ -g\ lexort\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ gdt\ -g\ lexort\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ gdt\ -g\ lexort\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ gdt\ -g\ lexort\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ gdt\ -g\ lexort\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ gdt\ -g\ lexort\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ gdt\ -g\ lexort\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ gdt\ -g\ lexort\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ gdt\ -g\ lexort\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ gdt\ -g\ lexort\ -m\ 775 INSTALL_INFO= MAKEINFO=/usr/ANONCVS/pkgsrc/lang/rust/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG=/usr/ANONCVS/pkgsrc/lang/rust/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/usr/ANONCVS/pkgsrc/lang/rust/work/.buildlink/lib/pkgconfig:/usr/ANONCVS/pkgsrc/lang/rust/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/ANONCVS/pkgsrc/lang/rust/work/.pkg-config.log PKG_CONFIG_PATH= KRB5_CONFIG=/usr/pkg/bin/krb5-config CWRAPPERS_CONFIG_DIR=/usr/ANONCVS/pkgsrc/lang/rust/work/.cwrapper/config  /usr/pkg/bin/python3.7 ./x.py -v build -j 1
running: /usr/ANONCVS/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo build --manifest-path /usr/ANONCVS/pkgsrc/lang/rust/work/rustc-1.42.0-src/src/bootstrap/Cargo.toml --frozen
   Compiling serde v1.0.99
/usr/ANONCVS/pkgsrc/lang/rust/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libserde_derive-d3ad2048421396dd.so: text relocations
error: /usr/ANONCVS/pkgsrc/lang/rust/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libserde_derive-d3ad2048421396dd.so: Cannot write-enable text segment: Permission denied
   --> /usr/ANONCVS/pkgsrc/lang/rust/work/rustc-1.42.0-src/vendor/serde/src/lib.rs:259:1
    |
259 | extern crate serde_derive;
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

error: could not compile `serde`.

To learn more, run the command again with --verbose.
Traceback (most recent call last):
  File "./x.py", line 11, in <module>
    bootstrap.main()
  File "/usr/ANONCVS/pkgsrc/lang/rust/work/rustc-1.42.0-src/src/bootstrap/bootstrap.py", line 958, in main
    bootstrap(help_triggered)
  File "/usr/ANONCVS/pkgsrc/lang/rust/work/rustc-1.42.0-src/src/bootstrap/bootstrap.py", line 927, in bootstrap
    build.build_bootstrap()
  File "/usr/ANONCVS/pkgsrc/lang/rust/work/rustc-1.42.0-src/src/bootstrap/bootstrap.py", line 719, in build_bootstrap
    run(args, env=env, verbose=self.verbose)
  File "/usr/ANONCVS/pkgsrc/lang/rust/work/rustc-1.42.0-src/src/bootstrap/bootstrap.py", line 141, in run
    raise RuntimeError(err)
RuntimeError: failed to run: /usr/ANONCVS/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo build --manifest-path /usr/ANONCVS/pkgsrc/lang/rust/work/rustc-1.42.0-src/src/bootstrap/Cargo.toml --frozen
*** Error code 1

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

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


Home | Main Index | Thread Index | Old Index