On Wed, Jan 30, 2019 at 08:09:11PM +0000, Ken Moffat via blfs-support wrote:
> On Wed, Jan 30, 2019 at 08:27:04PM +0100, Vaclav Masin via blfs-support wrote:
> > Hi,
> > 
> > trying to build the new Firefox on my oldish LFS 7.10 system results in:
> > 
> > 65:27.71 In file included from 
> > /sources/firefox-65.0/firefox-build-dir/gfx/skia/Unified_cpp_gfx_skia16.cpp:2:
[...]
> > 65:27.71 In file included from 
> > /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.2.0/../../../../include/c++/6.2.0/memory:81:
> > 65:27.72 
> > /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.2.0/../../../../include/c++/6.2.0/bits/unique_ptr.h:614:2:
> >  error: use of undeclared identifier 'swap'
> > 65:27.72         swap(std::get<0>(_M_t), __p);
> > 65:27.72         ^

Replying to this earlier posting because I had trimmed that error
message out of my later reply.  You had said you had already
installed llvm-7.0.1, so I was puzzled by gcc being used.  I now see
that I was misreading, it is a gcc c++ _header_ which is being
pulled in.

Anyway, I had an old 7.10 system lingering around, so now that I've
got the urgent updates out of the way I've been playing with that.
I stopped updating it after firefox-58 was released, so a lot of
vulnerabilities have not been addressed.  But I've installed: ninja,
llvm-7.0.1, current versions of sqlite, nspr, nss, libvpx, libwebp,
ca-certs, icu, graphite2, harfbuzz, rustc, cbindgen, node-js and
then I tried to build firefox (as in the latest book, except NOT
using python3 because I want to keep the original version around for
possible future test builds of gcc).  And ... same error as you.

Some months ago I had stopped updating my 8.0 and 8.1 systems
because of unsolved problems with firefox failing to build.  More
recently I got over that and those are again up to date.  But as a
general rule (and obviously it depends a bit on which packages you
build) for a *desktop* system I suggest building a new system every
year or so.

Summary: something in the gcc-6 headers is the problem, so for
firefox LFS-7.10 is out.

Sorry this isn't solvable.  As I said earlier, reverting to the
latest firefox esr might work for the short term.

ĸen
-- 
thread 'main' panicked at 'giraffe',
/tmp/rustc-1.32.0-src/src/test/run-fail/while-panic.rs:17:13
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to