Skip to content

[TEST] fix: Resolve muon-master job build failure in Weekly CI#92

Closed
ma8ma wants to merge 1 commit intomasterfrom
minefield
Closed

[TEST] fix: Resolve muon-master job build failure in Weekly CI#92
ma8ma wants to merge 1 commit intomasterfrom
minefield

Conversation

@ma8ma
Copy link
Copy Markdown
Owner

@ma8ma ma8ma commented Jun 1, 2025

このPRはマージしません。

Weekly CI の muon-master ジョブにおいて、JDim のビルド時に gtkmm-3.0 依存関係が見つからないエラーで失敗していました。これは、muon のビルド時に -Dlibpkgconf=enabled オプションを使用していたものの、GitHub Actions 環境の libpkgconf のバージョン (1.8.1) が muon が要求するバージョン (>= 1.9.0) を満たしていなかったためです。

このバージョンミスマッチにより、muon が pkg-config を介してgtkmm-3.0 の依存情報を適切に解決できていませんでした。

修正として、muon のビルドステップで -Dlibpkgconf=enabled オプションを -Dlibpkgconf=disabled に変更します。これにより、 muon はシステムにインストールされている pkg-config バイナリを使用するようになり、依存関係の問題が解決します。


The Weekly CI's muon-master job was failing during JDim's build due to a missing gtkmm-3.0 dependency. This was caused by a version mismatch of libpkgconf: muon was built with -Dlibpkgconf=enabled, but the libpkgconf version (1.8.1) in the GitHub Actions environment did not meet muon's requirement (>= 1.9.0). This mismatch prevented muon from properly resolving gtkmm-3.0 dependency via pkg-config.

This commit modifies the muon build step to -Dlibpkgconf=disabled. This resolves the dependency issue by allowing Muon to use the system's pkg-config binary instead of the bundled libpkgconf.

Weekly CI の muon-master ジョブにおいて、JDim のビルド時に
`gtkmm-3.0` 依存関係が見つからないエラーで失敗していました。
これは、muon のビルド時に `-Dlibpkgconf=enabled` オプションを
使用していたものの、GitHub Actions 環境の `libpkgconf` の
バージョン (1.8.1) が muon が要求するバージョン (>= 1.9.0) を
満たしていなかったためです。

このバージョンミスマッチにより、muon が `pkg-config` を介して
`gtkmm-3.0` の依存情報を適切に解決できていませんでした。

修正として、muon のビルドステップで `-Dlibpkgconf=enabled`
オプションを `-Dlibpkgconf=disabled` に変更します。これにより、
muon はシステムにインストールされている `pkg-config` バイナリを
使用するようになり、依存関係の問題が解決します。

---

The Weekly CI's muon-master job was failing during JDim's build
due to a missing `gtkmm-3.0` dependency. This was caused by a
version mismatch of `libpkgconf`: `muon` was built with
`-Dlibpkgconf=enabled`, but the `libpkgconf` version (1.8.1) in
the GitHub Actions environment did not meet `muon`'s requirement
(>= 1.9.0). This mismatch prevented `muon` from properly resolving
`gtkmm-3.0` dependency via `pkg-config`.

This commit modifies the `muon` build step to `-Dlibpkgconf=disabled`.
This resolves the dependency issue by allowing Muon to use the
system's pkg-config binary instead of the bundled libpkgconf.
@ma8ma ma8ma changed the title fix: Resolve muon-master job build failure in Weekly CI [TEST] fix: Resolve muon-master job build failure in Weekly CI Jun 1, 2025
@ma8ma ma8ma added the archive label Jun 1, 2025
@ma8ma
Copy link
Copy Markdown
Owner Author

ma8ma commented Jun 1, 2025

Weekly CI が成功しました。

https://github.com/ma8ma/JDim/actions/runs/15372173213

muon-master のログ(抜粋)

...
2025-06-01T06:56:50.3828058Z ##[group]Run cd muon-src
2025-06-01T06:56:50.3828325Z �[36;1mcd muon-src�[0m
2025-06-01T06:56:50.3828684Z �[36;1m# Disable libpkgconf. The version available in the GitHub Actions environment (1.8.1)�[0m
2025-06-01T06:56:50.3829174Z �[36;1m# doesn't meet muon's requirement (>= 1.9.0), causing build failures.�[0m
2025-06-01T06:56:50.3829545Z �[36;1m# Using the system's pkg-config binary instead.�[0m
2025-06-01T06:56:50.3830275Z �[36;1m./stage1/muon-bootstrap setup -Dman-pages=disabled -Dmeson-docs=disabled -Dmeson-tests=disabled -Dlibarchive=disabled -Dlibcurl=disabled -Dlibpkgconf=disabled ../muon-build�[0m
2025-06-01T06:56:50.3830999Z �[36;1m./stage1/muon-bootstrap samu -C ../muon-build�[0m
2025-06-01T06:56:50.3831258Z �[36;1mcd ..�[0m
2025-06-01T06:56:50.3880387Z shell: /usr/bin/bash -e {0}
2025-06-01T06:56:50.3880603Z env:
2025-06-01T06:56:50.3880763Z   CC: gcc-13
2025-06-01T06:56:50.3880921Z   CXX: g++-13
2025-06-01T06:56:50.3881086Z ##[endgroup]
2025-06-01T06:56:50.7125235Z muon @version@-@vcs_tag@
2025-06-01T06:56:50.7125925Z c compiler: detected gcc '13.3.0' (['gcc-13']), linker: ld (['ld']), static_linker: ar (['ar'])
2025-06-01T06:56:50.7126915Z c build machine compiler: detected gcc '13.3.0' (['gcc-13']), linker: ld (['ld']), static_linker: ar (['ar'])
2025-06-01T06:56:50.7127847Z muon version: 0.5.0
2025-06-01T06:56:50.7128162Z configuring '/home/runner/work/JDim/JDim/muon-src/../muon-build/version.sh'
2025-06-01T06:56:50.7128550Z c compiler: supports argument '-Wendif-labels': YES
2025-06-01T06:56:50.7128903Z c compiler: supports argument '-Wimplicit-fallthrough=2': YES
2025-06-01T06:56:50.7129266Z c compiler: supports argument '-Winit-self': YES
2025-06-01T06:56:50.7129560Z c compiler: supports argument '-Wlogical-op': YES
2025-06-01T06:56:50.7129882Z c compiler: supports argument '-Wmissing-include-dirs': YES
2025-06-01T06:56:50.7130218Z c compiler: supports argument '-Wno-missing-braces': YES
2025-06-01T06:56:50.7130605Z c compiler: supports argument '-Wno-missing-field-initializers': YES
2025-06-01T06:56:50.7130996Z c compiler: supports argument '-Wno-unused-parameter': YES
2025-06-01T06:56:50.7131354Z c compiler: supports argument '-Wold-style-definition': YES
2025-06-01T06:56:50.7131669Z c compiler: supports argument '-Woverflow': YES
2025-06-01T06:56:50.7131970Z c compiler: supports argument '-Wstrict-aliasing=2': YES
2025-06-01T06:56:50.7132291Z c compiler: supports argument '-Wstrict-prototypes': YES
2025-06-01T06:56:50.7132746Z c compiler: supports argument '-Wundef': YES
2025-06-01T06:56:50.7133009Z c compiler: supports argument '-Wvla': YES
2025-06-01T06:56:50.7133287Z c compiler: supports argument '-fstrict-aliasing': YES
2025-06-01T06:56:50.7133574Z c compiler: supports argument '-std=c99': YES
2025-06-01T06:56:50.7133939Z configuring '/home/runner/work/JDim/JDim/muon-src/../muon-build/src/version.c'
2025-06-01T06:56:50.7134378Z warn Package tracy was not found in the pkg-config search path.
2025-06-01T06:56:50.7134752Z Perhaps you should add the directory containing `tracy.pc'
2025-06-01T06:56:50.7135070Z to the PKG_CONFIG_PATH environment variable
2025-06-01T06:56:50.7135363Z Package 'tracy', required by 'virtual:world', not found
2025-06-01T06:56:50.7135627Z dependency tracy found: NO
2025-06-01T06:56:50.7135887Z warn meson-tests not found, no tests from meson will be run 
2025-06-01T06:56:50.7136100Z 
2025-06-01T06:56:50.7150823Z muon 0.5.0
2025-06-01T06:56:50.7151107Z     libcurl: false
2025-06-01T06:56:50.7151294Z     libarchive: false
2025-06-01T06:56:50.7151486Z     pkgconfig: 
2025-06-01T06:56:50.7151645Z       null
2025-06-01T06:56:50.7151793Z       exec
2025-06-01T06:56:50.7151877Z 
2025-06-01T06:56:50.7151943Z     docs: true
2025-06-01T06:56:50.7152097Z setup complete
2025-06-01T06:56:51.4333892Z [1/140] compiling c tools/embedder.p/embedder.c.o
...
2025-06-01T06:56:53.7573607Z [140/140] linking muon
2025-06-01T06:56:53.7595504Z ##[group]Run ./muon-build/muon version
2025-06-01T06:56:53.7595842Z �[36;1m./muon-build/muon version�[0m
2025-06-01T06:56:53.7645089Z shell: /usr/bin/bash -e {0}
2025-06-01T06:56:53.7645301Z env:
2025-06-01T06:56:53.7645456Z   CC: gcc-13
2025-06-01T06:56:53.7645615Z   CXX: g++-13
2025-06-01T06:56:53.7645779Z ##[endgroup]
2025-06-01T06:56:53.7714828Z muon 0.5.0-108e697
2025-06-01T06:56:53.7715127Z meson compatibility version 1.7.99
2025-06-01T06:56:53.7715378Z enabled features:
2025-06-01T06:56:53.7715570Z   samurai
2025-06-01T06:56:53.7715832Z   pkgconfig:null
2025-06-01T06:56:53.7716129Z   pkgconfig:exec
2025-06-01T06:56:53.7737380Z ##[group]Run ./muon-build/muon setup -Dcompat_cache_dir=disabled jdim-build
2025-06-01T06:56:53.7737847Z �[36;1m./muon-build/muon setup -Dcompat_cache_dir=disabled jdim-build�[0m
2025-06-01T06:56:53.7781598Z shell: /usr/bin/bash -e {0}
2025-06-01T06:56:53.7781812Z env:
2025-06-01T06:56:53.7781959Z   CC: gcc-13
2025-06-01T06:56:53.7782120Z   CXX: g++-13
2025-06-01T06:56:53.7782274Z ##[endgroup]
2025-06-01T06:56:54.5751878Z muon 0.5.0-108e697
2025-06-01T06:56:54.5752366Z cpp compiler: detected gcc '13.3.0' (['g++-13']), linker: ld (['ld']), static_linker: ar (['ar'])
2025-06-01T06:56:54.5753313Z cpp build machine compiler: detected gcc '13.3.0' (['g++-13']), linker: ld (['ld']), static_linker: ar (['ar'])
2025-06-01T06:56:54.5753727Z jdim version: 0.14.0-alpha
2025-06-01T06:56:54.5753971Z dependency gtkmm-3.0 version: 3.24.9 found: YES
2025-06-01T06:56:54.5754248Z dependency threads found: YES
2025-06-01T06:56:54.5754468Z dependency x11 version: 1.8.7 found: YES
2025-06-01T06:56:54.5754763Z dependency zlib version: 1.3 found: YES
2025-06-01T06:56:54.5755007Z cpp compiler: library crypt found: YES
2025-06-01T06:56:54.5755253Z cpp compiler: has function crypt_r: YES
2025-06-01T06:56:54.5755514Z cpp compiler: header sys/socket.h found: YES
2025-06-01T06:56:54.5755772Z cpp compiler: has function timegm: YES
2025-06-01T06:56:54.5756003Z dependency sm version: 1.2.3 found: YES
2025-06-01T06:56:54.5756242Z dependency ice version: 1.0.10 found: YES
2025-06-01T06:56:54.5756488Z dependency gnutls version: 3.8.3 found: YES
2025-06-01T06:56:54.5756753Z dependency gtest_main version: 1.14.0 found: YES
2025-06-01T06:56:54.5757028Z note Use compatible cache directory: NO 
2025-06-01T06:56:54.5757352Z configuring '/home/runner/work/JDim/JDim/jdim-build/src/config.h'
2025-06-01T06:56:54.5757599Z 
2025-06-01T06:56:54.5788261Z jdim 0.14.0-alpha
2025-06-01T06:56:54.5788634Z   Configuration
2025-06-01T06:56:54.5788910Z     alsa: NO
2025-06-01T06:56:54.5789111Z     build_tests: YES
2025-06-01T06:56:54.5789361Z     compat_cache_dir: NO
2025-06-01T06:56:54.5789588Z     gprof: NO
2025-06-01T06:56:54.5789780Z     migemo: NO
2025-06-01T06:56:54.5789970Z     migemodict: 
2025-06-01T06:56:54.5790181Z     native: NO
2025-06-01T06:56:54.5790383Z     packager: 
2025-06-01T06:56:54.5790579Z     pangolayout: NO
2025-06-01T06:56:54.5790795Z     sessionlib: xsmp
2025-06-01T06:56:54.5790997Z     tls: gnutls
2025-06-01T06:56:54.5791191Z setup complete
...

@ma8ma
Copy link
Copy Markdown
Owner Author

ma8ma commented Jun 1, 2025

JDimproved#1548
検証を終えてmasterブランチにマージしたため閉じます。

@ma8ma ma8ma closed this Jun 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant