On Tue, Dec 25, 2018 at 09:07:57PM +0200, Thanos Baloukas via blfs-dev wrote:
> On 25/12/18 7:55 π.μ., Ken Moffat via blfs-dev wrote:
> > So, for my attempts to keep old systems viable, things are looking
> > better, at least until firefox-65 appears (that will need a newer
> > version of rustc, but for me 1.31.1 fails to build from source).
> > 
> Well, rust really hates you! ):

The rust build-system and I have a mutual loathing.  Rust itself may
be ok (apart from the vast storage of cargo files, and using
multiple versions of some of them), but (like mozilla's 'mach' and
'configure.py'), build systems using python tend to break in w#ird
and wonderful ways.
> 
> Just finished 1.31.1 build with llvm-7.0.1. I had 1.31.0 built with
> llvm-7.0.0 installed and used
> 
> cargo = "/usr/bin/cargo"
> rustc = "/usr/bin/rustc"
> 
> in config.toml. It took 28 min with very few downloads.
> 1.31.0 was the first rust installation on this system and took 44 min
> with the downloads. These are without -j passed, with AMD Ryzen 7 2700X,
> which by the way has no problem at all (until I'll try to run the rust
> tests, I'm afraid).
> 
> Note that I've never installed libssh2. Rust downloads it, so for me
> it should not be required. 1.31.0 had downloaded libssh2-sys v0.2.11
> that 1.31.1 used as well, and on my previous system rustc-1.27.0 had
> downloaded v0.2.6

My memory says that from time to time in 2018 builds of rustc have
failed when system libssh2 was not present.  The libssh2 cargo file
that gets downloaded is not the same thing.  Overall, I think that
the builds of rustc are non-deterministic - if buildign several
tiems, details might change.
> 
> On my llvm builds I add the -DLLVM_ENABLE_RTTI=ON option because mesa
> with meson needs it IIRC.
> 
> I don't use python3. I do
> 
> ./x.py build
> DESTDIR=${fakeroot} ./x.py install
> 
> x.py has #!/usr/bin/env python

Yes, I noted that the other day, so I'm not sure if the attempt to
force python3 go used or ignored.
> 
> These are my related to rust deviations from the book that I can
> remember.
> 
> Merry Xmas!
> 

Thanks.  I'm out of time to look at this.  Maybe I'll squeeze it in,
if not someone else will have to pick up firefox-65.

ĸen
-- 
The Laird o’Phelps spent Hogmanay declaring he was sober,
Counted his feet to prove the fact and found he had one foot over.
                          -- Louis MacNeice, Bagpipe Music
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to