#11521: Upgrade rustc for firefox-65.0
-------------------------+-----------------------
 Reporter:  ken@…        |       Owner:  ken@…
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  8.4
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------

Comment (by bdubbs):

 Just another data point.  I built ructc-1.32.0 on my development system
 (12 core Haswell, 16G RAM).  It seemed to almost finish and then:

 {{{
 error: failed to run custom build command for `miri v0.1.0
 (/mnt/tmp/rustc/rustc-1.32.0-src/src/tools/miri)`
 process didn't exit successfully:
 `/mnt/tmp/rustc/rustc-1.32.0-src/build/x86_64-unknown-linux-
 gnu/stage2-tools/release/build/miri-7bdefdbab42072df/build-script-build`
 (exit code: 101)
 --- stdout
 cargo:rustc-env=PROFILE=release
 cargo:rerun-if-changed=build.rs
 cargo:rustc-env=VERGEN_BUILD_TIMESTAMP=2019-01-21T07:58:35.074019866+00:00
 cargo:rustc-env=VERGEN_SHA=
 cargo:rustc-env=VERGEN_BUILD_DATE=2019-01-21
 cargo:rustc-env=VERGEN_SEMVER_LIGHTWEIGHT=0.1.0
 cargo:rustc-env=VERGEN_SHA_SHORT=
 cargo:rustc-env=VERGEN_SEMVER=0.1.0
 cargo:rustc-env=VERGEN_TARGET_TRIPLE=x86_64-unknown-linux-gnu
 cargo:rustc-env=VERGEN_COMMIT_DATE=
 --- stderr
 thread 'main' panicked at 'Unable to generate vergen keys!: Os { code: 2,
 kind: NotFound, message: "No such file or directory" }',
 src/libcore/result.rs:1009:5
 note: Run with `RUST_BACKTRACE=1` for a backtrace.

 warning: build failed, waiting for other jobs to finish...
 error: build failed
 command did not execute successfully:
 "/mnt/tmp/rustc/rustc-1.32.0-src/build/x86_64-unknown-linux-
 gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j"
 "12" "--release" "--manifest-path"
 "/mnt/tmp/rustc/rustc-1.32.0-src/src/tools/miri/Cargo.toml" "--message-
 format" "json"
 expected success, got: exit code: 101
 Build completed successfully in 0:21:44
 }}}

 This seems to match the caveat in the book.

 I do have the following:

 ./build/x86_64-unknown-linux-gnu/stage1/bin/rustc
 ./build/x86_64-unknown-linux-gnu/stage2/bin/rustc
 ./build/x86_64-unknown-linux-gnu/stage0/bin/rustc

 I was able to run the stage2 version with
 {{{
 $ export LD_LIBRARY_PATH=build/x86_64-unknown-linux-gnu/stage2/lib
 $ ./build/x86_64-unknown-linux-gnu/stage2/bin/rustc --version
 rustc 1.32.0
 }}}

 A ran the build manually with the instructions in the book so I do not
 have a log or timing.  The directory size after build is 3.6G.  I'm
 stopping now, and I have not run any tests yet.  I have not run the
 install either.  I'll try those tomorrow.

--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/11521#comment:10>
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