Ticket created by ~oneric on ~lattis/muon
When using
thread_dep = dependency('threads') if thread_dep.found() deps += thread_dep // .... endif
in a project using the built-in NASM support,
-pthread
gets added as a flag not only for C compiler and linker, but also for NASM invocations. As an assembler, NASM knows nothing of pthread and instead parses it as its-pFILE
option for pre-includingathread
file. Since no such file exists this breaks the build(this is kinda the reverse of #99; instead of CCAS missing C flags, NASM gets too many C flags eventhough)
Ticket created by ~oneric on ~lattis/muon
I noticed this test started failing after upgrading to Alpine 3.20 because it expects “
ppoll should not be accessible without _GNU_SOURCE
”However, it is now exposed in musl’s default profile due to being schedlued for inclusion in a future POSIX version; see: https://git.musl-libc.org/cgit/musl/commit/?id=f247462b0831cbf163e976ee9a909748c674b88b
Comment by ~oneric on ~lattis/muon
I’m seeing the same issue if itstool is installed on Debian Bookowrm (itstool 2.0.6), Alpine 3.19 (itstool 2.0.7-r1) and Alpine 3.20 (itstool 2.0.7-r2) ever since i18n was introduced in 395d433eb968186af211ed61ac5dac007f152d42
The failing test is the first one in
tests/project/frameworks/6 gettext/data3/meson.build
and it only runs if itstool is installed and newer than or equal to 2.0.6. Patching the version check to always fail avoids any test failing on Debian Bookowrm and Alpine 3.19 (i’ll open another issue shortly for 3.20 if none exists yet) Looking at the expectedcheck_str
and actualf.read()
output it seems like one category of translations is missing:running tests for project 'gettext example' E finished 1 tests, 0 expected fail, 1 fail, 0 skipped fail 0.03s test xml translation stdout: 'Expected '<p xml:lang="de">Dies ist <code>Text</code> mit <em>eingebetteten XML Tags</em>. Toll!</p>' got '<?xml version="1.0" encoding="utf-8"?> <component type="console-application"> <id>com.mesonbuild.test.intlprog</id> <name>Test</name> <name xml:lang="ru">Тест</name> <summary>Application</summary> <summary xml:lang="ru">Приложение</summary> <metadata_license>FSFAP</metadata_license> <project_license>FSFAP</project_license> <description> <p> Test Application </p> <p xml:lang="ru">Тестовое приложение</p> <p> International greeting. </p> <p xml:lang="de">Internationale Gruss.</p> <p xml:lang="fi">Maailman tervehdys.</p> <p xml:lang="ru">Межнациональное приветствие.</p> <p> This is <code>text</code> with <em>embedded XML tags</em>. Nice! </p> </description> <icon type="stock">meson-unittest-intlprog</icon> <categories> <category>Development</category> <category>Building</category> </categories> <provides> <binary>intlprog</binary> </provides> </component> ' '