#10240: rustc-1.23.0-src
-------------------------+-----------------------
 Reporter:  ken@…        |       Owner:  ken@…
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  8.2
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------

Comment (by bdubbs@…):

 I did not build as root, but only installed as root.

 {{{
    cat <<EOF > config.toml
 # see src/bootstrap/config.toml.example for more possible options
 [llvm]
 targets = "X86"

 [build]
 # install cargo as well as rust
 extended = true

 [install]
 prefix = "/usr"
 docdir = "share/doc/rustc-1.23.0"
 EOF

     export PYTHON=/usr/bin/python3

     #./x.py build --jobs 10  &&
     ./x.py build --jobs=10 &&

     #echo "BLFS Start CHECK"  &&
     #./x.py test --verbose --no-fail-fast &&

     echo "BLFS Start INSTALL"  &&
     #export DESTDIR=$DEST       &&
     $SUDO ./x.py install
 }}}

 The above did not install anything in the /root directory, but my regular
 user has a very large 0.5+ GB ~/.cargo directory.  (Note SUDO='sudo -E')

 {{{
 Build completed successfully in 0:27:26
 3432.4 Elapsed Time -  rustc-1.23.0-src
 SBU=36.907
 58604 /usr/src/rustc/rustc-1.23.0-src.tar.gz SIZE (57.230 MB)
 3629044 kilobytes BUILD SIZE (3543.988 MB)
 md5sum: 54a3ada73dd3239bb22e3a2de380d22c
 /usr/src/rustc/rustc-1.23.0-src.tar.gz
 }}}

 I did run into some problems with it indicating success without actually
 installing when I tried the export command above.  The key to seeing if
 the install was complete is a few lines above where it has:
 {{{
 install: creating uninstall script at /usr/lib/rustlib/uninstall.sh
 }}}

--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/10240#comment:7>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to