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

Build is broken on Mac with spaces in path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 4.8.0
    • Build tools: qmake
    • None
    • mac os 10.6.7, Qt master branch
    • macOS

    Description

      I have symlink from /Users to /Volumes/Data HD/Users.
      Why configure follows symlinks and expands path to have spaces?
      Previuos versions worked with symlink.
      Also, when building in source tree & developer build passes, but projects don't compile - moc fails due to spaces in path (with error "too many files"). The problem is that spaces don't have back-slash when passed to moc as -I parameter.

      arch$ make
      cd src/tools/bootstrap/ && make -f Makefile 
      g++ -c -pipe -Xarch_x86_64 -mmacosx-version-min=10.5 -O2 -fPIC -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/Volumes/Data HD/Users/arch/Programming/qt4/qt-qdrive/mkspecs/macx-g++ -I/Volumes/Data\ HD/Users/arch/Programming/qt4/qt-qdrive/src/tools/bootstrap -I../../../include -I../../../include/QtCore -I../../../include/QtXml -I. -o .obj/release-static/qisciicodec.o /Volumes/Data\ HD/Users/arch/Programming/qt4/qt-qdrive/src/corelib/codecs/qisciicodec.cpp
      i686-apple-darwin10-g++-4.2.1: HD/Users/arch/Programming/qt4/qt-qdrive/mkspecs/macx-g++: No such file or directory
      make[1]: *** [.obj/release-static/qisciicodec.o] Error 1
      make: *** [sub-tools-bootstrap-make_default-ordered] Error 2
      
      

      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
              arch Ivan Komissarov
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes