LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   FF-66.0.4 build fails, Rust too (https://www.linuxquestions.org/questions/slackware-14/ff-66-0-4-build-fails-rust-too-4175653404/)

3rensho 05-06-2019 01:14 AM

FF-66.0.4 build fails, Rust too
 
Running Slack64-current with latest Plasma5. Tried to build ff-66.0.4 this morning but after churning away for 40 minutes or so it dies. checkpkg script says -

Fatal server error:
290930: Config object not found by mach.

Then I thought that compiling rust might help, but -

Compiling term v0.0.0 (/tmp/rustc-1.34.1-src/src/libterm)
Compiling getopts v0.2.17
error[E0463]: can't find crate for `std` ] 0/4: proc_macro, term, getopts
error: aborting due to previous error

Has anyone built rust with gcc-9.1?? Or built ff-66.0.4?? Thanks

hazel 05-06-2019 09:00 AM

You could try looking at the development version of BLFS http://www.linuxfromscratch.org/blfs/view/svn. That uses gcc-9 and FF-66.

From what I can remember of the BLFS development list, rust is a pain in the anatomy.

3rensho 05-06-2019 09:28 AM

Thank you for that Hazel. Will give it a gander and see if I can glean any insight to this problem I'm having. If anyone has the time to build/try to build rust from the latest slackbuild using gcc-9.1 please give it a go and let me know the results. Would help to know if it is my system having a hissy fit or if it is a real issue.

ponce 05-06-2019 11:29 AM

rust often has problem bootstrapping from the same version installed: just removepkg rust, download the binaries of the previous version to bootstrap it in the SlackBuild directory (the address of the three files is in the file "rust.url") and launch rust.SlackBuild.
I just tested it here and it went fine.
gcc, in theory, shouldn't be involved, as rust uses an internal copy of llvm to build itself (it's explained also in its blfs page).

3rensho 05-06-2019 11:47 AM

Thanks Ponce. Will give that a try.

LuckyCyborg 05-06-2019 04:39 PM

Built here the Firefox 66.0.4 with no issues, using a careful updated -current and the stock Rust.

3rensho 05-07-2019 12:24 AM

Thanks LuckyCyborg. I finally got it built. Just a matter of removing rust and reinstalling the stock rust. Thanks everyone for your input. Much appreciated.

gus3 05-07-2019 12:48 AM

Quote:

rust often has problem bootstrapping
That says it all.

$ fortune -m enumerated all

Do we want to account for every little thing, or do we want to get stuff done?

LuckyCyborg 05-07-2019 09:19 PM

Quote:

Originally Posted by 3rensho (Post 5992449)
Thanks LuckyCyborg. I finally got it built. Just a matter of removing rust and reinstalling the stock rust.

I would like to note that also the now latest Firefox 66.0.5 builds with no issues on the latest -current.

3rensho 05-08-2019 12:40 AM

Quote:

I would like to note that also the now latest Firefox 66.0.5 builds with no issues on the latest -current.
I made the same experience here this morning. 66.0.5 builds fine. Just a few more days to 67.0


All times are GMT -5. The time now is 12:24 PM.