LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-06-2019, 01:14 AM   #1
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
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
 
Old 05-06-2019, 09:00 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,575
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
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.
 
Old 05-06-2019, 09:28 AM   #3
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Original Poster
Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
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.
 
Old 05-06-2019, 11:29 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
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).

Last edited by ponce; 05-06-2019 at 11:33 AM.
 
Old 05-06-2019, 11:47 AM   #5
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Original Poster
Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Thanks Ponce. Will give that a try.
 
Old 05-06-2019, 04:39 PM   #6
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,500

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

Last edited by LuckyCyborg; 05-06-2019 at 04:55 PM.
 
Old 05-07-2019, 12:24 AM   #7
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Original Poster
Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
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.
 
Old 05-07-2019, 12:48 AM   #8
gus3
Member
 
Registered: Jun 2014
Distribution: Slackware
Posts: 490

Rep: Reputation: Disabled
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?
 
Old 05-07-2019, 09:19 PM   #9
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,500

Rep: Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309
Quote:
Originally Posted by 3rensho View Post
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.
 
Old 05-08-2019, 12:40 AM   #10
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Original Poster
Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Snips Uses Rust to Build an Embedded Voice Assistant LXer Syndicated Linux News 0 02-21-2018 11:30 PM
[SOLVED] Linux 4.4 seems to refuse to build IPv6 for the 64-bit build - 32-bit build works fine GameCodingNinja Linux From Scratch 2 02-07-2016 06:40 PM
LXer: My Nerd Life: Too Loud, Too Funny, Too Smart, Too Fat LXer Syndicated Linux News 0 01-24-2014 05:21 AM
self build rpm fails with missing dependencies on build host zhjim Linux - Software 1 09-24-2009 08:47 AM
LXer: Build 'em Right, Build 'em Strong, Build 'em Linux LXer Syndicated Linux News 0 10-01-2007 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration