qt depends build fails with emoji in path. (Could not find qmake spec ‘’.) #28953

issue maflcko openend this issue on November 28, 2023
  1. maflcko commented at 9:56 am on November 28, 2023: member

    It appears that a qt depends build fails when emojis are in the path. I tested this by replacing the ci root path: sed -i 's/ci_container_base/ci_container_🖥️/g' $( git grep -l ci_container_base )

    Example output:

     0$ MAKEJOBS="-j$(nproc)" FILE_ENV="./ci/test/00_setup_env_mac.sh" ./ci/test_run_all.sh
     1
     2...
     3
     4Preprocessing qt...
     5Configuring qt...
     6patching file qtbase/mkspecs/features/toolchain.prf
     7patching file qtbase/configure
     8patching file qtbase/mkspecs/features/qt_module.prf
     9patching file qtbase/src/plugins/platforms/android/androidjnimain.cpp
    10patching file qtbase/src/plugins/platforms/xcb/qxcbcursor.cpp
    11patching file qtbase/src/tools/moc/main.cpp
    12patching file qtbase/mkspecs/features/android/default_pre.prf
    13patching file qtbase/src/corelib/tools/qduplicatetracker_p.h
    14patching file qtbase/src/corelib/global/qcompilerdetection.h
    15patching file qtbase/src/tools/rcc/rcc.cpp
    16patching file qtbase/src/gui/text/qplatformfontdatabase.cpp
    17patching file qtbase/src/gui/text/qplatformfontdatabase.h
    18patching file qtbase/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm
    19patching file qtbase/src/platformsupport/fontdatabases/mac/qfontengine_coretext_p.h
    20patching file qtbase/src/platformsupport/fontdatabases/windows/qwindowsfontdatabase.cpp
    21patching file qtbase/src/platformsupport/fontdatabases/windows/qwindowsfontdatabase_p.h
    22patching file qtbase/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
    23patching file qtbase/src/3rdparty/double-conversion/fixed-dtoa.h
    24patching file qtbase/mkspecs/features/toolchain.prf
    25patching file qtbase/src/widgets/accessible/simplewidgets.cpp
    26patching file qtbase/src/widgets/accessible/simplewidgets_p.h
    27Creating qmake...
    28gmake[1]: Entering directory '/ci_container_🖥️/depends/work/build/x86_64-apple-darwin/qt/5.15.11-4618e5c0f69/qtbase/qmake'
    29gmake[1]: Leaving directory '/ci_container_🖥️/depends/work/build/x86_64-apple-darwin/qt/5.15.11-4618e5c0f69/qtbase/qmake'
    30Could not find qmake spec ''.
    31Error processing project file: /ci_container_🖥️/depends/work/build/x86_64-apple-darwin/qt/5.15.11-4618e5c0f69/qt.pro
    32make: Leaving directory '/ci_container_🖥️/depends'
    33make: *** [funcs.mk:292: /ci_container_🖥️/depends/x86_64-apple-darwin/.qt_stamp_configured] Error 1
    

    Or:

     0$ MAKEJOBS="-j$(nproc)" FILE_ENV="./ci/test/00_setup_env_win64.sh" ./ci/test_run_all.sh
     1
     2...
     3
     4Preprocessing qt...
     5Configuring qt...
     6patching file qtbase/mkspecs/features/toolchain.prf
     7patching file qtbase/configure
     8patching file qtbase/mkspecs/features/qt_module.prf
     9patching file qtbase/src/plugins/platforms/android/androidjnimain.cpp
    10patching file qtbase/src/plugins/platforms/xcb/qxcbcursor.cpp
    11patching file qtbase/src/tools/moc/main.cpp
    12patching file qtbase/mkspecs/features/android/default_pre.prf
    13patching file qtbase/src/corelib/tools/qduplicatetracker_p.h
    14patching file qtbase/src/corelib/global/qcompilerdetection.h
    15patching file qtbase/src/tools/rcc/rcc.cpp
    16patching file qtbase/src/gui/text/qplatformfontdatabase.cpp
    17patching file qtbase/src/gui/text/qplatformfontdatabase.h
    18patching file qtbase/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm
    19patching file qtbase/src/platformsupport/fontdatabases/mac/qfontengine_coretext_p.h
    20patching file qtbase/src/platformsupport/fontdatabases/windows/qwindowsfontdatabase.cpp
    21patching file qtbase/src/platformsupport/fontdatabases/windows/qwindowsfontdatabase_p.h
    22patching file qtbase/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
    23patching file qtbase/src/3rdparty/double-conversion/fixed-dtoa.h
    24patching file qtbase/mkspecs/features/toolchain.prf
    25patching file qtbase/src/widgets/accessible/simplewidgets.cpp
    26patching file qtbase/src/widgets/accessible/simplewidgets_p.h
    27Creating qmake...
    28gmake[1]: Entering directory '/ci_container_🖥️/depends/work/build/x86_64-w64-mingw32/qt/5.15.11-abe387bb1da/qtbase/qmake'
    29gmake[1]: Leaving directory '/ci_container_🖥️/depends/work/build/x86_64-w64-mingw32/qt/5.15.11-abe387bb1da/qtbase/qmake'
    30Could not find qmake spec ''.
    31Error processing project file: /ci_container_🖥️/depends/work/build/x86_64-w64-mingw32/qt/5.15.11-abe387bb1da/qt.pro
    32make: *** [funcs.mk:292: /ci_container_🖥️/depends/x86_64-w64-mingw32/.qt_stamp_configured] Error 1
    33make: Leaving directory '/ci_container_🖥️/depends'
    
  2. maflcko added the label Upstream on Nov 28, 2023
  3. maflcko added the label Build system on Nov 28, 2023
  4. maflcko commented at 9:56 am on November 28, 2023: member
    I guess someone should test this against qt and report an issue or fix upstream. Closing for now.
  5. maflcko closed this on Nov 28, 2023

  6. fanquake commented at 9:59 am on November 28, 2023: member
    Was Qt the only thing preventing using a path like this?
  7. maflcko commented at 11:21 am on November 28, 2023: member

    Was Qt the only thing preventing using a path like this?

    Yeah, I guess so. MAKEJOBS="-j$(nproc)" FILE_ENV="./ci/test/00_setup_env_native_qt5.sh" ./ci/test_run_all.sh (system qt) passes.

  8. maflcko added the label GUI on Nov 28, 2023
  9. bitcoin locked this on Nov 27, 2024

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-30 15:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me