Bug 222549 - lang/rust: 1.19.0 fails to build (using synth)
Summary: lang/rust: 1.19.0 fails to build (using synth)
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Jean-Sébastien Pédron
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-24 10:58 UTC by John Smith
Modified: 2017-09-28 20:51 UTC (History)
2 users (show)

See Also:
jbeich: maintainer-feedback? (dumbbell)
jbeich: maintainer-feedback? (riggs)


Attachments
build log part1 (358.53 KB, text/plain)
2017-09-28 20:10 UTC, John Smith
no flags Details
build log part2 (678.57 KB, text/plain)
2017-09-28 20:11 UTC, John Smith
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Smith 2017-09-24 10:58:15 UTC
executing step Step { name: "dist-rustc", stage: 2, host: "x86_64-unknown-freebsd", target: "x86_64-unknown-freebsd" }
Dist rustc stage2 (x86_64-unknown-freebsd)
running: "/construction/xports/lang/rust/work/rustc-1.19.0-src/build/x86_64-unknown-freebsd/stage0-tools/x86_64-unknown-freebsd/release/rust-installer" "generate" "--product-name=Rust" "--rel-manifest-dir=rustlib" "--success-message=Rust-is-ready-to-roll." "--image-dir" "/construction/xports/lang/rust/work/rustc-1.19.0-src/build/tmp/dist/rustc-1.19.0-x86_64-unknown-freebsd-image" "--work-dir" "/construction/xports/lang/rust/work/rustc-1.19.0-src/build/tmp/dist" "--output-dir" "/construction/xports/lang/rust/work/rustc-1.19.0-src/build/dist" "--non-installed-overlay" "/construction/xports/lang/rust/work/rustc-1.19.0-src/build/tmp/dist/rustc-1.19.0-x86_64-unknown-freebsd-overlay" "--package-name=rustc-1.19.0-x86_64-unknown-freebsd" "--component-name=rustc" "--legacy-manifest-dirs=rustlib,cargo"


command did not execute successfully: "/construction/xports/lang/rust/work/rustc-1.19.0-src/build/x86_64-unknown-freebsd/stage0-tools/x86_64-unknown-freebsd/release/rust-installer" "generate" "--product-name=Rust" "--rel-manifest-dir=rustlib" "--success-message=Rust-is-ready-to-roll." "--image-dir" "/construction/xports/lang/rust/work/rustc-1.19.0-src/build/tmp/dist/rustc-1.19.0-x86_64-unknown-freebsd-image" "--work-dir" "/construction/xports/lang/rust/work/rustc-1.19.0-src/build/tmp/dist" "--output-dir" "/construction/xports/lang/rust/work/rustc-1.19.0-src/build/dist" "--non-installed-overlay" "/construction/xports/lang/rust/work/rustc-1.19.0-src/build/tmp/dist/rustc-1.19.0-x86_64-unknown-freebsd-overlay" "--package-name=rustc-1.19.0-x86_64-unknown-freebsd" "--component-name=rustc" "--legacy-manifest-dirs=rustlib,cargo"
expected success, got: signal: 9


Traceback (most recent call last):
  File "/construction/xports/lang/rust/work/rustc-1.19.0-src/x.py", line 20, in <module>
    bootstrap.main()
  File "/construction/xports/lang/rust/work/rustc-1.19.0-src/src/bootstrap/bootstrap.py", line 678, in main
    bootstrap()
  File "/construction/xports/lang/rust/work/rustc-1.19.0-src/src/bootstrap/bootstrap.py", line 670, in bootstrap
    run(args, env=env, verbose=rb.verbose)
  File "/construction/xports/lang/rust/work/rustc-1.19.0-src/src/bootstrap/bootstrap.py", line 142, in run
    raise RuntimeError(err)
RuntimeError: failed to run: /construction/xports/lang/rust/work/rustc-1.19.0-src/build/bootstrap/debug/bootstrap install --verbose --config ./config.toml --jobs 3
*** Error code 1

Stop.
make: stopped in /xports/lang/rust
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2017-09-24 10:58:15 UTC
Maintainer informed via mail
Comment 2 John Smith 2017-09-24 11:02:43 UTC
make config options enabled: DOCS, LLNEXTGEN
Comment 3 Jan Beich freebsd_committer freebsd_triage 2017-09-27 10:46:31 UTC
Auto-assigner chokes on rust@ not being a valid bugzilla user.
Comment 4 Jean-Sébastien Pédron freebsd_committer freebsd_triage 2017-09-27 21:47:51 UTC
Hi!

Could you please tell me what Synth is? Searching for this only returns pages about synthetizers...

Also, I'm intested in the whole build output.

Thanks!
Comment 5 Chris Hutchinson 2017-09-27 22:50:30 UTC
(In reply to Jean-Sébastien Pédron from comment #4)
> Hi!
> 
> Could you please tell me what Synth is? Searching for this only returns
> pages about synthetizers...
> 
> Also, I'm intested in the whole build output.
> 
> Thanks!

Search the FreeBSD ports(7) tree next time. :)

See:

ports-mgmt/synth/

and

https://github.com/jrmarino/synth

for more detail. :)

HTH

--Chris
Comment 6 Jean-Sébastien Pédron freebsd_committer freebsd_triage 2017-09-28 06:26:24 UTC
Crap, I did a `pkg search` which yield no result :) So yes, good advice, next time, I'll look at the Ports tree directly!

Back to the topic, I doubt Synth can be the root cause.

John Smith, in addition to the build log, could you please submit the output of dmesg(8)? The command is exiting because of SIGKILL. I already saw the build process to abort because it consumed all memory and swap, but this doesn't happen to me anymore. Perhaps you are hitting this issue.
Comment 7 John Smith 2017-09-28 20:10:55 UTC
Created attachment 186786 [details]
build log part1

the log was too big to be sent as a single file
Comment 8 John Smith 2017-09-28 20:11:19 UTC
Created attachment 186787 [details]
build log part2
Comment 9 Jean-Sébastien Pédron freebsd_committer freebsd_triage 2017-09-28 20:44:38 UTC
Thanks!

According to the log, it worked this time, is that right?
Comment 10 John Smith 2017-09-28 20:51:46 UTC
Yeah.
Sorry, I forget about my tickets that get outdated.