import_audit: a needed library that sits in an unlisted folder of the title is reported as missing without saying where it is #8571

Closed
opened 2026-10-20 16:55:22 +00:00 by xXPBSXx · 1 comment
xXPBSXx commented 2026-10-20 16:55:22 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-20T16:55:22Z.


Repro

import_audit.py on a converted title whose Unity modules are in in/Media/Modules and whose registry names Il2CppUserAssemblies.prx, with --modules listing only in/sce_module and in/prx.
Expected: the report says the library has no file in --libs or --modules and, when a file of that name sits below the registry's folder, which directory to pass.
Actual: only "Needed libraries with no file in --libs or --modules (N)". On 12 of 49 converted titles the files were there and the audit exited 1 until --modules was extended by hand.
Test: tools/tests/test_import_audit.py (test_missing_library_is_located_next_to_the_registry, new).
Fix branch: https://github.com/xXPBSXx/AnyPS5/tree/fix/import-audit-module-hint
AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5945889790 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/8571). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-20T16:55:22Z. --- ### Repro `import_audit.py` on a converted title whose Unity modules are in `in/Media/Modules` and whose registry names `Il2CppUserAssemblies.prx`, with `--modules` listing only `in/sce_module` and `in/prx`. Expected: the report says the library has no file in `--libs` or `--modules` and, when a file of that name sits below the registry's folder, which directory to pass. Actual: only "Needed libraries with no file in --libs or --modules (N)". On 12 of 49 converted titles the files were there and the audit exited 1 until `--modules` was extended by hand. Test: `tools/tests/test_import_audit.py` (`test_missing_library_is_located_next_to_the_registry`, new). Fix branch: https://github.com/xXPBSXx/AnyPS5/tree/fix/import-audit-module-hint AI-assisted (Claude Code).
MarcZX10 commented 2026-10-20 20:28:43 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-20T20:28:43Z.


I independently checked the linked fix branch 351eeefdde. Its tools/tests/test_import_audit.py suite passes: 121 tests, 1 skipped. I also rebased it in a disposable local worktree onto current main a6a4101e19; the only conflict was preserving main’s newer --strict-stubs exit condition alongside the missing-library location output. With that combined locally, all 122 tests pass (1 skipped), git diff --check passes, and tools/check_conventions.py --base upstream/main passes. I did not change or push your branch. There is still no PR for this issue; please open one when ready so the fix can go through normal review.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6300771159 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/8571#issuecomment-6300771159). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-20T20:28:43Z. --- I independently checked the linked fix branch `351eeefdde`. Its `tools/tests/test_import_audit.py` suite passes: 121 tests, 1 skipped. I also rebased it in a disposable local worktree onto current `main` `a6a4101e19`; the only conflict was preserving main’s newer `--strict-stubs` exit condition alongside the missing-library location output. With that combined locally, all 122 tests pass (1 skipped), `git diff --check` passes, and `tools/check_conventions.py --base upstream/main` passes. I did not change or push your branch. There is still no PR for this issue; please open one when ready so the fix can go through normal review.
Sign in to join this conversation.
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#8571
No description provided.