NetBSD-Bugs archive

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

install/52637: lang/rust compile error

>Number:         52637
>Category:       install
>Synopsis:       lang/rust compile error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 21 22:40:00 +0000 2017
>Originator:     Andrew Pennebaker
>Release:        7.0
NetBSD 7.0 NetBSD 7.0 (GENERIC.201509250726Z) amd64
I'm trying to install rust via pkgsrc, but the compilation appears to be failing.
$ export PATH="/usr/sbin:/usr/pkg/sbin:${PATH}"
$ curl -o pkgsrc-2017Q3.tar.gz
$ tar -C /usr -xzf pkgsrc-2017Q3.tar.gz
$ cd /usr/pkgsrc/lang/rust
$ sudo make PKG_OPTIONS.python27=-x11 update"
Scanning dependencies of target LTO
gmake[3]: Leaving directory '/usr/pkgsrc/lang/rust/work/rustc-1.16.0-src/x86_64-unknown-netbsd/llvm'
gmake[3]: Entering directory '/usr/pkgsrc/lang/rust/work/rustc-1.16.0-src/x86_64-unknown-netbsd/llvm'
[ 91%] Building CXX object tools/lto/CMakeFiles/LTO.dir/LTODisassembler.cpp.o
[ 91%] Building CXX object tools/lto/CMakeFiles/LTO.dir/lto.cpp.o
[ 91%] Linking CXX shared library ../../lib/
g++: internal compiler error: Killed (program ld)
no stack trace because unwind library not available
Please submit a full bug report,
with preprocessed source if appropriate.
See <> for instructions.
tools/lto/CMakeFiles/LTO.dir/build.make:222: recipe for target 'lib/' failed
gmake[3]: *** [lib/] Error 4
gmake[3]: *** Deleting file 'lib/'
gmake[3]: Leaving directory '/usr/pkgsrc/lang/rust/work/rustc-1.16.0-src/x86_64-unknown-netbsd/llvm'
CMakeFiles/Makefile2:9980: recipe for target 'tools/lto/CMakeFiles/LTO.dir/all' failed
gmake[2]: *** [tools/lto/CMakeFiles/LTO.dir/all] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/lang/rust/work/rustc-1.16.0-src/x86_64-unknown-netbsd/llvm'
Makefile:151: recipe for target 'all' failed
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/lang/rust/work/rustc-1.16.0-src/x86_64-unknown-netbsd/llvm'
/usr/pkgsrc/lang/rust/work/rustc-1.16.0-src/mk/ recipe for target '/usr/pkgsrc/lang/rust/work/rustc-1.16.0-src/x86_64-unknown-netbsd/llvm/llvm-fini
shed-building' failed
gmake: *** [/usr/pkgsrc/lang/rust/work/rustc-1.16.0-src/x86_64-unknown-netbsd/llvm/llvm-finished-building] Error 2
*** Error code 2

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

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

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

Home | Main Index | Thread Index | Old Index