mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-17 11:33:12 +00:00
[PR #1672] Fix tests on sample platform #2382
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?
Original Pull Request: https://github.com/CCExtractor/ccextractor/pull/1672
State: closed
Merged: No
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.