mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-07-08 18:06:30 +00:00
[PR #1672] [CLOSED] Fix tests on sample platform #2378
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/1672
Author: @hrideshmg
Created: 3/12/2025
Status: ❌ Closed
Base:
master← Head:fix_tests📝 Commits (1)
db31fbefix(CI): version incompatibility with tests📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
.github/workflows/build_linux.yml(+1 -1)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
Closes CCExtractor/sample-platform#924
Zulip Discussion: #general > Are the sample platform tests broken?
The problem
All of the recent Linux tests have ended in failure. Going through the logs for the Linux tests, it seems that all of them stem from the following error:
Debugging Summary
objdumpon the artifact:libtesseract.so.5but Ubuntu 22.04 (the version used by Sample Platform) only provideslibtesseract.so.4in its package repository.ubuntu-latestin its workflow file (which defaults to 24.04) This causes the built binary to use newer libraries that are not present on the sample platform.The Fix
In my opinion, the ideal fix would be to update the sample platform to Ubuntu 24.04. However, this might introduce new incompatibilities. So for a safer temporary fix, I've opted to make the core repo use 22.04 for building the artifacts.
I've verified that the these artifacts work on Ubuntu 22.04.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.