Closed Bug 1469971 Opened 6 years ago Closed 6 years ago

SearchFox failing to build due to missing set_oom_hook

Categories

(Webtools :: Searchfox, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mccr8, Unassigned)

References

Details

This code changed in bug 1465709, but that was a week ago, so I don't know why the SearchFox build started failing just now. 56:29.47 error[E0432]: unresolved import `std::alloc::set_oom_hook` 56:29.47 --> toolkit/library/rust/shared/lib.rs:225:30 56:29.47 | 56:29.47 225 | use std::alloc::{Layout, set_oom_hook}; 56:29.48 | ^^^^^^^^^^^^ no `set_oom_hook` in `alloc` 56:30.16 error: aborting due to previous error 56:30.16 For more information about this error, try `rustc --explain E0432`. 56:30.21 error: Could not compile `gkrust-shared`. 56:30.21 To learn more, run the command again with --verbose. 56:30.21 /index/mozilla-central/gecko-dev/config/rules.mk:950: recipe for target 'force-cargo-library-build' failed 56:30.21 make[4]: *** [force-cargo-library-build] Error 101 56:30.21 /index/mozilla-central/gecko-dev/config/recurse.mk:74: recipe for target 'toolkit/library/rust/target' failed 56:30.21 make[3]: *** [toolkit/library/rust/target] Error 2 56:30.21 make[3]: *** Waiting for unfinished jobs.... 56:40.25 MOZSEARCH: /index/mozilla-central/gecko-dev /index/mozilla-central/analysis/ /index/mozilla-central/objdir/ 56:41.69 MOZSEARCH: /index/mozilla-central/gecko-dev /index/mozilla-central/analysis/ /index/mozilla-central/objdir/ 56:44.96 MOZSEARCH: /index/mozilla-central/gecko-dev /index/mozilla-central/analysis/ /index/mozilla-central/objdir/ 56:47.57 MOZSEARCH: /index/mozilla-central/gecko-dev /index/mozilla-central/analysis/ /index/mozilla-central/objdir/ 56:49.05 MOZSEARCH: /index/mozilla-central/gecko-dev /index/mozilla-central/analysis/ /index/mozilla-central/objdir/ 56:50.98 MOZSEARCH: /index/mozilla-central/gecko-dev /index/mozilla-central/analysis/ /index/mozilla-central/objdir/ 56:56.09 MOZSEARCH: /index/mozilla-central/gecko-dev /index/mozilla-central/analysis/ /index/mozilla-central/objdir/ 56:58.56 MOZSEARCH: /index/mozilla-central/gecko-dev /index/mozilla-central/analysis/ /index/mozilla-central/objdir/ 56:58.59 /index/mozilla-central/gecko-dev/config/recurse.mk:32: recipe for target 'compile' failed 56:58.59 make[2]: *** [compile] Error 2 56:58.59 /index/mozilla-central/gecko-dev/config/rules.mk:418: recipe for target 'default' failed 56:58.59 make[1]: *** [default] Error 2 56:58.59 client.mk:150: recipe for target 'build' failed 56:58.59 make: *** [build] Error 2 56:58.61 151 compiler warnings present. 56:59.21 Notification center failed: Install notify-send (usually part of the libnotify package) to get a notification when the build finishes.
It looks like SearchFox just uses the Nightly version of rustc: # Install Rust. curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly https://github.com/mozsearch/mozsearch/search?q=rustup&unscoped_q=rustup So presumably the pull request mentioned in bug 1469766 is in Rust Nightly just now, so we need the patch from bug 1469766?
No longer blocks: 1465709
Depends on: 1469766
Yeah that sounds about right.
I haven't seen another error message, so I guess this is working again.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.