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

QtNetwork - Doc - Wrong INSTALL_ROOT ?

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 6.0 (Next Major Release)
    • Fix Version/s: None
    • Component/s: Network
    • Labels:
      None
    • Environment:
      Manjaro Community Edition Cinnamon - Android
    • Platform/s:
      Android

      Description

      When I try to compile the current dev on Android
      (main repo - 43b7a3693ea8c8ce05af8f42f8007c73e129aaf6)
      I get an error on "make install":

      make[4]: Directory „[...]/android-build/qtbase/src/network/doc/snippets“ is entered
      mkdir: the directory „/libs“ can not be created: Missing rights
      make[4]: *** [Makefile.Armeabi-v7a:367: install_target] Error 1
      

      The Makefile.Armeabi-v7a in [...]/snippets contains

      install_target: all FORCE
      	@test -d $(INSTALL_ROOT)/libs/armeabi-v7a/ || mkdir -p $(INSTALL_ROOT)/libs/armeabi-v7a/
      	$(QINSTALL_PROGRAM) $(QMAKE_TARGET) $(INSTALL_ROOT)/libs/armeabi-v7a/$(QMAKE_TARGET)
      

      INSTALL_ROOT seems to be empty.
      Build steps:

      mkdir android-dist
      # compile/install openssl in android-dist
      mkdir android-build
      cd android-build
      
      export ANDROID_TARGET_ARCH=armeabi-v7a
      ../qt5/configure -developer-build -opensource -confirm-license -prefix [...]/android-dist -nomake examples -nomake tests -no-mtdev -no-dbus -no-harfbuzz -no-compile-examples -no-sql-sqlite -qt-zlib -qt-libpng -qt-libjpeg -qt-pcre -system-proxies -openssl-linked -I [...]/android-dist/include -L [...]/android-dist/lib -no-feature-dtls -no-feature-winrt_bt -no-feature-ftp -no-feature-lcdnumber -no-feature-mdiarea -no-feature-calendarwidget -no-feature-colordialog -no-feature-cups -no-feature-dial -no-feature-fontcombobox -no-feature-fontdialog -no-feature-imageformat_bmp -no-feature-imageformat_ppm -no-feature-imageformat_xbm -no-feature-sharedmemory -no-feature-textodfwriter -no-feature-undocommand -no-feature-undogroup -no-feature-undostack -no-feature-undoview -no-feature-printer -no-feature-printdialog -no-feature-printpreviewdialog -no-feature-printpreviewwidget -no-feature-splashscreen -no-feature-syntaxhighlighter -no-feature-dom -no-feature-sql -no-journald -no-directfb -no-linuxfb -android-sdk /opt/android-sdk -android-ndk /opt/android-ndk -android-ndk-platform android-21 -android-ndk-host linux-x86_64 -android-abis armeabi-v7a,armeabi-v7a -xplatform android-clang -no-widgets -skip qtwebglplugin -skip qtscxml -skip qtxmlpatterns -skip qtwebchannel -skip qtwebengine -skip qtactiveqt -skip qtlocation -skip qtserialbus -skip qtserialport -skip qtgamepad -skip qtvirtualkeyboard -skip qtcanvas3d -skip qtcharts -skip qtdatavis3d -skip qt3d -skip qtpurchasing -skip qtwayland -skip qtremoteobjects -skip qtspeech -skip qtwebview -skip multimedia -skip qtquickcontrols
      make -j8
      make install
      

      Configure output:

      This is the Qt Open Source Edition.
      
      You have already accepted the terms of the Open Source license.
      
      Running configuration tests...
      Checking for valid makespec... yes
      Checking for alloca() in alloca.h... yes
      Checking for target architecture... arm
      Checking for host architecture... x86_64
      Checking for C++14 support... yes
      Checking for C++17 support... yes
      Checking for C99 support... yes
      Checking for C11 support... yes
      Checking for pkg-config... no
      Checking for dlopen()... yes
      Checking for new dtags support... yes
      Checking for Support for Intel Control-flow Enforcement Technology... no
      Checking for udev... no
      Checking for POSIX fallocate()... yes
      Checking for precompiled header support... yes
      Checking for RDRAND instruction... no
      Checking for RDSEED instruction... no
      Checking for symbol visibility support... yes
      Checking for -Bsymbolic-functions support... no
      Checking for Signaling NaN for doubles... yes
      Checking for STL compatibility... yes
      Checking for Zstandard... no
      Checking for clock_gettime()... yes
      Checking for POSIX monotonic clock... yes
      Checking for C++11 <future>... no
      Checking for C++17 <filesystem>... no
      Checking for eventfd... yes
      Checking for futimens()... yes
      Checking for getauxval()... yes
      Checking for getentropy()... no
      Checking for GLib... no
      Checking for GNU libc... no
      Checking for ICU... no
      Checking for inotify... yes
      Checking for SysV IPC... no
      Checking for POSIX IPC... no
      Checking for ppoll()... yes
      Checking for renameat2()... no
      Checking for slog2... no
      Checking for statx() in libc... no
      Checking for 64 bit atomics... yes
      Checking for DoubleConversion... no
      Checking for O_CLOEXEC... yes
      Checking for C++11 <random>... yes
      Checking for working std::atomic for function pointers... yes
      Checking for getifaddrs()... no
      Checking for KRB5 GSSAPI Support... no
      Checking for IPv6 ifname... no
      Checking for Linux AF_NETLINK sockets... yes
      Checking for OpenSSL... yes
      Checking for OCSP stapling support in OpenSSL... yes
      Checking for XCB >= 1.11... no
      Checking for KMS... no
      Checking for Desktop OpenGL... no
      Checking for OpenGL ES 2.0... yes
      Checking for EGL... yes
      Checking for XLib... no
      Checking for evdev... yes
      Checking for FreeType... no
      Checking for GBM... no
      Checking for OpenGL ES 3.0... no
      Checking for OpenVG... no
      Checking for default QPA platform... android
      Checking for libmd4c... no
      Checking for tslib... no
      Checking for Vulkan... yes
      Checking for xkbcommon >= 0.5.0... no
      Checking for DB2 (IBM)... no
      Checking for InterBase... no
      Checking for MySQL... no
      Checking for OCI (Oracle)... no
      Checking for ODBC... no
      Checking for PostgreSQL... no
      Checking for 32bit pointers... yes
      Checking for Sufficiently recent FPU on ARM... yes
      Checking for THUMB mode on ARM... yes
      Checking for python... /usr/bin/python
      Checking for BlueZ... no
      Checking for sensorfw... no
      Checking for libclang... yes
      Done running configuration tests.
      
      Configure summary:
      
      Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
      Building for: android-clang (arm, CPU features: neon)
      Target compiler: clang 9.0.8
      Configuration: cross_compile enable_new_dtags neon precompile_header warnings_are_errors shared shared private_tests debug c++11 c++14 c++17 c++1z concurrent no-pkg-config reduce_exports release_tools stl no-widgets
      Build options:
        Mode ................................... debug; optimized tools
        Building shared libraries .............. yes
        Using C standard ....................... C11
        Using C++ standard ..................... C++17
        Using ccache ........................... no
        Using new DTAGS ........................ yes
        Relocatable ............................ yes
        Using precompiled headers .............. yes
        Using LTCG ............................. no
        Target compiler supports:
          NEON ................................. yes
        Build parts ............................ libs
        App store compliance ................... yes
      Qt modules and options:
        Qt Concurrent .......................... yes
        Qt D-Bus ............................... no
        Qt D-Bus directly linked to libdbus .... no
        Qt Gui ................................. yes
        Qt Network ............................. yes
        Qt Sql ................................. no
        Qt Testlib ............................. yes
        Qt Widgets ............................. no
        Qt Xml ................................. yes
      Support enabled for:
        Using pkg-config ....................... no
        udev ................................... no
        Using system zlib ...................... no
        Zstandard support ...................... no
      Qt Core:
        DoubleConversion ....................... yes
          Using system DoubleConversion ........ no
        GLib ................................... no
        iconv .................................. no
        ICU .................................... no
        Built-in copy of the MIME database ..... yes
        Tracing backend ........................ <none>
        Logging backends:
          journald ............................. no
          syslog ............................... no
          slog2 ................................ no
        PCRE2 .................................. yes
          Using system PCRE2 ................... no
      Qt Network:
        getifaddrs() ........................... no
        IPv6 ifname ............................ no
        libproxy ............................... no
        Linux AF_NETLINK ....................... yes
        OpenSSL ................................ yes
          Qt directly linked to OpenSSL ........ yes
        OpenSSL 1.1 ............................ yes
        DTLS ................................... no
        OCSP-stapling .......................... yes
        FTP .................................... no
        SCTP ................................... no
        Use system proxies ..................... yes
        GSSAPI ................................. no
      Qt Gui:
        Accessibility .......................... yes
        FreeType ............................... yes
          Using system FreeType ................ no
        HarfBuzz ............................... no
          Using system HarfBuzz ................ no
        Fontconfig ............................. no
        Image formats:
          GIF .................................. yes
          ICO .................................. yes
          JPEG ................................. yes
            Using system libjpeg ............... no
          PNG .................................. yes
            Using system libpng ................ no
        Text formats:
          HtmlParser ........................... yes
          CssParser ............................ yes
          OdfWriter ............................ no
          MarkdownReader ....................... yes
            Using system libmd4c ............... no
          MarkdownWriter ....................... yes
        EGL .................................... yes
        OpenVG ................................. no
        OpenGL:
          Desktop OpenGL ....................... no
          OpenGL ES 2.0 ........................ yes
          OpenGL ES 3.0 ........................ no
          OpenGL ES 3.1 ........................ no
          OpenGL ES 3.2 ........................ no
        Vulkan ................................. yes
        Session Management ..................... yes
      Features used by QPA backends:
        evdev .................................. yes
        libinput ............................... no
        INTEGRITY HID .......................... no
        mtdev .................................. no
        tslib .................................. no
        xkbcommon .............................. no
        X11 specific:
          XLib ................................. no
          XCB Xlib ............................. no
          EGL on X11 ........................... no
          xkbcommon-x11 ........................ no
      QPA backends:
        DirectFB ............................... no
        EGLFS .................................. no
        LinuxFB ................................ no
        VNC .................................... no
      Qt Sql:
        SQL item models ........................ yes
      Qt Widgets:
        GTK+ ................................... no
        Styles ................................. Fusion Windows Android
      Qt PrintSupport:
        CUPS ................................... no
      Qt Sql Drivers:
        DB2 (IBM) .............................. no
        InterBase .............................. no
        MySql .................................. no
        OCI (Oracle) ........................... no
        ODBC ................................... no
        PostgreSQL ............................. no
        SQLite ................................. no
          Using system provided SQLite ......... no
      Qt Testlib:
        Tester for item models ................. yes
      Further Image Formats:
        JasPer ................................. no
        MNG .................................... no
        TIFF ................................... yes
          Using system libtiff ................. no
        WEBP ................................... yes
          Using system libwebp ................. no
      Qt QML:
        QML network support .................... yes
        QML debugging and profiling support .... yes
        QML just-in-time compiler .............. yes
        QML sequence object .................... yes
        QML XML http request ................... yes
        QML Locale ............................. yes
      Qt QML Models:
        QML list model ......................... yes
        QML delegate model ..................... yes
      Qt Quick:
        AnimatedImage item ..................... yes
        Canvas item ............................ yes
        Support for Qt Quick Designer .......... yes
        Flipable item .......................... yes
        GridView item .......................... yes
        ListView item .......................... yes
        TableView item ......................... yes
        Path support ........................... yes
        PathView item .......................... yes
        Positioner items ....................... yes
        Repeater item .......................... yes
        ShaderEffect item ...................... yes
        Sprite item ............................ yes
      Qt Bluetooth:
        BlueZ .................................. no
        BlueZ Low Energy ....................... no
        Linux Crypto API ....................... no
        Native Win32 Bluetooth ................. no
        WinRT Bluetooth API (desktop & UWP) .... no
        WinRT advanced bluetooth low energy API (desktop & UWP) . no
      Qt Sensors:
        sensorfw ............................... no
      Qt Quick Controls 2:
        Styles ................................. Default Fusion Imagine Material Universal
      Qt Quick Templates 2:
        Hover support .......................... yes
        Multi-touch support .................... yes
      Qt Tools:
        Qt Assistant ........................... yes
        QDoc ................................... yes
        Clang-based lupdate parser ............. no
        Qt Designer ............................ yes
        Qt Distance Field Generator ............ yes
        kmap2qmap .............................. yes
        Qt Linguist ............................ yes
        Mac Deployment Tool .................... no
        makeqpf ................................ yes
        pixeltool .............................. yes
        qdbus .................................. yes
        qev .................................... yes
        Qt Attributions Scanner ................ yes
        qtdiag ................................. yes
        qtpaths ................................ yes
        qtplugininfo ........................... yes
        Windows deployment tool ................ no
        WinRT Runner Tool ...................... no
      
      Note: Also available for Linux: linux-clang linux-icc
      
      WARNING: Cross compiling without sysroot. Disabling pkg-config
      
      WARNING: Clang-based lupdate parser will not be available. LLVM and Clang C++ libraries have not been found.
      
      Qt is now configured for building. Just run 'make'.
      Once everything is built, you must run 'make install'.
      Qt will be installed into '/home/lars/Dokumente/Qt5/android-dist'.
      
      Prior to reconfiguration, make sure you remove any leftovers from
      the previous build.
      

        Attachments

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

          Activity

            People

            Assignee:
            tpochep Timur Pocheptsov
            Reporter:
            larss Lars Schmertmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes