Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-53933

Compile error in chromium/third_party/zlib/google/zip_reader.cc

    XMLWordPrintable

Details

    Description

      When I try to compile QtWebEngine with the 5.6.1 release I get:

      [1687/11277] CXX obj/src/3rdparty/chromium/net/base/net.zap.o
      FAILED: /usr/sbin/g++ -MMD -MF obj/src/3rdparty/chromium/third_party/zlib/google/zip.zip_reader.o.d -DV8_DEPRECATION_WARNINGS -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DCHROMIUM_BUILD -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DSAFE_BROWSING_SERVICE -DUSE_SYSTEM_MINIZIP -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen/shim_headers/libevent/target -Igen -I/tmp/makepkg/qt5-webengine-debug/src/qtwebengine-opensource-src-5.6.1/src/3rdparty/chromium -I/usr/include/libdrm -fstack-protector --param=ssp-buffer-size=4  -pthread -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wno-format -Wno-unused-result -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -m64 -march=x86-64 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -g -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -g -fvar-tracking-assignments -g -fvar-tracking-assignments -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wno-deprecated -std=gnu++11 -Wno-narrowing -Wno-literal-suffix  -c /tmp/makepkg/qt5-webengine-debug/src/qtwebengine-opensource-src-5.6.1/src/3rdparty/chromium/third_party/zlib/google/zip_reader.cc -o obj/src/3rdparty/chromium/third_party/zlib/google/zip.zip_reader.o
      /tmp/makepkg/qt5-webengine-debug/src/qtwebengine-opensource-src-5.6.1/src/3rdparty/chromium/third_party/zlib/google/zip_reader.cc: In member function 'bool zip::ZipReader::LocateAndOpenEntry(const base::FilePath&)':
      /tmp/makepkg/qt5-webengine-debug/src/qtwebengine-opensource-src-5.6.1/src/3rdparty/chromium/third_party/zlib/google/zip_reader.cc:281:61: error: invalid conversion from 'int' to 'unzFileNameComparer {aka int (*)(void*, const char*, const char*)}' [-fpermissive]
                                          kDefaultCaseSensivityOfOS);
                                                                   ^
      In file included from /tmp/makepkg/qt5-webengine-debug/src/qtwebengine-opensource-src-5.6.1/src/3rdparty/chromium/third_party/zlib/google/zip_reader.h:19:0,
                       from /tmp/makepkg/qt5-webengine-debug/src/qtwebengine-opensource-src-5.6.1/src/3rdparty/chromium/third_party/zlib/google/zip_reader.cc:5:
      /usr/include/minizip/unzip.h:267:20: note:   initializing argument 3 of 'int unzLocateFile(unzFile, const char*, unzFileNameComparer)'
       extern int ZEXPORT unzLocateFile OF((unzFile file, const char *filename, unzFileNameComparer filename_compare_func));
                          ^~~~~~~~~~~~~
      ninja: build stopped: subcommand failed.
      Makefile.gyp_run:397: recipe for target 'invoke_ninja' failed
      make[3]: Leaving directory '/tmp/makepkg/qt5-webengine-debug/src/build/src/core'
      make[3]: *** [invoke_ninja] Error 1
      Makefile:116: recipe for target 'sub-gyp_run-pro-make_first' failed
      make[2]: Leaving directory '/tmp/makepkg/qt5-webengine-debug/src/build/src/core'
      make[2]: *** [sub-gyp_run-pro-make_first] Error 2
      Makefile:49: recipe for target 'sub-core-make_first' failed
      make[1]: Leaving directory '/tmp/makepkg/qt5-webengine-debug/src/build/src'
      make[1]: *** [sub-core-make_first] Error 2
      Makefile:44: recipe for target 'sub-src-make_first' failed
      make: *** [sub-src-make_first] Error 2
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            the compiler Florian Bruhin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes