[MacPorts] #66027: meson @0.63.3 is missing a test dependency

MacPorts noreply at macports.org
Wed Oct 19 21:22:45 UTC 2022


#66027: meson @0.63.3 is missing a test dependency
-----------------------+--------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.7.2
 Keywords:  monterey   |       Port:  meson
-----------------------+--------------------
 I am still using `Python 3.9`. When I run ` port -vds test meson` I get
 asked:

 {{{
 The following dependencies will be installed:
  py39-attrs
  py39-iniconfig
  py39-pluggy
  py39-py
  py39-pytest
  py39-setuptools_scm
  py39-typing_extensions
 Continue? [Y/n]: DEBUG: Starting logging for py39-attrs @22.1.0_0
 DEBUG: macOS 12.6 (darwin/21.6.0) arch i386
 DEBUG: MacPorts 2.7.2
 DEBUG: Xcode 14.0.1
 DEBUG: SDK 12
 DEBUG: MACOSX_DEPLOYMENT_TARGET: 12.0
 }}}

 but then the tests fail here:

 {{{
 Got pkgconfig variable host_bins : /opt/local/libexec/qt5/bin
 Run-time dependency qt5 (modules: Core) found: YES 5.15.6 (pkg-config)
 Program /opt/local/libexec/qt5/bin/moc found: YES 5.15.6
 (/opt/local/libexec/qt5/bin/moc)
 Program /opt/local/libexec/qt5/bin/uic found: YES 5.15.6
 (/opt/local/libexec/qt5/bin/uic)
 Program /opt/local/libexec/qt5/bin/rcc found: YES 5.15.6
 (/opt/local/libexec/qt5/bin/rcc)
 Program /opt/local/libexec/qt5/bin/lrelease found: NO
 Program lrelease5 found: NO
 Program lrelease-qt5 found: NO
 Program lrelease found: NO

 test cases/frameworks/4 qt/meson.build:48:4: ERROR: Assert failed:
 qtmodule.has_tools()

 =========================== short test summary info
 ============================
 FAILED run_unittests.py::AllPlatformTests::test_junit_valid_gtest -
 subproces...
 FAILED
 run_unittests.py::FailureTests::test_extraframework_dependency_method
 FAILED run_unittests.py::InternalTests::test_detect_cpu_family -
 AssertionErr...
 FAILED
 run_unittests.py::LinuxlikeTests::test_qtdependency_pkgconfig_detection
 ============ 4 failed, 382 passed, 87 skipped in 807.52s (0:13:27)
 =============
 Meson build system 0.63.3 Unit Tests
 pytest-xdist not found, tests will not be distributed across CPU cores
 Total time: 807.995 seconds
 usage: run_project_tests.py [-h]
                             [--backend
 {ninja,vs,vs2010,vs2012,vs2013,vs2015,vs2017,vs2019,vs2022,xcode}]
                             [-j NUM_WORKERS] [--failfast] [--no-unittests]
                             [--only ONLY [ONLY ...]] [--cross-file
 CROSS_FILE]
                             [--native-file NATIVE_FILE] [--use-tmpdir]
                             [extra_args ...]
 run_project_tests.py: error: unrecognized arguments: -o
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_meson/meson/work/meson-0.63.3"
 && ./run_tests.py -o addopts=''
 Exit code: 4
 Error: Failed to test meson: command execution failed
 }}}

 Obviously `py39-pytest-xdist` is not listed as `test dependency`.

-- 
Ticket URL: <https://trac.macports.org/ticket/66027>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list