Ken Moffat wrote:
On Mon, Aug 17, 2015 at 02:34:08AM +0100, Ken Moffat wrote:
On Sun, Aug 16, 2015 at 09:35:55PM +0100, Ken Moffat wrote:
On Sun, Aug 16, 2015 at 09:09:39PM +0100, Ken Moffat wrote:

At least this is an explicable user error.  Will have to look to see
if my other image is what it claims to be, and if so I'll try again.
If not, looks like I'll need to start over.

Well, that image _was_ what I thought I wanted, but after adding the
required deps qt failed to build:

make[3]: Entering directory
'/usr/src/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/qdoc'
g++ -c -O2 -O2 -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT
-fPIC -DQT_NO_MTDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT
-DQT_QMLDEVTOOLS_LIB -DQDOC2_COMPAT -DQT_NO_EXCEPTIONS
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_XML_LIB
-DQT_CORE_LIB -I. -I. -Iqmlparser -I../../../include
-I../../../include/QtXml -I../../../include/QtCore -I.moc
-I../../../mkspecs/linux-g++ -o .obj/doc.o doc.cpp
In file included from /usr/include/c++/5.2.0/vector:63:0,
                  from /usr/include/c++/5.2.0/bits/random.h:34,
                  from /usr/include/c++/5.2.0/random:49,
                  from /usr/include/c++/5.2.0/bits/stl_algo.h:66,
                  from /usr/include/c++/5.2.0/algorithm:62,
                  from
../../../include/QtCore/../../src/corelib/global/qglobal.h:85,
                  from ../../../include/QtCore/qglobal.h:1,
                  from
../../../include/QtCore/../../src/corelib/tools/qiterator.h:37,
                  from ../../../include/QtCore/qiterator.h:1,
                  from
../../../include/QtCore/../../src/corelib/tools/qmap.h:37,
                  from ../../../include/QtCore/qmap.h:1,
                  from config.h:41,
                  from doc.cpp:34:
/usr/include/c++/5.2.0/bits/stl_uninitialized.h:566:30: error:
expected initializer before '*' token
      __uninitialized_default_n(_ForwardIterator __first, _Size __n)
                               ^
/usr/include/c++/5.2.0/bits/stl_uninitialized.h: In function
'_ForwardIterator std::__uninitialized_default_n_a(_ForwardIterator,
_Size, std::allocator<_Tp>&)':
/usr/include/c++/5.2.0/bits/stl_uninitialized.h:637:14: error:
'__uninitialized_default_n' is not a member of 'std'
      { return std::__uninitialized_default_n(__first, __n); }
               ^
Makefile:1725: recipe for target '.obj/doc.o' failed
make[3]: *** [.obj/doc.o] Error 1
make[3]: Leaving directory
'/usr/src/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/qdoc'


Looks like a race somewhere!  I've already built it 5 times before
on this infrastrcture (twice for my normal desktop build - omitted
ruby the first time - and three times trying to get the kf5 parts of
lxqt to build) and in each of those qt iteslf completed ok.

Last night I left it building as -j1 and the script completed (qt5,
lxqt, the apps including qupzilla, sddm).

I find it hard to recommend building with -j1 (in this last build
qt5 took about 4h40m), so if it happens again I'll probably try a
second attempt.  I still need to do separate builds of my normal
desktp and of plasma.

I've been building at -j10 without problem, but that doesn't mean that there isn't a race in there. One technique I've used with races is to build until failure and then just do another make -j1 for a while. Then ^C and restart with -j10 (or whatever).

It is a huge package.  Even at -j10 my log says 90 SBU.

  -- Bruce
--
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