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

Shadow build for android clang++ fails directly after building qmake on 'Maybe you forgot to setup the environment?'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.2
    • 5.9.1
    • Build tools: qmake
    • None

    Description

      The summary says it all, the terminal output is:

      g++ -o "../bin/qmake" project.o option.o property.o main.o ioutils.o proitems.o qmakevfs.o qmakeglobals.o qmakeparser.o qmakeevaluator.o qmakebuiltins.o makefile.o unixmake2.o unixmake.o mingw_make.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o qtextcodec.o qutfcodec.o qstring.o qstring_compat.o qstringbuilder.o qtextstream.o qiodevice.o qringbuffer.o qdebug.o qmalloc.o qglobal.o qarraydata.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfiledevice.o qfile.o qfilesystementry.o qfilesystemengine.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qsystemerror.o qvariant.o qvsnprintf.o qlocale.o qlocale_tools.o qlinkedlist.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o qlogging.o qoperatingsystemversion.o qjson.o qjsondocument.o qjsonparser.o qjsonarray.o qjsonobject.o qjsonvalue.o qfilesystemengine_unix.o qfilesystemiterator_unix.o qfsfileengine_unix.o qlocale_unix.o  qlibraryinfo.o   -Wl,--gc-sections
      
      Info: creating super cache file /home/development/4suse13.2-android/qt-5.9.1-r14b-arm/.qmake.super
      
      Command line: -release -commercial -confirm-license -prefix /home/development/4suse13.2-android/qt-5.9.1-r14b-arm/install -sql-sqlite -qt-sqlite -xplatform android-clang -openssl -I/home/development/4suse13.2-android/openssl-1.0.2k-arm/install/usr/local/ssl/android-22/include -nomake tests -nomake examples -android-ndk /home/development/4suse13.2-android/android-ndk-r14b -android-sdk /home/development/4suse13.2-android/android-sdk-linux -android-ndk-host linux-x86_64 -android-toolchain-version 4.9 -android-arch armeabi-v7a -skip qttranslations -skip qtserialport -no-warnings-are-errors -v
      
      Project ERROR: Cannot run compiler '/home/development/4suse13.2-android/android-ndk-r14b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++'. Maybe you forgot to setup the environment?
      

      The buildscript I'm using is a copy of the one that worked fine for qt-5.9.0, the configure statement used is:

              ${QTSRCDIR}/configure \
                      -release -commercial -confirm-license \
                      -prefix $QTDIR \
                      -sql-sqlite -qt-sqlite \
                      -xplatform android-clang \
                      -openssl -I${OPENSSLPATH}/include \
                      -nomake tests -nomake examples \
                      -android-ndk ${ANDROIDPATH}/android-ndk-r14b \
                      -android-sdk ${ANDROIDPATH}/android-sdk-linux \
                      -android-ndk-host linux-x86_64 -android-toolchain-version 4.9 \
                      -android-arch armeabi-v7a \
                      -skip qttranslations -skip qtserialport \
                      -no-warnings-are-errors -v
      

      Attachments

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              jirauser24743 user-678dd (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes