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

MacPorts noreply at macports.org
Wed Oct 19 21:39:35 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
Resolution:             |   Keywords:  monterey
      Port:  meson      |
------------------------+----------------------

Comment (by ballapete):

 Installing `py39-pytest-xdist`, re-building `meson` and testing again
 leads to:

 {{{
 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 -
 subprocess.CalledProcessError: Command '['/opt/local/bin/ninja', '-w',
 'dupbuild...
 FAILED
 run_unittests.py::FailureTests::test_extraframework_dependency_method -
 RuntimeError: Configure failed
 FAILED run_unittests.py::InternalTests::test_detect_cpu_family -
 AssertionError: 'x86_64' != 'x86'
 FAILED run_unittests.py::AllPlatformTests::test_summary - AssertionError:
 '    [29 chars]color, apetag, audiofx, audioparsers, auparse, autodetect,
 ...
 FAILED
 run_unittests.py::LinuxlikeTests::test_qtdependency_pkgconfig_detection -
 subprocess.CalledProcessError: Command '['/opt/local/Library/Framew...
 ================================================ 5 failed, 381 passed, 87
 skipped in 169.56s (0:02:49)
 ================================================
 Meson build system 0.63.3 Unit Tests
 Total time: 169.996 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
 }}}

 Problem with `Python 3.9` returning the wrong CPU family name?

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


More information about the macports-tickets mailing list