On 10/05/2016 22:02, Ken Moffat wrote:
On Tue, May 10, 2016 at 03:23:31PM +0200, Pierre Labastie wrote:

Added pciutils allowed the build to pass : here is what I have now:
----------
cd qtwebengine/ && ( test -e Makefile ||
/sources/qt5/qt-everywhere-opensource-src-5.6.0/qtbase/bin/qmake
/sources/qt5/qt-everywhere-opensource-src-5.6.0/qtwebengine/qtwebengine.pro
-o Makefile ) && make -f Makefile
Info: creating cache file
/sources/qt5/qt-everywhere-opensource-src-5.6.0/qtwebengine/.qmake.cache
Running configure tests
Checking for khr... yes
Checking for libcap... yes
Checking for snappy... no
Checking for srtp... no
System zlib or minizip not found. Using Chromium's copies.
System libwebp or libwebpdemux not found. Using Chromium's copies.
System libevent not found. Using Chromium's copy.
System jsoncpp not found. Using Chromium's copy.
System opus not found. Using Chromium's copy.
System vpx >= 1.4 not found. Using Chromium's copy.
System libsrtp not found. Using Chromium's copy.
System snappy not found. Using Chromium's copy.
SSL............................... Using system NSS
ICU............................... Using internal copy (Default, force
system ICU with WEBENGINE_CONFIG += use_system_icu)
FFMPEG............................ Using internal copy (Default, force
system FFMPEG with WEBENGINE_CONFIG += use_system_ffmpeg)
Proprietary codecs (H264, MP3).... Not enabled         (Default, enable with
WEBENGINE_CONFIG += use_proprietary_codecs)
make[1] : Entering directory
"/sources/qt5/qt-everywhere-opensource-src-5.6.0/qtwebengine" [...]
--------------------
Note that neither libwebp nor libevent, opus or libvpx is installed on my
system. I'll have to try with those. I think jsoncpp, libsrtp, and snappy
are not in the book. I guess the book instructions should include some
"WEBENGINE_CONFIG" setting.

WIth this, I've been able to build qupzilla, but when I move the mouse (or
sometimes without moving the mouse but just after a while), the page
disappears with a message "Something went wrong while loading this page".

Pierre
Pierre,

Many thanks for testing.  I've been doing other things, didn't
expect this to be done for me.

I didn't get any of those messages:
Have you tried seeking "qtwebengine" in the log? What I have above is the build log starting at the first occurence of "qtwebengine"

Info: creating super cache file
/scratch/working/qt-everywhere-opensource-src-5.6.0/.qmake.super

Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into /opt/qt5

Under the 'Build options:' above that, the following are 'no' for my
build -

   Using gold linker....... no
Same here

   Use system proxies ..... no
Same here. I have also:
  Using LTCG ............. no


   ALSA ................... no
(that looks odd, I've got working alsa)
Same here

   libinput................ no
   Logging backends:
     journald ............... no
     syslog   ............... no

     libproxy.............. no
Same here: I also have:
    OpenVG ............... no


   PulseAudio ............. no
I have yes here (I guess it is because I have built pulseaudio)

     DirectFB ............. no

       EGLFS i.MX6 ........ no
       EGLFS i.MX6 Wayland. no
       EGLFS EGLDevice .... no

       EGLFS Mali ......... no
       EGLFS Raspberry Pi . no

     Mir client............ no

       Xi ................. no

   SQL drivers:
     DB2 .................. no
     InterBase ............ no
     MySQL ................ no
     OCI .................. no
     ODBC ................. no

     SQLite 2 ............. no

     TDS .................. no
   tslib .................. no
Same here +:
    PostgreSQL ........... no

Of the things you had reported :
zlib or minizip not found. Using Chromium's copies.
  That seems odd - isn't zlib part of LFS itself ?
Agreed.

libwebp or libwebpdemux not found. Using Chromium's copies.
  No message, and at that time I did not have libwebp.

libevent - system

jsoncpp not found. Using Chromium's copy.
  If that is json-c, I did not have it at that time.
json-c and json-cpp (C++ bindings) are not the same thing. We do not have json-cpp

opus not found. Using Chromium's copy.
  I don't have it.

vpx - system

libsrtp not found. Using Chromium's copy.
snappy not found. Using Chromium's copy.
  I've not heard of either of those two.

SSL............................... Using system NSS
  The problem was with system nss, so that proves the patch fixed it.
Agreed
ICU - system
FFMPEG - system

I configured with:
  -prefix /opt/qt5 -sysconfdir /etc/xdg -confirm-license -opensource
  -dbus-linked -openssl-linked -system-harfbuzz -nomake examples
  -no-rpath -optimized-qmake
Same here + "-system-sqlite" (book instructions)

For qupzilla, I opened 5 tabs after I started to reply, used them a
bit, tried slashdot, checked my own website and looked at a text file
there, logged in to lwn.net.  Then I came back to this and put in the
details.  After that I went back to qupzilla, read things, clicked on
links, scrolled down.  No problems.

The main other difference is that I used:
-----
make -j4 module-qtwebengine
make module-qtwebengine-install_subtargets
------
Since I already had installed the other parts of qt.
I think I need to install ffmpeg and restart a full build.
But if there is something like what happens with hotspot (OpenJDK), GCC 6 may have too agressive optimizations irrespective of the -std= setting, which lead to crashes...

Regards
Pierre

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