feat(libfontconfig): answer FcConfigGetCurrent and FcInitBringUptoDate as firmware 13.42 does #15363

Merged
BunnyFl merged 4 commits from upstream-pr/15363 into main 2026-11-07 04:59:35 +00:00
BunnyFl commented 2026-11-03 03:07:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-11-03T03:07:47Z.


What

FcConfigGetCurrent and FcInitBringUptoDate now return what firmware 13.42's own libfontconfig returns, instead of throwing. FcConfigGetCurrent returns NULL (no current configuration), and FcInitBringUptoDate returns 1 (FcTrue). They are declared in a new include/Configuration.hpp, reachable from libfontconfig.hpp, and the debt entry records the source.

Source: system_ex/common_ex/lib/libfontconfig.sprx from firmware 13.42, sha256 74d7414445f8687c1d22a92fa3c994d2e5fa304e6699dc84dcc5459af7da8472. Read from disassembly to the return, not measured on a console:

FcConfigGetCurrent   (2M54M-SKV-k)
 130: 31 c0           xor    %eax,%eax
 132: c3              ret
FcInitBringUptoDate  (Ck9k-L7rz-I)
  f0: b8 01 00 00 00  mov    $0x1,%eax
  f5: c3              ret

The two bodies at 0x130 and 0xf0 read no argument register and no memory. The neighbouring FcConfigCreate (0x100) and FcConfigReference (0x120) are the same xor %eax,%eax; ret, and FcConfigDestroy (0x110) is a bare ret. I raised those on #15294, which implements them differently. This PR doesn't touch them.

Tested

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head 769e30f82b (main 23bc7c7625 merged in):

  • 69 of 69 pass, none Not Run, with the four test executables they run (guest_fontconfig_current_tests, guest_fontconfig_tests, guest_fontconfig_objects_tests, guest_fontconfig_sets_tests) rebuilt at this head: the new guest_fontconfig_current, main's guest_fontconfig, guest_fontconfig_objects and guest_fontconfig_sets, public_headers and the 64 public_headers_compile_* batches. The libfontconfig library target builds too. guest_fontconfig_current calls each function twice and checks that FcInitBringUptoDate leaves FcConfigGetCurrent NULL.
  • Negative control at this head: with main's Export.cpp and InventoryExports.hpp restored, guest_fontconfig_current aborts with "FcConfigGetCurrent not implemented" (1 of 1 failed).
  • tools/check_conventions.py --base upstream/main on the committed head: all checks pass.
  • The merge conflicted where #14435 had landed: it gave the pattern and language-set exports their real signatures in Export.cpp and InventoryExports.hpp and lowered the remaining-exports count to 21. main's declarations are kept and only this branch's two exports leave the throwing inventory; the count is recounted from the merged table: 19 of the 53 callable NIDs still throw (19 rows; 21 on main).

Not run: Linux, macOS, a title.

tools/pr_overlap.py --branch feat/libfontconfig-current-config --jobs 8 at this head, against 1,796 open pull requests: 51 share files or exports with the branch, and the run failed closed, with 26 in its "Some comparisons could not be completed" table (24 only for core/libs/CMakeLists.txt, #14212 for the debt file, #15294 for the library's files) and no line conflicts listed. I searched the added and removed lines of all 26 for both names and both NIDs: GitHub's diff for 24, and for #5021 and #15807, whose diffs are too large for GitHub to serve, a local diff of each head against its single merge base with main. No other pull request implements these two exports. #15294 names FcConfigGetCurrent once, in a debt sentence that says it still throws; whichever of the two lands second updates that sentence.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5131244526 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15363). Originally posted by [BunnyFl](https://github.com/BunnyFl) on 2026-11-03T03:07:47Z. --- ### What `FcConfigGetCurrent` and `FcInitBringUptoDate` now return what firmware 13.42's own `libfontconfig` returns, instead of throwing. `FcConfigGetCurrent` returns NULL (no current configuration), and `FcInitBringUptoDate` returns 1 (FcTrue). They are declared in a new `include/Configuration.hpp`, reachable from `libfontconfig.hpp`, and the debt entry records the source. **Source:** `system_ex/common_ex/lib/libfontconfig.sprx` from firmware 13.42, sha256 `74d7414445f8687c1d22a92fa3c994d2e5fa304e6699dc84dcc5459af7da8472`. Read from disassembly to the return, not measured on a console: ``` FcConfigGetCurrent (2M54M-SKV-k) 130: 31 c0 xor %eax,%eax 132: c3 ret FcInitBringUptoDate (Ck9k-L7rz-I) f0: b8 01 00 00 00 mov $0x1,%eax f5: c3 ret ``` The two bodies at `0x130` and `0xf0` read no argument register and no memory. The neighbouring `FcConfigCreate` (`0x100`) and `FcConfigReference` (`0x120`) are the same `xor %eax,%eax; ret`, and `FcConfigDestroy` (`0x110`) is a bare `ret`. I raised those on #15294, which implements them differently. This PR doesn't touch them. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `769e30f82b` (`main` `23bc7c7625` merged in): - **69 of 69 pass, none Not Run**, with the four test executables they run (`guest_fontconfig_current_tests`, `guest_fontconfig_tests`, `guest_fontconfig_objects_tests`, `guest_fontconfig_sets_tests`) rebuilt at this head: the new `guest_fontconfig_current`, `main`'s `guest_fontconfig`, `guest_fontconfig_objects` and `guest_fontconfig_sets`, `public_headers` and the 64 `public_headers_compile_*` batches. The `libfontconfig` library target builds too. `guest_fontconfig_current` calls each function twice and checks that `FcInitBringUptoDate` leaves `FcConfigGetCurrent` NULL. - **Negative control** at this head: with `main`'s `Export.cpp` and `InventoryExports.hpp` restored, `guest_fontconfig_current` aborts with "FcConfigGetCurrent not implemented" (1 of 1 failed). - `tools/check_conventions.py --base upstream/main` on the committed head: all checks pass. - The merge conflicted where #14435 had landed: it gave the pattern and language-set exports their real signatures in `Export.cpp` and `InventoryExports.hpp` and lowered the remaining-exports count to 21. `main`'s declarations are kept and only this branch's two exports leave the throwing inventory; the count is recounted from the merged table: **19 of the 53 callable NIDs still throw** (19 rows; 21 on `main`). Not run: Linux, macOS, a title. `tools/pr_overlap.py --branch feat/libfontconfig-current-config --jobs 8` at this head, against 1,796 open pull requests: 51 share files or exports with the branch, and the run failed closed, with 26 in its "Some comparisons could not be completed" table (24 only for `core/libs/CMakeLists.txt`, #14212 for the debt file, #15294 for the library's files) and no line conflicts listed. I searched the added and removed lines of all 26 for both names and both NIDs: GitHub's diff for 24, and for #5021 and #15807, whose diffs are too large for GitHub to serve, a local diff of each head against its single merge base with `main`. No other pull request implements these two exports. #15294 names `FcConfigGetCurrent` once, in a debt sentence that says it still throws; whichever of the two lands second updates that sentence. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
MarcZX10 commented 2026-11-03 03:13:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-03T03:13:53Z.

Review: COMMENTED


Tests run and reviewed — checks pending

The exact-head source and export checks found no blocker; the required Windows job is still running, so I am withholding approval.

What I ran

Reviewed all seven changed files at head d14dcae2f112526fcc6ed2b8edf9b6d658c9c648 against PR base and current main f6232fcfda70644495273f6b8dd88cf0603463d6. The individual merge preview was clean. Environment: Debian Linux x86_64, Python 3.11.2, CMake 3.25.1, Ninja 1.11.1, GCC 12.2.0. I did not configure or build AnyPS5.

git diff --check f6232fcfda70644495273f6b8dd88cf0603463d6...d14dcae2f112526fcc6ed2b8edf9b6d658c9c648
python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 15363
python3 tools/pr_abi_audit.py --repo /marc/AnyPS5 --base f6232fcfda70644495273f6b8dd88cf0603463d6 --head d14dcae2f112526fcc6ed2b8edf9b6d658c9c648 --json
git worktree add --detach /tmp/AnyPS5-review-15363-exact d14dcae2f112526fcc6ed2b8edf9b6d658c9c648
cd /tmp/AnyPS5-review-15363-exact && python3 core/libs/tests/test_public_headers.py --audit-only
cd /marc/AnyPS5 && python3 tools/pr_test_quality.py --root /tmp/AnyPS5-review-15363-exact --json core/libs/tests/GuestFontconfigCurrent.cpp
git worktree remove /tmp/AnyPS5-review-15363-exact
python3 - <<'PY'
import subprocess
prs = ["14392", "14435", "15283", "15294"]
for number in prs:
    left = "refs/review/15363/20261103-current"
    right = f"refs/review/{number}/20261103-current"
    result = subprocess.run(["git", "merge-tree", left, right], text=True, capture_output=True)
    conflicts = [line for line in result.stdout.splitlines() if line.startswith("CONFLICT")]
    print(f"#15363 + #{number}: exit={result.returncode}; " + ", ".join(conflicts))
PY
gh api repos/boykopovar/AnyPS5/commits/d14dcae2f112526fcc6ed2b8edf9b6d658c9c648/check-runs --jq '[.check_runs[]|{name,status,conclusion}]'

The header audit ran in a temporary detached worktree at the exact PR head; that worktree was removed afterward. I also compared the changed functions and shared files with open PRs #14392, #14435, #15283 and #15294.

Results

Check Result Note
Diff, conventions and PR template passed Exact-head checks passed.
Export/declaration audit passed 53 symbols scanned; no findings.
Public-header audit passed 405 libraries and 27,952 exports verified.
CMake test registration passed Executable, CTest entry and Windows runtime path are present.
Test-quality heuristic passed Its registration warning is a false positive confirmed by CMake inspection.
Current-main merge preview passed Clean at the stated base.
Related-PR integration preview failed Pairwise merges conflict in shared files; no duplicate target function found.
Hosted checks not run Windows is in progress; other applicable hosted checks passed.
AnyPS5 build, CTest and console runtime not run No local build was performed.
Commands and unedited output
$ git diff --check f6232fcfda70644495273f6b8dd88cf0603463d6...d14dcae2f112526fcc6ed2b8edf9b6d658c9c648
[no output; exit status 0]
All conventions checks passed.
$ python3 tools/pr_abi_audit.py --repo /marc/AnyPS5 --base f6232fcfda70644495273f6b8dd88cf0603463d6 --head d14dcae2f112526fcc6ed2b8edf9b6d658c9c648 --json | python3 -c 'import json,sys; d=json.load(sys.stdin); print(json.dumps({"status":d["status"],"symbol_count":len(d["symbols"]),"findings":d["findings"],"limitations":d["limitations"]},indent=2))'
{
  "status": "passed",
  "symbol_count": 53,
  "findings": [],
  "limitations": [
    "This lexical audit does not parse C++ fully, prove calling-convention or binary ABI correctness, verify runtime version tables, or replace compilation.",
    "An absent source declaration or explicit alias can be intentional for assembly exports, conditional platform code, or generated interfaces; inspect findings before treating them as defects."
  ]
}
$ git worktree add --detach /tmp/AnyPS5-review-15363-exact d14dcae2f112526fcc6ed2b8edf9b6d658c9c648
$ cd /tmp/AnyPS5-review-15363-exact && python3 core/libs/tests/test_public_headers.py --audit-only
405 libraries, 27952 exports: unique declarations and umbrella coverage verified
$ cd /marc/AnyPS5 && git worktree remove /tmp/AnyPS5-review-15363-exact
405 libraries, 27952 exports: unique declarations and umbrella coverage verified
$ python3 tools/pr_test_quality.py --root /tmp/AnyPS5-review-15363-exact --json core/libs/tests/GuestFontconfigCurrent.cpp
{"findings": [{"path": "core/libs/tests/GuestFontconfigCurrent.cpp", "line": 1, "kind": "possible-unregistered-cpp-test", "message": "Changed C++ test source path was not found literally in CMake files; inspect registration, generated source lists, and workflow coverage."}], "negative_control_candidates": [], "limits": ["Heuristics can miss weak assertions and can flag valid tests; inspect every finding.", "A test that passes against base is not by itself proof that the PR test is inadequate.", "Negative controls are only candidates until the test actually runs against base and fails by assertion rather than import/setup error."]}

The precheck's ABI and test-quality invocations could not start because those reviewer-only helper scripts are absent from its isolated snapshot; I ran the ABI and test-quality helpers directly afterward. The standalone header audit above covers the exact PR tree.

$ python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 15363
Conclusion: checks failed
/usr/bin/python3: can't open file '/tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-15363-d14dcae2f112/head-d14dcae2f112-5169e85f/tools/pr_abi_audit.py': [Errno 2] No such file or directory
/usr/bin/python3: can't open file '/tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-15363-d14dcae2f112/head-d14dcae2f112-5169e85f/tools/pr_test_quality.py': [Errno 2] No such file or directory
$ python3 - <<'PY'
#15363 + #14392: exit=1; CONFLICT (content): Merge conflict in docs/dev/debt/libfontconfig.md
#15363 + #14435: exit=1; CONFLICT (content): Merge conflict in core/libs/prx/libfontconfig/Export.cpp, CONFLICT (content): Merge conflict in core/libs/prx/libfontconfig/include/InventoryExports.hpp, CONFLICT (content): Merge conflict in docs/dev/debt/libfontconfig.md
#15363 + #15283: exit=1; CONFLICT (content): Merge conflict in docs/dev/debt/libfontconfig.md
#15363 + #15294: exit=1; CONFLICT (content): Merge conflict in docs/dev/debt/libfontconfig.md
$ gh api repos/boykopovar/AnyPS5/commits/d14dcae2f112526fcc6ed2b8edf9b6d658c9c648/check-runs --jq '[.check_runs[]|{name,status,conclusion}]'
[{"conclusion":"skipped","name":"register-context","status":"completed"},{"conclusion":"skipped","name":"relinker-asan","status":"completed"},{"conclusion":"skipped","name":"write-watch","status":"completed"},{"conclusion":"skipped","name":"linux","status":"completed"},{"conclusion":"skipped","name":"edge-watch","status":"completed"},{"conclusion":"skipped","name":"relinker","status":"completed"},{"conclusion":null,"name":"windows","status":"in_progress"},{"conclusion":"success","name":"intake","status":"completed"},{"conclusion":"success","name":"conventions","status":"completed"},{"conclusion":"success","name":"labels","status":"completed"},{"conclusion":"success","name":"report","status":"completed"},{"conclusion":"success","name":"eligibility","status":"completed"},{"conclusion":"success","name":"library-portability","status":"completed"}]

Negative control

Assertion Change to code under test Did the new test fail?
The two exports return the firmware-reported constant values and leave the current config null after the update call. The author says they restored the base stubs. Not run by me; the author reports the test fails with “FcConfigGetCurrent not implemented.”

Findings

Blocking

None found in the seven-file change.

Non-blocking

The PR does not duplicate the functions touched by #14392, #14435, #15283 or #15294. Individual previews of these PRs against current main are clean, but pairwise merge-tree previews found conflicts in the shared debt file for all four, and in Export.cpp and InventoryExports.hpp for #14435. These are integration conflicts, not a defect in this PR's isolated diff; resolve the shared-file overlap when landing the related work.

Sources

Not verified

I did not independently inspect the firmware binary or test behavior on a PS5 console. The author's Windows focused test and negative-control results are author-reported. The hosted Windows check is still in progress; Linux and specialized jobs were skipped by the workflow. I did not run integrated CTest or the PR author's claimed broad overlap scan.

To get this to a good state

No code change is requested. Once the Windows check finishes, I will refresh this exact head and the hosted results; if all required checks pass, I will approve it.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5746816401 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15363#pullrequestreview-5746816401). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-03T03:13:53Z. **Review:** COMMENTED --- # Tests run and reviewed — checks pending The exact-head source and export checks found no blocker; the required Windows job is still running, so I am withholding approval. ## What I ran Reviewed all seven changed files at head `d14dcae2f112526fcc6ed2b8edf9b6d658c9c648` against PR base and current `main` `f6232fcfda70644495273f6b8dd88cf0603463d6`. The individual merge preview was clean. Environment: Debian Linux x86_64, Python 3.11.2, CMake 3.25.1, Ninja 1.11.1, GCC 12.2.0. I did not configure or build AnyPS5. ```sh git diff --check f6232fcfda70644495273f6b8dd88cf0603463d6...d14dcae2f112526fcc6ed2b8edf9b6d658c9c648 python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 15363 python3 tools/pr_abi_audit.py --repo /marc/AnyPS5 --base f6232fcfda70644495273f6b8dd88cf0603463d6 --head d14dcae2f112526fcc6ed2b8edf9b6d658c9c648 --json git worktree add --detach /tmp/AnyPS5-review-15363-exact d14dcae2f112526fcc6ed2b8edf9b6d658c9c648 cd /tmp/AnyPS5-review-15363-exact && python3 core/libs/tests/test_public_headers.py --audit-only cd /marc/AnyPS5 && python3 tools/pr_test_quality.py --root /tmp/AnyPS5-review-15363-exact --json core/libs/tests/GuestFontconfigCurrent.cpp git worktree remove /tmp/AnyPS5-review-15363-exact python3 - <<'PY' import subprocess prs = ["14392", "14435", "15283", "15294"] for number in prs: left = "refs/review/15363/20261103-current" right = f"refs/review/{number}/20261103-current" result = subprocess.run(["git", "merge-tree", left, right], text=True, capture_output=True) conflicts = [line for line in result.stdout.splitlines() if line.startswith("CONFLICT")] print(f"#15363 + #{number}: exit={result.returncode}; " + ", ".join(conflicts)) PY gh api repos/boykopovar/AnyPS5/commits/d14dcae2f112526fcc6ed2b8edf9b6d658c9c648/check-runs --jq '[.check_runs[]|{name,status,conclusion}]' ``` The header audit ran in a temporary detached worktree at the exact PR head; that worktree was removed afterward. I also compared the changed functions and shared files with open PRs #14392, #14435, #15283 and #15294. ## Results | Check | Result | Note | |---|---|---| | Diff, conventions and PR template | passed | Exact-head checks passed. | | Export/declaration audit | passed | 53 symbols scanned; no findings. | | Public-header audit | passed | 405 libraries and 27,952 exports verified. | | CMake test registration | passed | Executable, CTest entry and Windows runtime path are present. | | Test-quality heuristic | passed | Its registration warning is a false positive confirmed by CMake inspection. | | Current-main merge preview | passed | Clean at the stated base. | | Related-PR integration preview | failed | Pairwise merges conflict in shared files; no duplicate target function found. | | Hosted checks | not run | Windows is in progress; other applicable hosted checks passed. | | AnyPS5 build, CTest and console runtime | not run | No local build was performed. | <details> <summary>Commands and unedited output</summary> ```text $ git diff --check f6232fcfda70644495273f6b8dd88cf0603463d6...d14dcae2f112526fcc6ed2b8edf9b6d658c9c648 [no output; exit status 0] All conventions checks passed. ``` ```text $ python3 tools/pr_abi_audit.py --repo /marc/AnyPS5 --base f6232fcfda70644495273f6b8dd88cf0603463d6 --head d14dcae2f112526fcc6ed2b8edf9b6d658c9c648 --json | python3 -c 'import json,sys; d=json.load(sys.stdin); print(json.dumps({"status":d["status"],"symbol_count":len(d["symbols"]),"findings":d["findings"],"limitations":d["limitations"]},indent=2))' { "status": "passed", "symbol_count": 53, "findings": [], "limitations": [ "This lexical audit does not parse C++ fully, prove calling-convention or binary ABI correctness, verify runtime version tables, or replace compilation.", "An absent source declaration or explicit alias can be intentional for assembly exports, conditional platform code, or generated interfaces; inspect findings before treating them as defects." ] } ``` ```text $ git worktree add --detach /tmp/AnyPS5-review-15363-exact d14dcae2f112526fcc6ed2b8edf9b6d658c9c648 $ cd /tmp/AnyPS5-review-15363-exact && python3 core/libs/tests/test_public_headers.py --audit-only 405 libraries, 27952 exports: unique declarations and umbrella coverage verified $ cd /marc/AnyPS5 && git worktree remove /tmp/AnyPS5-review-15363-exact 405 libraries, 27952 exports: unique declarations and umbrella coverage verified ``` ```text $ python3 tools/pr_test_quality.py --root /tmp/AnyPS5-review-15363-exact --json core/libs/tests/GuestFontconfigCurrent.cpp {"findings": [{"path": "core/libs/tests/GuestFontconfigCurrent.cpp", "line": 1, "kind": "possible-unregistered-cpp-test", "message": "Changed C++ test source path was not found literally in CMake files; inspect registration, generated source lists, and workflow coverage."}], "negative_control_candidates": [], "limits": ["Heuristics can miss weak assertions and can flag valid tests; inspect every finding.", "A test that passes against base is not by itself proof that the PR test is inadequate.", "Negative controls are only candidates until the test actually runs against base and fails by assertion rather than import/setup error."]} ``` The precheck's ABI and test-quality invocations could not start because those reviewer-only helper scripts are absent from its isolated snapshot; I ran the ABI and test-quality helpers directly afterward. The standalone header audit above covers the exact PR tree. ```text $ python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 15363 Conclusion: checks failed /usr/bin/python3: can't open file '/tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-15363-d14dcae2f112/head-d14dcae2f112-5169e85f/tools/pr_abi_audit.py': [Errno 2] No such file or directory /usr/bin/python3: can't open file '/tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-15363-d14dcae2f112/head-d14dcae2f112-5169e85f/tools/pr_test_quality.py': [Errno 2] No such file or directory ``` ```text $ python3 - <<'PY' #15363 + #14392: exit=1; CONFLICT (content): Merge conflict in docs/dev/debt/libfontconfig.md #15363 + #14435: exit=1; CONFLICT (content): Merge conflict in core/libs/prx/libfontconfig/Export.cpp, CONFLICT (content): Merge conflict in core/libs/prx/libfontconfig/include/InventoryExports.hpp, CONFLICT (content): Merge conflict in docs/dev/debt/libfontconfig.md #15363 + #15283: exit=1; CONFLICT (content): Merge conflict in docs/dev/debt/libfontconfig.md #15363 + #15294: exit=1; CONFLICT (content): Merge conflict in docs/dev/debt/libfontconfig.md ``` ```text $ gh api repos/boykopovar/AnyPS5/commits/d14dcae2f112526fcc6ed2b8edf9b6d658c9c648/check-runs --jq '[.check_runs[]|{name,status,conclusion}]' [{"conclusion":"skipped","name":"register-context","status":"completed"},{"conclusion":"skipped","name":"relinker-asan","status":"completed"},{"conclusion":"skipped","name":"write-watch","status":"completed"},{"conclusion":"skipped","name":"linux","status":"completed"},{"conclusion":"skipped","name":"edge-watch","status":"completed"},{"conclusion":"skipped","name":"relinker","status":"completed"},{"conclusion":null,"name":"windows","status":"in_progress"},{"conclusion":"success","name":"intake","status":"completed"},{"conclusion":"success","name":"conventions","status":"completed"},{"conclusion":"success","name":"labels","status":"completed"},{"conclusion":"success","name":"report","status":"completed"},{"conclusion":"success","name":"eligibility","status":"completed"},{"conclusion":"success","name":"library-portability","status":"completed"}] ``` </details> ## Negative control | Assertion | Change to code under test | Did the new test fail? | |---|---|---| | The two exports return the firmware-reported constant values and leave the current config null after the update call. | The author says they restored the base stubs. | Not run by me; the author reports the test fails with “FcConfigGetCurrent not implemented.” | ## Findings ### Blocking None found in the seven-file change. ### Non-blocking The PR does not duplicate the functions touched by #14392, #14435, #15283 or #15294. Individual previews of these PRs against current `main` are clean, but pairwise merge-tree previews found conflicts in the shared debt file for all four, and in `Export.cpp` and `InventoryExports.hpp` for #14435. These are integration conflicts, not a defect in this PR's isolated diff; resolve the shared-file overlap when landing the related work. ## Sources - [Export implementations at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/d14dcae2f112526fcc6ed2b8edf9b6d658c9c648/core/libs/prx/libfontconfig/Export.cpp#L20-L22) - [Typed declarations at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/d14dcae2f112526fcc6ed2b8edf9b6d658c9c648/core/libs/prx/libfontconfig/include/Configuration.hpp) - [Guest test at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/d14dcae2f112526fcc6ed2b8edf9b6d658c9c648/core/libs/tests/GuestFontconfigCurrent.cpp) - [CMake test registration at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/d14dcae2f112526fcc6ed2b8edf9b6d658c9c648/core/libs/CMakeLists.txt#L841-L850) ## Not verified I did not independently inspect the firmware binary or test behavior on a PS5 console. The author's Windows focused test and negative-control results are author-reported. The hosted Windows check is still in progress; Linux and specialized jobs were skipped by the workflow. I did not run integrated CTest or the PR author's claimed broad overlap scan. ## To get this to a good state No code change is requested. Once the Windows check finishes, I will refresh this exact head and the hosted results; if all required checks pass, I will approve it.
MarcZX10 commented 2026-11-03 04:51:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-03T04:51:26Z.

Review: APPROVED


Re-checked — same head, approved

The exact reviewed head d14dcae2f112526fcc6ed2b8edf9b6d658c9c648 is unchanged, the previously pending Windows job has passed, and the full seven-file review found no blocking issue.

What I ran

The earlier full review checked head d14dcae2f112526fcc6ed2b8edf9b6d658c9c648 against base f6232fcfda70644495273f6b8dd88cf0603463d6, including the no-build precheck, diff check, ABI audit, public-header audit, test registration, test-quality heuristic, and a clean current-base merge preview. This follow-up refreshed the PR head and hosted checks. Environment: Debian Linux x86_64, Python 3.11.2, GCC 12.2.0. No local project build or CTest was run.

gh api repos/boykopovar/AnyPS5/pulls/15363 --jq '{state,head:.head.sha,base:.base.sha}'
gh pr checks 15363 -R boykopovar/AnyPS5

Results

Check Result Note
Diff, conventions and template passed Exact-head review and conventions check passed.
ABI and public-header audits passed No findings; declarations and umbrella coverage verified.
Test registration passed CMake executable and CTest entry confirmed.
Windows build and tests passed Exact-head hosted workflow completed.
Other applicable hosted checks passed Portability and policy checks completed successfully.
Linux and specialized jobs not run Skipped by workflow filters.
Local build and CTest not run No local compilation.
Hosted check output
edge-watch	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41570321079/job/125701467652
linux	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41570321079/job/125701468096
register-context	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41570321079/job/125701468528
relinker	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41570321079/job/125701467323
relinker-asan	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41570321079/job/125701468338
report	pass	57s	https://github.com/boykopovar/AnyPS5/actions/runs/41570321296/job/125701427953
write-watch	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41570321079/job/125701468296
conventions	pass	20s	https://github.com/boykopovar/AnyPS5/actions/runs/41570320758/job/125701428921
eligibility	pass	4s	https://github.com/boykopovar/AnyPS5/actions/runs/41570321079/job/125701427948
intake	pass	4s	https://github.com/boykopovar/AnyPS5/actions/runs/41570321379/job/125701430351
labels	pass	8s	https://github.com/boykopovar/AnyPS5/actions/runs/41570320775/job/125701428844
library-portability	pass	1m10s	https://github.com/boykopovar/AnyPS5/actions/runs/41570321063/job/125701427616
windows	pass	12m14s	https://github.com/boykopovar/AnyPS5/actions/runs/41570321079/job/125701465945

Negative control

Assertion Change to code under test Did the new test fail?
The new exports return the documented constant values. The author reports restoring the base stubs. Not independently run; the author reports that the test failed against the stubs.

Findings

Blocking

None found in the reviewed changes.

Non-blocking

The firmware 13.42 disassembly and binary hash are supplied by the author; I did not independently inspect that binary or verify behavior on a PS5 console. The implementation matches the return instructions documented in the PR.

Sources

Not verified

I did not independently inspect the firmware binary or test on a PS5 console. No local build, CTest, Linux runtime, or negative-control mutation was run. Linux and specialized hosted jobs were skipped.

To get this to a good state

No code change is requested. If the head changes, I will rerun the no-build precheck, diff and audit checks, and hosted-status check on the new head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5747407479 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15363#pullrequestreview-5747407479). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-03T04:51:26Z. **Review:** APPROVED --- # Re-checked — same head, approved The exact reviewed head `d14dcae2f112526fcc6ed2b8edf9b6d658c9c648` is unchanged, the previously pending Windows job has passed, and the full seven-file review found no blocking issue. ## What I ran The earlier full review checked head `d14dcae2f112526fcc6ed2b8edf9b6d658c9c648` against base `f6232fcfda70644495273f6b8dd88cf0603463d6`, including the no-build precheck, diff check, ABI audit, public-header audit, test registration, test-quality heuristic, and a clean current-base merge preview. This follow-up refreshed the PR head and hosted checks. Environment: Debian Linux x86_64, Python 3.11.2, GCC 12.2.0. No local project build or CTest was run. ```sh gh api repos/boykopovar/AnyPS5/pulls/15363 --jq '{state,head:.head.sha,base:.base.sha}' gh pr checks 15363 -R boykopovar/AnyPS5 ``` ## Results | Check | Result | Note | |---|---|---| | Diff, conventions and template | passed | Exact-head review and conventions check passed. | | ABI and public-header audits | passed | No findings; declarations and umbrella coverage verified. | | Test registration | passed | CMake executable and CTest entry confirmed. | | Windows build and tests | passed | Exact-head hosted workflow completed. | | Other applicable hosted checks | passed | Portability and policy checks completed successfully. | | Linux and specialized jobs | not run | Skipped by workflow filters. | | Local build and CTest | not run | No local compilation. | <details> <summary>Hosted check output</summary> ```text edge-watch skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41570321079/job/125701467652 linux skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41570321079/job/125701468096 register-context skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41570321079/job/125701468528 relinker skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41570321079/job/125701467323 relinker-asan skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41570321079/job/125701468338 report pass 57s https://github.com/boykopovar/AnyPS5/actions/runs/41570321296/job/125701427953 write-watch skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41570321079/job/125701468296 conventions pass 20s https://github.com/boykopovar/AnyPS5/actions/runs/41570320758/job/125701428921 eligibility pass 4s https://github.com/boykopovar/AnyPS5/actions/runs/41570321079/job/125701427948 intake pass 4s https://github.com/boykopovar/AnyPS5/actions/runs/41570321379/job/125701430351 labels pass 8s https://github.com/boykopovar/AnyPS5/actions/runs/41570320775/job/125701428844 library-portability pass 1m10s https://github.com/boykopovar/AnyPS5/actions/runs/41570321063/job/125701427616 windows pass 12m14s https://github.com/boykopovar/AnyPS5/actions/runs/41570321079/job/125701465945 ``` </details> ## Negative control | Assertion | Change to code under test | Did the new test fail? | |---|---|---| | The new exports return the documented constant values. | The author reports restoring the base stubs. | Not independently run; the author reports that the test failed against the stubs. | ## Findings ### Blocking None found in the reviewed changes. ### Non-blocking The firmware 13.42 disassembly and binary hash are supplied by the author; I did not independently inspect that binary or verify behavior on a PS5 console. The implementation matches the return instructions documented in the PR. ## Sources - [Export implementations at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/d14dcae2f112526fcc6ed2b8edf9b6d658c9c648/core/libs/prx/libfontconfig/Export.cpp#L20-L22) - [Typed declarations at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/d14dcae2f112526fcc6ed2b8edf9b6d658c9c648/core/libs/prx/libfontconfig/include/Configuration.hpp) - [Guest test at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/d14dcae2f112526fcc6ed2b8edf9b6d658c9c648/core/libs/tests/GuestFontconfigCurrent.cpp) ## Not verified I did not independently inspect the firmware binary or test on a PS5 console. No local build, CTest, Linux runtime, or negative-control mutation was run. Linux and specialized hosted jobs were skipped. ## To get this to a good state No code change is requested. If the head changes, I will rerun the no-build precheck, diff and audit checks, and hosted-status check on the new head.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!15363
No description provided.