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

bitbake meta-toolchain-qt6 fails with missing cups-config

    XMLWordPrintable

Details

    • Linux/Yocto
    • c091eb3fa (122-based), 09c09126e (dev), 98bd931a3 (118-based), 0cd5541a1 (6.8), cadafb3f1 (126-based)

    Description

      bitbake meta-toolchain-qt6

      fails and produce the following error:

      // Log data follows:
      | DEBUG: Executing shell function do_compile
      | NOTE: VERBOSE=1 cmake --build /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/build --target all --
      | [1/73] cd /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/build && /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/recipe-sysroot-native/usr/bin/cmake -DBUILD_DIR=/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/build/src/pdf/Release/aarch64 -DSOURCE_DIR=/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/git/src/pdf -DMODULE=pdf -DQT_HOST_PATH=/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/recipe-sysroot-native/usr -DINSTALL_LIBEXECDIR=libexec -DINSTALL_BINDIR=bin -DPython3_EXECUTABLE=/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3 -DGN_THREADS= -DQT_ALLOW_SYMLINK_IN_PATHS=OFF -P /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/git/cmake/Gn.cmake
      | FAILED: src/pdf/Release/aarch64/QtPdf_objects.rsp src/pdf/Release/aarch64/QtPdf_archives.rsp src/pdf/Release/aarch64/QtPdf_libs.rsp src/pdf/Release/aarch64/QtPdf_ldir.rsp /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/build/src/pdf/Release/aarch64/QtPdf_objects.rsp /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/build/src/pdf/Release/aarch64/QtPdf_archives.rsp /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/build/src/pdf/Release/aarch64/QtPdf_libs.rsp /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/build/src/pdf/Release/aarch64/QtPdf_ldir.rsp
      | cd /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/build && /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/recipe-sysroot-native/usr/bin/cmake -DBUILD_DIR=/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/build/src/pdf/Release/aarch64 -DSOURCE_DIR=/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/git/src/pdf -DMODULE=pdf -DQT_HOST_PATH=/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/recipe-sysroot-native/usr -DINSTALL_LIBEXECDIR=libexec -DINSTALL_BINDIR=bin -DPython3_EXECUTABLE=/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3 -DGN_THREADS= -DQT_ALLOW_SYMLINK_IN_PATHS=OFF -P /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/git/cmake/Gn.cmake
      | -- Found Gn: /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/recipe-sysroot-native/usr/bin/gn (found suitable exact version "6.8.0.qtwebengine.qt.io")
      | -- Running gn in /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/build/src/pdf/Release/aarch64
      | -- GN command:
      | /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/recipe-sysroot-native/usr/bin/gn gen /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/build/src/pdf/Release/aarch64 --script-executable=/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3 --root=/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/git/src/3rdparty/chromium
      | -- GN arg file:
      | /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/build/src/pdf/Release/aarch64/args.gn
      | -- GN args:
      | angle_enable_swiftshader=false
      | blink_symbol_level=0
      | build_dawn_tests=false
      | chrome_pgo_phase=0
      | custom_toolchain="//build/toolchain/yocto:yocto_target"
      | dawn_use_swiftshader=false
      | dcheck_always_on=false
      | enable_arcore=false
      | enable_ipc_fuzzer=false
      | enable_precompiled_headers=false
      | enable_remoting=false
      | enable_resource_allowlist_generation=false
      | enable_rust=false
      | enable_swiftshader=false
      | enable_swiftshader_vulkan=false
      | enable_vr=false
      | enable_web_speech=false
      | forbid_non_component_debug_builds=false
      | host_pkg_config="/usr/bin/pkg-config"
      | host_toolchain="//build/toolchain/yocto:yocto_native"
      | init_stack_vars=false
      | is_cfi=false
      | is_clang=false
      | is_component_build=false
      | is_debug=false
      | is_gcc=true
      | is_mingw=false
      | is_msvc=false
      | is_official_build=true
      | is_qtwebengine=true
      | is_shared=true
      | is_unsafe_developer_build=false
      | jumbo_build_excluded=["browser"]
      | jumbo_file_merge_limit=8
      | ozone_auto_platforms=false
      | pdf_enable_v8=false
      | pdf_enable_xfa=false
      | pdf_enable_xfa_bmp=false
      | pdf_enable_xfa_gif=false
      | pdf_enable_xfa_png=false
      | pdf_enable_xfa_tiff=false
      | pdfium_use_qt_libpng=false
      | pdfium_use_system_libpng=true
      | pdfium_use_system_libtiff=false
      | pdfium_use_system_zlib=true
      | pkg_config="/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/recipe-sysroot-native/usr/bin/pkg-config"
      | qt_freetype_config="/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/build/src/pdf/Release/aarch64:qt_freetype_config"
      | qt_harfbuzz_config="/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/build/src/pdf/Release/aarch64:qt_harfbuzz_config"
      | qt_libjpeg_config="/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/build/src/pdf/Release/aarch64:qt_libjpeg_config"
      | qt_libpng_config="/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/build/src/pdf/Release/aarch64:qt_libpng_config"
      | qtwebengine_target="/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/build/src/pdf/Release/aarch64:QtPdf"
      | strip_absolute_paths_from_debug_symbols=false
      | symbol_level=0
      | system_libdir="/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/recipe-sysroot/usr/lib/pkgconfig"
      | target_cpu="arm64"
      | target_sysroot="/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/recipe-sysroot"
      | treat_warnings_as_errors=false
      | use_allocator_shim=false
      | use_custom_libcxx=false
      | use_dawn=false
      | use_gold=false
      | use_jumbo_build=true
      | use_lld=false
      | use_ml_inliner=false
      | use_partition_alloc=true
      | use_partition_alloc_as_malloc=false
      | use_perfetto_client_library=false
      | use_qt_freetype=false
      | use_qt_harfbuzz=false
      | use_qt_libjpeg=false
      | use_sysroot=false
      | use_system_icu=false
      | use_system_libopenjpeg2=false
      | use_system_libpng=true
      | use_system_zlib=true
      | use_thin_lto=false
      | v8_enable_webassembly=false
      | v8_snapshot_toolchain="//build/toolchain/yocto:yocto_target"
      | v8_symbol_level=0
      | CMake Error at /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/git/cmake/Gn.cmake:80 (message):
      | 
      | 
      |   -- GN FAILED
      | 
      |   ERROR at //printing/BUILD.gn:456:16: Script returned non-zero exit code.
      | 
      |           libs = exec_script("cups_config_helper.py",
      |                  ^----------
      | 
      |   Current dir:
      |   /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/build/src/pdf/Release/aarch64/
      | 
      | 
      |   Command:
      |   /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3
      |   /home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/git/src/3rdparty/chromium/printing/cups_config_helper.py
      |   --libs-for-gn
      | 
      |   Returned 1.
      | 
      |   stderr:
      | 
      | 
      | 
      |   Traceback (most recent call last):
      | 
      |     File "/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/git/src/3rdparty/chromium/printing/cups_config_helper.py", line 108, in <module>
      |       sys.exit(main())
      |     File "/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/git/src/3rdparty/chromium/printing/cups_config_helper.py", line 92, in main
      |       flags = run_cups_config(cups_config, mode)
      |     File "/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/git/src/3rdparty/chromium/printing/cups_config_helper.py", line 35, in run_cups_config
      |       cups = subprocess.Popen([cups_config, '--cflags', '--ldflags', '--libs'],
      |     File "/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/recipe-sysroot-native/usr/lib/python3.10/subprocess.py", line 971, in __init__
      |       self._execute_child(args, executable, preexec_fn, close_fds,
      |     File "/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/tqma8mpxl_build/tmp/work/cortexa53-crypto-tq-linux/qtpdf/6.8.0-r0/recipe-sysroot-native/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
      |       raise child_exception_type(errno_num, err_msg, err_filename)
      | 
      |   FileNotFoundError: [Errno 2] No such file or directory: 'cups-config'
      | 
      | 
      | 
      |   See //chrome/BUILD.gn:1486:22: which caused the file to be included.
      | 
      |       public_deps += [ "//printing" ]
      |                        ^-----------
      | 
      | 
      | 
      | 
      | 
      |   1
      | 
      | 
      | 
      | ninja: build stopped: subcommand failed.
      | WARNING: exit code 1 from a shell command.
      ERROR: Task (/home/yoctouser/workspace/kirkstone.TQMa8.BSP.SW.0092/ci-meta-tq/sources/meta-qt6/recipes-qt/qt6/qtpdf_git.bb:do_compile) failed with exit code '1' 

      Attachments

        For Gerrit Dashboard: QTBUG-122407
        # Subject Branch Project Status CR V

        Activity

          People

            michal Michal Klocek
            whale-1958 Walter Prechtl
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change